{"openapi":"3.1.0","info":{"title":"Glytos API","description":"Programmatic access to Glytos voice AI agents: build and run agents, start outbound phone calls or web/text sessions, manage knowledge bases and tools, and receive signed webhooks. Authenticate with an API key in the `X-API-Key` header or a bearer token.","contact":{"name":"Glytos","url":"https://github.com/Glytos"},"license":{"name":"Proprietary"},"version":"0.1.0"},"servers":[{"url":"https://api.glytos.com","description":"Glytos API"}],"paths":{"/api/v1/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"auth_register","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"auth_login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-email":{"post":{"tags":["auth"],"summary":"Verify Email","operationId":"auth_verify_email","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/resend-verification":{"post":{"tags":["auth"],"summary":"Resend Verification","operationId":"auth_resend_verification","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/forgot-password":{"post":{"tags":["auth"],"summary":"Forgot Password","operationId":"auth_forgot_password","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/reset-password":{"post":{"tags":["auth"],"summary":"Reset Password","operationId":"auth_reset_password","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"auth_me","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/providers":{"get":{"tags":["providers"],"summary":"List Providers","operationId":"providers_list_providers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProviderResponse"},"type":"array","title":"Response Providers List Providers"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/providers/{service_type}/{key}/resources":{"get":{"tags":["providers"],"summary":"Get Provider Resources","description":"Live voices/models for a provider (falls back to the static catalog).\n\nUses the org's BYO key for the provider when set, else the platform key.","operationId":"providers_get_provider_resources","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"service_type","in":"path","required":true,"schema":{"type":"string","title":"Service Type"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderResourcesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows":{"post":{"tags":["workflows"],"summary":"Create Workflow","operationId":"workflows_create_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["workflows"],"summary":"List Workflows","operationId":"workflows_list_workflows","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowSummary"},"title":"Response Workflows List Workflows"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/templates":{"get":{"tags":["workflows"],"summary":"List Workflow Templates","description":"Ready-made starter graphs the builder can load into a new workflow.","operationId":"workflows_list_workflow_templates","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WorkflowTemplate"},"type":"array","title":"Response Workflows List Workflow Templates"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/workflows/{workflow_uuid}":{"get":{"tags":["workflows"],"summary":"Get Workflow","operationId":"workflows_get_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["workflows"],"summary":"Delete Workflow","operationId":"workflows_delete_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/promote":{"post":{"tags":["workflows"],"summary":"Promote Workflow","description":"Promote this workflow's current definition to another environment, e.g.\npublish a dev agent to prod without opening a separate organization.","operationId":"workflows_promote_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/definition":{"put":{"tags":["workflows"],"summary":"Update Definition","operationId":"workflows_update_definition","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/config":{"put":{"tags":["workflows"],"summary":"Update Config","operationId":"workflows_update_config","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/publish":{"post":{"tags":["workflows"],"summary":"Publish Workflow","operationId":"workflows_publish_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/duplicate":{"post":{"tags":["workflows"],"summary":"Duplicate Workflow","operationId":"workflows_duplicate_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/archive":{"post":{"tags":["workflows"],"summary":"Archive Workflow","operationId":"workflows_archive_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/unarchive":{"post":{"tags":["workflows"],"summary":"Unarchive Workflow","operationId":"workflows_unarchive_workflow","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/runs/text":{"post":{"tags":["workflows"],"summary":"Run Text","operationId":"workflows_run_text","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/sessions":{"post":{"tags":["workflows"],"summary":"Start Session","operationId":"workflows_start_session","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SessionStartRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/sessions/{session_uuid}/messages":{"post":{"tags":["workflows"],"summary":"Post Session Message","operationId":"workflows_post_session_message","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}},{"name":"session_uuid","in":"path","required":true,"schema":{"type":"string","title":"Session Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionTurnResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/sessions/{session_uuid}/voice":{"post":{"tags":["workflows"],"summary":"Voice Turn","operationId":"workflows_voice_turn","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}},{"name":"session_uuid","in":"path","required":true,"schema":{"type":"string","title":"Session Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceTurnResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/sessions/{session_uuid}/events":{"get":{"tags":["workflows"],"summary":"List Session Events","operationId":"workflows_list_session_events","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}},{"name":"session_uuid","in":"path","required":true,"schema":{"type":"string","title":"Session Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RunEventResponse"},"title":"Response Workflows List Session Events"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_uuid}/sessions/{session_uuid}":{"get":{"tags":["workflows"],"summary":"Get Session","operationId":"workflows_get_session","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}},{"name":"session_uuid","in":"path","required":true,"schema":{"type":"string","title":"Session Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sessions":{"get":{"tags":["sessions"],"summary":"List Sessions","operationId":"sessions_list_sessions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RunSummary"},"type":"array","title":"Response Sessions List Sessions"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/knowledge-base/documents":{"get":{"tags":["knowledge-base"],"summary":"List Documents","operationId":"knowledge-base_list_documents","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DocumentResponse"},"type":"array","title":"Response Knowledge-Base List Documents"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["knowledge-base"],"summary":"Create Document","operationId":"knowledge-base_create_document","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/knowledge-base/documents/upload":{"post":{"tags":["knowledge-base"],"summary":"Upload Document","operationId":"knowledge-base_upload_document","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_knowledge-base_upload_document"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/knowledge-base/search":{"post":{"tags":["knowledge-base"],"summary":"Search","operationId":"knowledge-base_search","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SearchHitResponse"},"type":"array","title":"Response Knowledge-Base Search"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/rbac/permissions":{"get":{"tags":["rbac"],"summary":"List Permissions","description":"The permission catalog for the custom-role editor (resource x action).","operationId":"rbac_list_permissions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PermissionInfo"},"type":"array","title":"Response Rbac List Permissions"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/rbac/roles":{"get":{"tags":["rbac"],"summary":"List Roles","operationId":"rbac_list_roles","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RoleResponse"},"type":"array","title":"Response Rbac List Roles"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["rbac"],"summary":"Create Role","operationId":"rbac_create_role","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/rbac/roles/{role_id}":{"patch":{"tags":["rbac"],"summary":"Update Role","operationId":"rbac_update_role","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["rbac"],"summary":"Delete Role","operationId":"rbac_delete_role","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rbac/members":{"get":{"tags":["rbac"],"summary":"List Members","operationId":"rbac_list_members","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberResponse"},"type":"array","title":"Response Rbac List Members"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/rbac/invitations":{"post":{"tags":["rbac"],"summary":"Invite Member","operationId":"rbac_invite_member","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/rbac/invitations/accept":{"post":{"tags":["rbac"],"summary":"Accept Invitation","operationId":"rbac_accept_invitation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/projects":{"get":{"tags":["projects"],"summary":"List Projects","operationId":"projects_list_projects","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProjectResponse"},"type":"array","title":"Response Projects List Projects"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["projects"],"summary":"Create Project","operationId":"projects_create_project","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/projects/{project_uuid}/environments":{"get":{"tags":["projects"],"summary":"List Environments","operationId":"projects_list_environments","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"project_uuid","in":"path","required":true,"schema":{"type":"string","title":"Project Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnvironmentResponse"},"title":"Response Projects List Environments"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization":{"get":{"tags":["organization"],"summary":"Get Organization","operationId":"organization_get_organization","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"patch":{"tags":["organization"],"summary":"Update Organization","operationId":"organization_update_organization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/organizations":{"get":{"tags":["organizations"],"summary":"List My Organizations","operationId":"organizations_list_my_organizations","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrganizationSummary"},"type":"array","title":"Response Organizations List My Organizations"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["organizations"],"summary":"Create My Organization","operationId":"organizations_create_my_organization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/organizations/switch":{"post":{"tags":["organizations"],"summary":"Switch My Organization","operationId":"organizations_switch_my_organization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationSwitchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/regions":{"get":{"tags":["regions"],"summary":"List Regions","operationId":"regions_list_regions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RegionInfo"},"type":"array","title":"Response Regions List Regions"}}}}}}},"/api/v1/entitlements/plans":{"get":{"tags":["entitlements"],"summary":"List Plans","operationId":"entitlements_list_plans","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlanResponse"},"type":"array","title":"Response Entitlements List Plans"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/entitlements":{"get":{"tags":["entitlements"],"summary":"Get Entitlements","operationId":"entitlements_get_entitlements","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Entitlements Get Entitlements"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/entitlements/flags":{"get":{"tags":["entitlements"],"summary":"Get Flags","operationId":"entitlements_get_flags","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Entitlements Get Flags"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["entitlements"],"summary":"Upsert Flag","operationId":"entitlements_upsert_flag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagUpsert"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/entitlements/flags/{key}/toggle":{"post":{"tags":["entitlements"],"summary":"Toggle Flag","operationId":"entitlements_toggle_flag","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagToggle"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audit":{"get":{"tags":["audit"],"summary":"List Audit","operationId":"audit_list_audit","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AuditEventResponse"},"type":"array","title":"Response Audit List Audit"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/webhooks/events":{"get":{"tags":["webhooks"],"summary":"List Events","description":"The catalog of event types an endpoint can subscribe to.","operationId":"webhooks_list_events","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EventResponse"},"type":"array","title":"Response Webhooks List Events"}}}}}}},"/api/v1/webhooks/endpoints":{"get":{"tags":["webhooks"],"summary":"List Endpoints","operationId":"webhooks_list_endpoints","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EndpointResponse"},"type":"array","title":"Response Webhooks List Endpoints"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["webhooks"],"summary":"Create Endpoint","operationId":"webhooks_create_endpoint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/webhooks/endpoints/{endpoint_id}":{"patch":{"tags":["webhooks"],"summary":"Update Endpoint","operationId":"webhooks_update_endpoint","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"integer","title":"Endpoint Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["webhooks"],"summary":"Delete Endpoint","operationId":"webhooks_delete_endpoint","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"integer","title":"Endpoint Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/deliveries":{"get":{"tags":["webhooks"],"summary":"List Deliveries","operationId":"webhooks_list_deliveries","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_DeliveryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/deliveries/{delivery_id}/redeliver":{"post":{"tags":["webhooks"],"summary":"Redeliver","operationId":"webhooks_redeliver","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"integer","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/localization/locales":{"get":{"tags":["localization"],"summary":"List Locales","operationId":"localization_list_locales","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Localization List Locales"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/localization/spell-number":{"get":{"tags":["localization"],"summary":"Spell Number","operationId":"localization_spell_number","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"integer","title":"Value"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Localization Spell Number"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/localization/spell-currency":{"get":{"tags":["localization"],"summary":"Spell Currency","operationId":"localization_spell_currency","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"number","title":"Amount"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Locale"}},{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"TRY","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Localization Spell Currency"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/localization/spell-date":{"get":{"tags":["localization"],"summary":"Spell Date","operationId":"localization_spell_date","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}},{"name":"day","in":"query","required":true,"schema":{"type":"integer","title":"Day"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Localization Spell Date"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/localization/normalize":{"get":{"tags":["localization"],"summary":"Normalize","description":"Rewrite inline numbers, money, dates and times for natural TTS reading.","operationId":"localization_normalize","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Localization Normalize"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/localization/format-phone":{"get":{"tags":["localization"],"summary":"Format Phone","operationId":"localization_format_phone","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"phone","in":"query","required":true,"schema":{"type":"string","title":"Phone"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Localization Format Phone"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/localization/validate-national-id":{"get":{"tags":["localization"],"summary":"Validate National Id","description":"Validate a Turkish T.C. Kimlik No (checksum).","operationId":"localization_validate_national_id","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string","title":"Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Localization Validate National Id"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/pricing":{"get":{"tags":["billing"],"summary":"List Pricing","operationId":"billing_list_pricing","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProviderCostResponse"},"type":"array","title":"Response Billing List Pricing"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/billing/pricing/estimate":{"post":{"tags":["billing"],"summary":"Estimate Price","operationId":"billing_estimate_price","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/billing/usage":{"get":{"tags":["billing"],"summary":"Usage","operationId":"billing_usage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSummaryResponse"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/billing/credits":{"get":{"tags":["billing"],"summary":"Credit Balance","operationId":"billing_credit_balance","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditBalanceResponse"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/billing/credits/transactions":{"get":{"tags":["billing"],"summary":"Credit Transactions","operationId":"billing_credit_transactions","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CreditTransactionResponse"},"type":"array","title":"Response Billing Credit Transactions"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/billing/topup":{"post":{"tags":["billing"],"summary":"Start Topup","operationId":"billing_start_topup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/calls":{"post":{"tags":["calls"],"summary":"Create Call","description":"Start a call: an outbound phone call (bridged to the agent) or a text\nsession. Targets a saved workflow or a transient inline agent.","operationId":"calls_create_call","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["calls"],"summary":"List Calls","description":"Filtered, paginated call/session log. ``channel`` is calls | chat | sessions.","operationId":"calls_list_calls","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_CallSummary_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls/web-token":{"post":{"tags":["calls"],"summary":"Create Web Call Token","description":"Mint a short-lived, workflow-scoped token a browser uses to connect a web\ncall to the voice worker, without exposing any long-lived credential.","operationId":"calls_create_web_call_token","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebCallTokenRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebCallTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/calls/{call_uuid}/control":{"post":{"tags":["calls"],"summary":"Control Call","description":"Control a live call: say a line, transfer it, or end it. Delivered to the\nhandling voice worker over Redis (receivers=0 if the call already ended).","operationId":"calls_control_call","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"call_uuid","in":"path","required":true,"schema":{"type":"string","title":"Call Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallControlRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallControlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls/{call_uuid}":{"get":{"tags":["calls"],"summary":"Get Call","operationId":"calls_get_call","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"call_uuid","in":"path","required":true,"schema":{"type":"string","title":"Call Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/iris/sessions/{workflow_uuid}":{"get":{"tags":["iris"],"summary":"List Iris Sessions","operationId":"iris_list_iris_sessions","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"workflow_uuid","in":"path","required":true,"schema":{"type":"string","title":"Workflow Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IrisSessionOption"},"title":"Response Iris List Iris Sessions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/iris/chat":{"post":{"tags":["iris"],"summary":"Iris Chat","operationId":"iris_iris_chat","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IrisChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IrisChatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/credentials":{"get":{"tags":["credentials"],"summary":"List Credentials","operationId":"credentials_list_credentials","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CredentialResponse"},"type":"array","title":"Response Credentials List Credentials"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"put":{"tags":["credentials"],"summary":"Upsert Credential","description":"Store (or replace) the org's credentials for a provider. Secrets are\nencrypted at rest and only ever returned masked.","operationId":"credentials_upsert_credential","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialUpsert"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/credentials/{provider}":{"delete":{"tags":["credentials"],"summary":"Delete Credential","operationId":"credentials_delete_credential","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations":{"get":{"tags":["integrations"],"summary":"List Integrations","description":"The catalog of available integrations, their actions, and the credential\nfields each needs (stored via the credentials API).","operationId":"integrations_list_integrations","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/IntegrationResponse"},"type":"array","title":"Response Integrations List Integrations"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/integrations/{key}/run":{"post":{"tags":["integrations"],"summary":"Run Action","description":"Run an integration action using the org's stored credentials.","operationId":"integrations_run_action","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test-suites":{"get":{"tags":["test-suites"],"summary":"List Suites","operationId":"test-suites_list_suites","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TestSuiteResponse"},"type":"array","title":"Response Test-Suites List Suites"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["test-suites"],"summary":"Create Suite","operationId":"test-suites_create_suite","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSuiteCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestSuiteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/test-suites/{suite_uuid}":{"delete":{"tags":["test-suites"],"summary":"Delete Suite","operationId":"test-suites_delete_suite","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"suite_uuid","in":"path","required":true,"schema":{"type":"string","title":"Suite Uuid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test-suites/{suite_uuid}/run":{"post":{"tags":["test-suites"],"summary":"Run Suite","description":"Run every case against the agent and report pass/fail.","operationId":"test-suites_run_suite","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"suite_uuid","in":"path","required":true,"schema":{"type":"string","title":"Suite Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuiteRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys":{"get":{"tags":["api-keys"],"summary":"List Keys","operationId":"api-keys_list_keys","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiKeyResponse"},"type":"array","title":"Response Api-Keys List Keys"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["api-keys"],"summary":"Create Key","operationId":"api-keys_create_key","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/api-keys/{key_id}":{"delete":{"tags":["api-keys"],"summary":"Revoke Key","operationId":"api-keys_revoke_key","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tools":{"get":{"tags":["tools"],"summary":"List Tools","operationId":"tools_list_tools","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ToolResponse"},"type":"array","title":"Response Tools List Tools"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["tools"],"summary":"Create Tool","operationId":"tools_create_tool","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/tools/{tool_uuid}":{"patch":{"tags":["tools"],"summary":"Update Tool","operationId":"tools_update_tool","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"tool_uuid","in":"path","required":true,"schema":{"type":"string","title":"Tool Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["tools"],"summary":"Delete Tool","operationId":"tools_delete_tool","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"tool_uuid","in":"path","required":true,"schema":{"type":"string","title":"Tool Uuid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/providers":{"get":{"tags":["telephony"],"summary":"List Providers","description":"The telephony carriers available to configure, with their credential\nfields, so the settings and number UIs can render carriers dynamically.","operationId":"telephony_list_providers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TelephonyProviderResponse"},"type":"array","title":"Response Telephony List Providers"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/telephony/numbers":{"get":{"tags":["telephony"],"summary":"List Numbers","operationId":"telephony_list_numbers","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PhoneNumberResponse"},"type":"array","title":"Response Telephony List Numbers"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["telephony"],"summary":"Provision Number","operationId":"telephony_provision_number","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionNumberRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/telephony/numbers/search":{"get":{"tags":["telephony"],"summary":"Search Numbers","description":"Search a carrier's inventory for purchasable numbers (``provider`` selects\nthe carrier, default the platform one). POST the chosen e164 to ``/numbers``\nto buy it.","operationId":"telephony_search_numbers","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"country","in":"query","required":false,"schema":{"type":"string","default":"US","title":"Country"}},{"name":"area_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"}},{"name":"contains","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contains"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AvailableNumberResponse"},"title":"Response Telephony Search Numbers"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/numbers/import":{"post":{"tags":["telephony"],"summary":"Import Number","description":"Register a number the org already owns on a carrier (BYO), no purchase.","operationId":"telephony_import_number","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportNumberRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/telephony/numbers/instant":{"post":{"tags":["telephony"],"summary":"Instant Number","description":"Get a number instantly from the platform carrier account, no carrier setup\n(operator opt-in). 403 when disabled, 503 when the platform has no carrier.","operationId":"telephony_instant_number","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"country","in":"query","required":false,"schema":{"type":"string","default":"US","title":"Country"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/numbers/{number_uuid}/assign":{"post":{"tags":["telephony"],"summary":"Assign Number","operationId":"telephony_assign_number","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"number_uuid","in":"path","required":true,"schema":{"type":"string","title":"Number Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignNumberRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/numbers/{number_uuid}":{"delete":{"tags":["telephony"],"summary":"Release Number","operationId":"telephony_release_number","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"number_uuid","in":"path","required":true,"schema":{"type":"string","title":"Number Uuid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/campaigns":{"get":{"tags":["telephony"],"summary":"List Campaigns","operationId":"telephony_list_campaigns","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CampaignResponse"},"type":"array","title":"Response Telephony List Campaigns"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["telephony"],"summary":"Create Campaign","operationId":"telephony_create_campaign","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/telephony/campaigns/{campaign_uuid}":{"get":{"tags":["telephony"],"summary":"Get Campaign","operationId":"telephony_get_campaign","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"campaign_uuid","in":"path","required":true,"schema":{"type":"string","title":"Campaign Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/campaigns/{campaign_uuid}/start":{"post":{"tags":["telephony"],"summary":"Start Campaign","operationId":"telephony_start_campaign","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"campaign_uuid","in":"path","required":true,"schema":{"type":"string","title":"Campaign Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/telephony/campaigns/{campaign_uuid}/contacts/sync":{"post":{"tags":["telephony"],"summary":"Sync Campaign Contacts","description":"Append contacts to a campaign from an external CSV source (first column =\nphone number); existing numbers are skipped.","operationId":"telephony_sync_campaign_contacts","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"campaign_uuid","in":"path","required":true,"schema":{"type":"string","title":"Campaign Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSyncRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/overview":{"get":{"tags":["analytics"],"summary":"Overview","operationId":"analytics_overview","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/logs/api":{"get":{"tags":["logs"],"summary":"List Api Logs","description":"Filtered, paginated API access log (time, resource, method, code, duration).","operationId":"logs_list_api_logs","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"}},{"name":"status_code","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"}},{"name":"resource","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ApiRequestLogResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/platform":{"get":{"tags":["platform"],"summary":"Platform Info","operationId":"platform_platform_info","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformInfo"}}}}}}},"/api/v1/public/pricing":{"get":{"tags":["public"],"summary":"Public Pricing","operationId":"public_public_pricing","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPricingResponse"}}}}}}},"/api/v1/agency/subaccounts":{"get":{"tags":["agency"],"summary":"List Subaccounts","operationId":"agency_list_subaccounts","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubAccountResponse"},"type":"array","title":"Response Agency List Subaccounts"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]},"post":{"tags":["agency"],"summary":"Create Subaccount","operationId":"agency_create_subaccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/api/v1/agency/subaccounts/{subaccount_id}/branding":{"patch":{"tags":["agency"],"summary":"Update Branding","operationId":"agency_update_branding","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"parameters":[{"name":"subaccount_id","in":"path","required":true,"schema":{"type":"integer","title":"Subaccount Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["health"],"summary":"Health","description":"Liveness: the process is up. Cheap, no dependency checks.","operationId":"health_health","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health"}}}}}}},"/health/ready":{"get":{"tags":["health"],"summary":"Readiness","description":"Readiness: the database is reachable (required); Redis is reported but\nnot required, since every Redis use fails open. 503 if the DB is down.","operationId":"health_readiness","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AcceptInviteRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"AcceptInviteRequest"},"ActionResponse":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"params":{"additionalProperties":{"type":"string"},"type":"object","title":"Params"}},"type":"object","required":["name","description","params"],"title":"ActionResponse"},"AnalysisReport":{"properties":{"summary":{"type":"string","title":"Summary","default":""},"success_evaluation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Success Evaluation"},"structured_data":{"additionalProperties":true,"type":"object","title":"Structured Data"}},"type":"object","title":"AnalysisReport"},"ApiKeyCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"ApiKeyCreate"},"ApiKeyCreatedResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"is_active":{"type":"boolean","title":"Is Active"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","name","key_prefix","is_active","last_used_at","created_at","key"],"title":"ApiKeyCreatedResponse"},"ApiKeyResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"is_active":{"type":"boolean","title":"Is Active"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","key_prefix","is_active","last_used_at","created_at"],"title":"ApiKeyResponse"},"ApiRequestLogResponse":{"properties":{"id":{"type":"integer","title":"Id"},"time":{"type":"string","title":"Time"},"resource":{"type":"string","title":"Resource"},"method":{"type":"string","title":"Method"},"path":{"type":"string","title":"Path"},"status_code":{"type":"integer","title":"Status Code"},"duration_ms":{"type":"integer","title":"Duration Ms"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},"type":"object","required":["id","time","resource","method","path","status_code","duration_ms"],"title":"ApiRequestLogResponse"},"AssignNumberRequest":{"properties":{"workflow_uuid":{"type":"string","minLength":1,"title":"Workflow Uuid"}},"type":"object","required":["workflow_uuid"],"title":"AssignNumberRequest"},"AuditEventResponse":{"properties":{"action":{"type":"string","title":"Action"},"resource_type":{"type":"string","title":"Resource Type"},"resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Id"},"actor_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actor User Id"},"actor_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Email"},"details":{"additionalProperties":true,"type":"object","title":"Details"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["action","resource_type","resource_id","actor_user_id","details","created_at"],"title":"AuditEventResponse"},"AvailableNumberResponse":{"properties":{"e164":{"type":"string","title":"E164"},"friendly_name":{"type":"string","title":"Friendly Name"},"locality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country":{"type":"string","title":"Country"}},"type":"object","required":["e164","friendly_name","country"],"title":"AvailableNumberResponse"},"Body_knowledge-base_upload_document":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"chunk_size":{"type":"integer","title":"Chunk Size","default":800},"chunk_overlap":{"type":"integer","title":"Chunk Overlap","default":0}},"type":"object","required":["file"],"title":"Body_knowledge-base_upload_document"},"Branding":{"properties":{"brand_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Brand Name"},"logo_url":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Logo Url"},"primary_color":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Primary Color"},"support_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Support Email"},"custom_domain":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Custom Domain"}},"type":"object","title":"Branding"},"BrandingUpdate":{"properties":{"branding":{"$ref":"#/components/schemas/Branding"}},"type":"object","required":["branding"],"title":"BrandingUpdate"},"CallControlRequest":{"properties":{"action":{"type":"string","pattern":"^(say|transfer|end)$","title":"Action"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"to_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Number"}},"type":"object","required":["action"],"title":"CallControlRequest"},"CallControlResponse":{"properties":{"delivered":{"type":"boolean","title":"Delivered"},"receivers":{"type":"integer","title":"Receivers"}},"type":"object","required":["delivered","receivers"],"title":"CallControlResponse"},"CallCreate":{"properties":{"transport":{"type":"string","pattern":"^(phone|text)$","title":"Transport","default":"phone"},"workflow_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Uuid"},"agent":{"anyOf":[{"$ref":"#/components/schemas/TransientAgent"},{"type":"null"}]},"to_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Number"},"from_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Number"},"detect_voicemail":{"type":"boolean","title":"Detect Voicemail","default":false},"variables":{"additionalProperties":true,"type":"object","title":"Variables"}},"type":"object","title":"CallCreate"},"CallDetail":{"properties":{"call_uuid":{"type":"string","title":"Call Uuid"},"workflow_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Uuid"},"transport":{"type":"string","title":"Transport"},"status":{"type":"string","title":"Status"},"started_at":{"type":"string","title":"Started At"},"transcript":{"items":{"$ref":"#/components/schemas/TranscriptMessage"},"type":"array","title":"Transcript"},"variables":{"additionalProperties":true,"type":"object","title":"Variables"},"recording_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Url"},"latency":{"$ref":"#/components/schemas/LatencySummary"},"analysis":{"$ref":"#/components/schemas/AnalysisReport"},"cost":{"additionalProperties":true,"type":"object","title":"Cost"}},"type":"object","required":["call_uuid","workflow_uuid","transport","status","started_at","transcript","variables","recording_url","latency","analysis","cost"],"title":"CallDetail"},"CallResponse":{"properties":{"transport":{"type":"string","title":"Transport"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"status":{"type":"string","title":"Status"},"provider_call_sid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Call Sid"},"session_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Uuid"},"messages":{"items":{"$ref":"#/components/schemas/TranscriptMessage"},"type":"array","title":"Messages"}},"type":"object","required":["transport","workflow_uuid","status"],"title":"CallResponse"},"CallSummary":{"properties":{"call_uuid":{"type":"string","title":"Call Uuid"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"agent_name":{"type":"string","title":"Agent Name"},"transport":{"type":"string","title":"Transport"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","title":"Created At"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"from_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Number"},"to_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Number"},"ended_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended Reason"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"cost":{"type":"number","title":"Cost","default":0.0}},"type":"object","required":["call_uuid","workflow_uuid","agent_name","transport","status","created_at"],"title":"CallSummary"},"CampaignContactResponse":{"properties":{"phone":{"type":"string","title":"Phone"},"status":{"type":"string","title":"Status"},"call_sid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Sid"}},"type":"object","required":["phone","status","call_sid"],"title":"CampaignContactResponse"},"CampaignCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"workflow_uuid":{"type":"string","minLength":1,"title":"Workflow Uuid"},"from_number":{"type":"string","maxLength":20,"minLength":3,"title":"From Number"},"contacts":{"items":{"type":"string"},"type":"array","title":"Contacts"}},"type":"object","required":["name","workflow_uuid","from_number"],"title":"CampaignCreate"},"CampaignDetailResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"from_number":{"type":"string","title":"From Number"},"status":{"type":"string","title":"Status"},"contacts":{"items":{"$ref":"#/components/schemas/CampaignContactResponse"},"type":"array","title":"Contacts"}},"type":"object","required":["uuid","name","workflow_uuid","from_number","status","contacts"],"title":"CampaignDetailResponse"},"CampaignResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"from_number":{"type":"string","title":"From Number"},"status":{"type":"string","title":"Status"}},"type":"object","required":["uuid","name","workflow_uuid","from_number","status"],"title":"CampaignResponse"},"CaseExpectation":{"properties":{"final_node":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Node"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"variables":{"additionalProperties":true,"type":"object","title":"Variables"},"contains":{"items":{"type":"string"},"type":"array","title":"Contains"},"judge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Judge"},"judge_using":{"type":"string","title":"Judge Using","default":"llm"},"judge_model":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Judge Model"}},"type":"object","title":"CaseExpectation","description":"Assertions checked against the run after the scripted conversation."},"CaseResult":{"properties":{"name":{"type":"string","title":"Name"},"passed":{"type":"boolean","title":"Passed"},"failures":{"items":{"type":"string"},"type":"array","title":"Failures"},"session_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Uuid"}},"type":"object","required":["name","passed"],"title":"CaseResult"},"ConfigUpdate":{"properties":{"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["config"],"title":"ConfigUpdate"},"ContactSyncRequest":{"properties":{"source_url":{"type":"string","minLength":1,"format":"uri","title":"Source Url"}},"type":"object","required":["source_url"],"title":"ContactSyncRequest"},"ContactSyncResponse":{"properties":{"added":{"type":"integer","title":"Added"}},"type":"object","required":["added"],"title":"ContactSyncResponse"},"ConversationMessage":{"properties":{"role":{"type":"string","pattern":"^(user|assistant)$","title":"Role"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"ConversationMessage"},"CostBreakdownResponse":{"properties":{"currency":{"type":"string","title":"Currency"},"total":{"type":"number","title":"Total"},"duration_minutes":{"type":"number","title":"Duration Minutes"},"components":{"items":{"$ref":"#/components/schemas/CostComponentResponse"},"type":"array","title":"Components"}},"type":"object","required":["currency","total","duration_minutes","components"],"title":"CostBreakdownResponse"},"CostComponentResponse":{"properties":{"component":{"type":"string","title":"Component"},"cost":{"type":"number","title":"Cost"}},"type":"object","required":["component","cost"],"title":"CostComponentResponse"},"CredentialFieldResponse":{"properties":{"name":{"type":"string","title":"Name"},"label":{"type":"string","title":"Label"},"secret":{"type":"boolean","title":"Secret"},"placeholder":{"type":"string","title":"Placeholder"}},"type":"object","required":["name","label","secret","placeholder"],"title":"CredentialFieldResponse"},"CredentialResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"data":{"additionalProperties":{"type":"string"},"type":"object","title":"Data"}},"type":"object","required":["provider","data"],"title":"CredentialResponse"},"CredentialUpsert":{"properties":{"provider":{"type":"string","maxLength":64,"minLength":1,"title":"Provider"},"data":{"additionalProperties":true,"type":"object","minProperties":1,"title":"Data"}},"type":"object","required":["provider","data"],"title":"CredentialUpsert"},"CreditBalanceResponse":{"properties":{"balance":{"type":"number","title":"Balance"},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["balance","currency"],"title":"CreditBalanceResponse"},"CreditTransactionResponse":{"properties":{"amount":{"type":"number","title":"Amount"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"balance_after":{"type":"number","title":"Balance After"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["amount","kind","description","balance_after","created_at"],"title":"CreditTransactionResponse"},"DayPointResponse":{"properties":{"day":{"type":"string","title":"Day"},"calls":{"type":"integer","title":"Calls"},"cost":{"type":"number","title":"Cost"}},"type":"object","required":["day","calls","cost"],"title":"DayPointResponse"},"DefinitionResponse":{"properties":{"version_number":{"type":"integer","title":"Version Number"},"status":{"type":"string","title":"Status"},"graph":{"additionalProperties":true,"type":"object","title":"Graph"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["version_number","status","graph","config"],"title":"DefinitionResponse"},"DeliveryResponse":{"properties":{"id":{"type":"integer","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"status":{"type":"string","title":"Status"},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"attempts":{"type":"integer","title":"Attempts"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","event_type","status","status_code","attempts"],"title":"DeliveryResponse"},"DocumentCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"content":{"type":"string","minLength":1,"title":"Content"},"chunk_size":{"type":"integer","maximum":4000.0,"minimum":100.0,"title":"Chunk Size","default":800},"chunk_overlap":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Chunk Overlap","default":0}},"type":"object","required":["name","content"],"title":"DocumentCreate"},"DocumentResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"}},"type":"object","required":["uuid","name","status"],"title":"DocumentResponse"},"EndpointCreate":{"properties":{"url":{"type":"string","minLength":1,"format":"uri","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"}},"type":"object","required":["url"],"title":"EndpointCreate"},"EndpointCreatedResponse":{"properties":{"id":{"type":"integer","title":"Id"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"is_active":{"type":"boolean","title":"Is Active"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","url","events","is_active","secret"],"title":"EndpointCreatedResponse"},"EndpointResponse":{"properties":{"id":{"type":"integer","title":"Id"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","url","events","is_active"],"title":"EndpointResponse"},"EndpointUpdate":{"properties":{"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Events"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"EndpointUpdate"},"EnvironmentResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"kind":{"type":"string","title":"Kind"},"name":{"type":"string","title":"Name"},"is_default":{"type":"boolean","title":"Is Default"}},"type":"object","required":["uuid","kind","name","is_default"],"title":"EnvironmentResponse"},"EstimateRequest":{"properties":{"llm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm"},"stt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stt"},"tts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tts"}},"type":"object","title":"EstimateRequest"},"EstimateResponse":{"properties":{"currency":{"type":"string","title":"Currency"},"base_per_minute":{"type":"number","title":"Base Per Minute"},"margin":{"type":"number","title":"Margin"},"per_minute":{"type":"number","title":"Per Minute"},"breakdown":{"additionalProperties":{"type":"number"},"type":"object","title":"Breakdown"}},"type":"object","required":["currency","base_per_minute","margin","per_minute","breakdown"],"title":"EstimateResponse"},"EventResponse":{"properties":{"event":{"type":"string","title":"Event"},"description":{"type":"string","title":"Description"}},"type":"object","required":["event","description"],"title":"EventResponse"},"FlagResponse":{"properties":{"key":{"type":"string","title":"Key"},"default_enabled":{"type":"boolean","title":"Default Enabled"},"rules":{"additionalProperties":true,"type":"object","title":"Rules"}},"type":"object","required":["key","default_enabled","rules"],"title":"FlagResponse"},"FlagToggle":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"FlagToggle"},"FlagUpsert":{"properties":{"key":{"type":"string","maxLength":128,"minLength":1,"title":"Key"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"default_enabled":{"type":"boolean","title":"Default Enabled","default":false}},"type":"object","required":["key"],"title":"FlagUpsert"},"ForgotPasswordRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"locale":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Locale"}},"type":"object","required":["email"],"title":"ForgotPasswordRequest"},"GraphUpdate":{"properties":{"graph":{"additionalProperties":true,"type":"object","title":"Graph"}},"type":"object","required":["graph"],"title":"GraphUpdate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImportNumberRequest":{"properties":{"e164":{"type":"string","maxLength":20,"minLength":3,"title":"E164"},"provider":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Provider"},"provider_sid":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Provider Sid"}},"type":"object","required":["e164"],"title":"ImportNumberRequest","description":"Register a number the org already owns on a carrier (BYO), no purchase."},"IntegrationResponse":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"required_credentials":{"items":{"type":"string"},"type":"array","title":"Required Credentials"},"actions":{"items":{"$ref":"#/components/schemas/ActionResponse"},"type":"array","title":"Actions"}},"type":"object","required":["key","name","required_credentials","actions"],"title":"IntegrationResponse"},"InvitationResponse":{"properties":{"token":{"type":"string","title":"Token"},"email":{"type":"string","title":"Email"},"status":{"type":"string","title":"Status"}},"type":"object","required":["token","email","status"],"title":"InvitationResponse"},"InviteRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"role_id":{"type":"integer","title":"Role Id"}},"type":"object","required":["email","role_id"],"title":"InviteRequest"},"IrisChatRequest":{"properties":{"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"session_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Uuid"},"messages":{"items":{"$ref":"#/components/schemas/IrisMessage"},"type":"array","maxItems":40,"minItems":1,"title":"Messages"}},"type":"object","required":["workflow_uuid","messages"],"title":"IrisChatRequest"},"IrisChatResponse":{"properties":{"reply":{"type":"string","title":"Reply"},"model":{"type":"string","title":"Model"},"cost":{"$ref":"#/components/schemas/IrisCost"},"balance":{"type":"number","title":"Balance"}},"type":"object","required":["reply","model","cost","balance"],"title":"IrisChatResponse"},"IrisCost":{"properties":{"amount":{"type":"number","title":"Amount"},"currency":{"type":"string","title":"Currency"},"commission":{"type":"number","title":"Commission"},"prompt_tokens":{"type":"integer","title":"Prompt Tokens"},"completion_tokens":{"type":"integer","title":"Completion Tokens"}},"type":"object","required":["amount","currency","commission","prompt_tokens","completion_tokens"],"title":"IrisCost"},"IrisMessage":{"properties":{"role":{"type":"string","enum":["user","assistant"],"title":"Role"},"content":{"type":"string","maxLength":8000,"minLength":1,"title":"Content"}},"type":"object","required":["role","content"],"title":"IrisMessage"},"IrisSessionOption":{"properties":{"uuid":{"type":"string","title":"Uuid"},"status":{"type":"string","title":"Status"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"started_at":{"type":"string","title":"Started At"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"turns":{"type":"integer","title":"Turns"},"preview":{"type":"string","title":"Preview"}},"type":"object","required":["uuid","status","direction","started_at","duration_seconds","turns","preview"],"title":"IrisSessionOption"},"LatencySummary":{"properties":{"turns":{"type":"integer","title":"Turns","default":0},"avg_turn_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Turn Ms"},"transcriber_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Transcriber Ms"},"llm_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Llm Ms"},"voice_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Ms"},"endpointing_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Endpointing Ms"},"per_turn":{"items":{"$ref":"#/components/schemas/LatencyTurn"},"type":"array","title":"Per Turn"}},"type":"object","title":"LatencySummary"},"LatencyTurn":{"properties":{"turn":{"type":"integer","title":"Turn"},"turn_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Turn Ms"},"transcriber_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Transcriber Ms"},"llm_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Llm Ms"},"voice_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Ms"},"endpointing_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Endpointing Ms"}},"type":"object","required":["turn"],"title":"LatencyTurn"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MemberResponse":{"properties":{"user_id":{"type":"integer","title":"User Id"},"email":{"type":"string","title":"Email"},"roles":{"items":{"type":"string"},"type":"array","title":"Roles"}},"type":"object","required":["user_id","email","roles"],"title":"MemberResponse"},"ModelOptionResponse":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"}},"type":"object","required":["id","label"],"title":"ModelOptionResponse"},"OrganizationCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"region":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Region"}},"type":"object","required":["name"],"title":"OrganizationCreate"},"OrganizationResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"region":{"type":"string","title":"Region"}},"type":"object","required":["id","name","slug","region"],"title":"OrganizationResponse"},"OrganizationSessionResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"organization":{"$ref":"#/components/schemas/OrganizationSummary"},"region":{"$ref":"#/components/schemas/RegionInfo"}},"type":"object","required":["access_token","organization","region"],"title":"OrganizationSessionResponse"},"OrganizationSummary":{"properties":{"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"region":{"type":"string","title":"Region"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["slug","name","region","is_active"],"title":"OrganizationSummary"},"OrganizationSwitchRequest":{"properties":{"slug":{"type":"string","title":"Slug"}},"type":"object","required":["slug"],"title":"OrganizationSwitchRequest"},"OrganizationUpdate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"OrganizationUpdate"},"OverviewResponse":{"properties":{"total_calls":{"type":"integer","title":"Total Calls"},"voice_calls":{"type":"integer","title":"Voice Calls"},"text_calls":{"type":"integer","title":"Text Calls"},"completed_calls":{"type":"integer","title":"Completed Calls"},"total_minutes":{"type":"number","title":"Total Minutes"},"total_cost":{"type":"number","title":"Total Cost"},"credit_balance":{"type":"number","title":"Credit Balance"},"currency":{"type":"string","title":"Currency"},"by_status":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Status"},"by_day":{"items":{"$ref":"#/components/schemas/DayPointResponse"},"type":"array","title":"By Day"}},"type":"object","required":["total_calls","voice_calls","text_calls","completed_calls","total_minutes","total_cost","credit_balance","currency","by_status","by_day"],"title":"OverviewResponse"},"Page_ApiRequestLogResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ApiRequestLogResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Page[ApiRequestLogResponse]"},"Page_CallSummary_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CallSummary"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Page[CallSummary]"},"Page_DeliveryResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DeliveryResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"Page[DeliveryResponse]"},"PermissionInfo":{"properties":{"key":{"type":"string","title":"Key"},"resource":{"type":"string","title":"Resource"},"action":{"type":"string","title":"Action"},"label":{"type":"string","title":"Label"}},"type":"object","required":["key","resource","action","label"],"title":"PermissionInfo"},"PhoneNumberResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"e164":{"type":"string","title":"E164"},"provider":{"type":"string","title":"Provider"},"workflow_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Uuid"}},"type":"object","required":["uuid","e164","provider","workflow_uuid"],"title":"PhoneNumberResponse"},"PlanResponse":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"is_active":{"type":"boolean","title":"Is Active"},"entitlements":{"additionalProperties":true,"type":"object","title":"Entitlements"}},"type":"object","required":["key","name","is_active","entitlements"],"title":"PlanResponse"},"PlatformInfo":{"properties":{"maintenance_enabled":{"type":"boolean","title":"Maintenance Enabled"},"maintenance_message":{"type":"string","title":"Maintenance Message"},"maintenance_message_tr":{"type":"string","title":"Maintenance Message Tr"},"turnstile_site_key":{"type":"string","title":"Turnstile Site Key","default":""},"email_verification_enabled":{"type":"boolean","title":"Email Verification Enabled","default":false},"oauth_providers":{"items":{"type":"string"},"type":"array","title":"Oauth Providers","default":[]}},"type":"object","required":["maintenance_enabled","maintenance_message","maintenance_message_tr"],"title":"PlatformInfo"},"ProjectCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"ProjectCreate"},"ProjectResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"is_default":{"type":"boolean","title":"Is Default"}},"type":"object","required":["uuid","name","slug","is_default"],"title":"ProjectResponse"},"PromoteRequest":{"properties":{"target_environment_id":{"type":"string","minLength":1,"title":"Target Environment Id"}},"type":"object","required":["target_environment_id"],"title":"PromoteRequest"},"ProviderCostResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"service_type":{"type":"string","title":"Service Type"},"unit":{"type":"string","title":"Unit"},"unit_cost":{"type":"number","title":"Unit Cost"},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["provider","service_type","unit","unit_cost","currency"],"title":"ProviderCostResponse"},"ProviderResourcesResponse":{"properties":{"key":{"type":"string","title":"Key"},"service_type":{"type":"string","title":"Service Type"},"default_model":{"type":"string","title":"Default Model"},"source":{"type":"string","title":"Source"},"models":{"items":{"$ref":"#/components/schemas/ModelOptionResponse"},"type":"array","title":"Models"},"voices":{"items":{"$ref":"#/components/schemas/ModelOptionResponse"},"type":"array","title":"Voices"}},"type":"object","required":["key","service_type","default_model","source","models","voices"],"title":"ProviderResourcesResponse"},"ProviderResponse":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"service_type":{"type":"string","title":"Service Type"},"default_model":{"type":"string","title":"Default Model"},"models":{"items":{"$ref":"#/components/schemas/ModelOptionResponse"},"type":"array","title":"Models"},"voices":{"items":{"$ref":"#/components/schemas/ModelOptionResponse"},"type":"array","title":"Voices"},"languages":{"items":{"type":"string"},"type":"array","title":"Languages"},"available":{"type":"boolean","title":"Available"}},"type":"object","required":["key","name","service_type","default_model","models","voices","languages","available"],"title":"ProviderResponse"},"ProvisionNumberRequest":{"properties":{"e164":{"type":"string","maxLength":20,"minLength":3,"title":"E164"},"provider":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Provider"}},"type":"object","required":["e164"],"title":"ProvisionNumberRequest"},"PublicCurrency":{"properties":{"code":{"type":"string","title":"Code"},"symbol":{"type":"string","title":"Symbol"},"rate":{"type":"number","title":"Rate"}},"type":"object","required":["code","symbol","rate"],"title":"PublicCurrency"},"PublicPricingResponse":{"properties":{"currency":{"type":"string","title":"Currency"},"tiers":{"items":{"$ref":"#/components/schemas/PublicPricingTier"},"type":"array","title":"Tiers"},"currencies":{"items":{"$ref":"#/components/schemas/PublicCurrency"},"type":"array","title":"Currencies"},"note":{"type":"string","title":"Note"}},"type":"object","required":["currency","tiers","currencies","note"],"title":"PublicPricingResponse"},"PublicPricingTier":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"stack":{"additionalProperties":{"type":"string"},"type":"object","title":"Stack"},"per_minute":{"type":"number","title":"Per Minute"}},"type":"object","required":["key","name","stack","per_minute"],"title":"PublicPricingTier"},"RedirectResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"RedirectResponse"},"RegionInfo":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"},"api_base_url":{"type":"string","title":"Api Base Url"}},"type":"object","required":["code","label","api_base_url"],"title":"RegionInfo"},"RegisterRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"},"organization_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Organization Name"},"region":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Region"},"turnstile_token":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Turnstile Token"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false},"locale":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"title":"Locale"}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"ResetPasswordRequest":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":1,"title":"Token"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"}},"type":"object","required":["token","password"],"title":"ResetPasswordRequest"},"RoleCreate":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"}},"type":"object","required":["name"],"title":"RoleCreate"},"RoleResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"is_system":{"type":"boolean","title":"Is System"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"}},"type":"object","required":["id","name","is_system","description","permissions"],"title":"RoleResponse"},"RoleUpdate":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"}},"type":"object","required":["name"],"title":"RoleUpdate"},"RunActionRequest":{"properties":{"action":{"type":"string","minLength":1,"title":"Action"},"params":{"additionalProperties":true,"type":"object","title":"Params"}},"type":"object","required":["action"],"title":"RunActionRequest"},"RunActionResponse":{"properties":{"result":{"additionalProperties":true,"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"RunActionResponse"},"RunEventResponse":{"properties":{"id":{"type":"integer","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"level":{"type":"string","title":"Level"},"category":{"type":"string","title":"Category"},"event":{"type":"string","title":"Event"},"data":{"additionalProperties":true,"type":"object","title":"Data"}},"type":"object","required":["id","created_at","level","category","event","data"],"title":"RunEventResponse"},"RunSummary":{"properties":{"session_uuid":{"type":"string","title":"Session Uuid"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"mode":{"type":"string","title":"Mode"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["session_uuid","workflow_uuid","mode","status","created_at"],"title":"RunSummary"},"SearchHitResponse":{"properties":{"content":{"type":"string","title":"Content"},"document_id":{"type":"integer","title":"Document Id"},"score":{"type":"number","title":"Score"}},"type":"object","required":["content","document_id","score"],"title":"SearchHitResponse"},"SearchRequest":{"properties":{"query":{"type":"string","minLength":1,"title":"Query"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":3},"document_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Document Ids"}},"type":"object","required":["query"],"title":"SearchRequest"},"SessionDetail":{"properties":{"session_uuid":{"type":"string","title":"Session Uuid"},"mode":{"type":"string","title":"Mode"},"status":{"type":"string","title":"Status"},"current_node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Node Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"transcript":{"items":{"$ref":"#/components/schemas/TranscriptMessage"},"type":"array","title":"Transcript"},"variables":{"additionalProperties":true,"type":"object","title":"Variables"},"config_snapshot":{"additionalProperties":true,"type":"object","title":"Config Snapshot"},"cost":{"$ref":"#/components/schemas/CostBreakdownResponse"},"recording_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Url"},"latency":{"$ref":"#/components/schemas/LatencySummary"},"analysis":{"$ref":"#/components/schemas/AnalysisReport"}},"type":"object","required":["session_uuid","mode","status","current_node_id","created_at","transcript","variables","config_snapshot","cost"],"title":"SessionDetail"},"SessionMessageRequest":{"properties":{"content":{"type":"string","minLength":1,"title":"Content"}},"type":"object","required":["content"],"title":"SessionMessageRequest"},"SessionStartRequest":{"properties":{"variables":{"additionalProperties":true,"type":"object","title":"Variables"}},"type":"object","title":"SessionStartRequest"},"SessionStartResponse":{"properties":{"session_uuid":{"type":"string","title":"Session Uuid"},"status":{"type":"string","title":"Status"},"current_node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Node Id"},"messages":{"items":{"$ref":"#/components/schemas/TranscriptMessage"},"type":"array","title":"Messages"}},"type":"object","required":["session_uuid","status","current_node_id","messages"],"title":"SessionStartResponse"},"SessionTurnResponse":{"properties":{"status":{"type":"string","title":"Status"},"current_node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Node Id"},"messages":{"items":{"$ref":"#/components/schemas/TranscriptMessage"},"type":"array","title":"Messages"}},"type":"object","required":["status","current_node_id","messages"],"title":"SessionTurnResponse"},"SubAccountCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"branding":{"$ref":"#/components/schemas/Branding"}},"type":"object","required":["name"],"title":"SubAccountCreate"},"SubAccountResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"is_active":{"type":"boolean","title":"Is Active"},"branding":{"additionalProperties":true,"type":"object","title":"Branding"}},"type":"object","required":["id","name","slug","is_active","branding"],"title":"SubAccountResponse"},"SuiteRunResponse":{"properties":{"suite_uuid":{"type":"string","title":"Suite Uuid"},"passed":{"type":"boolean","title":"Passed"},"total":{"type":"integer","title":"Total"},"passed_count":{"type":"integer","title":"Passed Count"},"results":{"items":{"$ref":"#/components/schemas/CaseResult"},"type":"array","title":"Results"}},"type":"object","required":["suite_uuid","passed","total","passed_count","results"],"title":"SuiteRunResponse"},"TelephonyProviderResponse":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"fields":{"items":{"$ref":"#/components/schemas/CredentialFieldResponse"},"type":"array","title":"Fields"},"supports_search":{"type":"boolean","title":"Supports Search"},"description":{"type":"string","title":"Description"}},"type":"object","required":["key","name","fields","supports_search","description"],"title":"TelephonyProviderResponse"},"TestCase":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"messages":{"items":{"type":"string"},"type":"array","title":"Messages"},"expect":{"$ref":"#/components/schemas/CaseExpectation"}},"type":"object","required":["name"],"title":"TestCase"},"TestSuiteCreate":{"properties":{"workflow_uuid":{"type":"string","minLength":1,"title":"Workflow Uuid"},"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"cases":{"items":{"$ref":"#/components/schemas/TestCase"},"type":"array","title":"Cases"}},"type":"object","required":["workflow_uuid","name"],"title":"TestSuiteCreate"},"TestSuiteResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"name":{"type":"string","title":"Name"},"cases":{"items":{"$ref":"#/components/schemas/TestCase"},"type":"array","title":"Cases"}},"type":"object","required":["uuid","workflow_uuid","name","cases"],"title":"TestSuiteResponse"},"TextRunRequest":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/ConversationMessage"},"type":"array","minItems":1,"title":"Messages"}},"type":"object","required":["messages"],"title":"TextRunRequest"},"TextRunResponse":{"properties":{"run_uuid":{"type":"string","title":"Run Uuid"},"reply":{"type":"string","title":"Reply"},"transcript":{"items":{"$ref":"#/components/schemas/TranscriptMessage"},"type":"array","title":"Transcript"}},"type":"object","required":["run_uuid","reply","transcript"],"title":"TextRunResponse"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token"],"title":"TokenResponse"},"ToolCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"kind":{"type":"string","pattern":"^(http|static|mcp)$","title":"Kind"},"config":{"additionalProperties":true,"type":"object","title":"Config"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters"}},"type":"object","required":["name","kind"],"title":"ToolCreate"},"ToolResponse":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"kind":{"type":"string","title":"Kind"},"config":{"additionalProperties":true,"type":"object","title":"Config"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters"}},"type":"object","required":["uuid","name","description","kind","config","parameters"],"title":"ToolResponse"},"ToolUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"kind":{"anyOf":[{"type":"string","pattern":"^(http|static|mcp)$"},{"type":"null"}],"title":"Kind"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameters"}},"type":"object","title":"ToolUpdate"},"TopupRequest":{"properties":{"amount":{"type":"number","maximum":100000.0,"exclusiveMinimum":0.0,"title":"Amount"}},"type":"object","required":["amount"],"title":"TopupRequest"},"TranscriptMessage":{"properties":{"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"ts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ts"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"}},"type":"object","required":["role","content"],"title":"TranscriptMessage"},"TransientAgent":{"properties":{"mode":{"type":"string","pattern":"^(prompt|workflow)$","title":"Mode","default":"workflow"},"config":{"additionalProperties":true,"type":"object","title":"Config"},"graph":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Graph"}},"type":"object","title":"TransientAgent","description":"An inline agent definition used for a single call, without saving it.\n\nMirrors a saved workflow's shape: prompt mode carries everything in\n``config``; workflow mode may also pass a ``graph``."},"UsageSummaryResponse":{"properties":{"total_units":{"type":"number","title":"Total Units"},"total_cost":{"type":"number","title":"Total Cost"},"record_count":{"type":"integer","title":"Record Count"},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["total_units","total_cost","record_count","currency"],"title":"UsageSummaryResponse"},"UserResponse":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"is_superuser":{"type":"boolean","title":"Is Superuser"},"email_verified":{"type":"boolean","title":"Email Verified"},"selected_organization_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Selected Organization Id"}},"type":"object","required":["id","email","is_superuser","email_verified","selected_organization_id"],"title":"UserResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyEmailRequest":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":1,"title":"Token"}},"type":"object","required":["token"],"title":"VerifyEmailRequest"},"VoiceTurnResponse":{"properties":{"transcript":{"type":"string","title":"Transcript"},"reply_text":{"type":"string","title":"Reply Text"},"reply_audio_base64":{"type":"string","title":"Reply Audio Base64"},"reply_content_type":{"type":"string","title":"Reply Content Type"},"status":{"type":"string","title":"Status"}},"type":"object","required":["transcript","reply_text","reply_audio_base64","reply_content_type","status"],"title":"VoiceTurnResponse"},"WebCallTokenRequest":{"properties":{"workflow_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Uuid"},"agent":{"anyOf":[{"$ref":"#/components/schemas/TransientAgent"},{"type":"null"}]}},"type":"object","title":"WebCallTokenRequest"},"WebCallTokenResponse":{"properties":{"token":{"type":"string","title":"Token"},"workflow_uuid":{"type":"string","title":"Workflow Uuid"},"ws_url":{"type":"string","title":"Ws Url"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["token","workflow_uuid","ws_url","expires_in"],"title":"WebCallTokenResponse"},"WorkflowCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"mode":{"type":"string","pattern":"^(prompt|workflow)$","title":"Mode","default":"workflow"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["name"],"title":"WorkflowCreate"},"WorkflowDetail":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"mode":{"type":"string","title":"Mode"},"current_definition":{"anyOf":[{"$ref":"#/components/schemas/DefinitionResponse"},{"type":"null"}]}},"type":"object","required":["uuid","name","mode","current_definition"],"title":"WorkflowDetail"},"WorkflowSummary":{"properties":{"uuid":{"type":"string","title":"Uuid"},"name":{"type":"string","title":"Name"},"mode":{"type":"string","title":"Mode"},"status":{"type":"string","title":"Status","default":"draft"},"archived":{"type":"boolean","title":"Archived","default":false}},"type":"object","required":["uuid","name","mode"],"title":"WorkflowSummary"},"WorkflowTemplate":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"graph":{"additionalProperties":true,"type":"object","title":"Graph"}},"type":"object","required":["key","name","description","graph"],"title":"WorkflowTemplate"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"},"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}