Skip to content

Scheme ​

Cele 63 obiecte pe care API-ul le acceptă și le returnează. Formele *Resource sunt ce primești; formele Store*/Update* sunt ce trimiți. O schemă Update* are aceleași câmpuri ca perechea ei Store*, dar niciunul obligatoriu — un PATCH schimbă doar ce numește.

ApiKeyResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
typestringda
displaystringda
public_keystring | nullda
scopesobjectda
allowed_originsobjectda
allowed_assistant_idsobjectda
allowed_ipsobjectda
expires_atstring | nullda
last_used_atstring | nullda
last_used_ipstring | nullda
revoked_atstring | nullda
rotated_from_idstring | nullda
usablebooleanda
created_atstring | nullda

AssistantFirstMessageMode ​

Enum de string-uri. Valori acceptate:

assistant_speaks_first · assistant_speaks_first_with_model_generated_message · assistant_waits_for_user

AssistantMode ​

§29. A realtime (speech-to-speech) assistant has no separate transcriber or voice stage, so the builder hides those tabs and the resolver omits them.

Enum de string-uri. Valori acceptate:

pipeline · realtime

AssistantResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
descriptionstring | nullda
statusstringda
is_publishedbooleanda
versionintegerda
current_version_idstring | nullda
published_version_idstring | nullda
has_unpublished_changesbooleanda
modestringda
languagestring | nullda
additional_languagesobjectda
first_messagestring | nullda
first_message_modestring | nullda
system_promptstring | nullda
silence_timeout_secondsintegerda
max_duration_secondsintegerda
template_strictnessstring | nullda
transcriberobject | nullda
modelobject | nullda
voiceobject | nullda
speech_to_speech_modelobject | nullda
start_speaking_planobject | nullda
stop_speaking_planobject | nullda
artifact_planobject | nullda
analysis_planobject | nullda
observability_planobject | nullda
message_planobject | nullda
keypad_input_planobject | nullda
recording_consent_planobject | nullda
voicemail_detection_planobject | nullda
transfer_planobject | nullda
compliance_planobject | nullda
background_soundobject | nullda
background_speech_denoisingobject | nullda
end_call_phrasesobjectda
idle_messagesobjectda
background_messagesobjectda
pronunciationsobjectda
custom_keywordsobjectda
voice_formattingobject | nullda
serverobject | nullda
hooksobject | nullda
fallbacksobject | nullda
variablesobjectda
variable_valuesobjectda
knowledge_onlybooleanda
knowledge_only_planobject | nullda
metadataobjectda
toolsToolAttachmentResource[]—
knowledge_basesKnowledgeBaseResource[]—
created_atstring | nullda
updated_atstring | nullda
last_published_atstring | nullda

AssistantTemplateStrictness ​

§128. An undefined variable silently rendering as an empty string is how a prompt becomes "Hello , your appointment on is confirmed" in production. The tenant chooses which failure they prefer. | | |---| | lenient <br/> Render an empty string. Fast, and wrong quietly. | | warn <br/> Render the placeholder untouched and log a warning — the default. | | strict <br/> Throw. The call setup fails loudly instead of shipping a broken prompt. |

Enum de string-uri. Valori acceptate:

lenient · warn · strict

AssistantVersionResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
assistant_idstringda
versionintegerda
labelanyda
change_summarystring | nullda
config_hashstringda
configobject—The full snapshot is large; it is returned only when the caller asked for this specific version, not in a listing.
tool_refsobjectda
knowledge_base_refsobjectda
published_atstring | nullda

CustomerResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
display_namestring | nullda
namestring | nullda
first_namestring | nullda
last_namestring | nullda
companystring | nullda
localestring | nullda
timezonestring | nullda
sourcestringda§126: which system owns this record.
external_idstring | nullda
externally_ownedbooleanda
do_not_contactbooleanda
conversation_countintegerda
first_seen_atstring | nullda
last_seen_atstring | nullda
merged_into_customer_idstring | nullda
metadataobject | nullda
notesstring | nullda
created_atstring | nullda
identifiersobject[]—
attributesstring | integer | number | boolean | object[]—
conversationsobject[]—

InboundRoute ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
namestringda
descriptionstring | nullda
enabledbooleanda
priorityintegerda
phone_number_idstring | nullda
sip_trunk_idstring | nullda
did_patternstring | nullda
did_match_typestringda
caller_patternstring | nullda
caller_match_typestringda
source_ip_aclobject | nullda
time_condition_idstring | nullda
destination_typeassistant · squad · queue · ivr · ring_group · extension …daWhere an inbound call goes once the tenant has been resolved (§10, §66). Deliberately a string enum plus a nullable ULID rather than a real polymorphic relation: the target tables (assistants, queues, ivrs, ring_groups, extensions) are owned by four different agents and land in four different migration ranges, so a hard foreign key here would force a build order that does not exist.
destination_idstring | nullda
destination_valuestring | nullda
fallback_destination_typeassistant · squad · queue · ivr · ring_group · extension … | nullda
fallback_destination_idstring | nullda
fallback_destination_valuestring | nullda
recording_modedisabled · mono · dual_channel · inheritda§51. dual_channel is what makes speaker-attributed transcripts and accurate talk-over metrics possible, so it is preferred wherever the carrier offers it.
ring_timeout_secondsintegerda
screen_callerbooleanda
set_variablesobject | nullda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time
deleted_atstring | nulldadate-time

IntegrationConnectionResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
integrationstringda
namestringda
statusstringda
activebooleanda
configobject | nulldaConfig is non-secret by construction; secrets live in the credential row.
granted_capabilitiesobjectda
authoauth2 · api_key · noneda
connected_atstring | nullda
last_tested_atstring | nullda
last_test_statusstring | nullda
last_synced_atstring | nullda
last_errorstring | nullda
created_atstring | nullda

KnowledgeBaseResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
descriptionstring | nullda
providerstring | nullda
namespacestring | nullda
embeddingobjectda
embedding.providerstringda
embedding.modelstringda
embedding.dimensionsintegerda
chunk_sizeintegerda
chunk_overlapintegerda
retrievalobjectda
custom_providerobject | nullda
knowledge_onlybooleanda
knowledge_only_planobject | nullda
statusstringda
document_countintegerda
chunk_countintegerda
total_bytesintegerda
metadataobjectda
documentsKnowledgeDocumentResource[]—
created_atstring | nullda
updated_atstring | nullda

KnowledgeDocumentResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
knowledge_base_idstringda
titlestringda
source_typestring | nullda
source_urlstring | nullda
mime_typestring | nullda
extensionstring | nullda
size_bytesintegerda
statusstring | nullda
progressintegerda
failure_codestring | nullda
failure_reasonstring | nullda
extracted_charsintegerda
chunk_countintegerda
token_countintegerda
languagestring | nullda
metadataobjectda
ingested_atstring | nullda
created_atstring | nullda

KnowledgeProvider ​

§41. pgvector is the only one implemented; the rest exist so the retriever interface is shaped for them and the UI can say "coming soon" honestly instead of silently doing nothing (§188).

Enum de string-uri. Valori acceptate:

pgvector · custom · qdrant · pinecone · weaviate

KnowledgeQueryRequest ​

CâmpTipObligatoriuNote
querystringdamax 4000 chars. min 1 chars
top_kinteger | null—min 1. max 50
thresholdnumber | null—min 0. max 1
namespacestring | null—max 255 chars
metadata_filtersstring[] | null—

McpCachedToolResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
mcp_server_idstringda
namestringda
titlestring | nullda
descriptionstring | nullda
input_schemaobject | nullda
output_schemaobject | nullda
annotationsobjectda
risk_levelstring | nullda
requires_confirmationbooleanda
enabledbooleanda
disabled_reasonstring | nullda
discovered_atstring | nullda
expires_atstring | nullda

McpConfirmationPolicy ​

§37. Optional confirmation before a tool call actually executes.

Enum de string-uri. Valori acceptate:

never · destructive · always

McpRiskLevel ​

§37. Ordered by blast radius — atLeast() is what the confirmation policy and the per-organization block list are expressed in.

Enum de string-uri. Valori acceptate:

read · write · destructive · financial · privileged

McpServerResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
descriptionstring | nullda
urlstring | nullda
transportstring | nullda
auth_typestringda
headersobjectda
secret_keysobjectda
provider_credential_idstring | nullda
oauth_connection_idstring | nullda
tool_policystring | nullda
allowed_toolsobjectda
denied_toolsobjectda
tool_risk_overridesobjectda
blocked_risk_levelsobjectda
default_risk_levelstring | nullda
confirmation_policystring | nullda
timeout_secondsintegerda
cache_ttl_secondsintegerda
activebooleanda
statusstring | nullda
status_messagestring | nullda
protocol_versionstring | nullda
server_infoobject | nullda
capabilitiesobject | nullda
tool_countintegerda
last_discovery_atstring | nullda
last_health_check_atstring | nullda
toolsMcpCachedToolResource[]—
created_atstring | nullda

McpToolPolicy ​

§37.

Enum de string-uri. Valori acceptate:

allow_all · allow_selected · deny_selected

McpTransport ​

Enum de string-uri. Valori acceptate:

streamable_http · sse · stdio

