curl https://api.okrapdf.com/v1/agents/agent_cf3de29f5a384695 \
-H "Authorization: Bearer okra_YOUR_KEY"
Agents
Get Agent
Retrieve a single agent by ID.
GET
/
v1
/
agents
/
{agentId}
curl https://api.okrapdf.com/v1/agents/agent_cf3de29f5a384695 \
-H "Authorization: Bearer okra_YOUR_KEY"
Overview
Returns the full configuration of an agent, including system prompt and table binding.string
required
The agent ID (e.g.
agent_cf3de29f5a384695).curl https://api.okrapdf.com/v1/agents/agent_cf3de29f5a384695 \
-H "Authorization: Bearer okra_YOUR_KEY"
Response (200)
{
"id": "agent_cf3de29f5a384695",
"name": "invoice-extractor",
"model": "default",
"system": "Extract vendor, amount, and date from each invoice.",
"table_id": "tbl_abc123",
"output_schema": null,
"version": 1,
"created_at": "2026-04-14T05:30:00Z",
"updated_at": "2026-04-14T05:30:00Z"
}