Agent Builder
Agent Builder exposes two public endpoints for fetching the current user's Agent Builder configurations and their produced artifacts.
1. List Agent Builders
```http
GET /v1/agent_builder/list
Authorization: Bearer <token>
```
### Response
On success, `data` is an array of Agent Builders. Each item contains:
| Field | Type | Description |
|---|---|---|
| `id` | string | Agent Builder ID. Use this value as `agent_id` when calling the `outputs` endpoint. |
| `name` | string | Builder display name. |
| `description` | string \| null | Builder description. |
| `field_mapping` | object | Field-extraction schema: group → field → metadata (label, type, description, etc.). Extracted values are **not** included here; fetch them via the `outputs` endpoint. |
| `created_at` | datetime | Builder creation time. |
| `company_list` | object[] | Companies bound to this builder. Each item: `{orbit_entity_id, name}`. Empty array when no company is configured. |
| `subscriptions` | object[] | Active subscriptions attached to this builder (see table below). Empty array when no active subscription exists. |
`subscriptions[]` item fields:
| Field | Type | Description |
|---|---|---|
| `ag_sub_id` | string | Subscription ID. |
| `agent_category` | string | `AgentBuilder-Data` or `AgentBuilder-Report`. |
| `subscription_name` | string | Subscription display name. |
| `schedule_cron_expression` | string | Cron expression that triggers the subscription. |
### Errors
| Status | Message | Description |
|---|---|---|
| `404` | Agent builder info not found | The current user has no active Agent Builder. |
### Example
{
"data": [
{
"id": "ab_01HXXXX...",
"name": "Quarterly Earnings Extractor",
"description": "Extract key financial metrics from 10-Q filings.",
"field_mapping": {
"financials": {
"revenue": { "label": "Revenue", "type": "number", "description": "Total revenue (USD)" },
"net_income": { "label": "Net Income", "type": "number", "description": "Net income (USD)" }
}
},
"created_at": "2026-04-12T08:31:22Z",
"company_list": [
{ "orbit_entity_id": "OE_0001", "name": "Apple Inc." },
{ "orbit_entity_id": "OE_0002", "name": "Microsoft Corp." }
],
"subscriptions": [
{
"ag_sub_id": "sub_01HYYYY...",
"agent_category": "AgentBuilder-Data",
"subscription_name": "Daily 10-Q sweep",
"schedule_cron_expression": "0 6 * * *"
}
]
}
]
}2. Get Agent Builder Outputs
Last updated