Skip to main content
Base URL: https://api.orchagent.io

OpenAPI Specification

The auto-generated OpenAPI spec is available at:
Import this into Postman, Insomnia, or any OpenAPI-compatible tool to explore all endpoints interactively.

Authentication

All authenticated endpoints require an API key in the Authorization header:
Get your API key from the orchagent Dashboard.

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 the files[] 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)

Returns the full agent data needed for local execution. Only works for agents with allow_local_download enabled.
  • Server-only agents (allow_local_download=false): Returns 403 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
Response (source-available agent):
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

Deprecation Headers

When an agent version is deprecated:

Warnings Array

Successful responses may include warnings:
Standard warning codes: