/v1; see the overview for authentication.
Agents
POST /agents requires model. Optional fields:
POST /agents/{agent_id} updates only the fields you send. model is orca/openrouter/<OpenRouter id> for Orca credit or <provider>/<id> with your own key; any other name is rejected with HTTP 400 on model. See models and provider keys.
after, limit, and order (asc or desc). Delete returns a deletion object. See Sessions to run an agent.