==> call the api
API reference
The platform's API, for programs: a personal access token in Authorization: Bearer cs_pat_.... The account, its settings, the models it may call, and each of its projects' own APIs.
Requests go to https://api.clusterstuck.sh, with a personal access token inAuthorization: Bearer <token> unless an operation says it is public. A refusal answers { "error": "...", "code"?: "..." } with its status.
platform
- GET Is the API up
/v1/health - GET This document
/v1/openapi.json
account
- GET Who the token is for
/v1/me - GET The account's settings
/v1/settings - PATCH Change some settings
/v1/settings
models
- GET The models behind llm
/v1/llm/models - POST Chat completion (OpenAI)
/v1/llm/chat/completions - POST Text completion (OpenAI)
/v1/llm/completions - POST Responses (OpenAI)
/v1/llm/responses - POST Ask the decision model (System One)
/v1/jev/systemone - GET Is the decision model up
/v1/jev/health - GET What the account's model calls cost
/v1/usage
projects
- GET A project's own API document
/v1/p/{slug}/openapi.json - POST A project's own API
/v1/p/{slug}/{path}