using RestSharp;
var options = new RestClientOptions("https://versuno.ai/api/public/assets/{assetId}/update");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
request.AddJsonBody("{}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://versuno.ai/api/public/assets/{assetId}/update");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
request.AddJsonBody("{}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
This is a partial update. Send only the fields you want to change and the full updated asset is returned.
Do not use this endpoint to modify editor body text via content. The content field is deprecated, kept only for compatibility, and will be removed soon. For content editing, use Patch specific blocks and Apply block operations.
Sending an empty body or a body with no recognized fields returns 400 No fields provided to update.
Set projectId to a UUID to move an asset into a project, or set it to null to unassign it.
Authorizations
Authorization
string
header
default:Bearer uk_live_your_api_key_here
required
Versuno API key. Must be prefixed with Bearer. Format: Bearer uk_live_...
Path Parameters
assetId
string<uuid>
required
Query Parameters
assetType
enum<string>
required
The asset type to update. Must match the asset's actual type.
Available options:
prompt,
persona,
context,
system_prompt,
skill
Body
application/json
title
string
New display name.
Example:
"Revised assistant prompt"
content
string
deprecated
Deprecated compatibility field for body text. Use block update endpoints instead. Will be removed soon.
Example:
"You are an expert assistant that..."
description
string | null
Updated summary, or null to clear it.
Example:
"Updated for v2 workflows"
emoji
string | null
New emoji, or null to clear it.
Example:
"✨"
projectId
string<uuid> | null
Move to a project, or null to unassign.
Example:
null
teamId
string<uuid> | null
Reassign to a team, or null to unassign.
Example:
null
lastUsedAt
string<date-time> | null
Adjust the last-used timestamp.
Example:
null
content_blocks
object[] | null
Replace structured block tree in ai_asset_blocks. Preferred over content.
Latest version number of this asset (1 if no versions exist yet).
Example:
3
projectId
string<uuid> | null
ID of the project this asset belongs to, or null if unassigned.
Example:
null
teamId
string<uuid> | null
ID of the team workspace this asset belongs to, or null for personal.
Example:
null
userId
string<uuid>
ID of the user who owns this asset.
Example:
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
createdAt
string<date-time>
ISO 8601 timestamp when the asset was created.
Example:
"2026-01-15T10:30:00.000Z"
updatedAt
string<date-time>
ISO 8601 timestamp of the last update.
Example:
"2026-01-20T14:45:00.000Z"
deletedAt
string<date-time> | null
ISO 8601 timestamp when the asset was trashed, or null if active.
Example:
null
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Versuno Docs","colors":{"primary":"#06b3b0","light":"#14b8a8","dark":"#0a7a6e"},"logo":{"light":"https://mintcdn.com/versuno/sru2WDBmRzMF6MNv/logo/light.png?fit=max\u0026auto=format\u0026n=sru2WDBmRzMF6MNv\u0026q=85\u0026s=50eb9030e54d21be4dcd1cc3a69aae84","dark":"https://mintcdn.com/versuno/sru2WDBmRzMF6MNv/logo/dark.png?fit=max\u0026auto=format\u0026n=sru2WDBmRzMF6MNv\u0026q=85\u0026s=cc0ab2151397ea95113e9be5aaae0b76"},"favicon":"https://mintcdn.com/versuno/toT1ZtFptBahsfJH/favicon.svg?fit=max\u0026auto=format\u0026n=toT1ZtFptBahsfJH\u0026q=85\u0026s=f52d97b873c5926cc4ecef7189412186","api":{"params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go","php","ruby","java","csharp"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:support@versuno.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://versuno.ai/dashboard"}},"footer":{"socials":{"x":"https://x.com/versuno_ai","linkedin":"https://www.linkedin.com/company/versuno","discord":"https://discord.gg/UT2342QNTg"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/UT2342QNTg"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"versuno","hasAudioNarration":false,"actualSubdomain":"versuno","customDomains":["docs.versuno.ai"],"gitSource":{"type":"github","owner":"kumala3","repo":"versuno","deployBranch":"main","contentDirectory":"versuno/apps/web/docs/mintlify","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae9543737dad6e4be6971b4:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"Prompt Manager","count":46},{"language":"default","tag":"MCP Reference","count":25},{"language":"default","tag":"CLI Reference","count":20},{"language":"default","tag":"Documentation","count":16},{"language":"default","tag":"Public Brains","count":16},{"language":"default","tag":"Prompts","count":12},{"language":"default","tag":"Memory","count":11},{"language":"default","tag":"Tools","count":11},{"language":"default","tag":"Clients","count":10}]},"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":"site-roles","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":"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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar a[href=\"https://versuno.ai/dashboard\"],#navbar a[href=\"https://versuno.ai/dashboard\"] span{border-radius:4px!important}button{border-radius:4px!important}"}]}
{"page":{"pagePath":"api-reference/assets/update-an-asset","slug":"/api-reference/assets/update-an-asset","pageMetadata":{"title":"Update an asset","description":"Partially updates an asset. Send only the fields you want to change. An empty body returns `400`.","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /assets/{assetId}/update","href":"/api-reference/assets/update-an-asset","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: [\"Partially updates an asset. Send only the fields you want to change. An empty body returns \", _jsx(_components.code, {\n children: \"400\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Tip,Warning}=_components;if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This is a partial update. Send only the fields you want to change and the full updated asset is returned.`}),`\n`,_jsxs(Warning,{children:[`Do not use this endpoint to modify editor body text via `,_jsx(_components.code,{children:`content`}),`. The `,_jsx(_components.code,{children:`content`}),` field is deprecated, kept only for compatibility, and will be removed soon. For content editing, use `,_jsx(_components.a,{href:`/api-reference/patch-asset-blocks`,children:`Patch specific blocks`}),` and `,_jsx(_components.a,{href:`/api-reference/apply-block-operations`,children:`Apply block operations`}),`.`]}),`\n`,_jsxs(Warning,{children:[`Sending an empty body or a body with no recognized fields returns `,_jsx(_components.code,{children:`400 No fields provided to update`}),`.`]}),`\n`,_jsxs(Tip,{children:[`Set `,_jsx(_components.code,{children:`projectId`}),` to a UUID to move an asset into a project, or set it to `,_jsx(_components.code,{children:`null`}),` to unassign it.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update an asset","description":"Partially updates an asset. Send only the fields you want to change. An empty body returns `400`.","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /assets/{assetId}/update","href":"/api-reference/assets/update-an-asset","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Assets"],"summary":"Update an asset","description":"Partially updates an asset. Send only the fields you want to change. An empty body returns `400`.","operationId":"updateAsset","x-mint":{"content":"This is a partial update. Send only the fields you want to change and the full updated asset is returned.\n\n\u003cWarning>Do not use this endpoint to modify editor body text via `content`. The `content` field is deprecated, kept only for compatibility, and will be removed soon. For content editing, use [Patch specific blocks](/api-reference/patch-asset-blocks) and [Apply block operations](/api-reference/apply-block-operations).\u003c/Warning>\n\n\u003cWarning>Sending an empty body or a body with no recognized fields returns `400 No fields provided to update`.\u003c/Warning>\n\n\u003cTip>Set `projectId` to a UUID to move an asset into a project, or set it to `null` to unassign it.\u003c/Tip>\n"},"parameters":["037a383d-1579-45e9-97e6-f68e9f7ecc21","bb4c9473-84c2-4781-8dfb-a1587ede8596"],"requestBody":"0e047ab6-849e-4dd5-87e4-8651c235d57c","responses":{"200":"0679e3a1-90f3-4e86-917f-23d9d4e9a723","400":"be635979-55be-47e2-ba5b-555790ee646f","401":"517830f5-3b73-46fb-b211-7c885512077b","404":"bbf1721e-8a75-4893-8311-8d35cda8176a"},"method":"patch","type":"path","servers":["4f0b5a7f-83c8-4a0b-8d8d-4af3d3f39bf0","30a6a997-b428-4a77-992d-14c4be830787"],"security":["45baff8d-a60e-4f72-9063-a5540976e487"],"path":"/assets/{assetId}/update","baseUrlOptions":["https://versuno.ai/api/public","http://localhost:3000/api/public"],"title":"Update an asset","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go","php","ruby","java","csharp"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.title":"Revised assistant prompt","body.content":"You are an expert assistant that...","body.description.oneOf.0":"Updated for v2 workflows","body.emoji.oneOf.0":"✨","body.content_blocks.oneOf.0.items.0.id":"b_11111111-1111-4111-8111-111111111111","body.content_blocks.oneOf.0.items.0.type":"heading","body.content_blocks.oneOf.0.items.0.meta":{"level":2},"body.content_blocks.oneOf.0.items.0.content.oneOf.0":"Support Workflow","body.content_blocks.oneOf.0.items.1.id":"b_22222222-2222-4222-8222-222222222222","body.content_blocks.oneOf.0.items.1.type":"paragraph","body.content_blocks.oneOf.0.items.1.meta":{},"body.content_blocks.oneOf.0.items.1.content.oneOf.0":"Greet the user, ask clarifying questions, then propose next steps."}]},"dependencies":{"parameters":{"037a383d-1579-45e9-97e6-f68e9f7ecc21":{"name":"assetId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"bb4c9473-84c2-4781-8dfb-a1587ede8596":{"name":"assetType","in":"query","required":true,"description":"The asset type to update. Must match the asset's actual type.","schema":{"type":"string","enum":["prompt","persona","context","system_prompt","skill"],"isRequired":true,"description":"The asset type to update. Must match the asset's actual type.","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"New display name.","example":"Revised assistant prompt","uniqueKey":"title","typeLabel":"string"},"content":{"type":"string","description":"Deprecated compatibility field for body text. Use block update endpoints instead. Will be removed soon.","deprecated":true,"example":"You are an expert assistant that...","uniqueKey":"content","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Updated summary, or null to clear it.","example":"Updated for v2 workflows","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Updated summary, or null to clear it.","example":"Updated for v2 workflows","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"emoji":{"oneOf":[{"type":"string","description":"New emoji, or null to clear it.","example":"✨","uniqueKey":"emoji.oneOf.0","typeLabel":"string"},{"type":"null","description":"New emoji, or null to clear it.","example":"✨","uniqueKey":"emoji.oneOf.1","typeLabel":"null"}],"uniqueKey":"emoji","typeLabel":"string | null"},"projectId":{"oneOf":[{"type":"string","description":"Move to a project, or null to unassign.","format":"uuid","example":null,"uniqueKey":"projectId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","description":"Move to a project, or null to unassign.","example":null,"uniqueKey":"projectId.oneOf.1","typeLabel":"null"}],"uniqueKey":"projectId","typeLabel":"string\u003cuuid> | null"},"teamId":{"oneOf":[{"type":"string","description":"Reassign to a team, or null to unassign.","format":"uuid","example":null,"uniqueKey":"teamId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","description":"Reassign to a team, or null to unassign.","example":null,"uniqueKey":"teamId.oneOf.1","typeLabel":"null"}],"uniqueKey":"teamId","typeLabel":"string\u003cuuid> | null"},"lastUsedAt":{"oneOf":[{"type":"string","description":"Adjust the last-used timestamp.","format":"date-time","example":null,"uniqueKey":"lastUsedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Adjust the last-used timestamp.","example":null,"uniqueKey":"lastUsedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastUsedAt","typeLabel":"string\u003cdate-time> | null"},"content_blocks":{"oneOf":[{"type":"array","items":{"type":"object","description":"A single editor block in an asset's structured content tree.","required":["id","type","meta"],"properties":{"id":{"type":"string","description":"Stable block identifier.","example":"b_35effee2-0c97-463b-9a0a-8973eca1b4da","isRequired":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["paragraph","heading","code","divider","bullet_list","ordered_list","todo_list","toggle","quote","callout","table","block_snippet","block_ref","asset_ref"],"example":"paragraph","isRequired":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"meta":{"type":"object","additionalProperties":true,"description":"Block metadata for type-specific attributes.","example":{},"isRequired":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].meta","typeLabel":"object"},"content":{"oneOf":[{"type":"string","description":"Optional block textual content.","example":"This block was updated","uniqueKey":"content_blocks.oneOf.0.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional block textual content.","example":"This block was updated","uniqueKey":"content_blocks.oneOf.0.items.[INDEX].content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].content","typeLabel":"string | null"},"inline":{"type":"array","description":"Optional inline span model.","items":{"type":"object","additionalProperties":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].inline.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].inline","typeLabel":"object[]"},"children":{"type":"array","items":{"$circularRef":"5852034b-64c2-4f39-9368-68a9665c9ca3"},"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].children","typeLabel":"array"}},"uniqueKey":"content_blocks.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Replace structured block tree in ai_asset_blocks. Preferred over `content`.","example":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."}],"uniqueKey":"content_blocks.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Replace structured block tree in ai_asset_blocks. Preferred over `content`.","example":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."}],"uniqueKey":"content_blocks.oneOf.1","typeLabel":"null"}],"uniqueKey":"content_blocks","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Revised assistant prompt","content":"You are an expert assistant that...","description":"Updated for v2 workflows","emoji":"✨","projectId":null,"teamId":null,"lastUsedAt":null,"content_blocks":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0679e3a1-90f3-4e86-917f-23d9d4e9a723":{"description":"Full updated asset object.","content":{"application/json":{"schema":{"type":"object","description":"An AI asset — a prompt, persona, context, system prompt, or skill.","required":[],"properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the asset.","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"assetType":{"type":"string","enum":["prompt","persona","context","system_prompt","skill"],"description":"Type of AI asset. Immutable after creation.","example":"prompt","uniqueKey":"assetType","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Display name of the asset.","example":"Customer support assistant","uniqueKey":"title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Short summary shown in the UI.","example":"Handles tier-1 support tickets","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Short summary shown in the UI.","example":"Handles tier-1 support tickets","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"content":{"type":"string","description":"The main content body of the asset.","example":"You are a friendly customer support agent. Help users resolve their issues quickly and professionally.","uniqueKey":"content","typeLabel":"string"},"content_blocks":{"oneOf":[{"type":"array","items":{"type":"object","description":"A single editor block in an asset's structured content tree.","required":["id","type","meta"],"properties":{"id":{"type":"string","description":"Stable block identifier.","example":"b_35effee2-0c97-463b-9a0a-8973eca1b4da","isRequired":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["paragraph","heading","code","divider","bullet_list","ordered_list","todo_list","toggle","quote","callout","table","block_snippet","block_ref","asset_ref"],"example":"paragraph","isRequired":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"meta":{"type":"object","additionalProperties":true,"description":"Block metadata for type-specific attributes.","example":{},"isRequired":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].meta","typeLabel":"object"},"content":{"oneOf":[{"type":"string","description":"Optional block textual content.","example":"This block was updated","uniqueKey":"content_blocks.oneOf.0.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional block textual content.","example":"This block was updated","uniqueKey":"content_blocks.oneOf.0.items.[INDEX].content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].content","typeLabel":"string | null"},"inline":{"type":"array","description":"Optional inline span model.","items":{"type":"object","additionalProperties":true,"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].inline.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].inline","typeLabel":"object[]"},"children":{"type":"array","items":{"$circularRef":"5852034b-64c2-4f39-9368-68a9665c9ca3"},"uniqueKey":"content_blocks.oneOf.0.items.[INDEX].children","typeLabel":"array"}},"uniqueKey":"content_blocks.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Structured block tree resolved from ai_asset_blocks.","example":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."},{"id":"b_33333333-3333-4333-8333-333333333333","type":"todo_list","meta":{},"content":null,"children":[{"id":"b_44444444-4444-4444-8444-444444444444","type":"paragraph","meta":{"checked":false},"content":"Confirm account email"},{"id":"b_55555555-5555-4555-8555-555555555555","type":"paragraph","meta":{"checked":true},"content":"Acknowledge issue details"}]}],"uniqueKey":"content_blocks.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Structured block tree resolved from ai_asset_blocks.","example":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."},{"id":"b_33333333-3333-4333-8333-333333333333","type":"todo_list","meta":{},"content":null,"children":[{"id":"b_44444444-4444-4444-8444-444444444444","type":"paragraph","meta":{"checked":false},"content":"Confirm account email"},{"id":"b_55555555-5555-4555-8555-555555555555","type":"paragraph","meta":{"checked":true},"content":"Acknowledge issue details"}]}],"uniqueKey":"content_blocks.oneOf.1","typeLabel":"null"}],"uniqueKey":"content_blocks","typeLabel":"object[] | null"},"emoji":{"oneOf":[{"type":"string","description":"Single emoji icon for the asset.","example":"🤖","uniqueKey":"emoji.oneOf.0","typeLabel":"string"},{"type":"null","description":"Single emoji icon for the asset.","example":"🤖","uniqueKey":"emoji.oneOf.1","typeLabel":"null"}],"uniqueKey":"emoji","typeLabel":"string | null"},"isPublic":{"type":"boolean","description":"Whether the asset is publicly visible.","example":false,"uniqueKey":"isPublic","typeLabel":"boolean"},"currentVersion":{"type":"integer","description":"Latest version number of this asset (1 if no versions exist yet).","example":3,"uniqueKey":"currentVersion","typeLabel":"integer"},"projectId":{"oneOf":[{"type":"string","description":"ID of the project this asset belongs to, or null if unassigned.","format":"uuid","example":null,"uniqueKey":"projectId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","description":"ID of the project this asset belongs to, or null if unassigned.","example":null,"uniqueKey":"projectId.oneOf.1","typeLabel":"null"}],"uniqueKey":"projectId","typeLabel":"string\u003cuuid> | null"},"teamId":{"oneOf":[{"type":"string","description":"ID of the team workspace this asset belongs to, or null for personal.","format":"uuid","example":null,"uniqueKey":"teamId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","description":"ID of the team workspace this asset belongs to, or null for personal.","example":null,"uniqueKey":"teamId.oneOf.1","typeLabel":"null"}],"uniqueKey":"teamId","typeLabel":"string\u003cuuid> | null"},"userId":{"type":"string","format":"uuid","description":"ID of the user who owns this asset.","example":"b2c3d4e5-f6a7-8901-bcde-f12345678901","uniqueKey":"userId","typeLabel":"string\u003cuuid>"},"createdAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the asset was created.","example":"2026-01-15T10:30:00.000Z","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of the last update.","example":"2026-01-20T14:45:00.000Z","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"deletedAt":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp when the asset was trashed, or null if active.","format":"date-time","example":null,"uniqueKey":"deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"ISO 8601 timestamp when the asset was trashed, or null if active.","example":null,"uniqueKey":"deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"deletedAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","assetType":"prompt","title":"Revised assistant prompt","description":"Updated for v2 workflows","content":"You are an expert assistant that...","content_blocks":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."}],"emoji":"✨","projectId":null,"teamId":null,"userId":"b2c3d4e5-f6a7-8901-bcde-f12345678901","createdAt":"2026-01-15T10:30:00.000Z","updatedAt":"2026-01-21T09:15:00.000Z","deletedAt":null},"examples":{"Example":{"title":"Example","value":{"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","assetType":"prompt","title":"Revised assistant prompt","description":"Updated for v2 workflows","content":"You are an expert assistant that...","content_blocks":[{"id":"b_11111111-1111-4111-8111-111111111111","type":"heading","meta":{"level":2},"content":"Support Workflow"},{"id":"b_22222222-2222-4222-8222-222222222222","type":"paragraph","meta":{},"content":"Greet the user, ask clarifying questions, then propose next steps."}],"emoji":"✨","projectId":null,"teamId":null,"userId":"b2c3d4e5-f6a7-8901-bcde-f12345678901","createdAt":"2026-01-15T10:30:00.000Z","updatedAt":"2026-01-21T09:15:00.000Z","deletedAt":null}}},"exampleType":"examples"}},"exampleType":"examples"},"be635979-55be-47e2-ba5b-555790ee646f":{"description":"Invalid UUID, missing/invalid `assetType`, `assetType` does not match the asset's actual type, or no recognised fields in body.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Wrong data: assetType is required","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Wrong data: assetType is required"}}},"exampleType":"generated"}},"exampleType":"generated"},"517830f5-3b73-46fb-b211-7c885512077b":{"description":"Unauthorized.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Invalid API key","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid API key"}}},"exampleType":"generated"}},"exampleType":"generated"},"bbf1721e-8a75-4893-8311-8d35cda8176a":{"description":"Asset not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Not found","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"45baff8d-a60e-4f72-9063-a5540976e487":{"bearerAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Versuno API key. Must be prefixed with `Bearer`. Format: `Bearer uk_live_...`","x-default":"Bearer uk_live_your_api_key_here","scopes":[]}}},"servers":{"4f0b5a7f-83c8-4a0b-8d8d-4af3d3f39bf0":{"url":"https://versuno.ai/api/public","description":"Production"},"30a6a997-b428-4a77-992d-14c4be830787":{"url":"http://localhost:3000/api/public","description":"Local development"}},"schemas":{"5852034b-64c2-4f39-9368-68a9665c9ca3":{"type":"object","description":"A single editor block in an asset's structured content tree.","required":["id","type","meta"],"properties":{"id":{"type":"string","description":"Stable block identifier.","example":"b_35effee2-0c97-463b-9a0a-8973eca1b4da","isRequired":true},"type":{"type":"string","enum":["paragraph","heading","code","divider","bullet_list","ordered_list","todo_list","toggle","quote","callout","table","block_snippet","block_ref","asset_ref"],"example":"paragraph","isRequired":true},"meta":{"type":"object","additionalProperties":true,"description":"Block metadata for type-specific attributes.","example":{},"isRequired":true},"content":{"oneOf":[{"type":"string","description":"Optional block textual content.","example":"This block was updated"},{"type":"null","description":"Optional block textual content.","example":"This block was updated"}]},"inline":{"type":"array","description":"Optional inline span model.","items":{"type":"object","additionalProperties":true}},"children":{"type":"array","items":{"$circularRef":"5852034b-64c2-4f39-9368-68a9665c9ca3"}}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Versuno API key. Must be prefixed with `Bearer`. Format: `Bearer uk_live_...`","x-default":"Bearer uk_live_your_api_key_here","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"Versuno API key. Must be prefixed with `Bearer`. Format: `Bearer uk_live_...`","isRequired":true,"default":"Bearer uk_live_your_api_key_here","typeLabel":"string","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"versuno","siteName":"Versuno Docs","title":"Update an asset - Versuno Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-28T20:18:16.794Z","originalFileLocation":"api-reference/assets/update-an-asset.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 an asset. Send only the fields you want to change. An empty body returns 400.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Versuno 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/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_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/versuno/5E5mpn9ovNrmI998/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an asset - Versuno Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partially updates an asset. Send only the fields you want to change. An empty body returns 400.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Versuno Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.versuno.ai/api-reference/assets/update-an-asset\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://versuno.mintlify.site/_mintlify/api/og/v2?division=Assets\u0026amp;title=Update+an+asset\u0026amp;description=Partially+updates+an+asset.+Send+only+the+fields+you+want+to+change.+An+empty+body+returns+%60400%60.\u0026amp;theme=cbc6201f6967655b99482e7e\u0026amp;signature=7b82b62a0e0f8d5c13ec396e3d6f583252a3881e96e9be46420d9170da2da80c\">\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 an asset - Versuno Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partially updates an asset. Send only the fields you want to change. An empty body returns 400.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://versuno.mintlify.site/_mintlify/api/og/v2?division=Assets\u0026amp;title=Update+an+asset\u0026amp;description=Partially+updates+an+asset.+Send+only+the+fields+you+want+to+change.+An+empty+body+returns+%60400%60.\u0026amp;theme=cbc6201f6967655b99482e7e\u0026amp;signature=7b82b62a0e0f8d5c13ec396e3d6f583252a3881e96e9be46420d9170da2da80c\">\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/versuno/5E5mpn9ovNrmI998/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Versuno Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#06b3b0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.versuno.ai/api-reference/assets/update-an-asset\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/assets/update-an-asset.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.versuno.ai/#organization\",\"name\":\"Versuno Docs\",\"url\":\"https://docs.versuno.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/versuno/sru2WDBmRzMF6MNv/logo/light.png?fit=max\u0026auto=format\u0026n=sru2WDBmRzMF6MNv\u0026q=85\u0026s=50eb9030e54d21be4dcd1cc3a69aae84\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.versuno.ai#website\",\"name\":\"Versuno Docs\",\"url\":\"https://docs.versuno.ai\",\"publisher\":{\"@id\":\"https://docs.versuno.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset#webpage\",\"url\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset\",\"name\":\"Update an asset\",\"description\":\"Partially updates an asset. Send only the fields you want to change. An empty body returns 400.\",\"dateModified\":\"2026-06-28T20:18:16.794Z\",\"isPartOf\":{\"@id\":\"https://docs.versuno.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prompt Manager\",\"item\":\"https://docs.versuno.ai/api-reference/assets/list-all-assets\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Assets\",\"item\":\"https://docs.versuno.ai/api-reference/assets/list-all-assets\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update an asset\",\"item\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset#apireference\",\"headline\":\"Update an asset\",\"name\":\"Update an asset\",\"description\":\"Partially updates an asset. Send only the fields you want to change. An empty body returns 400.\",\"url\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset\",\"mainEntityOfPage\":{\"@id\":\"https://docs.versuno.ai/api-reference/assets/update-an-asset#webpage\"},\"dateModified\":\"2026-06-28T20:18:16.794Z\",\"publisher\":{\"@id\":\"https://docs.versuno.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.versuno.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Versuno Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Versuno Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/assets/update-an-asset.md","siteName":"Versuno Docs","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/UT2342QNTg"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"title":"Verify API key","deprecated":null,"version":null,"openapi":"/openapi.yaml get /auth/verify","href":"/api-reference/authentication/verify-api-key"},{"title":"Create agent identity","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/agent-identity","href":"/api-reference/authentication/create-agent-identity"},{"title":"Claim agent identity","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/claim-agent-identity","href":"/api-reference/authentication/claim-agent-identity"}]},{"group":"Memory","pages":[{"title":"Sync captured agent memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /memory/sync","href":"/api-reference/memory/sync-captured-agent-memory"},{"title":"Save a memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /memory/save","href":"/api-reference/memory/save-a-memory"},{"title":"Recall memory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /memory/query","href":"/api-reference/memory/recall-memory"},{"title":"Resolve a memory conflict","deprecated":null,"version":null,"openapi":"/openapi.yaml post /memory/resolve","href":"/api-reference/memory/resolve-a-memory-conflict"}]},{"group":"Teams","pages":[{"title":"List my teams","deprecated":null,"version":null,"openapi":"/openapi.yaml get /teams","href":"/api-reference/teams/list-my-teams"}]},{"group":"Public Brains","pages":[{"title":"List public brains","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/public","href":"/api-reference/public-brains/list-public-brains"},{"title":"Get a brain","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}","href":"/api-reference/public-brains/get-a-brain"},{"title":"List containers","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}/containers","href":"/api-reference/public-brains/list-containers"},{"title":"List containers (tree)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}/containers/tree","href":"/api-reference/public-brains/list-containers-tree"},{"title":"Get a container","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}/containers/{containerId}","href":"/api-reference/public-brains/get-a-container"},{"title":"List nodes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}/containers/{containerId}/nodes","href":"/api-reference/public-brains/list-nodes"},{"title":"List nodes (tree)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}/containers/{containerId}/nodes/tree","href":"/api-reference/public-brains/list-nodes-tree"},{"title":"Get a node","deprecated":null,"version":null,"openapi":"/openapi.yaml get /brains/{id}/nodes/{nodeId}","href":"/api-reference/public-brains/get-a-node"},{"title":"Query a brain","deprecated":null,"version":null,"openapi":"/openapi.yaml post /brains/{id}/query","href":"/api-reference/public-brains/query-a-brain"},{"title":"Query a container","deprecated":null,"version":null,"openapi":"/openapi.yaml post /brains/{id}/containers/{containerId}/query","href":"/api-reference/public-brains/query-a-container"}]},{"group":"Prompt Manager","expanded":true,"pages":[{"group":"Assets","pages":[{"title":"List all assets","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets","href":"/api-reference/assets/list-all-assets"},{"title":"Create an asset","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets","href":"/api-reference/assets/create-an-asset"},{"title":"Get a single asset","description":"Returns a single non-trashed asset. Omit `assetType` for base fields only; provide it for type-specific fields.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/{assetId}","href":"/api-reference/assets/get-a-single-asset"},{"title":"Update an asset","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /assets/{assetId}/update","href":"/api-reference/assets/update-an-asset"}]},{"group":"Blocks","pages":[{"title":"Get all blocks","description":"Returns the full block tree for the target asset.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/{assetId}/blocks","href":"/api-reference/assets/get-all-blocks"},{"title":"Patch specific blocks","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /assets/{assetId}/blocks","href":"/api-reference/assets/patch-specific-blocks"},{"title":"Create a block","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/{assetId}/blocks","href":"/api-reference/assets/create-a-block"},{"title":"Apply block operations","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/{assetId}/blocks/operations","href":"/api-reference/assets/apply-block-operations"},{"title":"Get a block","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/{assetId}/blocks/{blockId}","href":"/api-reference/assets/get-a-block"},{"title":"Delete a block","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /assets/{assetId}/blocks/{blockId}","href":"/api-reference/assets/delete-a-block"}]},{"group":"Asset Trash","pages":[{"title":"Move asset to trash","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/{assetId}/trash","href":"/api-reference/asset-trash/move-asset-to-trash"},{"title":"Get a trashed asset","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/{assetId}/trash","href":"/api-reference/asset-trash/get-a-trashed-asset"},{"title":"Restore a trashed asset","deprecated":null,"version":null,"openapi":"/openapi.yaml put /assets/{assetId}/trash","href":"/api-reference/asset-trash/restore-a-trashed-asset"},{"title":"Permanently delete a trashed asset","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /assets/{assetId}/trash","href":"/api-reference/asset-trash/permanently-delete-a-trashed-asset"}]},{"group":"Bulk Asset Trash","pages":[{"title":"List trashed assets","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/trash","href":"/api-reference/bulk-asset-trash/list-trashed-assets"},{"title":"Bulk move to trash","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/trash","href":"/api-reference/bulk-asset-trash/bulk-move-to-trash"},{"title":"Bulk restore from trash","deprecated":null,"version":null,"openapi":"/openapi.yaml put /assets/trash","href":"/api-reference/bulk-asset-trash/bulk-restore-from-trash"},{"title":"Bulk permanent delete","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /assets/trash","href":"/api-reference/bulk-asset-trash/bulk-permanent-delete"}]},{"group":"Versioning","pages":[{"title":"List version history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/{assetId}/versions","href":"/api-reference/versioning/list-version-history"},{"title":"Create a version","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/{assetId}/versions","href":"/api-reference/versioning/create-a-version"},{"title":"Get a version","deprecated":null,"version":null,"openapi":"/openapi.yaml get /assets/{assetId}/versions/{versionId}","href":"/api-reference/versioning/get-a-version"},{"title":"Delete a version","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /assets/{assetId}/versions/{versionId}","href":"/api-reference/versioning/delete-a-version"},{"title":"Revert to version by number","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/{assetId}/versions/{versionId}","href":"/api-reference/versioning/revert-to-version-by-number"},{"title":"Revert to version by UUID","deprecated":null,"version":null,"openapi":"/openapi.yaml post /assets/{assetId}/versions/{versionId}/revert","href":"/api-reference/versioning/revert-to-version-by-uuid"}]},{"group":"Projects","pages":[{"title":"List all projects","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects","href":"/api-reference/projects/list-all-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects","href":"/api-reference/projects/create-a-project"},{"title":"Get a single project","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}","href":"/api-reference/projects/get-a-single-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /projects/{projectId}/update","href":"/api-reference/projects/update-a-project"}]},{"group":"Project Trash","pages":[{"title":"Move project to trash","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects/{projectId}/trash","href":"/api-reference/project-trash/move-project-to-trash"},{"title":"Get a trashed project","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}/trash","href":"/api-reference/project-trash/get-a-trashed-project"},{"title":"Restore a trashed project","deprecated":null,"version":null,"openapi":"/openapi.yaml put /projects/{projectId}/trash","href":"/api-reference/project-trash/restore-a-trashed-project"},{"title":"Permanently delete a trashed project","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /projects/{projectId}/trash","href":"/api-reference/project-trash/permanently-delete-a-trashed-project"}]}]}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli/overview"}]},{"tab":"MCP Reference","pages":[{"title":"MCP Reference","href":"/mcp/overview"}]}]},"basePath":"","title":"Update an asset - Versuno Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}