REST API Overview
Base URL
Interactive API documentation:
- OpenAPI spec:
https://api.chaser.sh/api-docs/openapi.json - Swagger UI:
https://api.chaser.sh/swagger-ui
Authentication
All /v1/* routes require a bearer token:
Accepted token types:
- API keys (
sk_...) - JWT access tokens (from OAuth login)
Account selection
Select the active account context with:
Accepts: account ID, exact account name, or personal. If omitted, your personal account is used.
All resources (sessions, workspaces, jobs, webhooks, audit) are scoped to the active account.
Session endpoints
Session gateway
Access session services through:
- Subdomain:
https://<session_id>.chaser.sh/ - Path:
https://api.chaser.sh/s/<session_id>/
Execution endpoints
File transfer endpoints
File transfer is sandbox-only, with a 16 MB per-file limit.
Workspace endpoints
Job endpoints
Account endpoints
Key and SSH endpoints
Webhook endpoints
Billing endpoints
Audit endpoints
MCP endpoint
Auth endpoints
Assistant endpoints
Scoped API keys
API keys can be created with specific permission scopes:
sessions.read, sessions.write, workspaces.read, workspaces.write, exec.write, files.read, files.write, keys.read, keys.write, billing.read, billing.write, audit.read, webhooks.read, webhooks.write
Keys created without scopes have full access. Keys are bound to the account selected at creation time.
Rate limiting
Write-heavy endpoints return 429 Too Many Requests when rate limits are exceeded. Responses include:
Retry-AfterX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-ResetX-RateLimit-Scope(principaloraccount)
Rate-limited surfaces: session mutations, workspace mutations, exec, file transfer, jobs, MCP, and webhook mutations.
