Skip to main content
Neosantara provides a unified API interface compatible with both OpenAI and Anthropic Messages protocols. You can test endpoints directly using the interactive OpenAPI playground in the right-hand panel.

Gateway Base URL

Configure the official gateway URL as the base URL for your client SDK:

Authentication & API Key Formats

All requests to the gateway are authenticated using Neosantara API key tokens. Keys are scoped into two distinct prefixes: Manage and provision API keys in the API Keys Dashboard.

Core Request Headers

Include the required headers based on the endpoint protocol:

1. OpenAI-Compatible Endpoints (/v1/*)

Optional headers:
  • X-Guard: on (Enables automated UU PDP PII redaction for paid users).
  • x-request-id: <uuid> (Custom identifier for end-to-end request tracing).

2. Anthropic Messages Endpoints (/anthropic/*)

Error Response Structure

When a request encounters an error, the gateway returns a standard OpenAI error JSON payload:
Standard HTTP status codes: