compose_run API
string · requiredstring · requiredstring · enumstring · uuid · requiredstring · requiredstring · requiredstring · enum · requiredstring · date-time · requiredstring · requiredstring
API Keys
Org-scoped API keys (used by user-facing webhooks, docker registry login, etc.)
Create an API key
POST
/api/v1
/org/api-keys
auth_token (cookie)
Provision a new api_key for the caller's org. The plaintext value is
returned exactly once (api_key) and must never be exposed by list
endpoints. Managing API keys is JWT-only: an API token cannot mint or
revoke credentials, so this endpoint does not accept bearerAuth.
Create an API key › Request Body
namescopeScope token (e.g. all, deploy, docker). Multi-scope keys use ; as separator. Use all for general API access.
permissionAccess level of the key. Defaults to read. Mutating API calls and docker push require write.
Enum values:
read
write
Default: read
Create an API key › Responses
API key created (plaintext value included once)
idscopesourceAlways user for keys created via this endpoint.
permissionEnum values:
read
write
created_atapi_keyPlaintext key value — returned only here, never again.
name