Skip to main content
API reference

Schemas

The 23 object schemas the published OpenAPI document defines.

10 min read
View MarkdownEdit on GitHub

Schemas

Generated from the published OpenAPI document. Operation pages link here by schema name.

AgentRevokeLimits

What this verb reaches and what it does not. Served with every 200 so the limit travels with the act.

FieldTypeRequiredDescription
does_not_stopstringyes
issuestringyes
stopsarray of stringyes

GatewayPaymentResult

FieldTypeRequiredDescription
auditarray of objectyes
requestIdstringyes
status"completed" | "denied" | "requires-approval" | "failed"yes
walletobjectno

Policy

FieldTypeRequiredDescription
agentsarray of stringyes
configobjectyes
createdAtstring (date-time)yes
enabledbooleanyes
idstringyes
namestringyes
ordernumberyes
toolsarray of stringyes
type"allow" | "deny" | "budget" | "rate-limit" | "time-window" | "approval-required"yes
updatedAtstring (date-time)yes

PolicyCreate

FieldTypeRequiredDescription
agentsarray of stringno
configno
enabledbooleanno
namestringyes
toolsarray of stringno
type"allow" | "deny" | "budget" | "rate-limit" | "time-window" | "approval-required"yes

PolicyEvaluation

FieldTypeRequiredDescription
agentIdstringyes
decision"allow" | "deny"yes
denialReasonstring,nullyes
idstringyes
ruleIdstring,nullyes
ruleNamestring,nullyes
timestampstring (date-time)yes
toolNamestringyes

PolicyReorder

FieldTypeRequiredDescription
idsarray of stringyes

PolicyUpdate

FieldTypeRequiredDescription
agentsarray of stringno
configno
enabledbooleanno
namestringno
toolsarray of stringno
type"allow" | "deny" | "budget" | "rate-limit" | "time-window" | "approval-required"no

ServerCatalogRow

FieldTypeRequiredDescription
auth_typestringyes
categorystringyes
countrystringyes
descriptionstring,nullyes
engine_provisionablebooleanyesHas an engine provisioning descriptor AND is not quarantined.
engine_status"none" | "available" | "quarantined"yesCarries the reason engine_provisionable is false.
idstringyes
namestringyes
pkgstringyes
provider_docs_urlstring,nullno
provider_homepagestring,nullno
provider_logo_fallback_urlstring,nullno
provider_logo_urlstring,nullno
sandbox_availablebooleanno
sandbox_urlstring,nullno
statusstringyes
subaccount_provisionablebooleanyes
tools_countintegeryes

Session

FieldTypeRequiredDescription
closed_atstring,null (date-time)no
created_atstring (date-time)yes
idstringyesses_-prefixed
org_idstringyes
project_idstringyes
serversarray of stringyes
status"active" | "closed" | "error"yes
user_idstringyes

ToolCall

FieldTypeRequiredDescription
called_atstring (date-time)yes
duration_msinteger,nullyes
error_codestring,nullyes
failover_trailno
idstringyestc_-prefixed: the bigserial with a tc_ prefix prepended
inputno
outputno
routingno
server_idstringyes
session_idstringyes
status"running" | "success" | "error"yes
tool_namestringyes

Trigger

FieldTypeRequiredDescription
created_atstring (date-time)yes
eventstringyes
idstringyes
last_run_atstring,null (date-time)yes
namestringyes
org_idstringyes
project_idstring,nullyesnullable during the 0014→0015 rollout
server_idstring,nullyes
signing_enabledbooleanyesWhether a signing secret exists. The secret itself is never read back — the serializer drops the vault reference and reports only this.
statusstringyes
total_runsintegeryes
webhook_urlstringyes

TriggerCreated

Type: —

Wallet

FieldTypeRequiredDescription
agent_idstring,nullyes
balancesarray of WalletBalanceno
closed_atstring,null (date-time)yes
created_atstring (date-time)yes
display_namestringyes
idstringyes
metadataobjectyes
org_idstringyes
project_idstringyes
status"active" | "frozen" | "closed"yes

WalletAnomalyResolve

FieldTypeRequiredDescription
notestringno
status"resolved" | "dismissed"yes

WalletBalance

FieldTypeRequiredDescription
available_minorstringyesbigint as string
balance_minorstringyesbigint as string
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
updated_atstring (date-time)yes
wallet_idstringyes

WalletCreate

FieldTypeRequiredDescription
agent_idstring,nullno
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
display_namestringyes
metadataobjectno

WalletExecute

FieldTypeRequiredDescription
amountnumberyes
attempt_idstringno
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
descriptionstringyes
mandate_idstringyes
metadataobjectno
preferred_methodstringno
purposestringno
recipientstringyes
target_currency"USD" | "EUR" | "BRL" | "MXN"no

WalletFundingSource

FieldTypeRequiredDescription
connection_idstringyes
created_atstring (date-time)yes
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
enabledbooleanyes
metadataobjectyes
wallet_idstringyes

WalletFundingSourceBind

FieldTypeRequiredDescription
connection_idstringyes
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
metadataobjectno

WalletLedgerEntry

FieldTypeRequiredDescription
amount_minorstringyesbigint signed minor units
attempt_idstring,nullyes
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
external_refstring,nullyes
idstringyesbigserial as string
kind"fund" | "hold" | "release" | "debit" | "reconcile" | "reverse" | "fee"yes
mandate_idstring,nullyes
metadataobjectyes
org_idstringyes
posted_atstring (date-time)yes
reconciled_atstring,null (date-time)yes
wallet_idstringyes

WalletLedgerPost

FieldTypeRequiredDescription
amount_minorstringyes
attempt_idstring,nullyes
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
external_refstring,nullyes
kind"fund" | "hold" | "release" | "debit" | "reconcile" | "reverse" | "fee"yes
mandate_idstring,nullyes
metadataobjectno
org_idstringyes
wallet_idstringyes

WalletReconAnomaly

FieldTypeRequiredDescription
amount_minorstring,nullyes
currency"BRL" | "USD" | "MXN" | "COP" | "ARS" | "USDC" | "BRLA"yes
detected_atstring (date-time)yes
external_refstring,nullyes
idstringyes
kind"debit_without_receipt" | "receipt_without_debit"yes
ledger_entry_idstring,nullyes
metadataobjectyes
org_idstringyes
resolution_notestring,nullyes
resolved_atstring,null (date-time)yes
status"open" | "resolved" | "dismissed"yes
wallet_idstringyes

Whoami

FieldTypeRequiredDescription
keyobjectyes
organizationobjectyes
projectobjectyes
userobjectnoDisplay only. An API key is scoped to an org and a project, not to a user; this is a representative org member (owner first) for a 'logged in as' line, and it is absent when no member has an email.
Schemas | CodeSpar