API Reference
The Shinzo Platform provides a RESTful API for programmatic access to authentication, telemetry ingestion, AI agent management, and analytics. This reference documents all available endpoints and their usage.Base URL
All API requests are made to the following base URL:API Categories
Authentication
User registration, login, OAuth, and token management.
AI Agents
Deploy, manage, and interact with AI agents.
Spotlight
AI model proxy, session analytics, and token tracking.
Telemetry
Send OpenTelemetry data from your MCP servers.
Tokens
Manage ingest tokens and platform API keys.
Provider Keys
Configure AI provider credentials (Anthropic, etc.).
Authentication Methods
The Shinzo Platform supports multiple authentication methods depending on the endpoint:| Auth Type | Use Case | Header Format |
|---|---|---|
| JWT Token | User authentication for dashboard and management APIs | Authorization: Bearer <jwt_token> |
| Ingest Token | Sending telemetry data from SDKs | Authorization: <ingest_token> |
| Platform API Key | Programmatic access to agent and spotlight APIs | x-shinzo-api-key: <api_key> or Authorization: Bearer <api_key> |
/auth/login or OAuth. Ingest tokens and platform API keys are generated from the dashboard or via API.
Request Format
All API requests should include:Response Format
All responses are JSON-formatted and include standard fields:Error Responses
Error responses include anerror object with details:
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Resource created |
400 | Bad request (invalid parameters) |
401 | Unauthorized (invalid or missing token) |
403 | Forbidden (insufficient permissions) |
404 | Resource not found |
429 | Rate limit exceeded |
500 | Internal server error |
Rate Limiting
API endpoints are rate-limited to ensure fair usage:| Endpoint Category | Rate Limit |
|---|---|
| All endpoints | 1000 requests/minute |
SDKs and Libraries
While you can use the API directly, we recommend using our official SDKs for telemetry ingestion: The SDKs handle authentication, batching, retries, and error handling automatically.Getting Started
- Create an account on the Shinzo Platform
- Verify your email address
- Make your first API call to verify connectivity

