Skip to main content

Execute Contract

POST /:api_slug/execute is the stable public execution surface for agents.

Default-operation form

If the API exposes a default operation, send raw JSON directly:

Explicit envelope form

If you need to choose a non-default operation, use:
Only include query and path_params when you actually need them.

Successful response

The public response envelope includes:
  • status
  • result
  • cost
  • latency
  • operation
  • api
  • upstream_status

When to use passthrough instead

If you intentionally want the provider-specific HTTP shape, use passthrough routes under /:api_slug/*path. For generic agent integrations, stay on GET /metadata plus POST /execute.