Commits the live version’s draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning nothing_to_publish, so a retry is safe.
{"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/publish-an-agent","slug":"/api-reference/agents-public/publish-an-agent","pageMetadata":{"title":"Publish an agent","description":"Commits the live version's draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning `nothing_to_publish`, so a retry is safe.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/publish","href":"/api-reference/agents-public/publish-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: [\"Commits the live version’s draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning \", _jsx(_components.code, {\n children: \"nothing_to_publish\"\n }), \", so a retry is safe.\"]\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":"Publish an agent","description":"Commits the live version's draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning `nothing_to_publish`, so a retry is safe.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/publish","href":"/api-reference/agents-public/publish-an-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Commits the live version's draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning `nothing_to_publish`, so a retry is safe.","operationId":"publishAgent","parameters":["0af4b75f-6ccf-41cc-a043-d4b6dedd432f","0fb3a8aa-fe89-46d3-b10f-100de1a1f8fe","cf3276cf-d64d-43b7-a07d-875619ccd76e"],"responses":{"200":"c8e74138-eba8-43ac-be1f-64ff9c187df3","404":"3dde6b24-6ff7-4d1c-994b-e607c28c7dfb","409":"01354d7b-e939-426c-a7e7-2151d6611ab4","422":"e207ee5b-5fd4-44bc-a1a1-944c26195790"},"security":["eddd4eee-2620-45e9-9157-77fa5d18d456"],"summary":"Publish an agent","tags":["Agents (public)"],"method":"post","type":"path","servers":["0abd13eb-12ec-4ab7-bd7e-251d9efb036d"],"path":"/agents/{id}/publish","baseUrlOptions":["https://api.brilo.ai/v1"],"title":"Publish an agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0af4b75f-6ccf-41cc-a043-d4b6dedd432f":{"description":"Agent id (UUID).","in":"path","name":"id","required":true,"schema":{"type":"string","isRequired":true,"description":"Agent id (UUID).","uniqueKey":"","typeLabel":"string"}},"0fb3a8aa-fe89-46d3-b10f-100de1a1f8fe":{"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"}},"cf3276cf-d64d-43b7-a07d-875619ccd76e":{"description":"The revision from your last read or write. If the object changed since, you get 409 stale_revision with the current object.","in":"header","name":"If-Match","required":false,"schema":{"type":"string","isRequired":false,"description":"The revision from your last read or write. If the object changed since, you get 409 stale_revision with the current object.","uniqueKey":"","typeLabel":"string"}}},"responses":{"c8e74138-eba8-43ac-be1f-64ff9c187df3":{"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"},"3dde6b24-6ff7-4d1c-994b-e607c28c7dfb":{"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_not_found","exampleType":"generated"},"01354d7b-e939-426c-a7e7-2151d6611ab4":{"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":"stale_revision, ab_test_active, idempotency_key_in_flight","exampleType":"generated"},"e207ee5b-5fd4-44bc-a1a1-944c26195790":{"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":{"eddd4eee-2620-45e9-9157-77fa5d18d456":{"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":"Publish an agent - Brilo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T14:47:21.630Z","originalFileLocation":"api-reference/agents-public/publish-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=\"Commits the live version\u0026#x27;s draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning nothing_to_publish, so a retry is safe.\">\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=\"Publish an agent - Brilo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Commits the live version\u0026#x27;s draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning nothing_to_publish, so a retry is safe.\">\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/publish-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=Publish+an+agent\u0026amp;description=Commits+the+live+version%27s+draft.+Callers+hear+it+on+their+next+call.+With+no+draft+nothing+changes+and+the+response+carries+the+warning+%60nothing_to_publish%60%2C+s\u0026amp;theme=766990d7eeea0701fa1fd69f\u0026amp;signature=420119badf438378bf224387c836b02a905ac21a5bc7f257dfe29a0408e556ce\">\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=\"Publish an agent - Brilo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Commits the live version\u0026#x27;s draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning nothing_to_publish, so a retry is safe.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://brilo.mintlify.app/_mintlify/api/og/v2?division=Agents+and+versions\u0026amp;title=Publish+an+agent\u0026amp;description=Commits+the+live+version%27s+draft.+Callers+hear+it+on+their+next+call.+With+no+draft+nothing+changes+and+the+response+carries+the+warning+%60nothing_to_publish%60%2C+s\u0026amp;theme=766990d7eeea0701fa1fd69f\u0026amp;signature=420119badf438378bf224387c836b02a905ac21a5bc7f257dfe29a0408e556ce\">\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/publish-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/publish-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/publish-an-agent#webpage\",\"url\":\"https://docs.brilo.ai/api-reference/agents-public/publish-an-agent\",\"name\":\"Publish an agent\",\"description\":\"Commits the live version's draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning nothing_to_publish, so a retry is safe.\",\"dateModified\":\"2026-10-29T14:47:21.630Z\",\"isPartOf\":{\"@id\":\"https://docs.brilo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/publish-an-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/publish-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\":\"Publish an agent\",\"item\":\"https://docs.brilo.ai/api-reference/agents-public/publish-an-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/publish-an-agent#apireference\",\"headline\":\"Publish an agent\",\"name\":\"Publish an agent\",\"description\":\"Commits the live version's draft. Callers hear it on their next call. With no draft nothing changes and the response carries the warning nothing_to_publish, so a retry is safe.\",\"url\":\"https://docs.brilo.ai/api-reference/agents-public/publish-an-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brilo.ai/api-reference/agents-public/publish-an-agent#webpage\"},\"dateModified\":\"2026-10-29T14:47:21.630Z\",\"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","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","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}","href":"/api-reference/agents-public/get-an-agent"},{"title":"Update an agent","description":"Changes `name` and `description` at once, and writes any `config` fields into a draft of the live version: callers hear nothing new until you publish. An agent without versions gets them on its first change (warning `versioning_enabled`). The response lists `changed_fields` and points at publish.","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","description":"Deletes the agent for good, with its versions and settings. Calls and contacts are kept. Refused with `agent_in_use` while phone numbers or campaigns still use it.","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":"Publish 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"]}