sa_ prefixed tokens. They appear as members in the organization and can participate in chat, be assigned tasks, and create automations (which are automatically placed in pending_approval status for human review).
All service account endpoints require the org.members.manage permission.
Each service account is backed by a provider that determines how it responds in chat:
List service accounts
200 OK
Create a service account
sa_ token. The token is returned once in the response and cannot be retrieved again. Store it securely.
Path parameters
Request body
OpenRouter model identifier. Required when
provider is openrouter. Defaults to "nvidia/nemotron-3-super-120b-a12b:free" if omitted.Default repository URL passed to Cursor Cloud Agent invocations. Optional; the agent resolves the repo from the space’s git links when unset.
201 Created
The
sa_ prefixed API token. This is the only time this value is returned. Store it immediately.Update a service account
New OpenRouter model identifier. Set to
"" to clear (provider must then be changed to cursor).200 OK
Delete a service account
sa_ token is invalidated. This action is irreversible.
Path parameters
Example
204 No Content
Token lifecycle
Thesa_ token is generated once at creation time. There is no rotation endpoint in the current API version. To rotate a token, delete the service account and create a new one.
Service account tokens do not expire. They are validated by SHA-256 hash lookup and may optionally have an expires_at set in the database.