https://api.orchagent.io
OpenAPI Specification
The auto-generated OpenAPI spec is available at:Authentication
All authenticated endpoints require an API key in the Authorization header:Calling an Agent
Request Format
URL Parameters
Optional Headers
Response Format
Success Response
Error Response
Error Codes
File Upload
For agents that accept files, use multipart form data:Multiple Files
To send multiple files, use thefiles[] array format:
Code Runtime Agent Input Contract
When files are uploaded to a code runtime agent, the agent receives a JSON manifest via stdin:
Your code runtime agent reads the files from their
path locations and processes them.
Rate Limit Headers
Response headers indicate your limit status:Public Endpoints
These endpoints don’t require authentication:List Public Agents
Get Agent Details
Download Agent (for local execution)
allow_local_download enabled.
- Server-only agents (
allow_local_download=false): Returns403 DOWNLOAD_DISABLED - Paid agents: Returns
403 PAID_AGENT_SERVER_ONLY - Source-available agents (
allow_local_download=true): Returns full agent data including prompt, manifest, and schemas
The public detail endpoint (
GET /public/agents/{org}/{agent}/{version}) also redacts prompt, manifest, and skill_files for server-only and paid agents. Only metadata (name, description, schemas, tags) is visible.Authenticated Endpoints
Usage
API Keys
Agents
Schedules
Public webhook endpoint (no authentication — URL contains secret):
Services
Billing & Credits
Compute Usage
Versioning
Agents use URL-based versioning:- Authors increment version for breaking changes
- Old versions remain accessible during 60-day deprecation period
- Pin to specific versions in production