VocalDocscontracts 1.65.0

Read the Organization agent defaults

GET /v1/organization/agent-defaults

PropertyValue
Operationget_organization_agent_defaults
GroupOrganization
Scopeagents:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A configuration read; the defaults are not Call content.
Released in1.6.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Request

Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the agents:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.

curl "$VOCAL_API/v1/organization/agent-defaults" \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Responses

StatusContent typeShapeError codes
200application/jsonOrganizationAgentDefaults
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is OrganizationAgentDefaults.

FieldTypeRequiredDescription
boundsarray of OrganizationSettingBoundnoAt most 100 bounds, one per leaf path (1.18.0). An Agent version or a per-Call override outside one is refused with setting_out_of_bounds naming the organization layer. The api always sends it; absent means none.
disclosure_attestationDisclosureAttestation or nullnoThe attestation in force when this version's values turn the AI disclosure off (1.24.0), carried from version to version while it stays off; null while the disclosure is on. An api before 1.24.0 omits it, and a reader treats its absence as null.
effectiveEffectiveSettingsyesThe Organization values over the platform defaults, for the same pack.
locksarray of SettingPathnoAt most 100 leaf paths the Organization locks (1.18.0): its value wins, and an Agent version or a per-Call override that sets the path is refused with setting_locked naming the organization layer. A platform lock on the path applies first. The api always sends it; absent means none.
object"organization_agent_defaults"yes
platform_defaultsEffectiveSettingsyesThe platform layer for the Organization's default language pack (en).
updated_atTimestamp or nullyes
updated_byActorRef or nullyes
valuesAgentSettingsyesThe paths the Organization sets.
versionintegeryesCounts replacements; 0 before the first. Returned as the ETag.