Retrieve a list of projects
GET/projects
Retrieve a list of projects for the authenticated user.
Request
Responses
- 200
A list of projects
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id cuid
The unique ID of the project.
name string
The name of the project.
slug string
The slug of the project.
logo stringnullable
The logo of the project.
usage number
The usage of the project.
usageLimit number
The usage limit of the project.
plan string
Default value: free
The plan of the project.
stripeId stringnullable
The Stripe ID of the project.
billingCycleStart numbernullable
The date and time when the billing cycle starts for the project.
createdAt date-time
The date and time when the project was created.
[
{
"id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"usage": 0,
"usageLimit": 0,
"plan": "free",
"stripeId": "string",
"billingCycleStart": 0,
"createdAt": "2024-02-08T04:50:25.543Z"
}
]
Loading...