OutboundRoute ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
namestringda
descriptionstring | nullda
enabledbooleanda
priorityintegerda
destination_patternstring | nullda
match_typestringda
countriesobject | nullda
min_digitsinteger | nullda
max_digitsinteger | nullda
emergencybooleanda
sip_trunk_idstring | nullda
phone_number_idstring | nullda
failover_sip_trunk_idstring | nullda
strip_digitsintegerda
prepend_digitsstring | nullda
caller_id_numberstring | nullda
caller_id_namestring | nullda
blockedbooleanda
block_reasonstring | nullda
max_call_secondsinteger | nullda
rate_per_minutestring | nullda
high_costbooleanda
set_variablesobject | nullda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time
deleted_atstring | nulldadate-time

PhoneNumber ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
numberstringda
friendly_namestring | nullda
providertwilio · telnyx · didww · plivo · zadarma · didlogic …da§8.1. The telephony providers CallAgent can terminate or originate through. The value is what is stored in phone_numbers.provider, sip_trunks.provider and provider_credentials.provider — keep them stable, they are persisted.
telephony_account_idstring | nullda
provider_credential_idstring | nullda
provider_number_sidstring | nullda
provider_account_sidstring | nullda
provider_metadataobject | nullda
capabilitiesobject | nullda
countrystring | nullda
regionstring | nullda
localitystring | nullda
number_typestring | nullda
address_requirementstring | nullda
destination_typeassistant · squad · queue · ivr · ring_group · extension … | nullda
destination_idstring | nullda
destination_valuestring | nullda
fallback_destination_idstring | nullda
fallback_destination_typeassistant · squad · queue · ivr · ring_group · extension … | nullda
assistant_idstring | nullda
squad_idstring | nullda
hook_enabledbooleanda
hook_urlstring | nullda
hook_timeout_msintegerda
hook_headersobject | nullda
hook_fallbackstringda
hook_last_success_atstring | nulldadate-time
hook_last_failure_atstring | nulldadate-time
hook_last_errorstring | nullda
outbound_enabledbooleanda
outbound_caller_id_numberstring | nullda
outbound_caller_id_namestring | nullda
sip_trunk_idstring | nullda
caller_id_policy_idstring | nullda
sms_enabledbooleanda
sms_assistant_idstring | nullda
sms_webhook_urlstring | nullda
messaging_service_sidstring | nullda
recording_modedisabled · mono · dual_channel · inheritda§51. dual_channel is what makes speaker-attributed transcripts and accurate talk-over metrics possible, so it is preferred wherever the carrier offers it.
recording_consent_requiredbooleanda
voice_webhook_urlstring | nullda
status_webhook_urlstring | nullda
webhooks_configured_atstring | nulldadate-time
webhooks_in_syncbooleanda
max_concurrent_callsinteger | nullda
statuspending · active · suspended · released · errorda
inbound_enabledbooleanda
imported_atstring | nulldadate-time
purchased_atstring | nulldadate-time
released_atstring | nulldadate-time
last_inbound_atstring | nulldadate-time
last_outbound_atstring | nulldadate-time
monthly_coststring | nullda
setup_coststring | nullda
currencystringda
notesstring | nullda
settingsobject | nullda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time
deleted_atstring | nulldadate-time
phone_number_hook_idstring | nullda

PhoneNumberStatus ​

Enum de string-uri. Valori acceptate:

pending · active · suspended · released · error

ProviderCredentialResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
classstringda
providerstringda
namestringda
descriptionstring | nullda
configobject | nullda
secret_keysobjectda
is_defaultbooleanda
activebooleanda
validation_statusstringda
validated_atstring | nullda
validation_errorstring | nullda
capabilitiesobject | nullda
expires_atstring | nullda
rotated_atstring | nullda
created_atstring | nullda

SipAuthMode ​

Enum de string-uri. Valori acceptate:

credentials · ip · both

SipDiagnostic ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
sip_trunk_idstring | nullda
sip_trunk_gateway_idstring | nullda
kindstringda
outcomestringda
response_codeinteger | nullda
response_reasonstring | nullda
latency_msinteger | nullda
targetstring | nullda
request_tracestring | nullda
response_tracestring | nullda
messagestring | nullda
contextobject | nullda
triggered_by_user_idstring | nullda
created_atstringdadate-time

SipDid ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
sip_trunk_idstringda
numberstring | nullda
patternstring | nullda
match_typestringda
priorityintegerda
labelstring | nullda
countrystring | nullda
phone_number_idstring | nullda
destination_typeassistant · squad · queue · ivr · ring_group · extension … | nullda
destination_idstring | nullda
destination_valuestring | nullda
enabledbooleanda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time

SipDtmfMode ​

§49. rfc2833 (a.k.a. RFC 4733) is the default because it survives transcoding; inband breaks under any lossy codec; info is a signalling-path fallback for carriers that strip telephone-event.

Enum de string-uri. Valori acceptate:

rfc2833 · inband · info

SipLeadingPlus ​

§8.4 "leading plus behavior". Carriers disagree violently about whether an outbound Request-URI user should be +4917612345678, 4917612345678 or 004917612345678, and getting it wrong is the single most common reason a new trunk returns 404 on every call.

