# Zihin.ai API

**Canonical:** https://apis.io/apis/zihin-ai/zihin-ai-api/  
**Provider:** Zihin.ai — https://apis.io/providers/zihin-ai/  
**Base URL:** https://llm.zihin.ai  
**Documentation:** https://docs.zihin.ai/reference/sdks

Zihin.ai API is one of 2 APIs that [Zihin.ai](https://apis.io/providers/zihin-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

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

## Operations (60 of 117)

| Method | Path | Summary |
|---|---|---|
| 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 |

…and 57 more operations. They are listed in full on the page.

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/zihin-ai/openapi/_ae-authored/zihin-ai-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-get-v2-channels-senders-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-get-api-health-status-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-get-api-llm-models-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-get-api-v1-sessions-executionid-live-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-get-api-health-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-post-api-triggers-inbound-email-request-schema.json

## Other Zihin.ai APIs (1)

- [Zihin API](https://apis.io/apis/zihin-ai/zihin-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/zihin-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/zihin-ai/zihin-ai-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/zihin-ai/.
