Skip to main content
GET
/
projects
Get a list of projects
curl --request GET \
  --url https://local.withsutro.com/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sutro-api-client: <api-key>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "components": [
        "frontend"
      ]
    }
  ],
  "metadata": {
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Response

200 - application/json

A list of the Projects that the current user can see

The requested Projects

items
object[]
metadata
object

Metadata for a paginated response