API Reference
Workspace
Authorization
apiKey AuthorizationBearer <token>
Workspace scoped API key, printed once by pnpm seed or POST /api-keys.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/workspace" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "ok": true}Authorization
apiKey AuthorizationBearer <token>
Workspace scoped API key, printed once by pnpm seed or POST /api-keys.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/workspace/github"{ "configured": true, "path": "string", "events": [ "string" ]}Also makes the new workspace the caller's session-active workspace.
Authorization
apiKey AuthorizationBearer <token>
Workspace scoped API key, printed once by pnpm seed or POST /api-keys.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/workspaces" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "workspace": { "id": "string", "name": "string", "slug": "string" }}