# API reference

The REST API at `https://api.tarnpath.com/v1`, by resource. The full spec, with request and response schemas, is
[https://www.tarnpath.com/openapi.json](https://www.tarnpath.com/openapi.json) (OpenAPI 3.1).

- [Account](https://www.tarnpath.com/docs/api/account): 13 routes
- [Agent platform](https://www.tarnpath.com/docs/api/agent-platform): 78 routes
- [Agents](https://www.tarnpath.com/docs/api/agents): 9 routes
- [API keys](https://www.tarnpath.com/docs/api/api-keys): 5 routes
- [Assistant](https://www.tarnpath.com/docs/api/assistant): 11 routes
- [Audit log](https://www.tarnpath.com/docs/api/audit-log): 4 routes
- [Billing](https://www.tarnpath.com/docs/api/billing): 17 routes
- [Feedback](https://www.tarnpath.com/docs/api/feedback): 5 routes
- [Governance](https://www.tarnpath.com/docs/api/governance): 5 routes
- [Integrations](https://www.tarnpath.com/docs/api/integrations): 13 routes
- [Knowledge base](https://www.tarnpath.com/docs/api/knowledge-base): 4 routes
- [MCP servers](https://www.tarnpath.com/docs/api/mcp-servers): 5 routes
- [Me](https://www.tarnpath.com/docs/api/me): 3 routes
- [Meta](https://www.tarnpath.com/docs/api/meta): 2 routes
- [Notifications](https://www.tarnpath.com/docs/api/notifications): 9 routes
- [OAuth apps](https://www.tarnpath.com/docs/api/oauth-apps): 12 routes
- [Organization](https://www.tarnpath.com/docs/api/organization): 16 routes
- [Pause](https://www.tarnpath.com/docs/api/pause): 2 routes
- [Plans and credits](https://www.tarnpath.com/docs/api/plans-and-credits): 6 routes
- [Product events](https://www.tarnpath.com/docs/api/product-events): 1 route
- [Records](https://www.tarnpath.com/docs/api/records): 1 route
- [Sandbox](https://www.tarnpath.com/docs/api/sandbox): 4 routes
- [Settings](https://www.tarnpath.com/docs/api/settings): 15 routes
- [Single sign-on](https://www.tarnpath.com/docs/api/single-sign-on): 10 routes
- [Trails](https://www.tarnpath.com/docs/api/trails): 61 routes

Every request sends `Authorization: Bearer tr_live_…`. Errors, rate limits and what to do about each:
[limits and errors](https://www.tarnpath.com/for-agents#limits-and-errors). Versions and deprecations: [changelog](https://www.tarnpath.com/docs/changelog).
