Partially updates a prompt. Only the fields present are applied.
status toggles between active and inactive: deactivating stops data collection and releases the prompt’s reserved credits while keeping its history in reports; activating a prompt is subject to the project’s prompt limit and the team’s available credits. A prompt’s persona variants follow its status. A persona variant (a prompt with a source_prompt_uuid) has no status of its own: sending status for one returns a 422 on status and changes nothing; remove its persona or delete the variant instead.
topic sets the topic by name; pass topic: null to clear it.
buying_stage sets the stage by hand, so the automatic classification keeps it.
add_personas and remove_personas change the personas the prompt is asked as, as PATCH /api/v1/projects/{project}/prompts/personas does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant’s answers.
A persona variant’s topic, buying stage and personas are its family’s: changing them through a variant changes them for the prompt it was created from and all of its variants.
Every field is checked before anything is written. Then topic, buying_stage, remove_personas and add_personas are written in that order in one transaction: when the added personas don’t fit the prompt limit or credits, the whole request is undone with a 422 on add_personas. status is applied last.
A prompt’s text, country and persona cannot be changed once created; sending text, country_code or persona returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.
Team API key created in Team Settings. Use it with URLs for the same team.
Path Parameters
project
string<uuid>
required
Project UUID.
prompt
string<uuid>
required
Prompt UUID.
Body
application/json
Partial update. Only the fields present are applied. A prompt's text, country and persona cannot be changed. Every field is checked before anything is written; then topic, buying_stage, remove_personas and add_personas are applied in that order, together, and status last.
topic
string | null
Topic name (created if it doesn't exist), or null to clear the topic.
Maximum string length: 255
status
enum<string>
Activating is subject to the project's prompt limit and the team's credits. Not accepted for a persona variant, which follows the status of the prompt it was created from (422 on status).
Available options:
active,
inactive
buying_stage
enum<string>
The buying stage of the prompt and its persona variants. For a persona variant it is set on the prompt it was created from, so the whole family changes. Kept as set: the automatic classification never overwrites it. Needs the tag edit permission.
Available options:
awareness,
consideration,
decision
add_personas
string[]
Also ask the prompt as these personas, each through a persona variant of its own that counts towards the prompt limit and credits. A persona already asked is left as it is. Only an active prompt can be asked as personas (422 on add_personas, also when the same request activates it: activate it first). When the variants don't fit the prompt limit or credits, the request is refused with a 422 on add_personas and nothing changes. Persona UUIDs or names (case-insensitive) of the project's live personas, at most the project's persona limit. An unknown or deleted persona is a 422 on add_personas.{index}; a persona in both lists is a 422 on remove_personas. For a persona variant they apply to the prompt it was created from. Needs the persona permission (projects:write).
Required array length: 1 - 10 elements
Maximum string length: 255
remove_personas
string[]
Stop asking the prompt as these personas by deleting their persona variants and their answers, which leave every report. A persona the prompt is not asked as changes nothing. A persona variant cannot remove its own persona (422 on remove_personas): delete it instead. Removals are applied before additions, so the places they free count for add_personas. Persona UUIDs or names (case-insensitive) of the project's live personas, at most the project's persona limit. An unknown or deleted persona is a 422 on remove_personas.{index}; a persona in both lists is a 422 on remove_personas. For a persona variant they apply to the prompt it was created from. Needs the persona permission (projects:write).
Required array length: 1 - 10 elements
Maximum string length: 255
Response
The updated prompt, with persona_prompts listing the personas it is now asked as.
uuid
string<uuid>
required
text
string
required
The prompt text.
keyword
string | null
required
status
enum<string>
required
Available options:
suggestion,
declined,
inactive,
active
search_volume
integer | null
required
Most recent search volume for the prompt's keyword, when known.
topic
object | null
required
Show child attributes
persona
object | null
required
The persona the prompt is asked as, or null for a generic prompt (reported as no_persona, the Baseline in the app).
Show child attributes
source_prompt_uuid
string<uuid> | null
required
For a prompt asked as a persona (a persona variant), the prompt it was created from, whose text it shares. Null for every other prompt.
persona_prompts
object[] | null
required
The personas a prompt without a persona is asked as: one entry per live persona variant, with the variant's uuid and its persona, ordered by persona name. Empty when the prompt is asked as no persona; null for a persona variant, which is asked as its own persona. Change it with add_personas and remove_personas on PATCH /api/v1/projects/{project}/prompts/{prompt}.
Show child attributes
buying_stage
enum<string>
required
The prompt's buying stage. A prompt and its persona variants always share one stage. A new prompt is consideration until it is classified, usually within minutes. Set it with buying_stage on PATCH /api/v1/projects/{project}/prompts/{prompt}.
Available options:
awareness,
consideration,
decision
country
object
required
Show child attributes
tags
object[]
required
Show child attributes
created_at
string<date-time>
required
updated_at
string<date-time>
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Surfacd","colors":{"primary":"#0022FF","light":"#DCFAFF","dark":"#0022FF"},"logo":{"light":"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/logo/logo.svg?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=85d232e50682fcc869278871aa268280","dark":"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/logo/dark-mode-logo.svg?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=0565d6e3852ca4ae622cba323c05c578"},"favicon":"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/favicon/favicon.ico?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=3a80d8cdb1f5d36c3cbb2f2b86ba9dd7","background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://surfacd.com","label":"Home"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.surfacd.com"}},"footer":{"socials":{}},"fonts":{"family":"Zalando Sans"},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"surfacd","hasAudioNarration":false,"actualSubdomain":"surfacd","customDomains":["docs.surfacd.com"],"gitSource":{"type":"github","owner":"clarityglobal","repo":"ai-visibility","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0d89b41fede81c4af06c22","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"Docs","count":42},{"language":"default","tag":"Projects","count":21},{"language":"default","tag":"Reputation","count":18},{"language":"default","tag":"Team","count":15},{"language":"default","tag":"Reporting","count":10},{"language":"default","tag":"Reports \u0026 Analysis","count":9},{"language":"default","tag":"API \u0026 MCP","count":8},{"language":"default","tag":"Prompts","count":7},{"language":"default","tag":"Account","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"rbac-expansion","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":"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":"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":"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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".nav-logo{height:40px!important;padding:3px}#page-title{font-weight:600}"}]}
{"page":{"pagePath":"api-reference/prompts/update-prompt","slug":"/api-reference/prompts/update-prompt","pageMetadata":{"title":"Update Prompt","description":"Partially updates a prompt. Only the fields present are applied.\n\n- `status` toggles between `active` and `inactive`: deactivating stops data collection and releases the prompt's reserved credits while keeping its history in reports; activating a prompt is subject to the project's prompt limit and the team's available credits. A prompt's persona variants follow its status. A persona variant (a prompt with a `source_prompt_uuid`) has no status of its own: sending `status` for one returns a 422 on `status` and changes nothing; remove its persona or delete the variant instead.\n- `topic` sets the topic by name; pass `topic: null` to clear it.\n- `buying_stage` sets the stage by hand, so the automatic classification keeps it.\n- `add_personas` and `remove_personas` change the personas the prompt is asked as, as `PATCH /api/v1/projects/{project}/prompts/personas` does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant's answers.\n\nA persona variant's topic, buying stage and personas are its family's: changing them through a variant changes them for the prompt it was created from and all of its variants.\n\nEvery field is checked before anything is written. Then `topic`, `buying_stage`, `remove_personas` and `add_personas` are written in that order in one transaction: when the added personas don't fit the prompt limit or credits, the whole request is undone with a `422` on `add_personas`. `status` is applied last.\n\nA prompt's text, country and persona cannot be changed once created; sending `text`, `country_code` or `persona` returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/update-prompt","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Partially updates a prompt. Only the fields present are applied.\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"status\"\n }), \" toggles between \", _jsx(_components.code, {\n children: \"active\"\n }), \" and \", _jsx(_components.code, {\n children: \"inactive\"\n }), \": deactivating stops data collection and releases the prompt’s reserved credits while keeping its history in reports; activating a prompt is subject to the project’s prompt limit and the team’s available credits. A prompt’s persona variants follow its status. A persona variant (a prompt with a \", _jsx(_components.code, {\n children: \"source_prompt_uuid\"\n }), \") has no status of its own: sending \", _jsx(_components.code, {\n children: \"status\"\n }), \" for one returns a 422 on \", _jsx(_components.code, {\n children: \"status\"\n }), \" and changes nothing; remove its persona or delete the variant instead.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"topic\"\n }), \" sets the topic by name; pass \", _jsx(_components.code, {\n children: \"topic: null\"\n }), \" to clear it.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"buying_stage\"\n }), \" sets the stage by hand, so the automatic classification keeps it.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"add_personas\"\n }), \" and \", _jsx(_components.code, {\n children: \"remove_personas\"\n }), \" change the personas the prompt is asked as, as \", _jsx(_components.code, {\n children: \"PATCH /api/v1/projects/{project}/prompts/personas\"\n }), \" does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant’s answers.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"A persona variant’s topic, buying stage and personas are its family’s: changing them through a variant changes them for the prompt it was created from and all of its variants.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Every field is checked before anything is written. Then \", _jsx(_components.code, {\n children: \"topic\"\n }), \", \", _jsx(_components.code, {\n children: \"buying_stage\"\n }), \", \", _jsx(_components.code, {\n children: \"remove_personas\"\n }), \" and \", _jsx(_components.code, {\n children: \"add_personas\"\n }), \" are written in that order in one transaction: when the added personas don’t fit the prompt limit or credits, the whole request is undone with a \", _jsx(_components.code, {\n children: \"422\"\n }), \" on \", _jsx(_components.code, {\n children: \"add_personas\"\n }), \". \", _jsx(_components.code, {\n children: \"status\"\n }), \" is applied last.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A prompt’s text, country and persona cannot be changed once created; sending \", _jsx(_components.code, {\n children: \"text\"\n }), \", \", _jsx(_components.code, {\n children: \"country_code\"\n }), \" or \", _jsx(_components.code, {\n children: \"persona\"\n }), \" returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.\"]\n })]\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":"Update Prompt","description":"Partially updates a prompt. Only the fields present are applied.\n\n- `status` toggles between `active` and `inactive`: deactivating stops data collection and releases the prompt's reserved credits while keeping its history in reports; activating a prompt is subject to the project's prompt limit and the team's available credits. A prompt's persona variants follow its status. A persona variant (a prompt with a `source_prompt_uuid`) has no status of its own: sending `status` for one returns a 422 on `status` and changes nothing; remove its persona or delete the variant instead.\n- `topic` sets the topic by name; pass `topic: null` to clear it.\n- `buying_stage` sets the stage by hand, so the automatic classification keeps it.\n- `add_personas` and `remove_personas` change the personas the prompt is asked as, as `PATCH /api/v1/projects/{project}/prompts/personas` does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant's answers.\n\nA persona variant's topic, buying stage and personas are its family's: changing them through a variant changes them for the prompt it was created from and all of its variants.\n\nEvery field is checked before anything is written. Then `topic`, `buying_stage`, `remove_personas` and `add_personas` are written in that order in one transaction: when the added personas don't fit the prompt limit or credits, the whole request is undone with a `422` on `add_personas`. `status` is applied last.\n\nA prompt's text, country and persona cannot be changed once created; sending `text`, `country_code` or `persona` returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/update-prompt","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v1PromptsUpdate","summary":"Update Prompt","description":"Partially updates a prompt. Only the fields present are applied.\n\n- `status` toggles between `active` and `inactive`: deactivating stops data collection and releases the prompt's reserved credits while keeping its history in reports; activating a prompt is subject to the project's prompt limit and the team's available credits. A prompt's persona variants follow its status. A persona variant (a prompt with a `source_prompt_uuid`) has no status of its own: sending `status` for one returns a 422 on `status` and changes nothing; remove its persona or delete the variant instead.\n- `topic` sets the topic by name; pass `topic: null` to clear it.\n- `buying_stage` sets the stage by hand, so the automatic classification keeps it.\n- `add_personas` and `remove_personas` change the personas the prompt is asked as, as `PATCH /api/v1/projects/{project}/prompts/personas` does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant's answers.\n\nA persona variant's topic, buying stage and personas are its family's: changing them through a variant changes them for the prompt it was created from and all of its variants.\n\nEvery field is checked before anything is written. Then `topic`, `buying_stage`, `remove_personas` and `add_personas` are written in that order in one transaction: when the added personas don't fit the prompt limit or credits, the whole request is undone with a `422` on `add_personas`. `status` is applied last.\n\nA prompt's text, country and persona cannot be changed once created; sending `text`, `country_code` or `persona` returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.","tags":["Prompts"],"requestBody":"496f2109-e822-4c31-bfb0-7e15f66772f0","responses":{"200":"588f29c1-da1a-46ae-bb44-a4cf8f94750d","403":"6d833a92-6d04-4df8-bf7a-01f88aafb167","404":"cb009bb4-3b95-4582-839e-3e95ad9d686c","422":"7269f99d-1353-4a1b-aa46-a16987b4d688"},"method":"patch","type":"path","servers":["40987979-fbe0-44ec-945f-c34c656e757b"],"security":["67a1c72b-0808-4b83-b7c8-9e065d97fa1f"],"path":"/api/v1/projects/{project}/prompts/{prompt}","baseUrlOptions":["https://app.surfacd.com"],"title":"Update Prompt","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4ca5d6e4-c57d-495e-b6a4-3ce29bc42a6b":{"name":"project","in":"path","required":true,"description":"Project UUID.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Project UUID.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"f6fdbd69-0d4b-473b-b20d-eea498d6db3d":{"name":"prompt","in":"path","required":true,"description":"Prompt UUID.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Prompt UUID.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Partial update. Only the fields present are applied. A prompt's text, country and persona cannot be changed. Every field is checked before anything is written; then `topic`, `buying_stage`, `remove_personas` and `add_personas` are applied in that order, together, and `status` last.","properties":{"topic":{"oneOf":[{"type":"string","maxLength":255,"description":"Topic name (created if it doesn't exist), or null to clear the topic.","uniqueKey":"topic.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"description":"Topic name (created if it doesn't exist), or null to clear the topic.","uniqueKey":"topic.oneOf.1","typeLabel":"null"}],"uniqueKey":"topic","typeLabel":"string | null"},"status":{"type":"string","enum":["active","inactive"],"description":"Activating is subject to the project's prompt limit and the team's credits. Not accepted for a persona variant, which follows the status of the prompt it was created from (422 on `status`).","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"buying_stage":{"type":"string","enum":["awareness","consideration","decision"],"description":"The buying stage of the prompt and its persona variants. For a persona variant it is set on the prompt it was created from, so the whole family changes. Kept as set: the automatic classification never overwrites it. Needs the tag edit permission.","uniqueKey":"buying_stage","typeLabel":"enum\u003cstring>"},"add_personas":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"string","maxLength":255,"uniqueKey":"add_personas.items.[INDEX]","typeLabel":"string"},"description":"Also ask the prompt as these personas, each through a persona variant of its own that counts towards the prompt limit and credits. A persona already asked is left as it is. Only an active prompt can be asked as personas (`422` on `add_personas`, also when the same request activates it: activate it first). When the variants don't fit the prompt limit or credits, the request is refused with a `422` on `add_personas` and nothing changes. Persona UUIDs or names (case-insensitive) of the project's live personas, at most the project's persona limit. An unknown or deleted persona is a `422` on `add_personas.{index}`; a persona in both lists is a `422` on `remove_personas`. For a persona variant they apply to the prompt it was created from. Needs the persona permission (`projects:write`).","uniqueKey":"add_personas","typeLabel":"string[]"},"remove_personas":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"string","maxLength":255,"uniqueKey":"remove_personas.items.[INDEX]","typeLabel":"string"},"description":"Stop asking the prompt as these personas by deleting their persona variants and their answers, which leave every report. A persona the prompt is not asked as changes nothing. A persona variant cannot remove its own persona (`422` on `remove_personas`): delete it instead. Removals are applied before additions, so the places they free count for `add_personas`. Persona UUIDs or names (case-insensitive) of the project's live personas, at most the project's persona limit. An unknown or deleted persona is a `422` on `remove_personas.{index}`; a persona in both lists is a `422` on `remove_personas`. For a persona variant they apply to the prompt it was created from. Needs the persona permission (`projects:write`).","uniqueKey":"remove_personas","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"topic":"\u003cstring>","add_personas":["\u003cstring>"],"remove_personas":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"588f29c1-da1a-46ae-bb44-a4cf8f94750d":{"description":"The updated prompt, with `persona_prompts` listing the personas it is now asked as.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"uuid","typeLabel":"string\u003cuuid>"},"text":{"type":"string","description":"The prompt text.","isRequired":true,"uniqueKey":"text","typeLabel":"string"},"keyword":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"keyword.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"keyword.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"keyword","typeLabel":"string | null"},"status":{"type":"string","enum":["suggestion","declined","inactive","active"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"search_volume":{"oneOf":[{"type":"integer","description":"Most recent search volume for the prompt's keyword, when known.","isRequired":true,"uniqueKey":"search_volume.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Most recent search volume for the prompt's keyword, when known.","isRequired":true,"uniqueKey":"search_volume.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"search_volume","typeLabel":"integer | null"},"topic":{"oneOf":[{"type":"object","required":["uuid","name"],"properties":{"uuid":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"topic.oneOf.0.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"topic.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"topic.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"topic.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"topic","typeLabel":"object | null"},"persona":{"oneOf":[{"type":"object","description":"The persona the prompt is asked as, or null for a generic prompt (reported as `no_persona`, the Baseline in the app).","required":["uuid","name"],"properties":{"uuid":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"persona.oneOf.0.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"persona.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"persona.oneOf.0","typeLabel":"object"},{"type":"null","description":"The persona the prompt is asked as, or null for a generic prompt (reported as `no_persona`, the Baseline in the app).","isRequired":true,"uniqueKey":"persona.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"persona","typeLabel":"object | null"},"source_prompt_uuid":{"oneOf":[{"type":"string","format":"uuid","description":"For a prompt asked as a persona (a persona variant), the prompt it was created from, whose text it shares. Null for every other prompt.","isRequired":true,"uniqueKey":"source_prompt_uuid.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"For a prompt asked as a persona (a persona variant), the prompt it was created from, whose text it shares. Null for every other prompt.","isRequired":true,"uniqueKey":"source_prompt_uuid.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source_prompt_uuid","typeLabel":"string\u003cuuid> | null"},"persona_prompts":{"oneOf":[{"type":"array","items":{"type":"object","description":"A persona a prompt is asked as: the persona variant that asks it (fetch it with `GET /api/v1/projects/{project}/prompts/{prompt}`) and its persona.","properties":{"uuid":{"type":"string","format":"uuid","description":"The persona variant's UUID.","isRequired":true,"uniqueKey":"persona_prompts.oneOf.0.items.[INDEX].uuid","typeLabel":"string\u003cuuid>"},"persona":{"type":"object","description":"Compact reference to the persona a prompt is asked as. Fetch the full persona with `GET /api/v1/projects/{project}/personas/{persona}`.","properties":{"uuid":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"persona_prompts.oneOf.0.items.[INDEX].persona.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"persona_prompts.oneOf.0.items.[INDEX].persona.name","typeLabel":"string"}},"required":["uuid","name"],"isRequired":true,"uniqueKey":"persona_prompts.oneOf.0.items.[INDEX].persona","typeLabel":"object"}},"required":["uuid","persona"],"uniqueKey":"persona_prompts.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"The personas a prompt without a persona is asked as: one entry per live persona variant, with the variant's `uuid` and its `persona`, ordered by persona name. Empty when the prompt is asked as no persona; null for a persona variant, which is asked as its own `persona`. Change it with `add_personas` and `remove_personas` on `PATCH /api/v1/projects/{project}/prompts/{prompt}`.","isRequired":true,"uniqueKey":"persona_prompts.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A persona a prompt is asked as: the persona variant that asks it (fetch it with `GET /api/v1/projects/{project}/prompts/{prompt}`) and its persona.","properties":{"uuid":{"type":"string","format":"uuid","description":"The persona variant's UUID."},"persona":{"type":"object","description":"Compact reference to the persona a prompt is asked as. Fetch the full persona with `GET /api/v1/projects/{project}/personas/{persona}`.","properties":{"uuid":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["uuid","name"]}},"required":["uuid","persona"]},"description":"The personas a prompt without a persona is asked as: one entry per live persona variant, with the variant's `uuid` and its `persona`, ordered by persona name. Empty when the prompt is asked as no persona; null for a persona variant, which is asked as its own `persona`. Change it with `add_personas` and `remove_personas` on `PATCH /api/v1/projects/{project}/prompts/{prompt}`.","isRequired":true,"uniqueKey":"persona_prompts.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"persona_prompts","typeLabel":"object[] | null"},"buying_stage":{"type":"string","enum":["awareness","consideration","decision"],"description":"The prompt's buying stage. A prompt and its persona variants always share one stage. A new prompt is `consideration` until it is classified, usually within minutes. Set it with `buying_stage` on `PATCH /api/v1/projects/{project}/prompts/{prompt}`.","isRequired":true,"uniqueKey":"buying_stage","typeLabel":"enum\u003cstring>"},"country":{"type":"object","properties":{"code":{"type":"string","description":"ISO 3166-1 alpha-2 country code (lowercase).","isRequired":true,"uniqueKey":"country.code","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"country.name","typeLabel":"string"}},"required":["code","name"],"isRequired":true,"uniqueKey":"country","typeLabel":"object"},"tags":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"tags.items.[INDEX].uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"tags.items.[INDEX].name","typeLabel":"string"},"color":{"oneOf":[{"type":"string","enum":["gray","blue","cyan","purple","pink","red","orange","yellow","green","teal",null],"description":"Tag chip colour palette name. Allowed values: gray, blue, cyan, purple, pink, red, orange, yellow, green, teal. Null or omitted displays as gray in the UI. Hex colours are not accepted.","isRequired":true,"uniqueKey":"tags.items.[INDEX].color.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["gray","blue","cyan","purple","pink","red","orange","yellow","green","teal",null],"description":"Tag chip colour palette name. Allowed values: gray, blue, cyan, purple, pink, red, orange, yellow, green, teal. Null or omitted displays as gray in the UI. Hex colours are not accepted.","isRequired":true,"uniqueKey":"tags.items.[INDEX].color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tags.items.[INDEX].color","typeLabel":"enum\u003cstring> | null"}},"required":["uuid","name","color"],"uniqueKey":"tags.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"tags","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"required":["uuid","text","keyword","status","search_volume","topic","persona","source_prompt_uuid","persona_prompts","buying_stage","country","tags","created_at","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","text":"\u003cstring>","keyword":"\u003cstring>","status":"suggestion","search_volume":123,"topic":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>"},"persona":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>"},"source_prompt_uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","persona_prompts":[{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","persona":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>"}}],"buying_stage":"awareness","country":{"code":"\u003cstring>","name":"\u003cstring>"},"tags":[{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","color":"gray"}],"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"6d833a92-6d04-4df8-bf7a-01f88aafb167":{"description":"The API key lacks the `projects:write` scope, or the change needs a permission it does not have.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"cb009bb4-3b95-4582-839e-3e95ad9d686c":{"description":"Prompt not found in the current team.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7269f99d-1353-4a1b-aa46-a16987b4d688":{"description":"Validation failed.","content":{"application/json":{"schema":{"type":"object","description":"Returned when one or more request parameters fail validation.","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object"}},"required":["message","errors"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"67a1c72b-0808-4b83-b7c8-9e065d97fa1f":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"token","description":"Team API key created in Team Settings. Use it with URLs for the same team.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"40987979-fbe0-44ec-945f-c34c656e757b":{"url":"https://app.surfacd.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"token","description":"Team API key created in Team Settings. Use it with URLs for the same team.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Team API key created in Team Settings. Use it with URLs for the same team.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"surfacd","siteName":"Surfacd","title":"Update Prompt - Surfacd","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T10:01:08.354Z","originalFileLocation":"api-reference/prompts/update-prompt.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=\"system\"}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=\"Partially updates a prompt. Only the fields present are applied. - status toggles between active and inactive: deactivating stops data collection and releases the prompt\u0026#x27;s reserved credits while keeping its history in reports; activating a prompt is subject to the project\u0026#x27;s prompt limit and the team\u0026#x27;s available credits. A prompt\u0026#x27;s persona variants follow its status. A persona variant (a prompt with a source_prompt_uuid) has no status of its own: sending status for one returns a 422 on status and changes nothing; remove its persona or delete the variant instead. - topic sets the topic by name; pass topic: null to clear it. - buying_stage sets the stage by hand, so the automatic classification keeps it. - add_personas and remove_personas change the personas the prompt is asked as, as PATCH /api/v1/projects/{project}/prompts/personas does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant\u0026#x27;s answers. A persona variant\u0026#x27;s topic, buying stage and personas are its family\u0026#x27;s: changing them through a variant changes them for the prompt it was created from and all of its variants. Every field is checked before anything is written. Then topic, buying_stage, remove_personas and add_personas are written in that order in one transaction: when the added personas don\u0026#x27;t fit the prompt limit or credits, the whole request is undone with a 422 on add_personas. status is applied last. A prompt\u0026#x27;s text, country and persona cannot be changed once created; sending text, country_code or persona returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Surfacd\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_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/surfacd/CCDK0O2pAaAm02eC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Prompt - Surfacd\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partially updates a prompt. Only the fields present are applied. - status toggles between active and inactive: deactivating stops data collection and releases the prompt\u0026#x27;s reserved credits while keeping its history in reports; activating a prompt is subject to the project\u0026#x27;s prompt limit and the team\u0026#x27;s available credits. A prompt\u0026#x27;s persona variants follow its status. A persona variant (a prompt with a source_prompt_uuid) has no status of its own: sending status for one returns a 422 on status and changes nothing; remove its persona or delete the variant instead. - topic sets the topic by name; pass topic: null to clear it. - buying_stage sets the stage by hand, so the automatic classification keeps it. - add_personas and remove_personas change the personas the prompt is asked as, as PATCH /api/v1/projects/{project}/prompts/personas does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant\u0026#x27;s answers. A persona variant\u0026#x27;s topic, buying stage and personas are its family\u0026#x27;s: changing them through a variant changes them for the prompt it was created from and all of its variants. Every field is checked before anything is written. Then topic, buying_stage, remove_personas and add_personas are written in that order in one transaction: when the added personas don\u0026#x27;t fit the prompt limit or credits, the whole request is undone with a 422 on add_personas. status is applied last. A prompt\u0026#x27;s text, country and persona cannot be changed once created; sending text, country_code or persona returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Surfacd\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.surfacd.com/api-reference/prompts/update-prompt\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://surfacd.mintlify.site/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Update+Prompt\u0026amp;description=Partially+updates+a+prompt.+Only+the+fields+present+are+applied.%0A%0A-+%60status%60+toggles+between+%60active%60+and+%60inactive%60%3A+deactivating+stops+data+collection+and+rel\u0026amp;theme=35819ffbe2459afb1f458868\u0026amp;signature=21020b9ec42e12b1d8d24804fae7f5e3e7626c203840849df21ec1b9a0c54ffa\">\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=\"Update Prompt - Surfacd\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partially updates a prompt. Only the fields present are applied. - status toggles between active and inactive: deactivating stops data collection and releases the prompt\u0026#x27;s reserved credits while keeping its history in reports; activating a prompt is subject to the project\u0026#x27;s prompt limit and the team\u0026#x27;s available credits. A prompt\u0026#x27;s persona variants follow its status. A persona variant (a prompt with a source_prompt_uuid) has no status of its own: sending status for one returns a 422 on status and changes nothing; remove its persona or delete the variant instead. - topic sets the topic by name; pass topic: null to clear it. - buying_stage sets the stage by hand, so the automatic classification keeps it. - add_personas and remove_personas change the personas the prompt is asked as, as PATCH /api/v1/projects/{project}/prompts/personas does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant\u0026#x27;s answers. A persona variant\u0026#x27;s topic, buying stage and personas are its family\u0026#x27;s: changing them through a variant changes them for the prompt it was created from and all of its variants. Every field is checked before anything is written. Then topic, buying_stage, remove_personas and add_personas are written in that order in one transaction: when the added personas don\u0026#x27;t fit the prompt limit or credits, the whole request is undone with a 422 on add_personas. status is applied last. A prompt\u0026#x27;s text, country and persona cannot be changed once created; sending text, country_code or persona returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://surfacd.mintlify.site/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Update+Prompt\u0026amp;description=Partially+updates+a+prompt.+Only+the+fields+present+are+applied.%0A%0A-+%60status%60+toggles+between+%60active%60+and+%60inactive%60%3A+deactivating+stops+data+collection+and+rel\u0026amp;theme=35819ffbe2459afb1f458868\u0026amp;signature=21020b9ec42e12b1d8d24804fae7f5e3e7626c203840849df21ec1b9a0c54ffa\">\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/surfacd/CCDK0O2pAaAm02eC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Surfacd\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0022FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.surfacd.com/api-reference/prompts/update-prompt\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/prompts/update-prompt.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.surfacd.com/#organization\",\"name\":\"Surfacd\",\"url\":\"https://docs.surfacd.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/surfacd/65GopWtG2yt60uTI/logo/logo.svg?fit=max\u0026auto=format\u0026n=65GopWtG2yt60uTI\u0026q=85\u0026s=85d232e50682fcc869278871aa268280\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.surfacd.com#website\",\"name\":\"Surfacd\",\"url\":\"https://docs.surfacd.com\",\"publisher\":{\"@id\":\"https://docs.surfacd.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt#webpage\",\"url\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt\",\"name\":\"Update Prompt\",\"description\":\"Partially updates a prompt. Only the fields present are applied. - status toggles between active and inactive: deactivating stops data collection and releases the prompt's reserved credits while keeping its history in reports; activating a prompt is subject to the project's prompt limit and the team's available credits. A prompt's persona variants follow its status. A persona variant (a prompt with a source_prompt_uuid) has no status of its own: sending status for one returns a 422 on status and changes nothing; remove its persona or delete the variant instead. - topic sets the topic by name; pass topic: null to clear it. - buying_stage sets the stage by hand, so the automatic classification keeps it. - add_personas and remove_personas change the personas the prompt is asked as, as PATCH /api/v1/projects/{project}/prompts/personas does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant's answers. A persona variant's topic, buying stage and personas are its family's: changing them through a variant changes them for the prompt it was created from and all of its variants. Every field is checked before anything is written. Then topic, buying_stage, remove_personas and add_personas are written in that order in one transaction: when the added personas don't fit the prompt limit or credits, the whole request is undone with a 422 on add_personas. status is applied last. A prompt's text, country and persona cannot be changed once created; sending text, country_code or persona returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.\",\"dateModified\":\"2026-11-18T10:01:08.354Z\",\"isPartOf\":{\"@id\":\"https://docs.surfacd.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prompts\",\"item\":\"https://docs.surfacd.com/api-reference/prompts/list-prompts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Prompt\",\"item\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt#apireference\",\"headline\":\"Update Prompt\",\"name\":\"Update Prompt\",\"description\":\"Partially updates a prompt. Only the fields present are applied. - status toggles between active and inactive: deactivating stops data collection and releases the prompt's reserved credits while keeping its history in reports; activating a prompt is subject to the project's prompt limit and the team's available credits. A prompt's persona variants follow its status. A persona variant (a prompt with a source_prompt_uuid) has no status of its own: sending status for one returns a 422 on status and changes nothing; remove its persona or delete the variant instead. - topic sets the topic by name; pass topic: null to clear it. - buying_stage sets the stage by hand, so the automatic classification keeps it. - add_personas and remove_personas change the personas the prompt is asked as, as PATCH /api/v1/projects/{project}/prompts/personas does for one prompt. There is no replace: remove some personas and add others in the same request. Removing a persona deletes its variant and the variant's answers. A persona variant's topic, buying stage and personas are its family's: changing them through a variant changes them for the prompt it was created from and all of its variants. Every field is checked before anything is written. Then topic, buying_stage, remove_personas and add_personas are written in that order in one transaction: when the added personas don't fit the prompt limit or credits, the whole request is undone with a 422 on add_personas. status is applied last. A prompt's text, country and persona cannot be changed once created; sending text, country_code or persona returns a 422. To track different wording or another country, create a new prompt and deactivate this one. Keyword and search volume are pipeline-generated and cannot be set.\",\"url\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt\",\"mainEntityOfPage\":{\"@id\":\"https://docs.surfacd.com/api-reference/prompts/update-prompt#webpage\"},\"dateModified\":\"2026-11-18T10:01:08.354Z\",\"publisher\":{\"@id\":\"https://docs.surfacd.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.surfacd.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Surfacd\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Surfacd\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/prompts/update-prompt.md","siteName":"Surfacd","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"Reference","pages":[{"title":"List available countries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/countries","href":"/api-reference/reference/list-available-countries"},{"title":"List available platforms","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/platforms","href":"/api-reference/reference/list-available-platforms"},{"title":"List domain categories","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/domain-categories","href":"/api-reference/reference/list-domain-categories"},{"title":"List Brands","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/brands","href":"/api-reference/reference/list-brands"},{"title":"List Topics","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/topics","href":"/api-reference/reference/list-topics"}]},{"group":"Projects","pages":[{"title":"List Projects","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects","href":"/api-reference/projects/list-projects"},{"title":"Create Project","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects","href":"/api-reference/projects/create-project"},{"title":"Show Project","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}","href":"/api-reference/projects/show-project"},{"title":"Delete Project","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}","href":"/api-reference/projects/delete-project"},{"title":"Update Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}","href":"/api-reference/projects/update-project"},{"title":"Archive or Restore Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/archive","href":"/api-reference/projects/archive-or-restore-project"},{"title":"Promote Pitch Project","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/promote","href":"/api-reference/projects/promote-pitch-project"},{"title":"Manage Project Sharing","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/share","href":"/api-reference/projects/manage-project-sharing"},{"title":"List Projects (team-scoped)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/projects","href":"/api-reference/projects/list-projects-team-scoped"},{"title":"Create Project (team-scoped)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/teams/{teamUuid}/projects","href":"/api-reference/projects/create-project-team-scoped"}]},{"group":"Prompts","pages":[{"title":"List Prompts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Create Prompts","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/prompts","href":"/api-reference/prompts/create-prompts"},{"title":"Show Prompt","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/show-prompt"},{"title":"Delete Prompt","description":"Deletes a prompt, removing it and its history from reports, and recalculates the project's reserved credits. A persona variant (a prompt with a `source_prompt_uuid`) can be deleted while active: this stops asking the prompt it was created from as that persona, and leaves that prompt and its other variants as they are. Any other prompt must be inactive first: set an active prompt's `status` to `inactive`, which stops collection but keeps its history in reports. Deleting a prompt also deletes its persona variants. Returns 422 if a prompt that is not a persona variant is still active, and 404 if the prompt's project does not belong to the current team.","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/delete-prompt"},{"title":"Update Prompt","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/{prompt}","href":"/api-reference/prompts/update-prompt"},{"title":"Update Prompt Tags","description":"Bulk-updates tags across one or more of a project's prompts. Each entry targets a prompt by UUID and either replaces its tags wholesale (`sync`) or applies incremental changes (`add` / `remove`). `sync` cannot be combined with `add`/`remove`, and each entry must specify at least one of the three. Tags are referenced by UUID and must already exist on the project; use `/api/v1/projects/{project}/tags` to create or list them. The whole request is applied atomically.","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/tags","href":"/api-reference/prompts/update-prompt-tags"},{"title":"Update Prompt Personas","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/prompts/personas","href":"/api-reference/prompts/update-prompt-personas"}]},{"group":"Reporting","pages":[{"title":"Brand Rankings","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/brand-rankings","href":"/api-reference/reporting/brand-rankings"},{"title":"Visibility Over Time","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/visibility-over-time","href":"/api-reference/reporting/visibility-over-time"},{"title":"Visibility Change Decomposition","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/visibility-decomposition","href":"/api-reference/reporting/visibility-change-decomposition"},{"title":"Brand Mentions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/mentions","href":"/api-reference/reporting/brand-mentions"},{"title":"Matrix Analysis","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/matrix-analysis","href":"/api-reference/reporting/matrix-analysis"},{"title":"Sources (Domains)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/domains","href":"/api-reference/reporting/sources-domains"},{"title":"Sources (Hostnames)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/hostnames","href":"/api-reference/reporting/sources-hostnames"},{"title":"Sources (URLs)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/urls","href":"/api-reference/reporting/sources-urls"},{"title":"Sources (Category Distribution)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/sources-data/category-distribution","href":"/api-reference/reporting/sources-category-distribution"},{"title":"Get Answer","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/responses/{response}","href":"/api-reference/reporting/get-answer"}]},{"group":"Tags","pages":[{"title":"List Tags","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/tags","href":"/api-reference/tags/list-tags"},{"title":"Create Tag","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/tags","href":"/api-reference/tags/create-tag"},{"title":"Show Tag","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/tags/{tag}","href":"/api-reference/tags/show-tag"},{"title":"Delete Tag","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}/tags/{tag}","href":"/api-reference/tags/delete-tag"},{"title":"Update Tag","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/tags/{tag}","href":"/api-reference/tags/update-tag"}]},{"group":"Reputation","pages":[{"title":"Get Theme Record","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/themes/{theme}","href":"/api-reference/reputation/get-theme-record"},{"title":"Get Narrative Record","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/narratives/{narrative}","href":"/api-reference/reputation/get-narrative-record"},{"title":"Reputation Overview","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/overview","href":"/api-reference/reputation/reputation-overview"},{"title":"List Themes","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/themes","href":"/api-reference/reputation/list-themes"},{"title":"Get Theme","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/themes/{theme}","href":"/api-reference/reputation/get-theme"},{"title":"List Narratives","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/narratives","href":"/api-reference/reputation/list-narratives"},{"title":"Get Narrative","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/narratives/{narrative}","href":"/api-reference/reputation/get-narrative"},{"title":"List Responses","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/responses","href":"/api-reference/reputation/list-responses"},{"title":"Get Response","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/responses/{response}","href":"/api-reference/reputation/get-response"},{"title":"Reputation Sources (Domains)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sources/domains","href":"/api-reference/reputation/reputation-sources-domains"},{"title":"Reputation Sources (URLs)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sources/urls","href":"/api-reference/reputation/reputation-sources-urls"},{"title":"Reputation Sources (Prompts)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sources/prompts","href":"/api-reference/reputation/reputation-sources-prompts"},{"title":"Sentiment Over Time","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sentiment-series","href":"/api-reference/reputation/sentiment-over-time"},{"title":"Sentiment by Platform","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reputation/sentiment-by-model","href":"/api-reference/reputation/sentiment-by-platform"}]},{"group":"Team","pages":[{"title":"Get Team Settings","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}","href":"/api-reference/team/get-team-settings"},{"title":"Get Team Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/usage","href":"/api-reference/team/get-team-usage"},{"title":"List Team Members","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/members","href":"/api-reference/team/list-team-members"},{"title":"Invite Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/teams/{teamUuid}/members","href":"/api-reference/team/invite-team-member"},{"title":"Show Team Member","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams/{teamUuid}/members/{email}","href":"/api-reference/team/show-team-member"},{"title":"Remove Team Member","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/teams/{teamUuid}/members/{email}","href":"/api-reference/team/remove-team-member"},{"title":"Update Member Role","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/teams/{teamUuid}/members/{email}","href":"/api-reference/team/update-member-role"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/teams","href":"/api-reference/team/list-teams"},{"title":"Get Team Settings","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team","href":"/api-reference/team/get-team-settings-1"},{"title":"Get Team Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team/usage","href":"/api-reference/team/get-team-usage-1"},{"title":"List Team Members","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team/members","href":"/api-reference/team/list-team-members-1"},{"title":"Invite Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/team/members","href":"/api-reference/team/invite-team-member-1"},{"title":"Show Team Member","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/team/members/{email}","href":"/api-reference/team/show-team-member-1"},{"title":"Remove Team Member","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/team/members/{email}","href":"/api-reference/team/remove-team-member-1"},{"title":"Update Member Role","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/team/members/{email}","href":"/api-reference/team/update-member-role-1"}]},{"group":"Reports","pages":[{"title":"Run a Report Query","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/reports/{entity}","href":"/api-reference/reports/run-a-report-query"},{"title":"List Report Field Values","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/reports/values/{field}","href":"/api-reference/reports/list-report-field-values"},{"title":"Report Entity Schema","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/{entity}/schema","href":"/api-reference/reports/report-entity-schema"}]},{"group":"Personas","pages":[{"title":"List Personas","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/personas","href":"/api-reference/personas/list-personas"},{"title":"Create Persona","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/projects/{project}/personas","href":"/api-reference/personas/create-persona"},{"title":"Show Persona","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/projects/{project}/personas/{persona}","href":"/api-reference/personas/show-persona"},{"title":"Delete Persona","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/projects/{project}/personas/{persona}","href":"/api-reference/personas/delete-persona"},{"title":"Update Persona","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/projects/{project}/personas/{persona}","href":"/api-reference/personas/update-persona"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Update Prompt - Surfacd","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BjA2hsCJ.js","snippetPresets-C-jpv5v8.js","utils--9e24gKv.js","style-to-object-BY3JEAdk.js","utils-CL8e03UA.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-O60MhfkU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C2_HxuTC.js","_Uint8Array-CSzKbEgF.js","isObject-FP1Yky1u.js","ApiExamples-DrqwMm0N.js","usePlaygroundInputsStore-HwhVROcI.js","shallow-CE0cbB33.js","isEqual-XgMGHHxA.js","CodeSnippets-DeoWIzOC.js","CodeSnippet-nteBoAUV.js","use-playground-group-access-YOcO7c2y.js","Page-B_BHXdim.js","api-description-markdown-CQA9NkQd.js","DynamicMarkdown-DpB7I7uN.js","SectionHeading-CW6J1gzG.js","MethodPill-CaKMlCid.js","getPastedJson-Dkd8F-mU.js","Check2Icon-DLlJR2en.js","axios-CsQoIw0U.js","Markdown-CaF3VJGb.js","AssistantPageLink-DXtHv8Vo.js","dist-BGepIklc.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}