Enum de string-uri. Valori acceptate:

keep · strip · add · international_prefix

SipSrtpPolicy ​

Enum de string-uri. Valori acceptate:

disabled · optional · required

SipTransport ​

Enum de string-uri. Valori acceptate:

udp · tcp · tls

SipTrunk ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
namestringda
slugstringda
descriptionstring | nullda
providertwilio · telnyx · didww · plivo · zadarma · didlogic …da§8.1. The telephony providers CallAgent can terminate or originate through. The value is what is stored in phone_numbers.provider, sip_trunks.provider and provider_credentials.provider — keep them stable, they are persisted.
telephony_account_idstring | nullda
provider_credential_idstring | nullda
directioninbound · outbound · bothda
enabledbooleanda
auth_modecredentials · ip · bothda
usernamestring | nullda
auth_usernamestring | nullda
realmstring | nullda
from_userstring | nullda
from_domainstring | nullda
proxystring | nullda
outbound_proxystring | nullda
contact_hoststring | nullda
registerbooleanda
register_expiry_secondsintegerda
register_transportudp · tcp · tls | nullda
register_proxystring | nullda
register_on_startupbooleanda
retry_secondsintegerda
registered_atstring | nulldadate-time
registration_expires_atstring | nulldadate-time
transportudp · tcp · tlsda
srtp_policydisabled · optional · requiredda
verify_tls_peerbooleanda
tls_snistring | nullda
tls_versionstring | nullda
codecsobject | nullda
dtmf_moderfc2833 · inband · infoda§49. rfc2833 (a.k.a. RFC 4733) is the default because it survives transcoding; inband breaks under any lossy codec; info is a signalling-path fallback for carriers that strip telephone-event.
dtmf_duration_msintegerda
inter_digit_delay_msintegerda
ptime_msinteger | nullda
bypass_mediabooleanda
late_negotiationbooleanda
comfort_noisebooleanda
options_ping_enabledbooleanda
options_ping_secondsintegerda
keepalive_secondsintegerda
nat_keepalivebooleanda
statusunknown · up · down · registering · failed · disabledda
status_checked_atstring | nulldadate-time
last_response_codeinteger | nullda
last_latency_msinteger | nullda
last_errorstring | nullda
consecutive_failuresintegerda
inbound_source_aclobject | nullda
inbound_require_aclbooleanda
inbound_did_sourcestringda
inbound_did_headerstring | nullda
inbound_caller_id_sourcestringda
inbound_strip_plusbooleanda
inbound_number_prefixstring | nullda
inbound_strip_digitsintegerda
inbound_destination_typeassistant · squad · queue · ivr · ring_group · extension … | nullda
inbound_destination_idstring | nullda
inbound_destination_valuestring | nullda
outbound_caller_id_numberstring | nullda
outbound_caller_id_namestring | nullda
outbound_caller_id_privacybooleanda
leading_pluskeep · strip · add · international_prefixda§8.4 "leading plus behavior". Carriers disagree violently about whether an outbound Request-URI user should be +4917612345678, 4917612345678 or 004917612345678, and getting it wrong is the single most common reason a new trunk returns 404 on every call.
international_prefixstringda
outbound_prefixstring | nullda
outbound_strip_digitsintegerda
sip_uri_templatestring | nullda
allow_sip_uri_dialingbooleanda
custom_sip_headersobject | nullda
outbound_channel_variablesobject | nullda
supports_referbooleanda
supports_sip_infobooleanda
supports_sip_messagebooleanda
supports_sip_notifybooleanda
follow_302_redirectsbooleanda
send_paibooleanda
send_rpidbooleanda
send_diversion_on_transferbooleanda
max_concurrent_callsinteger | nullda
max_calls_per_secondinteger | nullda
sofia_profilestringda
gateway_namestring | nullda
generated_configstring | nullda
generated_config_hashstring | nullda
config_applied_atstring | nulldadate-time
settingsobject | nullda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time
deleted_atstring | nulldadate-time

SipTrunkDirection ​

Enum de string-uri. Valori acceptate:

inbound · outbound · both

SipTrunkGateway ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
sip_trunk_idstringda
namestringda
hoststringda
portintegerda
transportudp · tcp · tls | nullda
priorityintegerda
weightintegerda
enabledbooleanda
failover_onlybooleanda
max_concurrent_callsinteger | nullda
usernamestring | nullda
realmstring | nullda
outbound_proxystring | nullda
registerbooleanda
statusunknown · up · down · registering · failed · disabledda
status_checked_atstring | nulldadate-time
last_response_codeinteger | nullda
last_latency_msinteger | nullda
last_errorstring | nullda
consecutive_failuresintegerda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time

SipTrunkStatus ​

Enum de string-uri. Valori acceptate:

unknown · up · down · registering · failed · disabled

