Zihin.ai API

Zihin.ai API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-29); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 117

POST /api/adapters POST /api/adapters #
GET /api/agents List endpoints support pagination. #
POST /api/agents Create a new agent. #
DELETE /api/agents/{agentid}/schemas/{schemaid} Deactivate schema #
GET /api/agents/{agentid}/schemas/{schemaid} Get schema #
PATCH /api/agents/{agentid}/schemas/{schemaid} Update schema #
DELETE /api/agents/{id} Archive an agent (soft delete). #
GET /api/agents/{id} Get agent details by ID. #
PATCH /api/agents/{id} Update an existing agent (partial fields). #
GET /api/agents/{id}/full Get agent with all schemas, linked CSPs, triggers, and telemetry. #
POST /api/agents/{id}/restore Restore an archived agent to draft status. #
GET /api/agents/{id}/schemas List schemas #
POST /api/agents/{id}/schemas Create schema #
PATCH /api/agents/{id}/status Change agent status with unified method. #
POST /api/agents/{id}/unpublish Unpublish an agent (JWT only). #
GET /api/csp List all CSPs for the tenant. #
POST /api/csp Create a new CSP. #
DELETE /api/csp/{id} Delete a CSP. #
GET /api/csp/{id} Get CSP by ID. #
PUT /api/csp/{id} Update a CSP (partial update). #
PATCH /api/csp/{id}/toggle Toggle CSP active status. #
GET /api/endpoint GET /api/endpoint #
GET /api/health Basic system health check. #
POST /api/health/check Force a complete health check without using cache. #
GET /api/health/metrics Runtime metrics for monitoring dashboards. #
GET /api/health/status Detailed status of each provider with connectivity test. #
GET /api/keys List all API Keys for the tenant. #
POST /api/keys Create a new API Key. #
DELETE /api/keys/{keyid} Revoke an API Key permanently. #
GET /api/keys/{keyid} Get details of a specific API Key. #
PATCH /api/keys/{keyid}/rpm Update the RPM of an existing API Key. #
GET /api/llm/models List all available models. #
GET /api/llm/provider/{provider} Get models for a specific provider. #
POST /api/mcp-servers POST /api/mcp-servers #
POST /api/mcp-servers/test Test a MCP server configuration without changing the server record. #
GET /api/mcp-servers/{id} MCP server behind the tunnel fails its connection test #
PATCH /api/mcp-servers/{id} MCP server behind the tunnel fails its connection test #
GET /api/telemetry/cache Prompt caching performance report. #
GET /api/telemetry/call-sources Metrics by call origin (agent.tool-loop, api_key_public, etc.). #
GET /api/telemetry/dashboard Complete dashboard with all aggregated metrics. #
GET /api/telemetry/graph Execution graph metrics #
GET /api/telemetry/latency-analysis Latency analysis with percentiles. #
GET /api/telemetry/logs Paginated telemetry logs with advanced filters. #
GET /api/telemetry/loopgraph Agent loop execution metrics (nodes, edges). #
GET /api/telemetry/metrics Access metrics programmatically #
GET /api/telemetry/routing-analysis Auto-routing decision analysis. #
GET /api/telemetry/sessions Aggregated metrics per conversation session. #
GET /api/telemetry/sessions/{sessionid} Detailed session view for debugging, including conversation history, execution logs, and routing decisions. #
GET /api/telemetry/summary Complete summary for dashboard widgets #
GET /api/telemetry/tools-usage Tool usage analysis across agents. #
GET /api/telemetry/usage-by-hour Hourly usage for trend charts (param: hours , default 24, max 168). #
GET /api/tenants/{id}/invites List Pending Invites #
POST /api/tenants/{id}/invites Send Invite #
DELETE /api/tenants/{id}/invites/{inviteid} Cancel Invite #
GET /api/tenants/{id}/users Manage users, roles, and permissions for your Zihin tenant. #
PATCH /api/tenants/{id}/users/{userid} Manage users, roles, and permissions for your Zihin tenant. #
GET /api/triggers List triggers #
POST /api/triggers Create a new trigger. #
DELETE /api/triggers/{id} Delete trigger #
GET /api/triggers/{id} Get trigger details #
PATCH /api/triggers/{id} Update trigger #
POST /api/triggers/{id}/disable Disable trigger #
POST /api/triggers/{id}/enable Enable trigger #
GET /api/triggers/{id}/executions Execution history #
GET /api/triggers/{id}/executions/{executionid} Enriched execution details #
POST /api/triggers/{id}/test Dry-run test #
POST /api/triggers/inbound/email Receive inbound emails via Resend webhook. #
POST /api/triggers/schedule/reload POST JWT Reload all schedule triggers (without server restart) #
GET /api/triggers/schedule/status GET Hybrid Active cron jobs and execution counts (only your company's schedules) #
POST /api/triggers/webhook/{id} Execute a webhook trigger. #
GET /api/v1/approval-policies List approval policies. #
POST /api/v1/approval-policies Create an approval policy. #
PUT /api/v1/approval-policies/{id} Update an approval policy. #
GET /api/v1/approvals Pending-approvals list (kanban). #
GET /api/v1/executions List executions (search the tenant's agent executions). #
GET /api/v1/integrations List integrations. #
POST /api/v1/integrations Create the tunnel integration #
GET /api/v1/integrations/grants List integration grants. #
POST /api/v1/integrations/grants/{grantid}/ratify Ratify an integration grant. #
POST /api/v1/integrations/grants/{grantid}/revoke The same operations are available over REST under /api/v1/integrations , with the same permissions: #
GET /api/v1/integrations/usage The same operations are available over REST under /api/v1/integrations , with the same permissions: #
POST /api/v1/integrations/{id}/credential Attach a credential to an integration. #
POST /api/v1/integrations/{id}/grants Grant an integration to a consumer. #
GET /api/v1/me/events Server‑Sent Events stream with the signed‑in user's conversation list changes. #
GET /api/v1/me/unread-by-tenant Unread conversations and pending approvals for each company the signed‑in user is an active member of. #
GET /api/v1/sessions List sessions with filters. #
GET /api/v1/sessions/{executionid}/live Live Session Stream #
GET /api/v1/sessions/{sessionid} Session details with conversation history, system prompt, control_mode, and active_turn. #
POST /api/v1/sessions/{sessionid}/archive Archive session. #
POST /api/v1/sessions/{sessionid}/cancel Cancel the in‑progress turn (mid‑LLM, mid‑tool). #
POST /api/v1/sessions/{sessionid}/compact Compact session (replace old messages with LLM summary). #
POST /api/v1/sessions/{sessionid}/handoff Mark the session as taken by a human operator ( control_mode='manual_handoff' ). #
POST /api/v1/sessions/{sessionid}/manual-message Send a manual operator message through the agent's outbound channel. #
POST /api/v1/sessions/{sessionid}/resume Resume the agent ( control_mode='engaged' ). #
POST /api/v1/sessions/{sessionid}/suspend Suspend the agent for this session ( control_mode='suspended' ). #
GET /api/v1/sessions/{sessionid}/tool-calls Granular tool call logs. #
GET /api/v1/sessions/{sessionid}/trigger-context Reverse navigation: from a session, discover which trigger and execution originated it. #
GET /api/v2/agents Agent picker #
GET /api/v2/agents/{agentId}/sessions List conversation sessions for an agent. #
GET /api/v2/agents/{agentId}/tools Get the complete JSON Schema for each tool available to the agent. #
GET /api/v3/llm/call Authentication example for JWT calls. #
POST /api/v3/llm/call LLM call (multi-tenant frontend) #
GET /api/v3/llm/models Public List available models #
GET /api/v3/llm/public/call GET /api/v3/llm/public/call #
POST /api/v3/llm/public/call POST /api/v3/llm/public/call #
POST /api/v3/llm/test-connection Test provider connectivity #
POST /api/v3/media/audio/public/transcribe Transcribe audio using Whisper. #
POST /api/v3/media/audio/transcribe Transcribe audio using Whisper. #
POST /api/v3/media/document/parse Extract content from documents (PDF, Excel, CSV, DOCX). #
POST /api/v3/media/document/public/parse Extract content from documents (PDF, Excel, CSV, DOCX). #
POST /api/v3/media/image/analyze Analyze images using Vision AI (GPT-4o or Claude). #
POST /api/v3/media/image/public/analyze Analyze images using Vision AI (GPT-4o or Claude). #
GET /health GET /health #
DELETE /mcp DELETE /mcp returns 405 (method not allowed). #
GET /mcp GET /mcp returns 405 (method not allowed). #
POST /mcp POST /mcp #
GET /v2/Channels/Senders GET /v2/Channels/Senders #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zihin-ai:zihin-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zihin-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Zihin.ai API
  version: '2026-11-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-29: 117 operation(s) read from 31 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Zihin.ai has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 10
    documentation: 107
    pages-with-code: 16
    pages-read: 31
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-29'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.zihin.ai/reference/sdks
  - https://docs.zihin.ai/reference/errors
  - https://docs.zihin.ai/reference/api-overview
  - https://docs.zihin.ai/llm-api/overview
  - https://docs.zihin.ai/llm-api/calls
  - https://docs.zihin.ai/llm-api/media
  - https://docs.zihin.ai/llm-api/models
  - https://docs.zihin.ai/llm-api/streaming
  - https://docs.zihin.ai/integrations/paperclip
  - https://docs.zihin.ai/agents/triggers/webhook
  - https://docs.zihin.ai/platform-admin/api-keys
  - https://docs.zihin.ai/quickstart
  - https://docs.zihin.ai/quickstart/authentication
  - https://docs.zihin.ai/platform-admin/tunnel/getting-started
  - https://docs.zihin.ai/integrations/n8n
  - https://docs.zihin.ai/integrations/mcp-server
  - https://docs.zihin.ai/integrations/mcp-bridge
  - https://docs.zihin.ai/agents/triggers/schedule
  - https://docs.zihin.ai/agents/triggers/email
  - https://docs.zihin.ai/platform-admin/security-policies
  - https://docs.zihin.ai/platform-admin/observability/usage
  - https://docs.zihin.ai/platform-admin/team/users
  - https://docs.zihin.ai/agents/overview
  - https://docs.zihin.ai/guides/first-agent
  - https://docs.zihin.ai/faq
  - https://docs.zihin.ai/platform-admin/tunnel/troubleshooting
  - https://docs.zihin.ai/platform-admin/observability/telemetry
  - https://docs.zihin.ai/platform-admin/observability/health
  - https://docs.zihin.ai/platform-admin/team/invites
  - https://docs.zihin.ai/platform-admin/team/roles
  - https://docs.zihin.ai/agents/execution
servers:


# --- truncated at 32 KB (106 KB total) ---
# Full source: https://artifacts.apis.io/zihin-ai/openapi/_ae-authored/zihin-ai-openapi-generated.yml