Base URL
| Environment | Base URL |
|---|---|
| Production | https://api.octospark.ai |
Authentication
Create an API key in Octospark from Organization settings - Developers - API keys. Use it as a bearer token:First API flow
Start by discovering the organization ID, then discover a team ID, then call a team-scoped operation.TypeScript
Python
Errors
| Status | Meaning |
|---|---|
400 | Request body, query string, or path parameter is malformed. |
401 | Authorization is missing, invalid, expired, or revoked. |
403 | The token is valid but does not have permission for the resource. |
404 | The endpoint or resource was not found. |
409 | The request conflicts with existing state. |
429 | The client has exceeded a rate limit. |
5xx | Server error. Retry safe requests with exponential backoff. |