Service accounts are non-human principals that authenticate withDocumentation Index
Fetch the complete documentation index at: https://hyperspeed.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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:
| Provider | Description |
|---|---|
openrouter | AI model accessed via OpenRouter. Requires openrouter_model. |
cursor | Cursor Cloud Agent. Optionally accepts cursor_default_repo_url and cursor_default_ref. |
List service accounts
Organization UUID.
200 OK
Service account UUID.
Organization UUID.
UUID of the backing user principal. Use this ID for
@mentions and assignee_user_id.Display name shown in the UI.
UUID of the human user who created this service account.
"openrouter" or "cursor".OpenRouter model identifier (provider
openrouter only).Default repository URL for Cursor Cloud Agent (provider
cursor only), or null.Default git ref for Cursor Cloud Agent (provider
cursor only), or null.Create a service account
sa_ token. The token is returned once in the response and cannot be retrieved again. Store it securely.
Path parameters
Organization UUID.
Display name for the AI staff member.
"openrouter" (default) or "cursor".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.
Default git ref (branch or commit SHA) for Cursor Cloud Agent. Optional.
List of role UUIDs to assign to this service account. If omitted, system default roles apply.
201 Created
The created service account object.
The
sa_ prefixed API token. This is the only time this value is returned. Store it immediately.Update a service account
Organization UUID.
Service account UUID.
Change the provider:
"openrouter" or "cursor".New OpenRouter model identifier. Set to
"" to clear (provider must then be changed to cursor).New default repository URL. Set to
"" to clear.New default git ref. Set to
"" to clear.200 OK
Delete a service account
sa_ token is invalidated. This action is irreversible.
Path parameters
Organization UUID.
Service account UUID.
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.