SquadDestinationType ​

§45.

Enum de string-uri. Valori acceptate:

assistant · squad · human_queue · dynamic · end

SquadHandoffContextMode ​

§46. How much of the conversation the receiving assistant inherits.

Enum de string-uri. Valori acceptate:

all_messages · last_n · user_only · user_assistant · summary · none

SquadResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
descriptionstring | nullda
statusstring | nullda
is_publishedbooleanda
versionintegerda
current_version_idstring | nullda
entry_assistant_idstring | nullda
handoff_context_modestring | nullda
handoff_context_sizeintegerda
handoff_extract_variablesobjectda
silent_handoffbooleanda
handoff_messagestring | nullda
metadataobjectda
membersobject[]—
routesobject[]—
created_atstring | nullda
updated_atstring | nullda

SquadRouteTrigger ​

§45.

Enum de string-uri. Valori acceptate:

tool · intent · variable · condition · always

StoreAssistantRequest ​

CâmpTipObligatoriuNote
namestringdamax 255 chars
descriptionstring | null—max 255 chars
modepipeline · realtime | null—
languagestring | null—max 16 chars
additional_languagesstring[] | null—
first_messagestring | null—max 5000 chars
first_message_modeassistant_speaks_first · assistant_speaks_first_with_model_generated_message · assistant_waits_for_user | null—
system_promptstring | null—max 100000 chars
template_strictnesslenient · warn · strict | null—
silence_timeout_secondsinteger | null—min 1. max 600
max_duration_secondsinteger | null—min 10. max 3600
transcriberobject—
transcriber.providerstring | null—max 48 chars
modelobject—
model.providerstring | null—max 48 chars
model.modelstring | null—max 96 chars
voiceobject—
voice.providerstring | null—max 48 chars
speech_to_speech_modelstring[] | null—
start_speaking_planstring[] | null—
stop_speaking_planstring[] | null—
artifact_planstring[] | null—
analysis_planstring[] | null—
observability_planstring[] | null—
message_planstring[] | null—
keypad_input_planstring[] | null—
recording_consent_planstring[] | null—
voicemail_detection_planstring[] | null—
transfer_planstring[] | null—
compliance_planstring[] | null—
background_soundstring[] | null—
background_speech_denoisingstring[] | null—
serverobject—
server.urlstring | null—uri. max 2048 chars
hooksstring[] | null—
fallbacksstring[] | null—
end_call_phrasesstring[] | null—
idle_messagesstring[] | null—
background_messagesstring[] | null—
pronunciationsstring[] | null—
custom_keywordsstring[] | null—
voice_formattingstring[] | null—
variablesobject[] | null—
variable_valuesstring[] | null—
knowledge_onlyboolean | null—
knowledge_only_planstring[] | null—
metadatastring[] | null—
toolsobject[] | null—Tenancy: exists is scoped by hand because the global Eloquent scope does not apply to the validator's own query.
tool_idsstring[] | null—
knowledge_base_idsstring[] | null—
structured_output_idsstring[] | null—

StoreKnowledgeBaseRequest ​

CâmpTipObligatoriuNote
namestringdamax 255 chars
descriptionstring | null—max 255 chars
providerpgvector · custom · qdrant · pinecone · weaviate | null—
namespacestring | null—max 255 chars
embedding_providerstring | null—max 48 chars
embedding_modelstring | null—max 96 chars
chunk_sizeinteger | null—min 64. max 4000
chunk_overlapinteger | null—min 0. max 2000
retrievalobject—
retrieval.top_kinteger | null—min 1. max 50
retrieval.thresholdnumber | null—min 0. max 1
retrieval.vector_weightnumber | null—min 0. max 1
retrieval.lexical_weightnumber | null—min 0. max 1
retrieval.max_context_charsinteger | null—min 200. max 100000
retrieval.citationsinline · footnote · none · null | null—
retrieval.metadata_filtersstring[] | null—
custom_providerobject—
custom_provider.urlstring | null—uri. max 2048 chars
custom_provider.headersstring[] | null—
custom_provider.timeout_secondsinteger | null—min 1. max 60
knowledge_onlyboolean | null—
knowledge_only_planstring[] | null—
metadatastring[] | null—

StoreKnowledgeDocumentRequest ​

CâmpTipObligatoriuNote
source_typefile · url · textda
titlestring | null—max 255 chars
filestring—The extension list is the one the extractor genuinely handles — accepting a PDF we cannot parse would be a silent ingestion of nothing (§188).. binary
urlstring | null—uri. max 2048 chars
textstring | null—max 2000000 chars
metadatastring[] | null—

StoreMcpServerRequest ​

