Appearance
Schemas
The request and response shapes the reference pages link to, as the contract defines them.
access.assignee
| Field | Type | Description |
|---|---|---|
id | integer | |
kind | string | One of: user, group. |
project_id | string | ProjectID is a group assignee's project. |
access.assignmentRequest
| Field | Type | Description |
|---|---|---|
assignee | access.assignee | |
validity | access.validity |
access.bindingRequest
| Field | Type | Description |
|---|---|---|
permission | string | Permission is a can_* permission of the model on the organization, the project or the stage, or use, invoke, read, approve or edit on a thing of the stage. |
target | access.target | |
validity | access.validity |
access.groupRequest
| Field | Type | Description |
|---|---|---|
audience | string | One of: customers, people. |
claim_key | string | |
claim_value | string | |
description | string | |
kind | string | One of: listed, rule, claim, union. |
name | string | |
priority | integer | Priority orders groups where one must win (an agent's model per group): the highest wins. |
rule | object | Rule is a rule group's condition (foundation/expr) over the roots customer and now. |
stage_id | string | StageID is the stage the group is for; empty for every stage of the project. |
access.membershipRequest
| Field | Type | Description |
|---|---|---|
as | string | One of: listed, excluded, blocked. |
member | access.party | |
validity | access.validity |
access.party
| Field | Type | Description |
|---|---|---|
id | integer | ID is a customer's, a person's or a group's id. |
kind | string | One of: customer, user, group, app, door. |
name | string | Name is an app's verified origin (claude.ai) or a door's kind (widget). |
access.previewRequest
| Field | Type | Description |
|---|---|---|
limit | integer | Limit is how many matching customers to list, at most 50. |
rule | object | Rule is a group's condition (foundation/expr) over the roots customer and now. |
access.rolePermissionRequest
| Field | Type | Description |
|---|---|---|
kind | string | One of: organization, project, stage. |
object_id | string | ObjectID is the project's or the stage's id; empty for the organization. |
permission | string | |
validity | access.validity |
access.roleRequest
| Field | Type | Description |
|---|---|---|
description | string | |
name | string |
access.ruleRequest
| Field | Type | Description |
|---|---|---|
accept_unverified | boolean | AcceptUnverified lets apps whose identity is not verified pass the target's app rules (an app's rule only). |
effect | string | One of: block, exception. |
party | access.party | |
target | access.target | |
validity | access.validity |
access.target
| Field | Type | Description |
|---|---|---|
kind | string | One of: organization, project, stage, tool, toolset, method, door, feature, doc_tag, skill_tag, agent. |
name | string | Name is a tool's served name, a toolset's tag, a method, a door's kind, a feature, a doc or skill tag, an agent's id; empty for the organization, the project and the stage. |
access.validity
| Field | Type | Description |
|---|---|---|
not_after | string | |
not_before | string | NotBefore and NotAfter bound the fact: from not_before (inclusive) to not_after (exclusive). |
schedule | access.schedule |
agent.Answer
| Field | Type | Description |
|---|---|---|
always | boolean | Always is scope "always", kept for the callers that send it. |
approved | boolean | |
reason | string | |
ref | string | |
scope | string | Scope is how far an approval reaches (ADR-0030 §2a): "once", the default, is this task; "conversation" every task of this conversation; "always" every task of this agent run for the one who approves, for 30 days. One of: once, conversation, always. |
agent.ContextManagement
ContextManagement: a setting left out takes its default; on an update it replaces the settings whole (ADR-0044).
| Field | Type | Description |
|---|---|---|
mask_keep_turns | integer | |
mask_step_tokens | integer | |
masking | boolean | Masking replaces results older than the last mask_keep_turns turns by a line naming their handle, once they add up to mask_step_tokens; true by default, 2 turns and 8000 tokens. |
result_threshold_tokens | integer | |
results_by_reference | boolean | ResultsByReference sends a result over result_threshold_tokens as a digest and a handle; true by default. |
summary | boolean | Summary condenses the oldest turns once the masked history outgrows the model's context; true by default. |
summary_model | string | SummaryModel is who writes it: chat, the conversation's own model (the default), or judge, the judge role's. One of: chat, judge. |
agent.Message
| Field | Type | Description |
|---|---|---|
content | string | |
role | agent.Role | |
toolCallID | string | |
toolCalls | agent.ToolCall[] | |
toolName | string |
agent.agentFamilyResponse
| Field | Type | Description |
|---|---|---|
archived_at | string | |
config | integer[] | |
context_management | agent.ContextSettings | |
created_at | string | |
decision_model | string | |
description | string | |
fallback_model | string | |
fallback_on | string[] | |
guardrails | data.Guardrail[] | |
id | string | |
instructions | string | |
judge_model | string | JudgeModel and DecisionModel are the agent's own Frege ids for those roles, left out when it asks its project's. |
language | string | |
max_turns | integer | |
model | string | |
name | string | |
permitted_models | string[] | |
project_id | string | |
skills | string[] | |
stt_model | string | |
subagents | api.agentResponse[] | |
surface | string | |
tools | string[] | |
tts_model | string | |
unknown_skills | string[] | |
unknown_tools | string[] | |
updated_at | string | |
version | integer | |
vision_enabled | boolean | How the intake classifies photos, with a model that sees them: the agent's own never gets a picture. vision_model "" is the deployment's default (vision_default in GET /models). |
vision_image_max_px | integer | |
vision_min_confidence | number | |
vision_model | string | |
voice_id | string | |
voice_input | boolean | |
voice_output | boolean |
agenthandlers.openPlaygroundSessionRequest
| Field | Type | Description |
|---|---|---|
client_id | integer | |
identity | string |
api.acknowledgeParamRequest
| Field | Type | Description |
|---|---|---|
in | string | |
note | string |
api.addCustomDomainRequest
| Field | Type | Description |
|---|---|---|
domain | string |
api.addEmbedOriginRequest
| Field | Type | Description |
|---|---|---|
origin | string |
api.assistantConnectRequest
| Field | Type | Description |
|---|---|---|
provider | string | Provider is the social sign-in to confirm with: google. An emailed code goes through /assistant/connect/code. |
return_to | string |
api.assistantVerifyCodeRequest
| Field | Type | Description |
|---|---|---|
code | string |
api.callToolRequest
| Field | Type | Description |
|---|---|---|
arguments | object (map) | |
input_responses | mcp.InputResponseMap | |
request_state | string |
api.caseRequest
| Field | Type | Description |
|---|---|---|
checks | evals.Check[] | |
name | string | |
prompt | string |
api.compositeRequest
| Field | Type | Description |
|---|---|---|
definition | integer[] | |
enabled | boolean | |
name | string |
api.configureRecipeRequest
| Field | Type | Description |
|---|---|---|
auth_flow_exists | boolean | |
recipe | upstreamauth.AuthoredSpecRecipe | |
secret | object (map) |
api.connectBYOKRequest
| Field | Type | Description |
|---|---|---|
key | string | |
label | string | |
provider | string |
api.connectVoiceVendorRequest
| Field | Type | Description |
|---|---|---|
api_key | string | |
service_account_json | string |
api.createAPIKeyRequest
| Field | Type | Description |
|---|---|---|
expires_at | string | |
kind | string | |
name | string |
api.createAgentRequest
| Field | Type | Description |
|---|---|---|
config | integer[] | |
context_management | agent.ContextManagement | |
decision_model | string | |
description | string | |
fallback_model | string | |
fallback_on | string[] | |
guardrail_ids | integer[] | |
guardrails | integer[][] | |
instructions | string | |
judge_model | string | |
language | string | |
max_turns | integer | |
model | string | |
name | string | |
permitted_models | string[] | |
skills | string[] | |
stt_model | string | |
subagents | api.subAgentInput[] | |
surface | string | |
tools | string[] | |
tts_model | string | |
vision_enabled | boolean | |
vision_image_max_px | integer | |
vision_min_confidence | number | |
vision_model | string | |
voice_id | string | |
voice_input | boolean | |
voice_output | boolean |
api.createChatRequest
| Field | Type | Description |
|---|---|---|
agent_id | string | |
client_id | integer | |
title | string |
api.createClientRequest
| Field | Type | Description |
|---|---|---|
grants | api.grantRequest[] | |
identifier | string | |
name | string |
api.createDocRequest
| Field | Type | Description |
|---|---|---|
content | string | |
tags | string[] | |
title | string |
api.createDocSourceRequest
| Field | Type | Description |
|---|---|---|
config | integer[] | |
kind | string | |
name | string | |
refresh_every_seconds | integer | |
tags | string[] |
api.createInvitationRequest
| Field | Type | Description |
|---|---|---|
email | string | |
role | string | One of: manager, developer, viewer. |
api.createOrgRequest
| Field | Type | Description |
|---|---|---|
name | string |
api.createProjectRequest
| Field | Type | Description |
|---|---|---|
description | string | |
name | string | |
org_id | string |
api.createRedactionItemRequest
| Field | Type | Description |
|---|---|---|
description | string | |
fields | string[] | |
key | string | |
label | string | |
mask | string | One of: remove, hide, initials, phone, email, last4, year. |
regex | string |
api.createVariableRequest
| Field | Type | Description |
|---|---|---|
description | string | |
name | string | |
secret | boolean | |
value | string |
api.customerField
| Field | Type | Description |
|---|---|---|
agent_access | string | One of: none, read, write. |
key | string | |
label | string | |
options | string[] | |
pii | string | One of: none, personal, sensitive. |
position | integer | |
required | boolean | |
show_in_list | boolean | |
type | string | One of: text, number, date, boolean, select, phone, email, url, datetime, multi_select, money. |
validation | api.customerFieldValidation |
api.customerNoteRequest
| Field | Type | Description |
|---|---|---|
body | string |
api.deleteOrgRequest
| Field | Type | Description |
|---|---|---|
code | string | |
name | string |
api.describeTelegramMediaRequest
| Field | Type | Description |
|---|---|---|
caption | object (map) | |
note | string |
api.draftSkillRequest
| Field | Type | Description |
|---|---|---|
goal | string | |
tools | string[] |
api.goalOperation
| Field | Type | Description |
|---|---|---|
label | string | |
operation_id | string |
api.grantRequest
| Field | Type | Description |
|---|---|---|
expires_at | string | |
kind | string | |
value | string |
api.grantRunAsClientRequest
| Field | Type | Description |
|---|---|---|
tool_names | string[] |
api.guardrailRequest
| Field | Type | Description |
|---|---|---|
enabled | boolean | |
kinds | string[] | |
max_size | integer | |
message | string | |
mode | string | One of: record, enforce. |
name | string | |
rule | string |
api.handoffCloseRequest
| Field | Type | Description |
|---|---|---|
control_version | string | |
epoch | string | |
last_message_seq | string | |
return_to_agent | boolean |
api.handoffObservation
| Field | Type | Description |
|---|---|---|
control_version | string | |
epoch | string |
api.handoffReplyRequest
| Field | Type | Description |
|---|---|---|
attachments | string[] | |
body | string | |
control_version | string | |
epoch | string |
api.handoffTransferRequest
| Field | Type | Description |
|---|---|---|
control_version | string | |
epoch | string | |
user_id | string |
api.hookRequest
| Field | Type | Description |
|---|---|---|
allow_writes | boolean | |
condition | object | Condition is an expression over event and now (GET /hooks/expressions), held together with filter; absent or null holds always. |
customer | hooks.CustomerMatch | |
delay_seconds | integer | DelaySeconds is how long after its event a run starts, up to seven days; 0, at once. |
enabled | boolean | |
filter | hooks.Condition[] | |
max_attempts | integer | |
name | string | |
on | string | |
schedule | hooks.Schedule | |
source | string | Source is a webhook hook's: the id of the source whose deliveries start it. |
steps | hooks.Step[] | |
tools | string[] | |
trigger | string |
api.hookSourceRequest
| Field | Type | Description |
|---|---|---|
delivery_id_header | string | DeliveryIDHeader carries the sender's own delivery id, which dedupes. |
enabled | boolean | |
name | string | |
secret | string | Secret is the sender's own, at creation only; without it Frege mints one. |
verification | hooks.Verification |
api.hookSourceSecretRequest
| Field | Type | Description |
|---|---|---|
secret | string |
api.intakeConfigRequest
| Field | Type | Description |
|---|---|---|
labels | intake.LabelsConfig | |
steps | intake.Step[] | |
version | integer | Version is the one this save was made over: a save over an older one is refused with 409. 0 saves over whatever is there. |
api.magicRequest
| Field | Type | Description |
|---|---|---|
email | string |
api.magicVerifyRequest
| Field | Type | Description |
|---|---|---|
code | string | |
email | string |
api.mintEmbedTokenRequest
| Field | Type | Description |
|---|---|---|
agent | string | |
client_id | integer | |
remember | string | Remember is what the sign-in gave the browser; ClientID is for a server holding a secret key. |
ttl_seconds | integer |
api.operationSettingRequest
| Field | Type | Description |
|---|---|---|
idempotent | boolean | |
max_body_bytes | integer | null (or omitted) defers to the spec. |
api.photoRetentionRequest
| Field | Type | Description |
|---|---|---|
days | integer |
api.pinPagesRequest
| Field | Type | Description |
|---|---|---|
pinned | string[] |
api.playgroundSessionResponse
| Field | Type | Description |
|---|---|---|
capabilities | github_com_modelcontextprotocol_go-sdk_mcp.ServerCapabilities | |
client_id | integer | |
created_at | string | |
entries | integer | |
fidelity | string | |
id | string | |
identity | string | |
instructions | string | |
protocol_version | string | |
server_name | string | |
server_version | string | |
warnings | string[] |
api.portalConfigRequest
| Field | Type | Description |
|---|---|---|
agent_id | string |
api.portalConnectRequest
| Field | Type | Description |
|---|---|---|
carry | integer[] | |
input | object (map) |
api.purgeRequest
| Field | Type | Description |
|---|---|---|
challenge_id | string | |
code | string | |
confirm | string |
api.putWalletMandateRequest
| Field | Type | Description |
|---|---|---|
ask_above | integer | |
customer_id | integer | |
per_call | integer | |
per_day | integer | |
per_week | integer | |
scope | object | |
sides | string[] | |
time_zone | string |
api.readResourceRequest
| Field | Type | Description |
|---|---|---|
uri | string |
api.recommendModelsRequest
| Field | Type | Description |
|---|---|---|
constraints | llm.Constraints | |
limit | integer | |
weights | llm.Weights |
api.refreshRequest
| Field | Type | Description |
|---|---|---|
refresh_token | string |
api.renameClientRequest
| Field | Type | Description |
|---|---|---|
fields | object | Fields sets the customer's typed fields by key; null removes one. |
identifier | string | |
identities | object (map) | |
name | string | |
tags | string[] |
api.replaceGrantsRequest
| Field | Type | Description |
|---|---|---|
grants | api.grantRequest[] |
api.runAgentRequest
| Field | Type | Description |
|---|---|---|
approvals | agent.Answer[] | |
attachments | integer[] | |
client_id | integer | |
history | agent.Message[] | |
identity | string | |
message | string | |
model | string | |
playground_session_id | string | |
session_id | string |
api.runCompositeRequest
| Field | Type | Description |
|---|---|---|
arguments | object (map) | |
client_id | integer | |
definition | integer[] | |
name | string |
api.saveSkillRequest
| Field | Type | Description |
|---|---|---|
files | api.skillFileRequest[] | |
tags | string[] |
api.sendMessageRequest
| Field | Type | Description |
|---|---|---|
message | string |
api.setAppRequest
| Field | Type | Description |
|---|---|---|
html | string |
api.setAuthOpsRequest
| Field | Type | Description |
|---|---|---|
code | string | |
confirm | string | |
operation_ids | string[] |
api.setBYOKActiveRequest
| Field | Type | Description |
|---|---|---|
active | boolean |
api.setConnectPageRequest
| Field | Type | Description |
|---|---|---|
html | string |
api.setPublicDocsRequest
| Field | Type | Description |
|---|---|---|
enabled | boolean | |
tags | string[] |
api.setRedactionEnabledRequest
| Field | Type | Description |
|---|---|---|
enabled | boolean |
api.setSelectionRequest
| Field | Type | Description |
|---|---|---|
org_id | string | |
project_id | string |
api.setTelegramBehaviorRequest
| Field | Type | Description |
|---|---|---|
daily_customer_cap | integer | |
default_language | string | One of: en, ru, uz. |
progress_animation | string | One of: ``, text-shimmer, typewriter, ring, spokes, classic, dots-ring, swirling, arc, concentric-ring, clock-ring, quarter-ring, dash-ring, comet-spinner, pulse, ripple, pulse-dot, dots, bobbing-dots, bouncing-dots, typing, pulsating-dots, triple-dot-spinner, text-blink. |
show_agent_steps | boolean | |
start_prompt | string | |
use_telegram_language | boolean |
api.setTelegramBotRequest
| Field | Type | Description |
|---|---|---|
agent | string | |
token | string |
api.setTelegramCallsRequest
| Field | Type | Description |
|---|---|---|
enabled | boolean |
api.setTelegramMenuRequest
| Field | Type | Description |
|---|---|---|
menu | data.TelegramMenuButton[] |
api.setToolModeRequest
| Field | Type | Description |
|---|---|---|
force | boolean | |
mode | string |
api.setWidgetConfigRequest
| Field | Type | Description |
|---|---|---|
call_enabled | boolean | CallEnabled is optional so a client that predates calls, sending only the three older flags, does not switch calls off as a side effect. |
file_enabled | boolean | |
history_enabled | boolean | |
voice_enabled | boolean |
api.setWidgetTemplateRequest
| Field | Type | Description |
|---|---|---|
html | string |
api.setWidgetThemeRequest
| Field | Type | Description |
|---|---|---|
accent | string | |
background | string | |
border | string | |
font_key | string | |
foreground | string | |
logo_data_uri | string | |
muted | string | |
radius_px | integer |
api.setWritePolicyRequest
| Field | Type | Description |
|---|---|---|
policy | string | One of: allow, deny, ask. |
api.skillFileRequest
| Field | Type | Description |
|---|---|---|
content | string | |
path | string |
api.skillTagsRequest
| Field | Type | Description |
|---|---|---|
tags | string[] |
api.specChangeConfirmation
| Field | Type | Description |
|---|---|---|
code | string | |
confirm | string |
api.startComparisonRequest
| Field | Type | Description |
|---|---|---|
client_id | integer | |
iterations | integer | |
models | string[] | |
weights | evals.CompareWeights |
api.startRunRequest
| Field | Type | Description |
|---|---|---|
agent_id | string | AgentID runs each case as a turn of this agent; with model, that model in place of its own (ADR-0057). |
client_id | integer | |
identity | string | |
iterations | integer | |
model | string |
api.subAgentInput
| Field | Type | Description |
|---|---|---|
description | string | |
guardrail_ids | integer[] | |
guardrails | integer[][] | |
id | string | ID names a sub-agent the parent already has, updated in place: it keeps its id and what is held against it, its own provider keys too. Leave it out for a new one; one the parent has and the list leaves out is deleted. |
instructions | string | |
max_turns | integer | |
model | string | |
name | string | |
skills | string[] | |
tools | string[] |
api.suggestCasesRequest
| Field | Type | Description |
|---|---|---|
messages | api.suggestTurn[] |
api.suggestTurn
| Field | Type | Description |
|---|---|---|
role | string | One of: user, assistant. |
text | string |
api.testHookRequest
| Field | Type | Description |
|---|---|---|
allow_writes | boolean | |
client_id | integer | |
condition | object | Condition is an expression over event and now (GET /hooks/expressions), held together with filter; absent or null holds always. |
customer | hooks.CustomerMatch | |
data | object (map) | |
delay_seconds | integer | DelaySeconds is how long after its event a run starts, up to seven days; 0, at once. |
enabled | boolean | |
filter | hooks.Condition[] | |
max_attempts | integer | |
name | string | |
on | string | |
schedule | hooks.Schedule | |
source | string | Source is a webhook hook's: the id of the source whose deliveries start it. |
steps | hooks.Step[] | |
test_tool | string | |
tools | string[] | |
trigger | string |
api.testRecipeRequest
| Field | Type | Description |
|---|---|---|
carry | integer[] | |
input | object (map) | |
recipe | upstreamauth.AuthoredSpecRecipe | |
refresh | boolean |
api.transferOrgRequest
| Field | Type | Description |
|---|---|---|
email | string |
api.updateAgentRequest
| Field | Type | Description |
|---|---|---|
config | integer[] | |
context_management | agent.ContextManagement | |
decision_model | string | |
description | string | |
fallback_model | string | |
fallback_on | string[] | |
guardrail_ids | integer[] | |
guardrails | integer[][] | |
instructions | string | |
judge_model | string | JudgeModel and DecisionModel: "" goes back to the project's choice. |
language | string | |
max_turns | integer | |
model | string | |
name | string | |
permitted_models | string[] | |
skills | string[] | |
stt_model | string | |
subagents | api.subAgentInput[] | |
surface | string | |
tools | string[] | |
tts_model | string | |
vision_enabled | boolean | |
vision_image_max_px | integer | |
vision_min_confidence | number | |
vision_model | string | |
voice_id | string | |
voice_input | boolean | |
voice_output | boolean |
api.updateMeRequest
| Field | Type | Description |
|---|---|---|
name | string | |
timezone | string |
api.updateMemberRequest
| Field | Type | Description |
|---|---|---|
role | string | One of: manager, developer, viewer. |
api.updateOrgRequest
| Field | Type | Description |
|---|---|---|
name | string |
api.updateProjectRequest
| Field | Type | Description |
|---|---|---|
default_locale | string | |
description | string | |
name | string | |
upstream_base_url | string |
api.updateRedactionItemRequest
| Field | Type | Description |
|---|---|---|
description | string | |
enabled | boolean | |
fields | string[] | |
label | string | |
mask | string | One of: remove, hide, initials, phone, email, last4, year. |
regex | string |
api.updateVariableRequest
| Field | Type | Description |
|---|---|---|
description | string | |
value | string |
api.voiceDestination
| Field | Type | Description |
|---|---|---|
agent_id | string | |
message | string |
api.voiceHours
| Field | Type | Description |
|---|---|---|
days | api.voiceDayOpen[] | |
time_zone | string |
api.voiceNumberRequest
| Field | Type | Description |
|---|---|---|
buy | string | Buy is a number on sale through Frege, as GET .../numbers/available answered it, bought for this environment; Country is the one it was found in. |
country | string | |
number | string | |
route | api.voiceRoute | |
trunk_id | integer | TrunkID adds the trunk's number; with neither, Frege picks a virtual line. |
api.voicePreviewRequest
| Field | Type | Description |
|---|---|---|
language | string | |
speed | number | Speed paces it, as a call would be: 0.5 to 2, 1 by default. |
text | string | |
tts | string | |
voice | string |
api.voiceRoute
| Field | Type | Description |
|---|---|---|
after_hours | api.voiceDestination | |
agent_id | string | |
hours | api.voiceHours | |
proof | string | One of: sms, none. |
api.voiceSessionRequest
| Field | Type | Description |
|---|---|---|
client_id | integer |
api.voiceSettingsRequest
| Field | Type | Description |
|---|---|---|
stt | string | |
tts | string |
api.voiceTestCallRequest
| Field | Type | Description |
|---|---|---|
from | string | From is the number the call comes from: a customer's, to try how a caller is recognised; empty for none. |
api.voiceTrunkRequest
| Field | Type | Description |
|---|---|---|
allowed_addresses | string[] | AllowedAddresses, for a carrier that answers no password challenge: its public IPs or networks, at most 10. |
name | string |
api.whiteLabelRequest
| Field | Type | Description |
|---|---|---|
enabled | boolean | Enabled makes the domain an issuer of its own, with no Frege on its pages. |
google_client_id | string | GoogleAppID is the project's own Google OAuth app; "" removes it, nil keeps it. |
google_client_secret | string | GoogleAppSecret is the app's secret, never answered; nil keeps it. |
billing.billingCardResponse
| Field | Type | Description |
|---|---|---|
added_on | string | |
card_pan_masked | string | |
id | integer | |
is_default | boolean | |
pinfl_verified | boolean | |
ps | string | |
status | string |
billing.billingChargeResponse
| Field | Type | Description |
|---|---|---|
usd_uzs_rate | number | sums a dollar was worth when the charge was made |
charged_tiyin | integer | what Multicard debits for the charge, in tiyin, at usd_uzs_rate |
card_pan_masked | string | |
card_ps | string | |
created_at | string | |
id | integer | |
overage_amount_cents | integer | |
period_end | string | |
period_start | string | |
plan_amount_cents | integer | |
receipt_url | string | |
status | string | |
total_cents | integer |
billing.billingOverviewResponse
| Field | Type | Description |
|---|---|---|
granted_coins | integer | |
has_card | boolean | |
included_coins | integer | IncludedCoins is what the plan includes each period; GrantedCoins what Frege added to this one. |
inn | string | |
payer_type | string | |
period_end | string | |
period_start | string | |
plan_code | string | |
status | string | |
suspended_by_frege | boolean | SuspendedByFrege is a suspension Frege's team set, which a payment does not lift; support lifts it. |
billing.bindingStatusResponse
| Field | Type | Description |
|---|---|---|
card_pan_masked | string | |
ps | string | |
status | string |
billing.cardSessionResponse
| Field | Type | Description |
|---|---|---|
form_url | string | |
session_id | string |
billing.confirmChargeRequest
| Field | Type | Description |
|---|---|---|
otp | string |
billing.createCardSessionRequest
| Field | Type | Description |
|---|---|---|
phone | string | |
redirect_decline_url | string | |
redirect_url | string |
billing.setBillingPayerRequest
| Field | Type | Description |
|---|---|---|
inn | string | |
payer_type | string |
data.TelegramMenuButton
| Field | Type | Description |
|---|---|---|
args | object (map) | |
children | data.TelegramMenuButton[] | |
label | object (map) | |
list | data.TelegramMenuList | |
prompt | string | |
reply | object (map) | Reply is the answer per language, with {{path}} for a field of what the tool returned, e.g. "Balance: {{data.balance}} {{data.currency}}". |
tool | string |
data.TelegramPreSignin
PreSignin is what the bot asks before a customer signs in; set with PUT /projects/{id}/telegram-bot/pre-signin.
| Field | Type | Description |
|---|---|---|
final | data.TelegramPreSigninFinal | |
steps | data.TelegramPreSigninStep[] |
data.TelegramPreSigninFinal
| Field | Type | Description |
|---|---|---|
button | object (map) | |
media | string | |
text | object (map) |
data.TelegramPreSigninStep
| Field | Type | Description |
|---|---|---|
buttons | data.TelegramPreSigninButton[] | |
key | string | |
media | string | Media is the key of a picture of the bot's sent with the step, its text as the caption. |
text | object (map) |
evals.Check
| Field | Type | Description |
|---|---|---|
args | object (map) | |
kind | evals.CheckKind | |
match | evals.ArgMatch | |
text | string | |
tool | string |
evals.CompareWeights
| Field | Type | Description |
|---|---|---|
accuracy | integer | |
cost | integer | |
speed | integer |
hooks.Condition
| Field | Type | Description |
|---|---|---|
field | string | |
op | string | |
value | any |
hooks.CustomerMatch
Customer is a webhook hook's, optional: where its delivery names the customer, and the identity that matches them.
| Field | Type | Description |
|---|---|---|
from | string | |
identity | string |
hooks.Schedule
Schedule is a schedule hook's, and only its: when it fires.
| Field | Type | Description |
|---|---|---|
cron | string | |
time_zone | string |
hooks.Step
| Field | Type | Description |
|---|---|---|
id | string | |
params | object | |
type | string |
hooks.Verification
| Field | Type | Description |
|---|---|---|
encoding | string | |
header | string | |
mode | string | |
prefix | string | |
timestamp_header | string | |
tolerance_seconds | integer |
intake.LabelsConfig
| Field | Type | Description |
|---|---|---|
custom | object (map) | Custom is the environment's own labels by code. A code of a library label it uses refines that label instead: a description replaces the library's, keywords are added to its own. |
use | string[] | Use names library sets: uz.tech_passport, car.sides. |
intake.Step
| Field | Type | Description |
|---|---|---|
classify | intake.Mode | |
key | string | |
operation | string | Operation is the operationId of the upstream call the step's photos are sent with: its slots fill that call's photo fields alone, so two calls with a field of one name never take each other's photo. |
read | object (map) | Read is which fields of its labels' extract the step reads, and how; a field left out is off. |
slots | intake.Slot[] |
llm.Constraints
| Field | Type | Description |
|---|---|---|
exclude_vendors | string[] | |
expiring_within_days | integer | |
include_free | boolean | |
input_modalities | string[] | |
max_completion_price_usd | number | |
max_prompt_price_usd | number | |
min_context_tokens | integer | |
open_weights | boolean | |
reasoning | boolean | |
structured_outputs | boolean | |
vendors | string[] | |
zdr | boolean |
llm.Weights
| Field | Type | Description |
|---|---|---|
context | integer | |
knowledge | integer | |
output | integer | |
precision | integer | |
price | integer | |
reasoning | integer | |
recency | integer | |
redundancy | integer | |
reliability | integer | |
speed | integer |
llm.modelChoiceRequest
| Field | Type | Description |
|---|---|---|
model_id | string | ModelID is a model's id (GET /models, choosable): a registry model, or a catalogue model, which joins the registry the first time it is chosen; null clears the choice. |
role | string |
mcp.InputResponseMap
Type: object (map).
mcp.connectRequest
| Field | Type | Description |
|---|---|---|
carry | object | |
input | object (map) |
mcp.connectResponse
| Field | Type | Description |
|---|---|---|
carry | object | |
client | mcp.connectClient | |
prompt | object | |
redirect_url | string | |
status | string |
mcphandlers.invokeToolRequest
| Field | Type | Description |
|---|---|---|
arguments | object (map) | |
async | boolean | |
client_id | integer |
settings.limitMatch
| Field | Type | Description |
|---|---|---|
agent | string | Agent is an agent's id: the policy holds that agent's turns and calls only. |
door | string | Door is the door the customer came by: embed, telegram, voice, mcp… |
tool | string | Tool is a tool's operation id, on tool.call. |
when | object | When is a condition over the customer's fields (root customer). |
settings.limitPolicyRequest
| Field | Type | Description |
|---|---|---|
action | string | One of: refuse, record. |
burst | integer | |
enabled | boolean | |
key | string[] | |
match | settings.limitMatch | |
per_seconds | integer | |
rate | integer | |
surface | string | One of: agent.turn, tool.call, llm.tokens, message.out. |
support.grantRequest
| Field | Type | Description |
|---|---|---|
hours | integer | Hours the access lasts, 1 to 720; 72 when left out. |
note | string |
upstreamauth.AuthoredSpecRecipe
| Field | Type | Description |
|---|---|---|
capture | object (map) | |
config | object (map) | |
expiry | upstreamauth.AuthoredExpiry | |
inject | upstreamauth.AuthoredInjection[] | |
outputs | object (map) | |
refresh | upstreamauth.AuthoredSubRecipe | |
security_scheme | string | |
steps | upstreamauth.AuthoredStep[] |
access.schedule
| Field | Type | Description |
|---|---|---|
days | integer[] | Days are the weekdays, 0 Sunday … 6 Saturday. |
from | string | From and To are local times of day, HH:MM; To at or before From crosses midnight. |
timezone | string | Timezone is an IANA time zone, Europe/Berlin. |
to | string |
agent.Role
Type: string.
agent.ToolCall
| Field | Type | Description |
|---|---|---|
arguments | integer[] | |
id | string | |
name | string |
agent.ContextSettings
ContextManagement is the agent's settings in effect, defaults filled in (ADR-0044).
| Field | Type | Description |
|---|---|---|
mask_keep_turns | integer | |
mask_step_tokens | integer | |
masking | boolean | |
result_threshold_tokens | integer | |
results_by_reference | boolean | |
summary | boolean | |
summary_model | string |
data.Guardrail
| Field | Type | Description |
|---|---|---|
agents | string[] | |
created_at | string | |
enabled | boolean | |
id | integer | |
kinds | string[] | |
max_size | integer | |
message | string | |
mode | string | One of: record, enforce. |
name | string | |
rule | string | |
scope | string | One of: organization, stage. |
updated_at | string |
api.agentResponse
| Field | Type | Description |
|---|---|---|
archived_at | string | |
config | integer[] | |
context_management | agent.ContextSettings | |
created_at | string | |
decision_model | string | |
description | string | |
fallback_model | string | |
fallback_on | string[] | |
id | string | |
instructions | string | |
judge_model | string | JudgeModel and DecisionModel are the agent's own Frege ids for those roles, left out when it asks its project's. |
language | string | |
max_turns | integer | |
model | string | |
name | string | |
permitted_models | string[] | |
project_id | string | |
skills | string[] | |
stt_model | string | |
surface | string | |
tools | string[] | |
tts_model | string | |
unknown_skills | string[] | |
unknown_tools | string[] | |
updated_at | string | |
version | integer | |
vision_enabled | boolean | How the intake classifies photos, with a model that sees them: the agent's own never gets a picture. vision_model "" is the deployment's default (vision_default in GET /models). |
vision_image_max_px | integer | |
vision_min_confidence | number | |
vision_model | string | |
voice_id | string | |
voice_input | boolean | |
voice_output | boolean |
api.customerFieldValidation
| Field | Type | Description |
|---|---|---|
max | number | |
max_length | integer | |
min | number | |
pattern | string |
github_com_modelcontextprotocol_go-sdk_mcp.ServerCapabilities
| Field | Type | Description |
|---|---|---|
completions | mcp.CompletionCapabilities | |
experimental | object (map) | Experimental reports non-standard capabilities that the server supports. The caller should not modify the map after assigning it. |
extensions | object (map) | Extensions reports extensions that the server supports. Keys are extension identifiers in "{vendor-prefix}/{extension-name}" format. Values are per-extension settings objects; use [ServerCapabilities.AddExtension] to ensure nil settings are normalized to empty objects. The caller should not modify the map or its values after assigning it. |
logging | mcp.LoggingCapabilities | |
prompts | mcp.PromptCapabilities | |
resources | mcp.ResourceCapabilities | |
tools | mcp.ToolCapabilities |
api.voiceDayOpen
| Field | Type | Description |
|---|---|---|
day | integer | Day is 0 for Sunday to 6 for Saturday. |
from | string | |
to | string |
data.TelegramMenuList
| Field | Type | Description |
|---|---|---|
item | object (map) | |
items | string | |
page_size | integer | |
title | object (map) |
data.TelegramPreSigninButton
| Field | Type | Description |
|---|---|---|
emoji | string | |
label | object (map) | |
value | string |
evals.CheckKind
Type: string.
evals.ArgMatch
Type: string.
intake.Mode
Type: string.
intake.Slot
| Field | Type | Description |
|---|---|---|
field | string | |
label | string | |
name | object (map) |
mcp.connectClient
| Field | Type | Description |
|---|---|---|
id | integer | |
identifier | string |
upstreamauth.AuthoredExpiry
| Field | Type | Description |
|---|---|---|
assume_zone | string | |
at | upstreamauth.AuthoredValueRef | |
mode | string | |
ttl_seconds | integer |
upstreamauth.AuthoredInjection
| Field | Type | Description |
|---|---|---|
in | string | |
name | string | |
operations | string[] | |
optional | boolean | |
value | upstreamauth.Binding |
upstreamauth.AuthoredSubRecipe
| Field | Type | Description |
|---|---|---|
capture | object (map) | |
expiry | upstreamauth.AuthoredExpiry | |
outputs | object (map) | |
steps | upstreamauth.AuthoredStep[] |
upstreamauth.AuthoredStep
| Field | Type | Description |
|---|---|---|
body | object (map) | |
headers | object (map) | |
id | string | |
of | string | |
operation_id | string | |
path_params | object (map) | |
prompt | upstreamauth.PromptForm | |
query | object (map) | |
redirect | upstreamauth.RedirectConfig | |
type | string |
mcp.CompletionCapabilities
Completions is present if the server supports argument autocompletion suggestions.
Type: object.
mcp.LoggingCapabilities
Logging is present if the server supports log messages.
Deprecated: the logging feature is deprecated as of protocol version 2026-07-28 (SEP-2577). It remains functional during the deprecation window (at least twelve months). See https://modelcontextprotocol.io/seps/2577-deprecate-roots-sampling-and-logging.
Type: object.
mcp.PromptCapabilities
Prompts is present if the server supports prompts.
| Field | Type | Description |
|---|---|---|
listChanged | boolean | Whether this server supports notifications for changes to the prompt list. |
mcp.ResourceCapabilities
Resources is present if the server supports resources.
| Field | Type | Description |
|---|---|---|
listChanged | boolean | ListChanged reports whether this server supports notifications for changes to the resource list. |
subscribe | boolean | Subscribe reports whether this server supports subscribing to resource updates. |
mcp.ToolCapabilities
Tools is present if the supports tools.
| Field | Type | Description |
|---|---|---|
listChanged | boolean | ListChanged reports whether this server supports notifications for changes to the tool list. |
upstreamauth.AuthoredValueRef
| Field | Type | Description |
|---|---|---|
cookie | string | |
from | string | |
header | string | |
json_path | string | |
key | string | |
step | string |
upstreamauth.Binding
| Field | Type | Description |
|---|---|---|
prefix | string | |
spec | any |
upstreamauth.PromptForm
| Field | Type | Description |
|---|---|---|
description | upstreamauth.Text | |
fields | upstreamauth.PromptField[] | |
submit_label | string | |
title | upstreamauth.Text |
upstreamauth.RedirectConfig
| Field | Type | Description |
|---|---|---|
authorization_endpoint | string | |
client_id | upstreamauth.Binding | |
client_secret | upstreamauth.Binding | |
params | object (map) | |
pkce | boolean | |
scope_separator | string | |
scopes | string[] | |
token_auth | string | |
token_endpoint | string | |
userinfo_endpoint | string |
upstreamauth.Text
| Field | Type | Description |
|---|---|---|
byLang | object (map) | |
default | string |
upstreamauth.PromptField
| Field | Type | Description |
|---|---|---|
help_text | upstreamauth.Text | |
label | upstreamauth.Text | |
name | string | |
placeholder | upstreamauth.Text | |
required | boolean | |
type | string |