Projects
Retrieve All Projects
Fetches all projects associated with the authenticated user.
GET
/
v1
/
projects
/
all
Note: This operation does not consume any account credits, but rate limits apply.
Retrieve All Projects
This endpoint retrieves all projects associated with the authenticated user. You can optionally sort the results by fields such as updatedAt
or createdAt
.
Request
- Endpoint:
GET /v1/projects/all
- Authorization: Bearer token required
Query Parameters
sort
(string, optional): Specifies the field to sort by, either the date the project was created (createdAt
) or when it was last updated (updatedAt
). Defaults toupdatedAt
.order
(string, optional): Specifies the sort order, either ascending (asc
) or descending (desc
). Defaults todesc
.
Response
A successful response will return an array of projects.
Example Response
Authorizations
Authorization
string
headerrequiredUse format Bearer YOUR_API_KEY
.
Query Parameters
sort
enum<string>
default: updatedAtAvailable options:
updatedAt
, createdAt
order
enum<string>
default: descAvailable options:
asc
, desc
Response
200 - application/json
id
string
name
string
createdAt
string
updatedAt
string