CâmpTipObligatoriuNote
namestringdamax 255 chars
descriptionstring | null—max 255 chars
transportstreamable_http · sse · stdioda
urlstring | null—uri. max 2048 chars
stdio_configstring[] | null—
auth_typenone · static_headers · bearer · oauth · credential · null | null—
headersstring[] | null—
bearer_tokenstring | null—Secrets arrive as their own field and are encrypted before storage; they are never echoed back by the resource.. max 4096 chars
provider_credential_idstring | null—
oauth_connection_idstring | null—
tool_policyallow_all · allow_selected · deny_selected | null—
allowed_toolsstring[] | null—
denied_toolsstring[] | null—
tool_risk_overridesstring[] | null—
blocked_risk_levelsread · write · destructive · financial · privileged[] | null—
default_risk_levelread · write · destructive · financial · privileged | null—
confirmation_policynever · destructive · always | null—
timeout_secondsinteger | null—min 1. max 120
cache_ttl_secondsinteger | null—min 60. max 86400
activeboolean | null—
metadatastring[] | null—

StoreSquadRequest ​

CâmpTipObligatoriuNote
namestringdamax 255 chars
descriptionstring | null—max 255 chars
entry_assistant_idstring | null—
handoff_context_modeall_messages · last_n · user_only · user_assistant · summary · none | null—
handoff_context_sizeinteger | null—min 1. max 200
handoff_extract_variablesstring[] | null—
silent_handoffboolean | null—
handoff_messagestring | null—max 2000 chars
metadatastring[] | null—
membersobject[] | null—
routesobject[] | null—

StoreStructuredOutputRequest ​

CâmpTipObligatoriuNote
namestringdamax 255 chars
keystring | null—max 96 chars
descriptionstring | null—max 2000 chars
templatesummary · sentiment · success · follow_up · lead_qualification · customer_fields … | null—
targetcall · chat · both · null | null—
schemastring[]damin 1 items
promptstring | null—max 20000 chars
modelstring[] | null—
enabledboolean | null—
metadatastring[] | null—

StoreToolRequest ​

CâmpTipObligatoriuNote
namestringdamax 255 chars
keystring | null—max 96 chars. pattern ^[a-zA-Z_][a-zA-Z0-9_]*$
descriptionstringdamax 2000 chars
typeapi_request · function · transfer_call · handoff · end_call · sms …da§32. The type drives everything downstream: which form fields the builder shows, which validator runs, and whether the Voice Gateway executes the tool in-process, over HTTP, or in an isolated sandbox worker.
parameters_schemastring[] | null—
configstring[] | null—
messagesstring[] | null—
rejection_planstring[] | null—
serverstring[] | null—
is_asyncboolean | null—
timeout_secondsinteger | null—min 1. max 120
requires_confirmationboolean | null—
risk_levelread · write · destructive · financial · privileged | null—
metadatastring[] | null—

StructuredOutputResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
keystringda
descriptionstring | nullda
templatestring | nullda
targetstringda
schemaobjectda
promptstring | nullda
modelobject | nullda
statusstring | nullda
is_publishedbooleanda
versionintegerda
current_version_idstring | nullda
enabledbooleanda
metadataobjectda
created_atstring | nullda
updated_atstring | nullda

TelephonyAccount ​

CâmpTipObligatoriuNote
idstringda
organization_idstringda
providertwilio · telnyx · didww · plivo · zadarma · didlogic …da§8.1. The telephony providers CallAgent can terminate or originate through. The value is what is stored in phone_numbers.provider, sip_trunks.provider and provider_credentials.provider — keep them stable, they are persisted.
namestringda
descriptionstring | nullda
provider_credential_idstring | nullda
external_account_idstring | nullda
external_account_labelstring | nullda
is_subaccountbooleanda
parent_external_account_idstring | nullda
voice_webhook_urlstring | nullda
status_webhook_urlstring | nullda
sms_webhook_urlstring | nullda
is_defaultbooleanda
activebooleanda
health_statusstringda
health_checked_atstring | nulldadate-time
health_messagestring | nullda
numbers_synced_atstring | nulldadate-time
numbers_countintegerda
capabilitiesobject | nullda
settingsobject | nullda
metadataobject | nullda
created_atstring | nulldadate-time
updated_atstring | nulldadate-time
deleted_atstring | nulldadate-time

TelephonyDestinationType ​

Where an inbound call goes once the tenant has been resolved (§10, §66). Deliberately a string enum plus a nullable ULID rather than a real polymorphic relation: the target tables (assistants, queues, ivrs, ring_groups, extensions) are owned by four different agents and land in four different migration ranges, so a hard foreign key here would force a build order that does not exist.

Enum de string-uri. Valori acceptate:

assistant · squad · queue · ivr · ring_group · extension · voicemail · external · sip_uri · hook

TelephonyProviderId ​

§8.1. The telephony providers CallAgent can terminate or originate through. The value is what is stored in phone_numbers.provider, sip_trunks.provider and provider_credentials.provider — keep them stable, they are persisted.

Enum de string-uri. Valori acceptate:

twilio · telnyx · didww · plivo · zadarma · didlogic · chime · byo_sip · custom_sip

TelephonyRecordingMode ​

§51. dual_channel is what makes speaker-attributed transcripts and accurate talk-over metrics possible, so it is preferred wherever the carrier offers it.

Enum de string-uri. Valori acceptate:

disabled · mono · dual_channel · inherit

ToolAttachmentResource ​

CâmpTipObligatoriuNote
idstringda
namestringda
keystringda
typestring | nullda
pin_modestring | nullda
tool_version_idstring | nullda
aliasstring | nullda
enabledbooleanda
sort_orderinteger | nullda

ToolPinMode ​

§109. "latest" resolves at publish time, not at call time — otherwise editing a tool would silently change the behaviour of an already-published assistant.

Enum de string-uri. Valori acceptate:

latest · pinned

ToolResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
keystringda
descriptionstring | nullda
typestring | nullda
statusstring | nullda
is_publishedbooleanda
versionintegerda
current_version_idstring | nullda
parameters_schemaobject | nullda
configobject | nullda
messagesobject | nullda
rejection_planobject | nullda
serverobject | nullda
is_asyncbooleanda
timeout_secondsintegerda
requires_confirmationbooleanda
risk_levelstring | nullda
mcp_server_idstring | nullda
mcp_tool_namestring | nullda
metadataobjectda
created_atstring | nullda
updated_atstring | nullda

ToolType ​

§32. The type drives everything downstream: which form fields the builder shows, which validator runs, and whether the Voice Gateway executes the tool in-process, over HTTP, or in an isolated sandbox worker.

Enum de string-uri. Valori acceptate:

api_request · function · transfer_call · handoff · end_call · sms · dtmf · voicemail · sip_request · query · knowledge_base · mcp · google_calendar_create_event · google_calendar_availability · google_sheets_append_row · slack_send_message · gohighlevel_availability · gohighlevel_event_create · gohighlevel_contact_create · gohighlevel_contact_get · bash · computer · text_editor · client_side · custom_provider

ToolVersionResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
tool_idstringda
versionintegerda
namestringda
keystringda
typestring | nullda
descriptionstring | nullda
parameters_schemaobject | nullda
configobject | nullda
config_hashstringda
change_summarystring | nullda
published_atstring | nullda

UpdateAssistantRequest ​

CâmpTipNote
namestringmax 255 chars
descriptionstring | nullmax 255 chars
modepipeline · realtime | null
languagestring | nullmax 16 chars
additional_languagesstring[] | null
first_messagestring | nullmax 5000 chars
first_message_modeassistant_speaks_first · assistant_speaks_first_with_model_generated_message · assistant_waits_for_user | null
system_promptstring | nullmax 100000 chars
template_strictnesslenient · warn · strict | null
silence_timeout_secondsinteger | nullmin 1. max 600
max_duration_secondsinteger | nullmin 10. max 3600
transcriberobject
transcriber.providerstring | nullmax 48 chars
modelobject
model.providerstring | nullmax 48 chars
model.modelstring | nullmax 96 chars
voiceobject
voice.providerstring | nullmax 48 chars
speech_to_speech_modelstring[] | null
start_speaking_planstring[] | null
stop_speaking_planstring[] | null
artifact_planstring[] | null
analysis_planstring[] | null
observability_planstring[] | null
message_planstring[] | null
keypad_input_planstring[] | null
recording_consent_planstring[] | null
voicemail_detection_planstring[] | null
transfer_planstring[] | null
compliance_planstring[] | null
background_soundstring[] | null
background_speech_denoisingstring[] | null
serverobject
server.urlstring | nulluri. max 2048 chars
hooksstring[] | null
fallbacksstring[] | null
end_call_phrasesstring[] | null
idle_messagesstring[] | null
background_messagesstring[] | null
pronunciationsstring[] | null
custom_keywordsstring[] | null
voice_formattingstring[] | null
variablesobject[] | null
variable_valuesstring[] | null
knowledge_onlyboolean | null
knowledge_only_planstring[] | null
metadatastring[] | null
toolsobject[] | nullTenancy: exists is scoped by hand because the global Eloquent scope does not apply to the validator's own query.
tool_idsstring[] | null
knowledge_base_idsstring[] | null
structured_output_idsstring[] | null

UpdateKnowledgeBaseRequest ​

