API Reference
Create a new project
AuthorizationBearer <token>
Enter your JWT token
In: header
Header Parameters
X-Workspace-Id?string
Required when authenticating with a JWT (not needed for API tokens)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/projects" \ -H "Content-Type: application/json" \ -d '{ "name": "Weekly Sales Report" }'{
"id": "proj_abc123",
"name": "Weekly Sales Report",
"slug": "weekly-report",
"type": "static_file",
"default_ttl": "7d",
"workspaceId": "ws_abc123",
"createdAt": "2024-01-01T00:00:00.000Z"
}Empty
Empty