{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"ZeroRank Docs","description":"Plain-language guides for ZeroRank — see how your brand shows up in AI answers and learn how to show up more.","colors":{"primary":"#FF4D00","light":"#FF7A40","dark":"#E64500"},"logo":{"light":"https://mintcdn.com/zerorank/GO8ShoLrcekloxYI/logo/light.svg?fit=max\u0026auto=format\u0026n=GO8ShoLrcekloxYI\u0026q=85\u0026s=debae039eb5b52b8c9a9b0fcacb2a897","dark":"https://mintcdn.com/zerorank/GO8ShoLrcekloxYI/logo/dark.svg?fit=max\u0026auto=format\u0026n=GO8ShoLrcekloxYI\u0026q=85\u0026s=96caa3115dff423f9fb37d649fcdf889"},"favicon":"https://mintcdn.com/zerorank/GO8ShoLrcekloxYI/favicon.svg?fit=max\u0026auto=format\u0026n=GO8ShoLrcekloxYI\u0026q=85\u0026s=1d3d91cb4143d9cfb9786d7d00851bfc","navbar":{"links":[],"primary":{"type":"button","label":"Open ZeroRank","href":"https://app.zerorank.ai"}},"footer":{"socials":{"x":"https://x.com/zerorank_ai","linkedin":"https://linkedin.com/company/zerorank-ai","website":"https://zerorank.ai"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","assistant","mcp","add-mcp"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"},{"anchor":"ZeroRank app","icon":"layout-dashboard","href":"https://app.zerorank.ai"},{"anchor":"Help","icon":"life-buoy","href":"mailto:[email protected]"}]},"directory":"card","pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zerorank","hasAudioNarration":false,"actualSubdomain":"zerorank","customDomains":["docs.zerorank.ai"],"gitSource":{"type":"github","owner":"kelvincobanaj","repo":"zerorank-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af3308c2f20aabdfd47dd4a","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"ZeroRank API","count":33},{"language":"default","tag":"Brands","count":8},{"language":"default","tag":"Prompts","count":7},{"language":"default","tag":"See your results","count":6},{"language":"default","tag":"Connect your tools","count":5},{"language":"default","tag":"Start here","count":5},{"language":"default","tag":"What you track","count":5},{"language":"default","tag":"Analytics","count":5},{"language":"default","tag":"Tags","count":5},{"language":"default","tag":"Topics","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"custom-rbac-roles","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":"workos-onboarding","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":"assistant-v5","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":"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":"turbopuffer-dual-write","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},{"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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--default-border-color: var(--gray-200);--zr-font-sans: 'Inter', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif}.font-serif,[data-product-guide-index] .font-serif{font-family:var(--zr-font-sans)!important}[data-product-guide-index],[data-product-guide-index] :is(h1,h2,h3,h4,p,span,a),.product-guide-feature-card-title,.product-guide-feature-card-description{font-family:var(--zr-font-sans)!important}.dark{--default-border-color: var(--gray-800)}#sidebar .nav-dropdown-trigger{border:none!important;background:transparent!important;box-shadow:none!important;padding-left:0.375rem}#sidebar .nav-dropdown-trigger:hover{background-color:rgb(0 0 0 / 0.04)!important}.dark #sidebar .nav-dropdown-trigger:hover{background-color:rgb(255 255 255 / 0.06)!important}#sidebar .nav-dropdown-trigger .nav-dropdown-item-icon{border:none!important;background:transparent!important;height:auto!important;width:auto!important;padding:0!important}.nav-dropdown-content{}.nav-dropdown-content .nav-dropdown-item{}.nav-dropdown-content .nav-dropdown-item-icon{border:none!important;background:transparent!important;height:auto!important;width:auto!important;padding:0!important}.nav-dropdown-content .nav-dropdown-item-description{display:none!important}#sidebar .nav-anchor span{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size:12px;font-weight:500;letter-spacing:-0.02em;text-transform:uppercase}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"]{color:rgb(var(--primary))!important;font-weight:600!important}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"] span{color:inherit!important}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"] svg{background-color:rgb(var(--primary))!important}.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"]{color:rgb(var(--primary-light)/var(--tw-text-opacity,1))!important}.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"] svg{background-color:rgb(var(--primary-light)/var(--tw-text-opacity,1))!important}:is(#content-area[data-current-path=\"/\"],[data-current-path=\"/\"] #content-area):has([data-product-guide-index]){background:transparent!important;padding:0!important}:is(#content-area[data-current-path=\"/\"],[data-current-path=\"/\"] #content-area):has([data-product-guide-index])>div:first-child{background:transparent!important;padding-right:0!important;padding-bottom:0!important;padding-left:0!important}[data-product-guide-index] a:not(.product-guide-feature-card){background-color:#fafafa!important}.dark [data-product-guide-index] a:not(.product-guide-feature-card){background-color:#09090b!important}.product-guide-feature-card{grid-column:1 / -1;display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:260px;background:url('/images/sample-feature-light.png') center / cover no-repeat!important;border:none!important;box-shadow:none!important;color:white!important;.dark \u0026 {\n background-image: url('/images/sample-feature-dark.png') !important;\n }}.product-guide-feature-card>div{display:flex!important;flex:1;flex-direction:column!important;justify-content:space-between!important}.product-guide-feature-card :is(h2,h3,p,span,svg){color:white!important}.product-guide-feature-card :is(svg,[class*=\"icon\"]){background-color:white!important;width:2em!important;height:2em!important;margin-top:2px}.product-guide-feature-card-title{font-size:1.2em;font-weight:500}.product-guide-feature-card :is(h2,h3,p,span,svg).product-guide-feature-card-description{font-size:1.05em;font-weight:400;color:rgb(var(--gray-50) / 62.5%)!important;.dark \u0026 {\n color: rgb(var(--gray-50) / 50%) !important;\n }}img.nav-logo{max-width:220px;height:auto}"}],"page":{"pagePath":"api-reference/prompts/update-a-prompt-patch","slug":"/api-reference/prompts/update-a-prompt-patch","pageMetadata":{"title":"Update a prompt (PATCH)","description":"Same as `PUT /prompts/{id}`. Updates a prompt's text, status, location, tags, or topic. Needs a key with the `write` scope.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /prompts/{id}","href":"/api-reference/prompts/update-a-prompt-patch","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: [\"Same as \", _jsx(_components.code, {\n children: \"PUT /prompts/{id}\"\n }), \". Updates a prompt’s text, status, location, tags, or topic. Needs a key with the \", _jsx(_components.code, {\n children: \"write\"\n }), \" scope.\"]\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 a prompt (PATCH)","description":"Same as `PUT /prompts/{id}`. Updates a prompt's text, status, location, tags, or topic. Needs a key with the `write` scope.","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /prompts/{id}","href":"/api-reference/prompts/update-a-prompt-patch","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Prompts"],"summary":"Update a prompt (PATCH)","description":"Same as `PUT /prompts/{id}`. Updates a prompt's text, status, location, tags, or topic. Needs a key with the `write` scope.","operationId":"patchPrompt","requestBody":"a3991662-4fe2-4839-a690-69429605ffef","responses":{"200":"de79d228-3af8-48ec-9524-9ce3c2def248","401":"75eff0ec-4914-4061-b4de-5dd392ac8a26","403":"a872bc64-720e-4494-af36-a60be1e4589d","404":"713e3cb2-8f26-45f4-9f42-45f6babe3b84","422":"c05c22f8-9bf3-451f-bcb2-4be2b33c18d8","429":"385c9292-8b7a-49bb-ad7e-be11ae98f6c3"},"method":"patch","type":"path","servers":["c3052a93-5e8c-4aca-910a-c75d15e4eea7"],"security":["1439f2a6-ed46-4d93-9d57-0d789891678e"],"path":"/prompts/{id}","baseUrlOptions":["https://api.zerorank.ai/api/v1"],"title":"Update a prompt (PATCH)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"03ff6723-0227-4165-b6c9-0aacf495f3a1":{"name":"id","in":"path","required":true,"description":"The numeric id of the item.","schema":{"type":"integer","isRequired":true,"description":"The numeric id of the item.","uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Send only the fields you want to change.","properties":{"text":{"type":"string","minLength":1,"maxLength":5000,"uniqueKey":"text","typeLabel":"string"},"status":{"type":"string","enum":["draft","active","paused","suggested","rejected"],"description":"Where a prompt is in its life: draft, active, paused, suggested (AI-proposed), or rejected.","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"location":{"type":"string","maxLength":255,"uniqueKey":"location","typeLabel":"string"},"tags":{"type":"array","items":{"oneOf":[{"type":"string","maxLength":100,"uniqueKey":"tags.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"tags.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"tags.items.[INDEX]","typeLabel":"string | integer"},"description":"Tag names or tag ids. Replaces the prompt's current tags.","uniqueKey":"tags","typeLabel":"(string | integer)[]"},"topicId":{"oneOf":[{"type":"integer","description":"Move to this topic, or `null` to remove the topic.","uniqueKey":"topicId.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Move to this topic, or `null` to remove the topic.","uniqueKey":"topicId.oneOf.1","typeLabel":"null"}],"uniqueKey":"topicId","typeLabel":"integer | null"},"topicName":{"type":"string","maxLength":100,"description":"Topic name to move to (created if needed).","uniqueKey":"topicName","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"text":"\u003cstring>","location":"\u003cstring>","tags":["\u003cstring>"],"topicId":123,"topicName":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"de79d228-3af8-48ec-9524-9ce3c2def248":{"description":"A prompt.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"id":{"type":"integer","example":101,"uniqueKey":"data.id","typeLabel":"integer"},"text":{"type":"string","example":"What is the best CRM for small teams?","uniqueKey":"data.text","typeLabel":"string"},"status":{"type":"string","enum":["draft","active","paused","suggested","rejected"],"description":"Where a prompt is in its life: draft, active, paused, suggested (AI-proposed), or rejected.","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"location":{"oneOf":[{"type":"string","example":"United States","uniqueKey":"data.location.oneOf.0","typeLabel":"string"},{"type":"null","example":"United States","uniqueKey":"data.location.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.location","typeLabel":"string | null"},"workspaceId":{"type":"integer","example":7,"uniqueKey":"data.workspaceId","typeLabel":"integer"},"topicId":{"oneOf":[{"type":"integer","example":3,"uniqueKey":"data.topicId.oneOf.0","typeLabel":"integer"},{"type":"null","example":3,"uniqueKey":"data.topicId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.topicId","typeLabel":"integer | null"},"lastScheduledAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.lastScheduledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.lastScheduledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastScheduledAt","typeLabel":"string\u003cdate-time> | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"topic":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","example":3,"uniqueKey":"data.topic.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","example":"CRM","uniqueKey":"data.topic.oneOf.0.name","typeLabel":"string"},"workspaceId":{"type":"integer","example":7,"uniqueKey":"data.topic.oneOf.0.workspaceId","typeLabel":"integer"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.topic.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.topic.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.topic.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.topic.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.topic","typeLabel":"object | null"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":5,"uniqueKey":"data.tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","example":"pricing","uniqueKey":"data.tags.items.[INDEX].name","typeLabel":"string"},"color":{"type":"string","enum":["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","slate","gray","zinc"],"description":"One of ZeroRank's named tag colors.","uniqueKey":"data.tags.items.[INDEX].color","typeLabel":"enum\u003cstring>"},"hexColor":{"type":"string","description":"The tag color as a hex value.","example":"#3b82f6","uniqueKey":"data.tags.items.[INDEX].hexColor","typeLabel":"string"},"promptCount":{"type":"integer","description":"How many prompts use this tag (included when listing tags).","example":8,"uniqueKey":"data.tags.items.[INDEX].promptCount","typeLabel":"integer"},"workspaceId":{"type":"integer","example":7,"uniqueKey":"data.tags.items.[INDEX].workspaceId","typeLabel":"integer"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.tags.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.tags.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.tags","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","example":"Prompt retrieved successfully","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":101,"text":"What is the best CRM for small teams?","status":"draft","location":"United States","workspaceId":7,"topicId":3,"lastScheduledAt":"2023-11-07T05:31:56Z","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","topic":{"id":3,"name":"CRM","workspaceId":7,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"tags":[{"id":5,"name":"pricing","color":"red","hexColor":"#3b82f6","promptCount":8,"workspaceId":7,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}]},"message":"Prompt retrieved successfully"}}},"exampleType":"generated"}},"exampleType":"generated"},"75eff0ec-4914-4061-b4de-5dd392ac8a26":{"description":"The API key is missing, invalid, revoked, or expired.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"A human-readable explanation.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A short error code, when one applies.","uniqueKey":"code","typeLabel":"string"},"errors":{"description":"Field-level details, on validation errors.","uniqueKey":"errors","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Invalid, revoked, or expired API key","code":"API_KEY_INVALID"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Invalid, revoked, or expired API key","code":"API_KEY_INVALID"}}},"exampleType":"examples"}},"exampleType":"examples"},"a872bc64-720e-4494-af36-a60be1e4589d":{"description":"This key is read-only. A key with the `write` scope is required.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"A human-readable explanation.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A short error code, when one applies.","uniqueKey":"code","typeLabel":"string"},"errors":{"description":"Field-level details, on validation errors.","uniqueKey":"errors","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"This API key is read-only; a key with the \"write\" scope is required","code":"INSUFFICIENT_SCOPE"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"This API key is read-only; a key with the \"write\" scope is required","code":"INSUFFICIENT_SCOPE"}}},"exampleType":"examples"}},"exampleType":"examples"},"713e3cb2-8f26-45f4-9f42-45f6babe3b84":{"description":"The item was not found in your workspace.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"A human-readable explanation.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A short error code, when one applies.","uniqueKey":"code","typeLabel":"string"},"errors":{"description":"Field-level details, on validation errors.","uniqueKey":"errors","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Prompt not found"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Prompt not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"c05c22f8-9bf3-451f-bcb2-4be2b33c18d8":{"description":"The request body did not pass validation.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"A human-readable explanation.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A short error code, when one applies.","uniqueKey":"code","typeLabel":"string"},"errors":{"description":"Field-level details, on validation errors.","uniqueKey":"errors","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Validation failed","errors":[{"field":"text","message":"The text field is required"}]},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Validation failed","errors":[{"field":"text","message":"The text field is required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"385c9292-8b7a-49bb-ad7e-be11ae98f6c3":{"description":"Too many requests. Slow down and retry after the time in the `Retry-After` header.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Your per-minute limit."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in this window."},"X-RateLimit-Reset":{"schema":{"type":"integer"},"description":"Unix time when the window resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"A human-readable explanation.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A short error code, when one applies.","uniqueKey":"code","typeLabel":"string"},"errors":{"description":"Field-level details, on validation errors.","uniqueKey":"errors","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"API rate limit exceeded. Please slow down.","code":"RATE_LIMIT_EXCEEDED","retryAfter":30},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"API rate limit exceeded. Please slow down.","code":"RATE_LIMIT_EXCEEDED","retryAfter":30}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"1439f2a6-ed46-4d93-9d57-0d789891678e":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Send your workspace API key as `Authorization: Bearer zr_live_…`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c3052a93-5e8c-4aca-910a-c75d15e4eea7":{"url":"https://api.zerorank.ai/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Send your workspace API key as `Authorization: Bearer zr_live_…`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your workspace API key as `Authorization: Bearer zr_live_…`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"zerorank","siteName":"ZeroRank Docs","title":"Update a prompt (PATCH) - ZeroRank Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-13T01:14:59.359Z","originalFileLocation":"api-reference/prompts/update-a-prompt-patch.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=\"Same as PUT /prompts/{id}. Updates a prompt\u0026#x27;s text, status, location, tags, or topic. Needs a key with the write scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroRank Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_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/zerorank/d7sqP36qgnDY-DX1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a prompt (PATCH) - ZeroRank Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Same as PUT /prompts/{id}. Updates a prompt\u0026#x27;s text, status, location, tags, or topic. Needs a key with the write scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroRank Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zerorank.mintlify.site/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Update+a+prompt+%28PATCH%29\u0026amp;description=Same+as+%60PUT+%2Fprompts%2F%7Bid%7D%60.+Updates+a+prompt%27s+text%2C+status%2C+location%2C+tags%2C+or+topic.+Needs+a+key+with+the+%60write%60+scope.\u0026amp;theme=7d54f00cc17e87a7d42c1251\u0026amp;signature=4daac1fceb340fef97e9b7ee5fac5578affe779829b93ef2a7efb2642d79837d\">\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 a prompt (PATCH) - ZeroRank Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Same as PUT /prompts/{id}. Updates a prompt\u0026#x27;s text, status, location, tags, or topic. Needs a key with the write scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zerorank.mintlify.site/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Update+a+prompt+%28PATCH%29\u0026amp;description=Same+as+%60PUT+%2Fprompts%2F%7Bid%7D%60.+Updates+a+prompt%27s+text%2C+status%2C+location%2C+tags%2C+or+topic.+Needs+a+key+with+the+%60write%60+scope.\u0026amp;theme=7d54f00cc17e87a7d42c1251\u0026amp;signature=4daac1fceb340fef97e9b7ee5fac5578affe779829b93ef2a7efb2642d79837d\">\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/zerorank/d7sqP36qgnDY-DX1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroRank Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4D00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch\">\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-a-prompt-patch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zerorank.ai/#organization\",\"name\":\"ZeroRank Docs\",\"url\":\"https://docs.zerorank.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zerorank/GO8ShoLrcekloxYI/logo/light.svg?fit=max\u0026auto=format\u0026n=GO8ShoLrcekloxYI\u0026q=85\u0026s=debae039eb5b52b8c9a9b0fcacb2a897\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zerorank.ai#website\",\"name\":\"ZeroRank Docs\",\"url\":\"https://docs.zerorank.ai\",\"publisher\":{\"@id\":\"https://docs.zerorank.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch#webpage\",\"url\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch\",\"name\":\"Update a prompt (PATCH)\",\"description\":\"Same as PUT /prompts/{id}. Updates a prompt's text, status, location, tags, or topic. Needs a key with the write scope.\",\"dateModified\":\"2026-07-13T01:14:59.359Z\",\"isPartOf\":{\"@id\":\"https://docs.zerorank.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ZeroRank API\",\"item\":\"https://docs.zerorank.ai/api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prompts\",\"item\":\"https://docs.zerorank.ai/api-reference/prompts/list-prompts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a prompt (PATCH)\",\"item\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch#apireference\",\"headline\":\"Update a prompt (PATCH)\",\"name\":\"Update a prompt (PATCH)\",\"description\":\"Same as PUT /prompts/{id}. Updates a prompt's text, status, location, tags, or topic. Needs a key with the write scope.\",\"url\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zerorank.ai/api-reference/prompts/update-a-prompt-patch#webpage\"},\"dateModified\":\"2026-07-13T01:14:59.359Z\",\"publisher\":{\"@id\":\"https://docs.zerorank.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zerorank.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroRank Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ZeroRank Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/prompts/update-a-prompt-patch.md","siteName":"ZeroRank Docs","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"},{"anchor":"ZeroRank app","icon":"layout-dashboard","href":"https://app.zerorank.ai"},{"anchor":"Help","icon":"life-buoy","href":"mailto:[email protected]"}]},"directory":"card","groups":[{"group":"Start here","icon":"rocket","expanded":true,"pages":[{"title":"What is ZeroRank?","href":"/start/what-is-zerorank"},{"title":"How ZeroRank works","href":"/start/how-it-works"},{"title":"Sign up and set up","href":"/start/sign-up-and-set-up"},{"title":"Your getting-started checklist","href":"/start/getting-started-checklist"},{"title":"Plain-words glossary","href":"/start/glossary"}]},{"group":"See your results","icon":"eye","expanded":true,"pages":[{"title":"The Overview dashboard","href":"/results/overview-dashboard"},{"title":"Your visibility score","href":"/results/visibility-score"},{"title":"Ranking","href":"/results/ranking"},{"title":"Sentiment","href":"/results/sentiment"},{"title":"Recent chats","href":"/results/recent-chats"},{"title":"Monthly reports","href":"/results/monthly-reports"}]},{"group":"What you track","icon":"list-checks","expanded":true,"pages":[{"title":"Prompts","href":"/tracking/prompts"},{"title":"Choose your AI models","href":"/tracking/ai-models"},{"title":"Brands and competitors","href":"/tracking/brands-and-competitors"},{"title":"Topics and tags","href":"/tracking/topics-and-tags"},{"title":"Query fanout","href":"/tracking/query-fanout"}]},{"group":"Sources and citations","icon":"quote","expanded":false,"pages":[{"title":"Citation tracking","href":"/citations/citation-tracking"},{"title":"Sources","href":"/citations/sources"}]},{"group":"Improve your visibility","icon":"trending-up","expanded":true,"pages":[{"title":"Gaps","hidden":true,"href":"/improve/gaps"},{"title":"Recommendations","href":"/improve/recommendations"},{"title":"AI readiness checks","href":"/improve/ai-readiness-checks"},{"title":"Create AEO content","href":"/improve/create-content"},{"title":"Your AEO score","href":"/improve/aeo-score"},{"title":"Brand Kit","hidden":true,"href":"/improve/brand-kit"}]},{"group":"Automate with workflows","icon":"workflow","hidden":true,"pages":[{"title":"Workflows overview","href":"/workflows/overview"},{"title":"Build a workflow","href":"/workflows/build-a-workflow"},{"title":"Templates and schedules","href":"/workflows/templates-and-schedules"}]},{"group":"Connect your tools","icon":"plug","expanded":false,"pages":[{"title":"Integrations","href":"/integrations/overview"},{"title":"WordPress","href":"/integrations/wordpress"},{"title":"CMS: Contentful, Sanity, and BaseHub","href":"/integrations/cms"},{"title":"Slack, v0, and Gamma","href":"/integrations/slack-and-ai-tools"},{"title":"MCP server","href":"/integrations/mcp-server"}]},{"group":"ZeroRank API","icon":"code","expanded":false,"pages":[{"title":"ZeroRank API","href":"/api/overview"},{"title":"Authentication","href":"/api/authentication"},{"group":"Workspace","pages":[{"title":"Get workspace context","deprecated":null,"version":null,"openapi":"/api/openapi.json get /workspace","href":"/api-reference/workspace/get-workspace-context"}]},{"group":"Prompts","pages":[{"title":"List prompts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Create prompts","deprecated":null,"version":null,"openapi":"/api/openapi.json post /prompts","href":"/api-reference/prompts/create-prompts"},{"title":"Get a prompt","deprecated":null,"version":null,"openapi":"/api/openapi.json get /prompts/{id}","href":"/api-reference/prompts/get-a-prompt"},{"title":"Update a prompt","description":"Updates a prompt's text, status, location, tags, or topic. `PATCH` works the same way. Needs a key with the `write` scope.","deprecated":null,"version":null,"openapi":"/api/openapi.json put /prompts/{id}","href":"/api-reference/prompts/update-a-prompt"},{"title":"Update a prompt (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /prompts/{id}","href":"/api-reference/prompts/update-a-prompt-patch"},{"title":"Delete a prompt","description":"Deletes a prompt for good. Needs a key with the `write` scope.","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /prompts/{id}","href":"/api-reference/prompts/delete-a-prompt"},{"title":"Run a prompt now","deprecated":null,"version":null,"openapi":"/api/openapi.json post /prompts/{id}/run","href":"/api-reference/prompts/run-a-prompt-now"}]},{"group":"Brands","pages":[{"title":"List brands","deprecated":null,"version":null,"openapi":"/api/openapi.json get /brands","href":"/api-reference/brands/list-brands"},{"title":"Create a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json post /brands","href":"/api-reference/brands/create-a-brand"},{"title":"Get a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json get /brands/{id}","href":"/api-reference/brands/get-a-brand"},{"title":"Update a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json put /brands/{id}","href":"/api-reference/brands/update-a-brand"},{"title":"Update a brand (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /brands/{id}","href":"/api-reference/brands/update-a-brand-patch"},{"title":"Delete a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /brands/{id}","href":"/api-reference/brands/delete-a-brand"},{"title":"Hide or show a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json post /brands/{id}/toggle-visibility","href":"/api-reference/brands/hide-or-show-a-brand"},{"title":"Merge brands","deprecated":null,"version":null,"openapi":"/api/openapi.json post /brands/merge","href":"/api-reference/brands/merge-brands"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/api/openapi.json get /tags","href":"/api-reference/tags/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json post /tags","href":"/api-reference/tags/create-a-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json put /tags/{id}","href":"/api-reference/tags/update-a-tag"},{"title":"Update a tag (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /tags/{id}","href":"/api-reference/tags/update-a-tag-patch"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /tags/{id}","href":"/api-reference/tags/delete-a-tag"}]},{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"/api/openapi.json get /topics","href":"/api-reference/topics/list-topics"},{"title":"Create a topic","deprecated":null,"version":null,"openapi":"/api/openapi.json post /topics","href":"/api-reference/topics/create-a-topic"},{"title":"Update a topic","deprecated":null,"version":null,"openapi":"/api/openapi.json put /topics/{id}","href":"/api-reference/topics/update-a-topic"},{"title":"Update a topic (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /topics/{id}","href":"/api-reference/topics/update-a-topic-patch"},{"title":"Delete a topic","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /topics/{id}","href":"/api-reference/topics/delete-a-topic"}]},{"group":"Analytics","pages":[{"title":"List top source domains","deprecated":null,"version":null,"openapi":"/api/openapi.json get /sources","href":"/api-reference/analytics/list-top-source-domains"},{"title":"List top source URLs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /source-urls","href":"/api-reference/analytics/list-top-source-urls"},{"title":"List recent chats","deprecated":null,"version":null,"openapi":"/api/openapi.json get /chats","href":"/api-reference/analytics/list-recent-chats"},{"title":"Get a chat","deprecated":null,"version":null,"openapi":"/api/openapi.json get /chats/{id}","href":"/api-reference/analytics/get-a-chat"},{"title":"Get brand rankings","deprecated":null,"version":null,"openapi":"/api/openapi.json get /rankings","href":"/api-reference/analytics/get-brand-rankings"}]},{"group":"Workspace","pages":[{"title":"Get workspace context","deprecated":null,"version":null,"openapi":"/api/openapi.json get /workspace","href":"/api-reference/workspace/get-workspace-context"}]},{"group":"Prompts","pages":[{"title":"List prompts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Create prompts","deprecated":null,"version":null,"openapi":"/api/openapi.json post /prompts","href":"/api-reference/prompts/create-prompts"},{"title":"Get a prompt","deprecated":null,"version":null,"openapi":"/api/openapi.json get /prompts/{id}","href":"/api-reference/prompts/get-a-prompt"},{"title":"Update a prompt","deprecated":null,"version":null,"openapi":"/api/openapi.json put /prompts/{id}","href":"/api-reference/prompts/update-a-prompt"},{"title":"Delete a prompt","description":"Deletes a prompt for good. Needs a key with the `write` scope.","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /prompts/{id}","href":"/api-reference/prompts/delete-a-prompt"},{"title":"Update a prompt (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /prompts/{id}","href":"/api-reference/prompts/update-a-prompt-patch"},{"title":"Run a prompt now","description":"Runs an existing prompt right now across your workspace's active AI models, or just the models you list. Each run counts against your monthly answer runs. Needs a key with the `write` scope.","deprecated":null,"version":null,"openapi":"/api/openapi.json post /prompts/{id}/run","href":"/api-reference/prompts/run-a-prompt-now"}]},{"group":"Brands","pages":[{"title":"List brands","deprecated":null,"version":null,"openapi":"/api/openapi.json get /brands","href":"/api-reference/brands/list-brands"},{"title":"Create a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json post /brands","href":"/api-reference/brands/create-a-brand"},{"title":"Get a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json get /brands/{id}","href":"/api-reference/brands/get-a-brand"},{"title":"Update a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json put /brands/{id}","href":"/api-reference/brands/update-a-brand"},{"title":"Delete a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /brands/{id}","href":"/api-reference/brands/delete-a-brand"},{"title":"Update a brand (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /brands/{id}","href":"/api-reference/brands/update-a-brand-patch"},{"title":"Hide or show a brand","deprecated":null,"version":null,"openapi":"/api/openapi.json post /brands/{id}/toggle-visibility","href":"/api-reference/brands/hide-or-show-a-brand"},{"title":"Merge brands","deprecated":null,"version":null,"openapi":"/api/openapi.json post /brands/merge","href":"/api-reference/brands/merge-brands"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/api/openapi.json get /tags","href":"/api-reference/tags/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json post /tags","href":"/api-reference/tags/create-a-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json put /tags/{id}","href":"/api-reference/tags/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /tags/{id}","href":"/api-reference/tags/delete-a-tag"},{"title":"Update a tag (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /tags/{id}","href":"/api-reference/tags/update-a-tag-patch"}]},{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"/api/openapi.json get /topics","href":"/api-reference/topics/list-topics"},{"title":"Create a topic","deprecated":null,"version":null,"openapi":"/api/openapi.json post /topics","href":"/api-reference/topics/create-a-topic"},{"title":"Update a topic","deprecated":null,"version":null,"openapi":"/api/openapi.json put /topics/{id}","href":"/api-reference/topics/update-a-topic"},{"title":"Delete a topic","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /topics/{id}","href":"/api-reference/topics/delete-a-topic"},{"title":"Update a topic (PATCH)","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /topics/{id}","href":"/api-reference/topics/update-a-topic-patch"}]},{"group":"Analytics","pages":[{"title":"List top source domains","deprecated":null,"version":null,"openapi":"/api/openapi.json get /sources","href":"/api-reference/analytics/list-top-source-domains"},{"title":"List top source URLs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /source-urls","href":"/api-reference/analytics/list-top-source-urls"},{"title":"List recent chats","deprecated":null,"version":null,"openapi":"/api/openapi.json get /chats","href":"/api-reference/analytics/list-recent-chats"},{"title":"Get a chat","deprecated":null,"version":null,"openapi":"/api/openapi.json get /chats/{id}","href":"/api-reference/analytics/get-a-chat"},{"title":"Get brand rankings","deprecated":null,"version":null,"openapi":"/api/openapi.json get /rankings","href":"/api-reference/analytics/get-brand-rankings"}]}]},{"group":"Manage your account","icon":"settings","expanded":false,"pages":[{"title":"Members and roles","href":"/account/members"},{"title":"Workspace settings","href":"/account/workspace"},{"title":"Plans and billing","href":"/account/billing"}]}]},"basePath":"","title":"Update a prompt (PATCH) - ZeroRank Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-BIYvYBgk.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}