Skip to main content

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: JWT tokens are obtained by logging in via /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 an error object with details:

HTTP Status Codes

Rate Limiting

API endpoints are rate-limited to ensure fair usage: Rate limit headers are included in all responses:

SDKs and Libraries

While you can use the API directly for MCP telemetry ingestion, we recommend using our official SDKs: The SDKs handle authentication, batching, retries, and error handling automatically.

Getting Started

  1. Create an account on the Shinzo Platform
  2. Verify your email address
  3. Make your first API call to verify connectivity
Expected response:
For authenticated endpoints, first log in to get a JWT token: