Creates an agent with a live version “main” whose first commit is config, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Brilo","colors":{"primary":"#8C7AE6","light":"#ADB5BD","dark":"#343A40"},"logo":{"light":"https://mintcdn.com/brilo/MxABbmjUyMnseUhC/logo/light.png?fit=max\u0026auto=format\u0026n=MxABbmjUyMnseUhC\u0026q=85\u0026s=d4d6fb2d6eb070743955e91ad4de3991","dark":"https://mintcdn.com/brilo/pWKPO3fYjsyPFmaW/logo/dark.svg?fit=max\u0026auto=format\u0026n=pWKPO3fYjsyPFmaW\u0026q=85\u0026s=bdc949595db36f3fd5eb662601ca3208"},"favicon":"https://mintcdn.com/brilo/QQo147ZHWnpiYhnW/favicon.svg?fit=max\u0026auto=format\u0026n=QQo147ZHWnpiYhnW\u0026q=85\u0026s=2aada838f7a27240e42ba75002f91501","appearance":{"default":"dark"},"navbar":{"links":[{"href":"mailto:support@brilo.ai","label":"Support"}],"primary":{"type":"button","label":"Get Keys","href":"https://dashboard.brilo.ai/settings/developer/api-keys"}},"footer":{"socials":{"x":"https://x.com/hellobrilo","linkedin":"https://www.linkedin.com/company/brilo"}},"seo":{"metatags":{"og:locale":"en_US","twitter:site":"@hellobrilo"},"indexing":"navigable"},"icons":{"library":"lucide"},"contextual":{"options":["copy","chatgpt","claude","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://brilo.ai/resources"},{"anchor":"Community","icon":{"style":"brands","name":"discord","library":"fontawesome"},"href":"https://discord.gg/4rjVc2Zt6P"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"brilo","hasAudioNarration":false,"actualSubdomain":"brilo","customDomains":["docs.brilo.ai"],"gitSource":{"type":"github","owner":"briloai","repo":"brilo-api","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf421757ec93adba5508c1","collectionId":"0012b6ef-369c-4569-bcbd-75c5677595a2","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf421757ec93adba5508c1"},"entitlements":{},"buildId":"6ae35c66b905b386f716bd12","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Guides","count":115},{"language":"default","tag":"API Reference","count":51},{"language":"default","tag":"Configure","count":39},{"language":"default","tag":"Agents","count":34},{"language":"default","tag":"Campaigns","count":17},{"language":"default","tag":"Agents and versions","count":16},{"language":"default","tag":"Deploy","count":14},{"language":"default","tag":"Phone numbers","count":13},{"language":"default","tag":"Actions","count":10},{"language":"default","tag":"Endpoints","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/agents-public/create-an-agent","slug":"/api-reference/agents-public/create-an-agent","pageMetadata":{"title":"Create an agent","description":"Creates an agent with a live version \"main\" whose first commit is `config`, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents","href":"/api-reference/agents-public/create-an-agent","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates an agent with a live version “main” whose first commit is \", _jsx(_components.code, {\n children: \"config\"\n }), \", filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an agent","description":"Creates an agent with a live version \"main\" whose first commit is `config`, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents","href":"/api-reference/agents-public/create-an-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Creates an agent with a live version \"main\" whose first commit is `config`, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.","operationId":"createAgent","parameters":["247e2c2a-d80f-4e25-a2e8-619b8b9465fe"],"requestBody":"85d2f6d7-a891-4b9f-96dd-1829a52aa4c7","responses":{"201":"6fd444c4-c5df-4d2b-998d-a226bb310812","400":"cf607057-ac2c-48af-ad5e-146ef62df5ff","403":"9c70211e-acc3-429d-a386-117da6d2a298","409":"c3aed982-4585-4944-8c4c-a83964420c89","422":"447d9cf4-52d6-445a-9884-14ec9d7c8024"},"security":["259e378a-faf1-481a-8bed-6fd544245065"],"summary":"Create an agent","tags":["Agents (public)"],"method":"post","type":"path","servers":["0abd13eb-12ec-4ab7-bd7e-251d9efb036d"],"path":"/agents","baseUrlOptions":["https://api.brilo.ai/v1"],"title":"Create an agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"247e2c2a-d80f-4e25-a2e8-619b8b9465fe":{"description":"Optional. A retry with the same key and body returns the first response instead of doing the work twice.","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","isRequired":false,"description":"Optional. A retry with the same key and body returns the first response instead of doing the work twice.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"maxLength":255,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"config":{"additionalProperties":false,"properties":{"call_handling":{"additionalProperties":false,"properties":{"greeting_interruptible":{"description":"Can the caller talk over the greeting.","type":"boolean","uniqueKey":"config.call_handling.greeting_interruptible","typeLabel":"boolean"},"idle_reminder":{"additionalProperties":false,"description":"What the agent says when the caller goes quiet.","properties":{"after_seconds":{"maximum":600,"minimum":1,"type":"integer","uniqueKey":"config.call_handling.idle_reminder.after_seconds","typeLabel":"integer"},"enabled":{"type":"boolean","uniqueKey":"config.call_handling.idle_reminder.enabled","typeLabel":"boolean"},"message":{"oneOf":[{"maxLength":500,"type":"string","uniqueKey":"config.call_handling.idle_reminder.message.oneOf.0","typeLabel":"string"},{"maxLength":500,"type":"null","uniqueKey":"config.call_handling.idle_reminder.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.call_handling.idle_reminder.message","typeLabel":"string | null"}},"type":"object","uniqueKey":"config.call_handling.idle_reminder","typeLabel":"object"},"max_duration_seconds":{"description":"Longest a call may run, in whole minutes as seconds. 0 means no limit.","maximum":14400,"minimum":0,"multipleOf":60,"type":"integer","uniqueKey":"config.call_handling.max_duration_seconds","typeLabel":"integer"},"silence_timeout_seconds":{"description":"Hang up after this much silence.","maximum":600,"minimum":1,"type":"integer","uniqueKey":"config.call_handling.silence_timeout_seconds","typeLabel":"integer"}},"type":"object","uniqueKey":"config.call_handling","typeLabel":"object"},"greeting":{"oneOf":[{"description":"The first thing the agent says when a call connects. null lets the agent open on its own.","maxLength":2000,"type":"string","uniqueKey":"config.greeting.oneOf.0","typeLabel":"string"},{"description":"The first thing the agent says when a call connects. null lets the agent open on its own.","maxLength":2000,"type":"null","uniqueKey":"config.greeting.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.greeting","typeLabel":"string | null"},"instructions":{"oneOf":[{"description":"How the agent should behave: who it is, what it handles and what it must never do.","maxLength":100000,"type":"string","uniqueKey":"config.instructions.oneOf.0","typeLabel":"string"},{"description":"How the agent should behave: who it is, what it handles and what it must never do.","maxLength":100000,"type":"null","uniqueKey":"config.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.instructions","typeLabel":"string | null"},"languages":{"description":"Languages the agent speaks, main one first, for example [\"en\", \"es\"].","items":{"maxLength":16,"minLength":2,"type":"string","uniqueKey":"config.languages.items.[INDEX]","typeLabel":"string"},"maxItems":10,"minItems":1,"type":"array","uniqueKey":"config.languages","typeLabel":"string[]"},"model":{"additionalProperties":false,"properties":{"id":{"description":"Language model id.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string","isRequired":true,"uniqueKey":"config.model.id","typeLabel":"string\u003cuuid>"}},"required":["id"],"type":"object","uniqueKey":"config.model","typeLabel":"object"},"recording":{"additionalProperties":false,"properties":{"consent":{"additionalProperties":false,"properties":{"prompt":{"oneOf":[{"maxLength":2000,"type":"string","uniqueKey":"config.recording.consent.prompt.oneOf.0","typeLabel":"string"},{"maxLength":2000,"type":"null","uniqueKey":"config.recording.consent.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.recording.consent.prompt","typeLabel":"string | null"},"type":{"description":"verbal asks the caller before recording.","enum":["none","verbal"],"type":"string","uniqueKey":"config.recording.consent.type","typeLabel":"enum\u003cstring>"}},"type":"object","uniqueKey":"config.recording.consent","typeLabel":"object"},"enabled":{"type":"boolean","uniqueKey":"config.recording.enabled","typeLabel":"boolean"},"transcript_enabled":{"type":"boolean","uniqueKey":"config.recording.transcript_enabled","typeLabel":"boolean"}},"type":"object","uniqueKey":"config.recording","typeLabel":"object"},"timezone":{"maxLength":64,"type":"string","uniqueKey":"config.timezone","typeLabel":"string"},"transcriber":{"additionalProperties":false,"properties":{"id":{"description":"Speech to text model id.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string","isRequired":true,"uniqueKey":"config.transcriber.id","typeLabel":"string\u003cuuid>"}},"required":["id"],"type":"object","uniqueKey":"config.transcriber","typeLabel":"object"},"voice":{"additionalProperties":false,"properties":{"id":{"description":"Voice id.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string","uniqueKey":"config.voice.id","typeLabel":"string\u003cuuid>"},"speaking_rate":{"oneOf":[{"type":"number","description":"0.8 slow, 1 normal, 1.2 fast.","enum":[0.8],"uniqueKey":"config.voice.speaking_rate.oneOf.0","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"0.8 slow, 1 normal, 1.2 fast.","enum":[1],"uniqueKey":"config.voice.speaking_rate.oneOf.1","typeLabel":"enum\u003cnumber>"},{"type":"number","description":"0.8 slow, 1 normal, 1.2 fast.","enum":[1.2],"uniqueKey":"config.voice.speaking_rate.oneOf.2","typeLabel":"enum\u003cnumber>"}],"uniqueKey":"config.voice.speaking_rate","typeLabel":"enum\u003cnumber>"}},"type":"object","uniqueKey":"config.voice","typeLabel":"object"},"voicemail":{"additionalProperties":false,"properties":{"behavior":{"enum":["hang_up","leave_message"],"type":"string","uniqueKey":"config.voicemail.behavior","typeLabel":"enum\u003cstring>"},"message":{"oneOf":[{"maxLength":2000,"type":"string","uniqueKey":"config.voicemail.message.oneOf.0","typeLabel":"string"},{"maxLength":2000,"type":"null","uniqueKey":"config.voicemail.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.voicemail.message","typeLabel":"string | null"}},"type":"object","uniqueKey":"config.voicemail","typeLabel":"object"}},"type":"object","uniqueKey":"config","typeLabel":"object"},"description":{"oneOf":[{"description":"A short note for people. null clears it.","maxLength":2000,"type":"string","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"description":"A short note for people. null clears it.","maxLength":2000,"type":"null","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"}},"required":["name"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","config":{"call_handling":{"greeting_interruptible":true,"idle_reminder":{"after_seconds":300,"enabled":true,"message":"\u003cstring>"},"max_duration_seconds":7200,"silence_timeout_seconds":300},"greeting":"\u003cstring>","instructions":"\u003cstring>","languages":["\u003cstring>"],"recording":{"consent":{"prompt":"\u003cstring>"},"enabled":true,"transcript_enabled":true},"timezone":"\u003cstring>","voice":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","speaking_rate":0.8},"voicemail":{"message":"\u003cstring>"}},"description":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"6fd444c4-c5df-4d2b-998d-a226bb310812":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"config":{"additionalProperties":false,"description":"What callers hear now: the live version, latest commit.","properties":{"call_handling":{"additionalProperties":false,"properties":{"greeting_interruptible":{"type":"boolean","isRequired":true,"uniqueKey":"config.call_handling.greeting_interruptible","typeLabel":"boolean"},"idle_reminder":{"additionalProperties":false,"properties":{"after_seconds":{"oneOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.after_seconds.oneOf.0","typeLabel":"integer"},{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"null","isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.after_seconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.after_seconds","typeLabel":"integer | null"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.enabled","typeLabel":"boolean"},"message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.call_handling.idle_reminder.message","typeLabel":"string | null"}},"required":["enabled","after_seconds","message"],"type":"object","isRequired":true,"uniqueKey":"config.call_handling.idle_reminder","typeLabel":"object"},"max_duration_seconds":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"config.call_handling.max_duration_seconds","typeLabel":"integer"},"silence_timeout_seconds":{"oneOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"config.call_handling.silence_timeout_seconds.oneOf.0","typeLabel":"integer"},{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"null","isRequired":true,"uniqueKey":"config.call_handling.silence_timeout_seconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.call_handling.silence_timeout_seconds","typeLabel":"integer | null"}},"required":["max_duration_seconds","silence_timeout_seconds","idle_reminder","greeting_interruptible"],"type":"object","isRequired":true,"uniqueKey":"config.call_handling","typeLabel":"object"},"greeting":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.greeting.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.greeting.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.greeting","typeLabel":"string | null"},"instructions":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.instructions.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.instructions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.instructions","typeLabel":"string | null"},"languages":{"items":{"type":"string","uniqueKey":"config.languages.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"config.languages","typeLabel":"string[]"},"model":{"additionalProperties":false,"properties":{"id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.model.id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.model.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.model.id","typeLabel":"string | null"}},"required":["id"],"type":"object","isRequired":true,"uniqueKey":"config.model","typeLabel":"object"},"recording":{"additionalProperties":false,"properties":{"consent":{"additionalProperties":false,"properties":{"prompt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.recording.consent.prompt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.recording.consent.prompt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.recording.consent.prompt","typeLabel":"string | null"},"type":{"type":"string","isRequired":true,"uniqueKey":"config.recording.consent.type","typeLabel":"string"}},"required":["type","prompt"],"type":"object","isRequired":true,"uniqueKey":"config.recording.consent","typeLabel":"object"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"config.recording.enabled","typeLabel":"boolean"},"transcript_enabled":{"type":"boolean","isRequired":true,"uniqueKey":"config.recording.transcript_enabled","typeLabel":"boolean"}},"required":["enabled","consent","transcript_enabled"],"type":"object","isRequired":true,"uniqueKey":"config.recording","typeLabel":"object"},"timezone":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.timezone.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.timezone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.timezone","typeLabel":"string | null"},"transcriber":{"additionalProperties":false,"properties":{"id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.transcriber.id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.transcriber.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.transcriber.id","typeLabel":"string | null"}},"required":["id"],"type":"object","isRequired":true,"uniqueKey":"config.transcriber","typeLabel":"object"},"voice":{"additionalProperties":false,"properties":{"id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.voice.id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.voice.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.voice.id","typeLabel":"string | null"},"speaking_rate":{"type":"number","isRequired":true,"uniqueKey":"config.voice.speaking_rate","typeLabel":"number"}},"required":["id","speaking_rate"],"type":"object","isRequired":true,"uniqueKey":"config.voice","typeLabel":"object"},"voicemail":{"additionalProperties":false,"properties":{"behavior":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.voicemail.behavior.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.voicemail.behavior.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.voicemail.behavior","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.voicemail.message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.voicemail.message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.voicemail.message","typeLabel":"string | null"}},"required":["behavior","message"],"type":"object","isRequired":true,"uniqueKey":"config.voicemail","typeLabel":"object"}},"required":["greeting","instructions","voice","model","transcriber","languages","timezone","call_handling","voicemail","recording"],"type":"object","isRequired":true,"uniqueKey":"config","typeLabel":"object"},"created_at":{"type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"},"description":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"description","typeLabel":"string | null"},"draft_pending":{"type":"boolean","isRequired":true,"uniqueKey":"draft_pending","typeLabel":"boolean"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"live_version_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"live_version_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"live_version_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"live_version_id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"name","typeLabel":"string | null"},"phone_numbers":{"items":{"type":"string","uniqueKey":"phone_numbers.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"phone_numbers","typeLabel":"string[]"},"revision":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"revision.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"revision.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"revision","typeLabel":"string | null"},"versioning_enabled":{"type":"boolean","isRequired":true,"uniqueKey":"versioning_enabled","typeLabel":"boolean"},"changed_fields":{"items":{"type":"string","uniqueKey":"changed_fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"changed_fields","typeLabel":"string[]"},"next_action":{"additionalProperties":false,"properties":{"method":{"type":"string","isRequired":true,"uniqueKey":"next_action.method","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"next_action.path","typeLabel":"string"},"tool":{"type":"string","isRequired":true,"uniqueKey":"next_action.tool","typeLabel":"string"},"body":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"next_action.body.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"next_action.body","typeLabel":"object"}},"required":["tool","method","path"],"type":"object","uniqueKey":"next_action","typeLabel":"object"},"try_it":{"additionalProperties":false,"description":"Ways to hear the live agent now. Left out when nothing is callable.","properties":{"phone_numbers":{"items":{"type":"string","uniqueKey":"try_it.phone_numbers.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"try_it.phone_numbers","typeLabel":"string[]"},"ring_me":{"additionalProperties":false,"properties":{"ask_owner_first":{"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.ask_owner_first","typeLabel":"string"},"body":{"additionalProperties":false,"properties":{"agent_id":{"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.body.agent_id","typeLabel":"string"},"to":{"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.body.to","typeLabel":"string"}},"required":["agent_id","to"],"type":"object","isRequired":true,"uniqueKey":"try_it.ring_me.body","typeLabel":"object"},"method":{"enum":["POST"],"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.method","typeLabel":"enum\u003cstring>"},"path":{"enum":["/v1/call"],"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.path","typeLabel":"enum\u003cstring>"},"tool":{"oneOf":[{"description":"No MCP tool places a call; use the REST route in method and path.","enum":[null],"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.tool.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"No MCP tool places a call; use the REST route in method and path.","enum":[null],"type":"null","isRequired":true,"uniqueKey":"try_it.ring_me.tool.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"try_it.ring_me.tool","typeLabel":"enum\u003cstring> | null"},"warnings":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.warnings.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"try_it.ring_me.warnings.items.[INDEX].message","typeLabel":"string"}},"required":["code","message"],"type":"object","uniqueKey":"try_it.ring_me.warnings.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"try_it.ring_me.warnings","typeLabel":"object[]"}},"required":["tool","method","path","body","ask_owner_first"],"type":"object","isRequired":true,"uniqueKey":"try_it.ring_me","typeLabel":"object"},"web_link":{"type":"string","uniqueKey":"try_it.web_link","typeLabel":"string"},"web_link_serves":{"enum":["live"],"type":"string","uniqueKey":"try_it.web_link_serves","typeLabel":"enum\u003cstring>"}},"required":["phone_numbers","ring_me"],"type":"object","uniqueKey":"try_it","typeLabel":"object"},"warnings":{"items":{"additionalProperties":false,"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"warnings.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"}},"required":["code","message"],"type":"object","uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"warnings","typeLabel":"object[]"}},"required":["id","name","description","live_version_id","versioning_enabled","draft_pending","config","phone_numbers","revision","created_at"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"config":{"call_handling":{"greeting_interruptible":true,"idle_reminder":{"after_seconds":0,"enabled":true,"message":"\u003cstring>"},"max_duration_seconds":0,"silence_timeout_seconds":0},"greeting":"\u003cstring>","instructions":"\u003cstring>","languages":["\u003cstring>"],"model":{"id":"\u003cstring>"},"recording":{"consent":{"prompt":"\u003cstring>","type":"\u003cstring>"},"enabled":true,"transcript_enabled":true},"timezone":"\u003cstring>","transcriber":{"id":"\u003cstring>"},"voice":{"id":"\u003cstring>","speaking_rate":123},"voicemail":{"behavior":"\u003cstring>","message":"\u003cstring>"}},"created_at":"\u003cstring>","description":"\u003cstring>","draft_pending":true,"id":"\u003cstring>","live_version_id":"\u003cstring>","name":"\u003cstring>","phone_numbers":["\u003cstring>"],"revision":"\u003cstring>","versioning_enabled":true,"changed_fields":["\u003cstring>"],"next_action":{"method":"\u003cstring>","path":"\u003cstring>","tool":"\u003cstring>","body":{}},"try_it":{"phone_numbers":["\u003cstring>"],"ring_me":{"ask_owner_first":"\u003cstring>","body":{"agent_id":"\u003cstring>","to":"\u003cstring>"},"method":"POST","path":"/v1/call","tool":null,"warnings":[{"code":"\u003cstring>","message":"\u003cstring>"}]},"web_link":"\u003cstring>","web_link_serves":"live"},"warnings":[{"code":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"description":"","exampleType":"generated"},"cf607057-ac2c-48af-ad5e-146ef62df5ff":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"details","typeLabel":"object"},"errors":{"items":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].error_code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","error_code","message"],"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors","typeLabel":"object[]"},"hint":{"type":"string","uniqueKey":"hint","typeLabel":"string"},"next_action":{"additionalProperties":false,"properties":{"method":{"type":"string","isRequired":true,"uniqueKey":"next_action.method","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"next_action.path","typeLabel":"string"},"tool":{"type":"string","isRequired":true,"uniqueKey":"next_action.tool","typeLabel":"string"},"body":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"next_action.body.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"next_action.body","typeLabel":"object"}},"required":["tool","method","path"],"type":"object","uniqueKey":"next_action","typeLabel":"object"}},"required":["status","error_code","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error_code":"\u003cstring>","message":"\u003cstring>","status":0,"details":{},"errors":[{"error_code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}],"hint":"\u003cstring>","next_action":{"method":"\u003cstring>","path":"\u003cstring>","tool":"\u003cstring>","body":{}}}}},"exampleType":"generated"}},"description":"validation_failed, voice_not_available, model_not_available","exampleType":"generated"},"9c70211e-acc3-429d-a386-117da6d2a298":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"details","typeLabel":"object"},"errors":{"items":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].error_code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","error_code","message"],"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors","typeLabel":"object[]"},"hint":{"type":"string","uniqueKey":"hint","typeLabel":"string"},"next_action":{"additionalProperties":false,"properties":{"method":{"type":"string","isRequired":true,"uniqueKey":"next_action.method","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"next_action.path","typeLabel":"string"},"tool":{"type":"string","isRequired":true,"uniqueKey":"next_action.tool","typeLabel":"string"},"body":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"next_action.body.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"next_action.body","typeLabel":"object"}},"required":["tool","method","path"],"type":"object","uniqueKey":"next_action","typeLabel":"object"}},"required":["status","error_code","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error_code":"\u003cstring>","message":"\u003cstring>","status":0,"details":{},"errors":[{"error_code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}],"hint":"\u003cstring>","next_action":{"method":"\u003cstring>","path":"\u003cstring>","tool":"\u003cstring>","body":{}}}}},"exampleType":"generated"}},"description":"agent_limit_reached: the plan has no room for another agent; details.upgrade_url is the owner's upgrade page","exampleType":"generated"},"c3aed982-4585-4944-8c4c-a83964420c89":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"details","typeLabel":"object"},"errors":{"items":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].error_code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","error_code","message"],"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors","typeLabel":"object[]"},"hint":{"type":"string","uniqueKey":"hint","typeLabel":"string"},"next_action":{"additionalProperties":false,"properties":{"method":{"type":"string","isRequired":true,"uniqueKey":"next_action.method","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"next_action.path","typeLabel":"string"},"tool":{"type":"string","isRequired":true,"uniqueKey":"next_action.tool","typeLabel":"string"},"body":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"next_action.body.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"next_action.body","typeLabel":"object"}},"required":["tool","method","path"],"type":"object","uniqueKey":"next_action","typeLabel":"object"}},"required":["status","error_code","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error_code":"\u003cstring>","message":"\u003cstring>","status":0,"details":{},"errors":[{"error_code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}],"hint":"\u003cstring>","next_action":{"method":"\u003cstring>","path":"\u003cstring>","tool":"\u003cstring>","body":{}}}}},"exampleType":"generated"}},"description":"idempotency_key_in_flight: a request with this Idempotency-Key is still running","exampleType":"generated"},"447d9cf4-52d6-445a-9884-14ec9d7c8024":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"error_code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"details","typeLabel":"object"},"errors":{"items":{"additionalProperties":false,"properties":{"error_code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].error_code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","error_code","message"],"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"errors","typeLabel":"object[]"},"hint":{"type":"string","uniqueKey":"hint","typeLabel":"string"},"next_action":{"additionalProperties":false,"properties":{"method":{"type":"string","isRequired":true,"uniqueKey":"next_action.method","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"next_action.path","typeLabel":"string"},"tool":{"type":"string","isRequired":true,"uniqueKey":"next_action.tool","typeLabel":"string"},"body":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"next_action.body.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"next_action.body","typeLabel":"object"}},"required":["tool","method","path"],"type":"object","uniqueKey":"next_action","typeLabel":"object"}},"required":["status","error_code","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error_code":"\u003cstring>","message":"\u003cstring>","status":0,"details":{},"errors":[{"error_code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}],"hint":"\u003cstring>","next_action":{"method":"\u003cstring>","path":"\u003cstring>","tool":"\u003cstring>","body":{}}}}},"exampleType":"generated"}},"description":"idempotency_key_mismatch: this Idempotency-Key was used with a different body","exampleType":"generated"}},"security":{"259e378a-faf1-481a-8bed-6fd544245065":{"bearerAuth":{"bearerFormat":"JWT","description":"Enter your API key (Bearer token)","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"0abd13eb-12ec-4ab7-bd7e-251d9efb036d":{"description":"Production","url":"https://api.brilo.ai/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"JWT","description":"Enter your API key (Bearer token)","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your API key (Bearer token)","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"brilo","siteName":"Brilo","title":"Create an agent - Brilo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T14:47:21.582Z","originalFileLocation":"api-reference/agents-public/create-an-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates an agent with a live version \u0026quot;main\u0026quot; whose first commit is config, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Brilo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an agent - Brilo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates an agent with a live version \u0026quot;main\u0026quot; whose first commit is config, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Brilo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://brilo.mintlify.app/_mintlify/api/og/v2?division=Agents+and+versions\u0026amp;title=Create+an+agent\u0026amp;description=Creates+an+agent+with+a+live+version+%22main%22+whose+first+commit+is+%60config%60%2C+filled+in+from+your+plan+defaults+for+anything+you+leave+out.+Callers+can+reach+it+a\u0026amp;theme=766990d7eeea0701fa1fd69f\u0026amp;signature=2546afb66e99a207a31219f8f6e1f296c545a1ae8c12ed8a6cfdbbd57dd88d2c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create an agent - Brilo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates an agent with a live version \u0026quot;main\u0026quot; whose first commit is config, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://brilo.mintlify.app/_mintlify/api/og/v2?division=Agents+and+versions\u0026amp;title=Create+an+agent\u0026amp;description=Creates+an+agent+with+a+live+version+%22main%22+whose+first+commit+is+%60config%60%2C+filled+in+from+your+plan+defaults+for+anything+you+leave+out.+Callers+can+reach+it+a\u0026amp;theme=766990d7eeea0701fa1fd69f\u0026amp;signature=2546afb66e99a207a31219f8f6e1f296c545a1ae8c12ed8a6cfdbbd57dd88d2c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/brilo/ASd0F1aN8luMwk5v/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Brilo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8C7AE6\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents-public/create-an-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.brilo.ai/#organization\",\"name\":\"Brilo\",\"url\":\"https://docs.brilo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/brilo/MxABbmjUyMnseUhC/logo/light.png?fit=max\u0026auto=format\u0026n=MxABbmjUyMnseUhC\u0026q=85\u0026s=d4d6fb2d6eb070743955e91ad4de3991\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.brilo.ai#website\",\"name\":\"Brilo\",\"url\":\"https://docs.brilo.ai\",\"publisher\":{\"@id\":\"https://docs.brilo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent#webpage\",\"url\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent\",\"name\":\"Create an agent\",\"description\":\"Creates an agent with a live version \\\"main\\\" whose first commit is config, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.\",\"dateModified\":\"2026-10-29T14:47:21.582Z\",\"isPartOf\":{\"@id\":\"https://docs.brilo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.brilo.ai/api-reference/agents/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents and versions\",\"item\":\"https://docs.brilo.ai/api-reference/agents-public/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an agent\",\"item\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent#apireference\",\"headline\":\"Create an agent\",\"name\":\"Create an agent\",\"description\":\"Creates an agent with a live version \\\"main\\\" whose first commit is config, filled in from your plan defaults for anything you leave out. Callers can reach it as soon as a phone number is attached.\",\"url\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/create-an-agent#webpage\"},\"dateModified\":\"2026-10-29T14:47:21.582Z\",\"publisher\":{\"@id\":\"https://docs.brilo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.brilo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Brilo\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Brilo","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://brilo.ai/resources"},{"anchor":"Community","icon":{"style":"brands","name":"discord","library":"fontawesome"},"href":"https://discord.gg/4rjVc2Zt6P"}]},"tabs":[{"tab":"Guides","icon":"book","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","icon":"code-xml","groups":[{"group":"Endpoints","icon":"code-xml","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":null,"href":"/api-reference/endpoint/agent-builder"},{"title":"Call","href":"/api-reference/endpoint/call"},{"title":null,"href":"/api-reference/endpoint/call-tag"},{"title":null,"href":"/api-reference/endpoint/campaign"},{"title":null,"href":"/api-reference/endpoint/contact"},{"title":null,"href":"/api-reference/endpoint/custom-field"},{"title":null,"href":"/api-reference/endpoint/memory"},{"title":null,"href":"/api-reference/endpoint/list"},{"title":null,"href":"/api-reference/endpoint/voice"}]},{"group":"Agents","icon":"bot","pages":[{"title":"Change an agent through the API","href":"/api-reference/agents/quickstart"},{"title":"Versions are branches","href":"/api-reference/agents/versions"},{"title":"Buy and release phone numbers through the API","href":"/api-reference/agents/phone-numbers"},{"group":"Agents and versions","icon":"bot","pages":[{"title":"List agents","description":"The agents in your workspace, newest first. Filter by name with `name`; page with offset and limit.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents","href":"/api-reference/agents-public/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents","href":"/api-reference/agents-public/create-an-agent"},{"title":"Get an agent","description":"The agent with the config callers hear now (the live version, latest commit), whether a draft is waiting to be published, its phone numbers and its revision.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}","href":"/api-reference/agents-public/get-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /agents/{id}","href":"/api-reference/agents-public/update-an-agent"},{"title":"Publish an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/publish","href":"/api-reference/agents-public/publish-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agents/{id}","href":"/api-reference/agents-public/delete-an-agent"},{"title":"List versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/versions","href":"/api-reference/agents-public/list-versions"},{"title":"Create a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/versions","href":"/api-reference/agents-public/create-a-version"},{"title":"Get a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/versions/{vid}","href":"/api-reference/agents-public/get-a-version"},{"title":"Update a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /agents/{id}/versions/{vid}","href":"/api-reference/agents-public/update-a-version"},{"title":"Discard a draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agents/{id}/versions/{vid}/draft","href":"/api-reference/agents-public/discard-a-draft"},{"title":"Publish a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/versions/{vid}/publish","href":"/api-reference/agents-public/publish-a-version"},{"title":"Make a version live","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/versions/{vid}/go_live","href":"/api-reference/agents-public/make-a-version-live"},{"title":"List commits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/versions/{vid}/history","href":"/api-reference/agents-public/list-commits"},{"title":"Restore a commit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/versions/{vid}/restore","href":"/api-reference/agents-public/restore-a-commit"},{"title":"Delete a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agents/{id}/versions/{vid}","href":"/api-reference/agents-public/delete-a-version"}]},{"group":"Phone numbers","icon":"phone","pages":[{"title":"Search numbers to buy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone_numbers/available","href":"/api-reference/agents-public/search-numbers-to-buy"},{"title":"Buy a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /phone_numbers","href":"/api-reference/agents-public/buy-a-phone-number"},{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone_numbers","href":"/api-reference/agents-public/list-phone-numbers"},{"title":"Get a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone_numbers/{id}","href":"/api-reference/agents-public/get-a-phone-number"},{"title":"Keep a number set to be released","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /phone_numbers/{id}","href":"/api-reference/agents-public/keep-a-number-set-to-be-released"},{"title":"Release a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /phone_numbers/{id}","href":"/api-reference/agents-public/release-a-phone-number"},{"title":"List an agent's phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/phone_numbers","href":"/api-reference/agents-public/list-an-agents-phone-numbers"},{"title":"Attach phone numbers to an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/phone_numbers/attach","href":"/api-reference/agents-public/attach-phone-numbers-to-an-agent"},{"title":"Detach phone numbers from an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/phone_numbers/detach","href":"/api-reference/agents-public/detach-phone-numbers-from-an-agent"}]},{"group":"Share links","icon":"link","pages":[{"title":"Share Links","href":"/api-reference/endpoint/share-link"},{"title":"Create a share link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agent/{agent_id}/share-link","href":"/api-reference/share-links/create-a-share-link"},{"title":"Get an agent's share link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agent/{agent_id}/share-link","href":"/api-reference/share-links/get-an-agents-share-link"},{"title":"Update a share link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /agent/{agent_id}/share-link/{link_id}","href":"/api-reference/share-links/update-a-share-link"},{"title":"Replace a share link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agent/{agent_id}/share-link/{link_id}/regenerate","href":"/api-reference/share-links/replace-a-share-link"},{"title":"Turn off a share link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agent/{agent_id}/share-link/{link_id}","href":"/api-reference/share-links/turn-off-a-share-link"}]}]},{"group":"MCP server","icon":"unplug","pages":[{"title":"Brilo MCP server","href":"/api-reference/mcp/overview"},{"title":"Connect an MCP client","href":"/api-reference/mcp/connect"},{"title":"MCP tools","href":"/api-reference/mcp/tools"}]},{"group":"Agent pairing","icon":"smartphone","pages":[{"title":"Start pairing this assistant with a Brilo phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agent/onboarding/start","href":"/api-reference/agent-pairing/start-pairing-this-assistant-with-a-brilo-phone-number"},{"title":"Check whether the user has finished, and collect the API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agent/onboarding/poll","href":"/api-reference/agent-pairing/check-whether-the-user-has-finished-and-collect-the-api-key"},{"title":"How much of the plan is left right now","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /usage","href":"/api-reference/usage/how-much-of-the-plan-is-left-right-now"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Post-Call Webhook","href":"/api-reference/webhooks/post-call"}]}]},{"tab":"Integrations","icon":"unplug","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Changelog","icon":"history","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Create an agent - Brilo","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}