MisarMisar Docs
MisarMailMisarBlogMisarReachMisarPostMisarDevMisarCoderMisarSEOMisar PlatformMisar SSO
API Reference

API Reference

All MisarCoder gateway endpoints — OpenAI-compatible chat, Anthropic messages, model discovery, the research agent, and A2A.

The MisarCoder gateway is served at https://api.misar.io/coder. Authenticate every request with Authorization: Bearer <API_KEY> (see Authentication).

Endpoint summary

MethodPathDescription
POST/v1/chat/completionsOpenAI-compatible chat completions (stream or JSON).
POST/v1/messagesAnthropic-compatible messages; claude-* models pass through to Anthropic.
POST/v1/messages/count_tokensCount tokens for an Anthropic-format request.
POST/v1/embeddingsOpenAI-compatible embeddings proxy.
POST/v1/moderationsOpenAI-compatible moderation proxy.
POST/v1/responsesOpenAI Responses API (stateful).
GET/modelsList available model ids.
GET/models/catalogFull model catalog with metadata (incl. context_window).
GET/api/v1/agent/streamStreaming research agent (SSE).
GET/.well-known/a2a-agent-cardA2A agent card discovery.
GET/agents, /agents/{id}A2A agent listing / detail.
POST/agents/{id}/tasksSubmit an A2A task.
GET/healthGateway health check.

MisarCoder is an MCP client, not an MCP server

The gateway exposes /mcp/configure, /mcp/servers, /mcp/tools, /mcp/call, and /mcp/remove for managing MCP servers that MisarCoder itself connects out to — see MCP Integration. MisarCoder does not publish an MCP server of its own; to drive it from a client, use the OpenAI- or Anthropic-compatible HTTP APIs above.

On this page