CâmpTipNote
namestringmax 255 chars
descriptionstring | nullmax 255 chars
providerpgvector · custom · qdrant · pinecone · weaviate | null
namespacestring | nullmax 255 chars
embedding_providerstring | nullmax 48 chars
embedding_modelstring | nullmax 96 chars
chunk_sizeinteger | nullmin 64. max 4000
chunk_overlapinteger | nullmin 0. max 2000
retrievalobject
retrieval.top_kinteger | nullmin 1. max 50
retrieval.thresholdnumber | nullmin 0. max 1
retrieval.vector_weightnumber | nullmin 0. max 1
retrieval.lexical_weightnumber | nullmin 0. max 1
retrieval.max_context_charsinteger | nullmin 200. max 100000
retrieval.citationsinline · footnote · none · null | null
retrieval.metadata_filtersstring[] | null
custom_providerobject
custom_provider.urlstring | nulluri. max 2048 chars
custom_provider.headersstring[] | null
custom_provider.timeout_secondsinteger | nullmin 1. max 60
knowledge_onlyboolean | null
knowledge_only_planstring[] | null
metadatastring[] | null

UpdateMcpServerRequest ​

CâmpTipNote
namestringmax 255 chars
descriptionstring | nullmax 255 chars
transportstreamable_http · sse · stdio
urlstring | nulluri. max 2048 chars
stdio_configstring[] | null
auth_typenone · static_headers · bearer · oauth · credential · null | null
headersstring[] | null
bearer_tokenstring | nullSecrets arrive as their own field and are encrypted before storage; they are never echoed back by the resource.. max 4096 chars
provider_credential_idstring | null
oauth_connection_idstring | null
tool_policyallow_all · allow_selected · deny_selected | null
allowed_toolsstring[] | null
denied_toolsstring[] | null
tool_risk_overridesstring[] | null
blocked_risk_levelsread · write · destructive · financial · privileged[] | null
default_risk_levelread · write · destructive · financial · privileged | null
confirmation_policynever · destructive · always | null
timeout_secondsinteger | nullmin 1. max 120
cache_ttl_secondsinteger | nullmin 60. max 86400
activeboolean | null
metadatastring[] | null

UpdateSquadRequest ​

CâmpTipNote
namestringmax 255 chars
descriptionstring | nullmax 255 chars
entry_assistant_idstring | null
handoff_context_modeall_messages · last_n · user_only · user_assistant · summary · none | null
handoff_context_sizeinteger | nullmin 1. max 200
handoff_extract_variablesstring[] | null
silent_handoffboolean | null
handoff_messagestring | nullmax 2000 chars
metadatastring[] | null
membersobject[] | null
routesobject[] | null

UpdateStructuredOutputRequest ​

CâmpTipNote
namestringmax 255 chars
keystring | nullmax 96 chars
descriptionstring | nullmax 2000 chars
templatesummary · sentiment · success · follow_up · lead_qualification · customer_fields … | null
targetcall · chat · both · null | null
schemastring[]
promptstring | nullmax 20000 chars
modelstring[] | null
enabledboolean | null
metadatastring[] | null

UpdateToolRequest ​

CâmpTipNote
namestringmax 255 chars
keystring | nullmax 96 chars. pattern ^[a-zA-Z_][a-zA-Z0-9_]*$
descriptionstringmax 2000 chars
typeapi_request · function · transfer_call · handoff · end_call · sms …§32. The type drives everything downstream: which form fields the builder shows, which validator runs, and whether the Voice Gateway executes the tool in-process, over HTTP, or in an isolated sandbox worker.
parameters_schemastring[] | null
configstring[] | null
messagesstring[] | null
rejection_planstring[] | null
serverstring[] | null
is_asyncboolean | null
timeout_secondsinteger | nullmin 1. max 120
requires_confirmationboolean | null
risk_levelread · write · destructive · financial · privileged | null
metadatastring[] | null

WebhookDeliveryResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
webhook_endpoint_idstringda
event_idstringda
event_typestringda
statusstringda
attemptsintegerda
max_attemptsintegerda
response_statusinteger | nullda
duration_msinteger | nullda
errorstring | nullda
call_idstring | nullda
assistant_idstring | nullda
next_attempt_atstring | nullda
delivered_atstring | nullda
failed_atstring | nullda
redelivery_of_idstring | nullda
created_atstring | nullda
payloadobjectdaThe captured exchange is already redacted at write time; this is the §65 delivery log the customer inspects.
request_headersobject | nullda
response_headersobject | nullda
response_bodystring | nullda
attempt_logobject[]—

WebhookEndpointResource ​

CâmpTipObligatoriuNote
idstringda
objectstringda
namestringda
urlstringda
descriptionstring | nullda
eventsobjectda
assistant_idsobjectda
headersobject | nullda
activebooleanda
statusstringda
consecutive_failuresintegerda
max_attemptsintegerda
timeout_secondsintegerda
api_versionstringda
secret_rotated_atstring | nullda
secret_overlap_untilstring | nullda
last_success_atstring | nullda
last_failure_atstring | nullda
disabled_reasonstring | nullda
created_atstring | nullda
updated_atstring | nullda

Scrisă după cod. Ce nu este încă implementat este marcat ca atare, niciodată descris ca funcțional.