Skip to main content
This page documents every field stored on an Agent and the resources it owns: rule sets, notification channels, data sources, and limits. The same field shapes are returned by GET /api/v1/agents/{id} and editable via PATCH /api/v1/agents/{id}.

Identity

FieldTypeDescription
namestringHuman-readable label. Visible in the sidebar and notifications.
descriptionstring?Optional longer note for teammates.
goalstringPlain-English goal that shapes the system prompt. Keep to 1-3 sentences.
createdBystringClerk user ID of the creator. Read-only.

Scope

scope_json declares what slice of the workspace the agent operates on. Out-of-scope tool calls return error: "out_of_scope" to the LLM.
FieldTypeDescription
scope.suppliersstring[]Supplier codes (e.g. ["BOOKING", "EXPEDIA"]). Empty = all.
scope.regionsstring[]ISO country/region codes. Empty = all.
scope.sourcesstring[]Inventory source identifiers. Empty = all.

Schedule & status

FieldTypeDescription
scheduleCronstring?Cron expression (UTC). Null = event-triggered only.
statusenumDRAFT, ACTIVE, PAUSED_USER, PAUSED_COST, PAUSED_RATE, ARCHIVED.

LLM provider

FieldTypeDescription
llmProviderenumHOSTED_ANTHROPIC (default), BYO_ANTHROPIC, BYO_OPENAI.
llmModelstringclaude-opus-4-7 (default), claude-haiku-4-5-20251001, gpt-4.1, etc.
byoKeySecretIdstring?Vault reference to your API key (BYO only). See BYO Anthropic key.

Cost & rate limits

FieldTypeDescription
dailySpendCapCentsintSoft pause when the daily ledger exceeds this. Default 500 ($5).
hourlyActionCapintHard pause when actions in the last hour exceed this. Default 60.
See Cost and limits for cap semantics.

Rule set

Rule sets are versioned — every save creates a new row, and every run records the version it executed under. Edit via POST /api/v1/agents/{id}/rule-sets. See Rules and decisions for the full schema.
GroupPurpose
mapping_jobsWhen to trigger jobs (upload, cron, golden-dataset change).
unmatched_resultsHow to handle unmatched rows (max candidates, search strategies).
mismatch_reportsTriage policy.
coverageAlert thresholds + digest cadence.
data_sourcesAuto-pull cadence + failure-pause threshold.
data_sinksAuto-push policy (default off).
mode_preference, export, bulk_updateOff by default; explicit opt-in.
notificationsCost-threshold percentage + event subscriptions.

Notification channels

Resource agent_notification_channel. See Notifications.
FieldTypeDescription
typeenumEMAIL, SLACK_WEBHOOK, GENERIC_WEBHOOK.
targetstringEmail address, Slack incoming-webhook URL, or HTTPS URL.
eventSubscriptionsstring[]Subset of on_action, on_escalation, on_pause, on_cost_threshold.
enabledbooleanToggle without deleting.

Data sources & sinks

Resource agent_data_source. See Data sources and sinks.
FieldTypeDescription
roleenumINVENTORY_SOURCE (inbound) or RESULTS_SINK (outbound).
typeenumS3 or HTTPS_WEBHOOK.
namestringDisplay label.
configJsonobjectType-specific (bucket/prefix/region for S3; URL/auth scheme for webhook).
secretRefstring?Vault id for credentials. Never returned in full.
formatenumCSV, JSON, XLSX.
scheduleCronstring?Per-source schedule (overrides the agent’s).
enabledbooleanToggle without deleting.

Read-only fields

FieldDescription
id, workspaceId, createdAt, updatedAt, deletedAtStandard.
lastSyncedAt, lastStatus, lastError (data sources)Updated by the sync runtime.