Get projects
Get projects accessible to the caller.
This endpoint:
- **No user_id param** (or user_id == root user): root user → returns **all** projects across the org
- **user_id param** (sub-user): returns only that sub-user's projects
- Includes project metadata (name, description, creation date)
**Authentication**: Requires valid API key or JWT token
Query parameters
Response
Successful Response
Example response
{
"projects": [
{
"created_at": "2023-01-01T00:00:00Z",
"description": "A project for organizing research notes",
"name": "My Research Project",
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"updated_at": "2023-01-15T00:00:00Z",
"user_email": "john@example.com",
"user_id": "456e7890-e89b-12d3-a456-426614174001",
"user_name": "John Doe"
}
],
"total_count": 1,
"user_id": "456e7890-e89b-12d3-a456-426614174001"
}Changes
Changed in 3 of the 29 revisions of this API.25
- ▲
the response property
user_idbecame optional for the status200response-property-became-optional
- ▲
response property
user_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added the new optional
queryrequest parameteruser_idnew-optional-request-parameter
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
added the optional property
org_idto the response with the200statusresponse-optional-property-added
- ▲
- ○
added the optional property
projects/items/project_typeto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○