List Projects
Authentication
Requires a Content API key. See Authentication.
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 50 | Number of projects to return (max 100) |
after | string | — | Cursor for pagination (from nextCursor) |
Response
Response fields
| Field | Type | Description |
|---|---|---|
object | string | Always "list" |
data | array | Array of project objects |
data[].id | string | Project ID |
data[].name | string | Project display name |
data[].parentProjectId | string | null | Parent project ID (for child projects) |
data[].createdAt | string | null | ISO 8601 creation timestamp |
nextCursor | string | null | Cursor for the next page, null if no more results |
Errors
| Code | Status | When |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid API key |
INVALID_PARAMS | 400 | Invalid cursor value |
INTERNAL_ERROR | 500 | Unexpected server error |
Examples
- cURL
- TypeScript
- Python