import Avido from 'avido';const client = new Avido({ apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted});const version = await client.documents.versions.update(2, { id: '123e4567-e89b-12d3-a456-426614174000',});console.log(version.document);
import os
from avido import Avido
client = Avido(
api_key=os.environ.get("AVIDO_API_KEY"), # This is the default and can be omitted
application_id=os.environ.get("AVIDO_APPLICATION_ID"), # This is the default and can be omitted
)
version = client.documents.versions.update(
version_number=2,
id="123e4567-e89b-12d3-a456-426614174000",
)
print(version.document)
curl --request PUT \
--url https://api.avidoai.com/v0/documents/{id}/versions/{versionNumber} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"title": "Updated API Documentation v2",
"content": "This updated document describes the API endpoints...",
"metadata": {},
"originalSentences": [
"This is the updated first sentence.",
"This is the updated second sentence."
],
"status": "APPROVED",
"language": "english"
}
'
Updates the content, title, status, or other fields of a specific document version.
PUT
/
v0
/
documents
/
{id}
/
versions
/
{versionNumber}
JavaScript
import Avido from 'avido';const client = new Avido({ apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted});const version = await client.documents.versions.update(2, { id: '123e4567-e89b-12d3-a456-426614174000',});console.log(version.document);
import os
from avido import Avido
client = Avido(
api_key=os.environ.get("AVIDO_API_KEY"), # This is the default and can be omitted
application_id=os.environ.get("AVIDO_APPLICATION_ID"), # This is the default and can be omitted
)
version = client.documents.versions.update(
version_number=2,
id="123e4567-e89b-12d3-a456-426614174000",
)
print(version.document)
curl --request PUT \
--url https://api.avidoai.com/v0/documents/{id}/versions/{versionNumber} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"title": "Updated API Documentation v2",
"content": "This updated document describes the API endpoints...",
"metadata": {},
"originalSentences": [
"This is the updated first sentence.",
"This is the updated second sentence."
],
"status": "APPROVED",
"language": "english"
}
'
A Core Document represents a piece of content that can be organized hierarchically with parent-child relationships and supports versioning
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Avido","colors":{"primary":"#FF7514","light":"#FF7514","dark":"#803B0A"},"logo":{"light":"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72","dark":"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72","href":"https://avidoai.com"},"favicon":"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72","navbar":{"links":[{"href":"mailto:support@avidoai.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.avidoai.com"}},"footer":{"socials":{"x":"https://x.com/avidoai","github":"https://github.com/avido-ai","linkedin":"https://www.linkedin.com/company/avidoai"}},"fonts":{"family":"Geist","weight":400,"format":"woff2"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"avido","hasAudioNarration":false,"actualSubdomain":"avido","customDomains":["docs.avidoai.com"],"gitSource":{"type":"github","owner":"avido-ai","repo":"avido","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a98bb90b0c4d98bad4c728b","collectionId":"a414f0d7-126f-4050-850d-35b62b4a3ad6","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a98bb90b0c4d98bad4c728b"},"entitlements":{},"buildId":"6a98bb90b0c4d98bad4c728b","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":236},{"language":"default","tag":"API Reference","count":210},{"language":"default","tag":"Documents","count":20},{"language":"default","tag":"Reports","count":15},{"language":"default","tag":"Tasks","count":15},{"language":"default","tag":"Eval Definitions","count":12},{"language":"default","tag":"QuickstartsV2","count":12},{"language":"default","tag":"Issues","count":9},{"language":"default","tag":"Topics","count":9},{"language":"default","tag":"Experiments","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/documents/update-a-document-version","slug":"/api-reference/documents/update-a-document-version","pageMetadata":{"title":"Update a document version","description":"Updates the content, title, status, or other fields of a specific document version.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/versions/{versionNumber}","href":"/api-reference/documents/update-a-document-version","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates the content, title, status, or other fields of a specific document version.\"\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 document version","description":"Updates the content, title, status, or other fields of a specific document version.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/versions/{versionNumber}","href":"/api-reference/documents/update-a-document-version","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateDocumentVersion","summary":"Update a document version","description":"Updates the content, title, status, or other fields of a specific document version.","tags":["Documents"],"parameters":["ee48d249-0a6a-454d-b8ce-2a88c8e4f3f2","f39267b9-d611-426d-8a92-33c432fab8d2"],"requestBody":"b2852ec4-04dc-4cd7-97be-7b13062d6ac5","responses":{"200":"b9f2492b-6731-47ba-b323-cb389b350394","400":"024138cb-5dda-4a34-b3e4-2ca525159763","401":"212367a5-85ba-46f4-ab29-2161a0fc0cd1","403":"e5998d1a-b11a-4258-a5cb-764406113188","404":"662be364-4d05-4601-8115-91eea181dc2c","422":"991e6c64-e8ce-4e28-ad5a-076bf0fc0542","500":"404c033b-b394-4134-9c5b-2517b532d9f3"},"x-codeSamples":[{"lang":"JavaScript","source":"import Avido from 'avido';\n\nconst client = new Avido({\n apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted\n applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted\n});\n\nconst version = await client.documents.versions.update(2, {\n id: '123e4567-e89b-12d3-a456-426614174000',\n});\n\nconsole.log(version.document);"},{"lang":"Python","source":"import os\nfrom avido import Avido\n\nclient = Avido(\n api_key=os.environ.get(\"AVIDO_API_KEY\"), # This is the default and can be omitted\n application_id=os.environ.get(\"AVIDO_APPLICATION_ID\"), # This is the default and can be omitted\n)\nversion = client.documents.versions.update(\n version_number=2,\n id=\"123e4567-e89b-12d3-a456-426614174000\",\n)\nprint(version.document)"}],"method":"put","type":"path","servers":["4f236849-7374-466a-8918-4cd00576ab95"],"security":["7bf9289a-dbe8-45a8-acf7-c0f9d38ed7de"],"path":"/v0/documents/{id}/versions/{versionNumber}","baseUrlOptions":["https://api.avidoai.com"],"title":"Update a document version","codeSamples":[{"lang":"JavaScript","source":"import Avido from 'avido';\n\nconst client = new Avido({\n apiKey: process.env['AVIDO_API_KEY'], // This is the default and can be omitted\n applicationID: process.env['AVIDO_APPLICATION_ID'], // This is the default and can be omitted\n});\n\nconst version = await client.documents.versions.update(2, {\n id: '123e4567-e89b-12d3-a456-426614174000',\n});\n\nconsole.log(version.document);"},{"lang":"Python","source":"import os\nfrom avido import Avido\n\nclient = Avido(\n api_key=os.environ.get(\"AVIDO_API_KEY\"), # This is the default and can be omitted\n application_id=os.environ.get(\"AVIDO_APPLICATION_ID\"), # This is the default and can be omitted\n)\nversion = client.documents.versions.update(\n version_number=2,\n id=\"123e4567-e89b-12d3-a456-426614174000\",\n)\nprint(version.document)"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"ee48d249-0a6a-454d-b8ce-2a88c8e4f3f2":{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The unique identifier of the document","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"The unique identifier of the document"},"f39267b9-d611-426d-8a92-33c432fab8d2":{"in":"path","name":"versionNumber","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The version number","example":2,"isRequired":true,"uniqueKey":"","typeLabel":"integer"},"required":true,"description":"The version number"}},"requestBody":{"description":"Fields to update in the document version","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"description":"Updated title for the version","example":"Updated API Documentation v2","type":"string","uniqueKey":"title","typeLabel":"string"},"content":{"description":"Updated content for the version","example":"This updated document describes the API endpoints...","type":"string","uniqueKey":"content","typeLabel":"string"},"metadata":{"description":"Updated metadata for the version","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.additionalProperties","typeLabel":"any"},"uniqueKey":"metadata","typeLabel":"object"},"originalSentences":{"description":"Updated array of original sentences from the source","example":["This is the updated first sentence.","This is the updated second sentence."],"type":"array","items":{"type":"string","uniqueKey":"originalSentences.items.[INDEX]","typeLabel":"string"},"uniqueKey":"originalSentences","typeLabel":"string[]"},"status":{"description":"Updated status for the version","example":"APPROVED","type":"string","enum":["DRAFT","REVIEW","APPROVED","ARCHIVED","ACTIVE"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"language":{"description":"Language of the initial document version","example":"english","type":"string","uniqueKey":"language","typeLabel":"string"}},"additionalProperties":false,"title":"Update Document Version Request","description":"Request body for updating a specific document version. Only version-specific fields can be updated.","uniqueKey":"","typeLabel":"Update Document Version Request · object"},"examples":{"Example":{"title":"Example","value":{"title":"Updated API Documentation v2","content":"This updated document describes the API endpoints...","metadata":{},"originalSentences":["This is the updated first sentence.","This is the updated second sentence."],"status":"APPROVED","language":"english"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b9f2492b-6731-47ba-b323-cb389b350394":{"description":"Document version updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier of the document version","example":"321e4567-e89b-12d3-a456-426614174001","isRequired":true,"uniqueKey":"version.id","typeLabel":"string\u003cuuid>"},"createdAt":{"description":"When the document version was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"version.createdAt","typeLabel":"string\u003cdate-time>"},"modifiedAt":{"description":"When the document version was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"version.modifiedAt","typeLabel":"string\u003cdate-time>"},"orgId":{"type":"string","description":"Organization ID that owns this document version","example":"org_123456789","isRequired":true,"uniqueKey":"version.orgId","typeLabel":"string"},"applicationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Application ID this document version belongs to","example":"456e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"version.applicationId","typeLabel":"string\u003cuuid>"},"title":{"type":"string","description":"Title of the document version","example":"API Documentation","isRequired":true,"uniqueKey":"version.title","typeLabel":"string"},"content":{"type":"string","description":"Content of the document version","example":"This document describes the API endpoints...","isRequired":true,"uniqueKey":"version.content","typeLabel":"string"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"version.metadata.additionalProperties","typeLabel":"any"},"description":"Optional metadata associated with the document version","isRequired":true,"uniqueKey":"version.metadata","typeLabel":"object"},"originalSentences":{"description":"Array of original sentences from the source","example":["This is the first sentence.","This is the second sentence."],"type":"array","items":{"type":"string","uniqueKey":"version.originalSentences.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"version.originalSentences","typeLabel":"string[]"},"language":{"type":"string","description":"Language of the document version","example":"english","isRequired":true,"uniqueKey":"version.language","typeLabel":"string"},"status":{"type":"string","enum":["DRAFT","REVIEW","APPROVED","ARCHIVED","ACTIVE"],"description":"Status of the document. Valid options: DRAFT, REVIEW, APPROVED, ARCHIVED, ACTIVE.","example":"APPROVED","isRequired":true,"uniqueKey":"version.status","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["KNOWLEDGE","POLICY"],"description":"Type of the document. Valid options: KNOWLEDGE, POLICY.","example":"KNOWLEDGE","isRequired":true,"uniqueKey":"version.type","typeLabel":"enum\u003cstring>"},"versionNumber":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Version number of this document version","example":1,"isRequired":true,"uniqueKey":"version.versionNumber","typeLabel":"integer"},"documentId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"ID of the document this version belongs to","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"version.documentId","typeLabel":"string\u003cuuid>"}},"required":["id","createdAt","modifiedAt","orgId","applicationId","title","content","metadata","originalSentences","language","status","type","versionNumber","documentId"],"additionalProperties":false,"title":"DocumentVersion","description":"A specific version of a document with its content and metadata","isRequired":true,"uniqueKey":"version","typeLabel":"DocumentVersion · object"},"document":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier of the document","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"document.id","typeLabel":"string\u003cuuid>"},"createdAt":{"description":"When the document was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"document.createdAt","typeLabel":"string\u003cdate-time>"},"modifiedAt":{"description":"When the document was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"document.modifiedAt","typeLabel":"string\u003cdate-time>"},"orgId":{"type":"string","description":"Organization ID that owns this document","example":"org_123456789","isRequired":true,"uniqueKey":"document.orgId","typeLabel":"string"},"applicationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Application ID this document belongs to","example":"456e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"document.applicationId","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["KNOWLEDGE","POLICY"],"description":"Type of the document. Valid options: KNOWLEDGE, POLICY.","example":"KNOWLEDGE","isRequired":true,"uniqueKey":"document.type","typeLabel":"enum\u003cstring>"},"optimized":{"type":"boolean","description":"Whether the document has been optimized","example":false,"isRequired":true,"uniqueKey":"document.optimized","typeLabel":"boolean"},"isVerified":{"type":"boolean","description":"Whether the document has been signed off during quickstart review","example":false,"isRequired":true,"uniqueKey":"document.isVerified","typeLabel":"boolean"},"status":{"type":"string","enum":["DRAFT","ACTIVE"],"description":"Visibility status of the document in the knowledge library.","example":"ACTIVE","isRequired":true,"uniqueKey":"document.status","typeLabel":"enum\u003cstring>"},"assignee":{"oneOf":[{"type":"string","description":"User ID of the person assigned to this document","example":"user_123456789","uniqueKey":"document.assignee.oneOf.0","typeLabel":"string"},{"type":"null","description":"User ID of the person assigned to this document","example":"user_123456789","uniqueKey":"document.assignee.oneOf.1","typeLabel":"null"},{"type":"null","uniqueKey":"document.assignee.oneOf.2","typeLabel":"null"}],"uniqueKey":"document.assignee","typeLabel":"string · null · null"},"scrapeJob":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The unique identifier of the scrape job","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.id","typeLabel":"string\u003cuuid>"},"createdAt":{"description":"When the scrape job was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"modifiedAt":{"description":"When the scrape job was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.modifiedAt","typeLabel":"string\u003cdate-time>"},"orgId":{"type":"string","description":"Organization ID that owns the scrape job","example":"org_123","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.orgId","typeLabel":"string"},"applicationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Application ID this scrape job belongs to","example":"456e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.applicationId","typeLabel":"string\u003cuuid>"},"initiatedBy":{"type":"string","description":"User ID who initiated the scrape job","example":"user_123","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.initiatedBy","typeLabel":"string"},"name":{"type":"string","description":"The name/title of the scrape job","example":"Documentation Scrape","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.name","typeLabel":"string"},"url":{"type":"string","maxLength":2048,"format":"uri","description":"The URL that was scraped","example":"https://example.com","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.url","typeLabel":"string\u003curi>"},"status":{"type":"string","enum":["MAPPING","PENDING","IN_PROGRESS","COMPLETED","FAILED"],"description":"Current status of the scrape job","example":"PENDING","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.status","typeLabel":"enum\u003cstring>"},"quickstartStatus":{"type":"string","enum":["PROCESSING","REVIEW","COMPLETED","NOT_ASSOCIATED"],"description":"The quickstart association status of the scrape job","example":"NOT_ASSOCIATED","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.quickstartStatus","typeLabel":"enum\u003cstring>"},"pages":{"description":"The pages scraped from the URL","example":[{"url":"https://example.com/page1","title":"Page 1","description":"This is the first page of the documentation.","category":"Documentation"},{"url":"https://example.com/page2"}],"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"The URL of the page","example":"https://example.com/page1","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.pages.items.[INDEX].url","typeLabel":"string\u003curi>"},"title":{"description":"The title of the page","example":"Page 1","type":"string","uniqueKey":"document.scrapeJob.oneOf.0.pages.items.[INDEX].title","typeLabel":"string"},"description":{"description":"The description of the page","example":"This is the first page of the documentation.","type":"string","uniqueKey":"document.scrapeJob.oneOf.0.pages.items.[INDEX].description","typeLabel":"string"},"category":{"description":"The category of the page","example":"Documentation","type":"string","uniqueKey":"document.scrapeJob.oneOf.0.pages.items.[INDEX].category","typeLabel":"string"}},"required":["url"],"additionalProperties":false,"uniqueKey":"document.scrapeJob.oneOf.0.pages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"document.scrapeJob.oneOf.0.pages","typeLabel":"object[]"},"failedPages":{"description":"Pages that failed to scrape after all retry attempts","example":[{"url":"https://example.com/page3","error":"Connection timeout after 5 retries"}],"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"The URL that failed to scrape","example":"https://example.com/page1","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.failedPages.items.[INDEX].url","typeLabel":"string\u003curi>"},"error":{"type":"string","description":"The error message from the failed scrape attempt","example":"Connection timeout after 5 retries","isRequired":true,"uniqueKey":"document.scrapeJob.oneOf.0.failedPages.items.[INDEX].error","typeLabel":"string"}},"required":["url","error"],"additionalProperties":false,"title":"Scrape Job Page Failure","description":"Information about a page that failed to scrape after all retry attempts","uniqueKey":"document.scrapeJob.oneOf.0.failedPages.items.[INDEX]","typeLabel":"Scrape Job Page Failure · object"},"uniqueKey":"document.scrapeJob.oneOf.0.failedPages","typeLabel":"Scrape Job Page Failure · object[]"}},"required":["id","createdAt","modifiedAt","orgId","applicationId","initiatedBy","name","url","status","quickstartStatus"],"additionalProperties":false,"title":"Scrape Job","description":"Optional scrape job that generated this document","uniqueKey":"document.scrapeJob.oneOf.0","typeLabel":"Scrape Job · object"},{"type":"null","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The unique identifier of the scrape job","example":"123e4567-e89b-12d3-a456-426614174000"},"createdAt":{"description":"When the scrape job was created","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"modifiedAt":{"description":"When the scrape job was last modified","example":"2024-01-05T12:34:56.789Z","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"orgId":{"type":"string","description":"Organization ID that owns the scrape job","example":"org_123"},"applicationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Application ID this scrape job belongs to","example":"456e4567-e89b-12d3-a456-426614174000"},"initiatedBy":{"type":"string","description":"User ID who initiated the scrape job","example":"user_123"},"name":{"type":"string","description":"The name/title of the scrape job","example":"Documentation Scrape"},"url":{"type":"string","maxLength":2048,"format":"uri","description":"The URL that was scraped","example":"https://example.com"},"pages":{"description":"The pages scraped from the URL","example":[{"url":"https://example.com/page1","title":"Page 1","description":"This is the first page of the documentation.","category":"Documentation"},{"url":"https://example.com/page2"}],"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"The URL of the page","example":"https://example.com/page1"},"title":{"description":"The title of the page","example":"Page 1","type":"string"},"description":{"description":"The description of the page","example":"This is the first page of the documentation.","type":"string"},"category":{"description":"The category of the page","example":"Documentation","type":"string"}},"required":["url"],"additionalProperties":false}},"failedPages":{"description":"Pages that failed to scrape after all retry attempts","example":[{"url":"https://example.com/page3","error":"Connection timeout after 5 retries"}],"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"The URL that failed to scrape","example":"https://example.com/page1"},"error":{"type":"string","description":"The error message from the failed scrape attempt","example":"Connection timeout after 5 retries"}},"required":["url","error"],"additionalProperties":false,"title":"Scrape Job Page Failure","description":"Information about a page that failed to scrape after all retry attempts"}},"status":{"type":"string","enum":["MAPPING","PENDING","IN_PROGRESS","COMPLETED","FAILED"],"description":"Current status of the scrape job","example":"PENDING"},"quickstartStatus":{"type":"string","enum":["PROCESSING","REVIEW","COMPLETED","NOT_ASSOCIATED"],"description":"The quickstart association status of the scrape job","example":"NOT_ASSOCIATED"}},"required":["id","createdAt","modifiedAt","orgId","applicationId","initiatedBy","name","url","status","quickstartStatus"],"additionalProperties":false,"title":"Scrape Job","description":"Optional scrape job that generated this document","uniqueKey":"document.scrapeJob.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.scrapeJob","typeLabel":"Scrape Job · object | null"},"scrapeJobId":{"oneOf":[{"description":"Optional ID of the scrape job that generated this document","example":"321e4567-e89b-12d3-a456-426614174000","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"document.scrapeJobId.oneOf.0","typeLabel":"string\u003cuuid>"},{"description":"Optional ID of the scrape job that generated this document","example":"321e4567-e89b-12d3-a456-426614174000","type":"null","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"document.scrapeJobId.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.scrapeJobId","typeLabel":"string\u003cuuid> | null"},"fileProcessingId":{"oneOf":[{"description":"Optional ID of the FileProcessing row that ingested this document (CSV/PDF/XLSX/markdown uploads). Null for scraped, generated, or directly-created docs.","example":"654e7890-e89b-12d3-a456-426614174000","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"document.fileProcessingId.oneOf.0","typeLabel":"string\u003cuuid>"},{"description":"Optional ID of the FileProcessing row that ingested this document (CSV/PDF/XLSX/markdown uploads). Null for scraped, generated, or directly-created docs.","example":"654e7890-e89b-12d3-a456-426614174000","type":"null","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"document.fileProcessingId.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.fileProcessingId","typeLabel":"string\u003cuuid> | null"},"topicId":{"oneOf":[{"description":"Optional ID of the topic this document belongs to","example":"789e1234-e89b-12d3-a456-426614174000","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"document.topicId.oneOf.0","typeLabel":"string\u003cuuid>"},{"description":"Optional ID of the topic this document belongs to","example":"789e1234-e89b-12d3-a456-426614174000","type":"null","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"document.topicId.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.topicId","typeLabel":"string\u003cuuid> | null"}},"required":["id","createdAt","modifiedAt","orgId","applicationId","type","optimized","isVerified","status"],"additionalProperties":false,"title":"Core Document","description":"A Core Document represents a piece of content that can be organized hierarchically with parent-child relationships and supports versioning","isRequired":true,"uniqueKey":"document","typeLabel":"Core Document · object"}},"required":["version","document"],"additionalProperties":false,"title":"Document Version Response","description":"Response containing a specific document version","uniqueKey":"","typeLabel":"Document Version Response · object"},"examples":{"success":{"title":"success","value":{"document":{"id":"123e4567-e89b-12d3-a456-426614174000","createdAt":"2024-01-05T12:34:56.789Z","modifiedAt":"2024-01-07T12:34:56.789Z","orgId":"org_123456789","assignee":"user_123456789","scrapeJobId":null},"version":{"id":"321e4567-e89b-12d3-a456-426614174001","createdAt":"2024-01-05T12:34:56.789Z","modifiedAt":"2024-01-07T12:34:56.789Z","orgId":"org_123456789","versionNumber":1,"title":"Updated API Documentation","content":"Updated content...","status":"ACTIVE","documentId":"123e4567-e89b-12d3-a456-426614174000"}}}},"exampleType":"examples"}},"exampleType":"examples"},"024138cb-5dda-4a34-b3e4-2ca525159763":{"description":"bad request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"212367a5-85ba-46f4-ab29-2161a0fc0cd1":{"description":"unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"e5998d1a-b11a-4258-a5cb-764406113188":{"description":"forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"662be364-4d05-4601-8115-91eea181dc2c":{"description":"Document version not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"991e6c64-e8ce-4e28-ad5a-076bf0fc0542":{"description":"invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message indicating what went wrong.","example":"Invalid request data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string[]"}},"required":["code","message","path"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Array of detailed validation error objects.","example":[{"code":"invalid_string","message":"Invalid UUID","path":["id"]}],"isRequired":true,"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","issues"],"additionalProperties":false,"title":"ValidationErrorResponse","description":"Details about validation errors in incoming requests.","uniqueKey":"","typeLabel":"ValidationErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid request data","issues":[{"code":"invalid_string","message":"Invalid UUID","path":["id"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"404c033b-b394-4134-9c5b-2517b532d9f3":{"description":"internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable error message explaining the error.","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"title":"ErrorResponse","description":"Standard error format for failed API operations.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7bf9289a-dbe8-45a8-acf7-c0f9d38ed7de":{"ApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your unique Avido API key","scopes":[]},"ApplicationId":{"type":"apiKey","in":"header","name":"x-application-id","description":"Your unique Avido Application ID","scopes":[]}}},"servers":{"4f236849-7374-466a-8918-4cd00576ab95":{"url":"https://api.avidoai.com","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your unique Avido API key","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"Your unique Avido API key","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"x-api-key"},{"scheme":{"type":"apiKey","in":"header","name":"x-application-id","description":"Your unique Avido Application ID","scopes":[]},"schema":{"title":"x-application-id","type":"string","description":"Your unique Avido Application ID","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApplicationId","name":"x-application-id"}],"title":"ApiKey \u0026 ApplicationId"}]},"originalFileLocation":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml"},"subdomain":"avido","siteName":"Avido","title":"Update a document version - Avido","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-16T15:31:44.449Z","originalFileLocation":"api-reference/documents/update-a-document-version.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=\"Updates the content, title, status, or other fields of a specific document version.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Avido\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_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/avido/GXmBIkv3Nq2X8cGn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a document version - Avido\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the content, title, status, or other fields of a specific document version.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Avido\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.avidoai.com/api-reference/documents/update-a-document-version\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://avido.mintlify.site/_mintlify/api/og/v2?division=Documents\u0026amp;title=Update+a+document+version\u0026amp;description=Updates+the+content%2C+title%2C+status%2C+or+other+fields+of+a+specific+document+version.\u0026amp;theme=2e4da9745f5fe17e58abdba2\u0026amp;signature=c1fd1c3422c9b056eaa78f1ff0477c781973d5daa783ddc06a2c2d32600f99c0\">\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 document version - Avido\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the content, title, status, or other fields of a specific document version.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://avido.mintlify.site/_mintlify/api/og/v2?division=Documents\u0026amp;title=Update+a+document+version\u0026amp;description=Updates+the+content%2C+title%2C+status%2C+or+other+fields+of+a+specific+document+version.\u0026amp;theme=2e4da9745f5fe17e58abdba2\u0026amp;signature=c1fd1c3422c9b056eaa78f1ff0477c781973d5daa783ddc06a2c2d32600f99c0\">\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/avido/GXmBIkv3Nq2X8cGn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Avido\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF7514\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.avidoai.com/api-reference/documents/update-a-document-version\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/documents/update-a-document-version.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.avidoai.com/#organization\",\"name\":\"Avido\",\"url\":\"https://docs.avidoai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/avido/XZVUP7f9J0DVOGvD/images/logo.svg?fit=max\u0026auto=format\u0026n=XZVUP7f9J0DVOGvD\u0026q=85\u0026s=b268bcb717a1c694344be5a48e5ede72\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.avidoai.com#website\",\"name\":\"Avido\",\"url\":\"https://docs.avidoai.com\",\"publisher\":{\"@id\":\"https://docs.avidoai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version#webpage\",\"url\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version\",\"name\":\"Update a document version\",\"description\":\"Updates the content, title, status, or other fields of a specific document version.\",\"dateModified\":\"2026-07-16T15:31:44.449Z\",\"isPartOf\":{\"@id\":\"https://docs.avidoai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documents\",\"item\":\"https://docs.avidoai.com/api-reference/documents/list-documents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a document version\",\"item\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version#apireference\",\"headline\":\"Update a document version\",\"name\":\"Update a document version\",\"description\":\"Updates the content, title, status, or other fields of a specific document version.\",\"url\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version\",\"mainEntityOfPage\":{\"@id\":\"https://docs.avidoai.com/api-reference/documents/update-a-document-version#webpage\"},\"dateModified\":\"2026-07-16T15:31:44.449Z\",\"publisher\":{\"@id\":\"https://docs.avidoai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.avidoai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Avido\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Avido","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/changelog"}]},{"tab":"API Reference","groups":[{"group":"Webhook","pages":[{"title":"Validate an incoming webhook request","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/validate-webhook","href":"/api-reference/webhook/validate-an-incoming-webhook-request"},{"title":"Get webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/webhook","href":"/api-reference/webhook/get-webhook-configuration-for-an-application"},{"title":"Create or update webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/webhook","href":"/api-reference/webhook/create-or-update-webhook-configuration-for-an-application"},{"title":"Delete webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/webhook","href":"/api-reference/webhook/delete-webhook-configuration-for-an-application"},{"title":"Test webhook configuration for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/webhook/test","href":"/api-reference/webhook/test-webhook-configuration-for-an-application"}]},{"group":"Assistant","pages":[{"title":"Stream assistant response","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/assistant/chat","href":"/api-reference/assistant/stream-assistant-response"}]},{"group":"Authentication","pages":[{"title":"List enabled auth providers","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/providers","href":"/api-reference/authentication/list-enabled-auth-providers"},{"title":"Get current session","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/session","href":"/api-reference/authentication/get-current-session"},{"title":"List organizations for current session","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/organizations","href":"/api-reference/authentication/list-organizations-for-current-session"},{"title":"Set active organization for current session","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/auth/organizations/set-active","href":"/api-reference/authentication/set-active-organization-for-current-session"},{"title":"Get a public preview of an organization invitation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/auth/invitation-preview","href":"/api-reference/authentication/get-a-public-preview-of-an-organization-invitation"}]},{"group":"Setup","pages":[{"title":"Get install setup status","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/setup/status","href":"/api-reference/setup/get-install-setup-status"}]},{"group":"App Config","pages":[{"title":"Get app config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/app-config","href":"/api-reference/app-config/get-app-config"}]},{"group":"Applications","pages":[{"title":"List applications","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications","href":"/api-reference/applications/list-applications"},{"title":"Create a new application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/applications","href":"/api-reference/applications/create-a-new-application"},{"title":"Get a single application by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications/{id}","href":"/api-reference/applications/get-a-single-application-by-id"},{"title":"Update an existing application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/applications/{id}","href":"/api-reference/applications/update-an-existing-application"},{"title":"Get a single application by slug","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications/by-slug/{slug}","href":"/api-reference/applications/get-a-single-application-by-slug"}]},{"group":"Application Chatbot Config","pages":[{"title":"Get application chatbot config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/applications/{id}/chatbot-config","href":"/api-reference/application-chatbot-config/get-application-chatbot-config"},{"title":"Update application chatbot config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/applications/{id}/chatbot-config","href":"/api-reference/application-chatbot-config/update-application-chatbot-config"},{"title":"Stream application chatbot playground response","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/applications/{id}/chatbot/chat","href":"/api-reference/application-chatbot-config/stream-application-chatbot-playground-response"}]},{"group":"API Keys","pages":[{"title":"List API keys for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/api-keys","href":"/api-reference/api-keys/list-api-keys-for-an-application"},{"title":"Create an API key for an application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/api-keys","href":"/api-reference/api-keys/create-an-api-key-for-an-application"},{"title":"Delete an API key","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/api-keys/{keyId}","href":"/api-reference/api-keys/delete-an-api-key"}]},{"group":"Feedback","pages":[{"title":"Send product feedback","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/feedback","href":"/api-reference/feedback/send-product-feedback"}]},{"group":"Traces","pages":[{"title":"List Traces","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces","href":"/api-reference/traces/list-traces"},{"title":"Get a single trace by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces/{id}","href":"/api-reference/traces/get-a-single-trace-by-id"},{"title":"Get a single trace by Test ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces/by-test/{id}","href":"/api-reference/traces/get-a-single-trace-by-test-id"},{"title":"List Trace Sessions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/traces/sessions","href":"/api-reference/traces/list-trace-sessions"}]},{"group":"Ingestion","pages":[{"title":"Ingest events","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/ingest","href":"/api-reference/ingestion/ingest-events"},{"title":"Ingest OTLP traces","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/otel/traces","href":"/api-reference/ingestion/ingest-otlp-traces"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a new task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks","href":"/api-reference/tasks/create-a-new-task"},{"title":"Bulk update tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml patch /v0/tasks","href":"/api-reference/tasks/bulk-update-tasks"},{"title":"Bulk delete tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/delete","href":"/api-reference/tasks/bulk-delete-tasks"},{"title":"Bulk archive tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/archive","href":"/api-reference/tasks/bulk-archive-tasks"},{"title":"Get task IDs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/ids","href":"/api-reference/tasks/get-task-ids"},{"title":"Get a single task by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/{id}","href":"/api-reference/tasks/get-a-single-task-by-id"},{"title":"Update an existing task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/tasks/{id}","href":"/api-reference/tasks/update-an-existing-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/tasks/{id}","href":"/api-reference/tasks/delete-a-task"},{"title":"Get task coverage statistics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/task-coverage","href":"/api-reference/tasks/get-task-coverage-statistics"},{"title":"Run a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/trigger","href":"/api-reference/tasks/run-a-task"},{"title":"List installed task templates","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/template","href":"/api-reference/tasks/list-installed-task-templates"},{"title":"Install a task template","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/template","href":"/api-reference/tasks/install-a-task-template"},{"title":"Upload tasks via CSV file","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/upload-csv","href":"/api-reference/tasks/upload-tasks-via-csv-file"},{"title":"Add tags to multiple tasks","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/tags","href":"/api-reference/tasks/add-tags-to-multiple-tasks"}]},{"group":"Task Schedules","pages":[{"title":"Create or update a task schedule","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tasks/schedule","href":"/api-reference/task-schedules/create-or-update-a-task-schedule"},{"title":"Get task schedule","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/{id}/schedule","href":"/api-reference/task-schedules/get-task-schedule"},{"title":"Delete task schedule","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/tasks/{id}/schedule","href":"/api-reference/task-schedules/delete-task-schedule"}]},{"group":"Eval Definitions","pages":[{"title":"Link an evaluation definition to a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/link","href":"/api-reference/eval-definitions/link-an-evaluation-definition-to-a-task"},{"title":"Unlink an evaluation definition from a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/unlink","href":"/api-reference/eval-definitions/unlink-an-evaluation-definition-from-a-task"},{"title":"Update task-specific config for an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/definitions/{id}/tasks/{taskId}","href":"/api-reference/eval-definitions/update-task-specific-config-for-an-evaluation-definition"},{"title":"Link evaluation definitions to topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/link-topics","href":"/api-reference/eval-definitions/link-evaluation-definitions-to-topics"},{"title":"Unlink evaluation definitions from topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/unlink-topics","href":"/api-reference/eval-definitions/unlink-evaluation-definitions-from-topics"},{"title":"Link evaluation definitions to the application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/link-application","href":"/api-reference/eval-definitions/link-evaluation-definitions-to-the-application"},{"title":"Unlink evaluation definitions from the application","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions/unlink-application","href":"/api-reference/eval-definitions/unlink-evaluation-definitions-from-the-application"},{"title":"Get application-level evaluation definitions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/definitions/application","href":"/api-reference/eval-definitions/get-application-level-evaluation-definitions"},{"title":"List evaluation definitions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/definitions","href":"/api-reference/eval-definitions/list-evaluation-definitions"},{"title":"Create an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/definitions","href":"/api-reference/eval-definitions/create-an-evaluation-definition"},{"title":"Update an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/definitions/{id}","href":"/api-reference/eval-definitions/update-an-evaluation-definition"},{"title":"Delete an evaluation definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/definitions/{id}","href":"/api-reference/eval-definitions/delete-an-evaluation-definition"}]},{"group":"Experiments","pages":[{"title":"List experiments","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/experiments","href":"/api-reference/experiments/list-experiments"},{"title":"Create an experiment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/experiments","href":"/api-reference/experiments/create-an-experiment"},{"title":"Get an experiment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/experiments/{id}","href":"/api-reference/experiments/get-an-experiment"},{"title":"Update an experiment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/experiments/{id}","href":"/api-reference/experiments/update-an-experiment"},{"title":"List experiment variants","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/experiments/{id}/variants","href":"/api-reference/experiments/list-experiment-variants"},{"title":"Create an experiment variant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/experiments/{id}/variants","href":"/api-reference/experiments/create-an-experiment-variant"},{"title":"Update experiment variant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/experiments/{id}/variants/{variantId}","href":"/api-reference/experiments/update-experiment-variant"},{"title":"Trigger experiment variant","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/experiments/{id}/variants/{variantId}/trigger","href":"/api-reference/experiments/trigger-experiment-variant"}]},{"group":"Facts","pages":[{"title":"List facts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/facts","href":"/api-reference/facts/list-facts"},{"title":"Bulk create facts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/facts/bulk","href":"/api-reference/facts/bulk-create-facts"},{"title":"Verify or unverify facts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/facts/verify","href":"/api-reference/facts/verify-or-unverify-facts"},{"title":"Get a single fact by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/facts/{id}","href":"/api-reference/facts/get-a-single-fact-by-id"},{"title":"Update a fact's statement","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/facts/{id}","href":"/api-reference/facts/update-a-facts-statement"},{"title":"Delete a fact","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/facts/{id}","href":"/api-reference/facts/delete-a-fact"}]},{"group":"Inference Steps","pages":[{"title":"List inference steps","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/inference-steps","href":"/api-reference/inference-steps/list-inference-steps"},{"title":"Create an inference step","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/inference-steps","href":"/api-reference/inference-steps/create-an-inference-step"}]},{"group":"Evals","pages":[{"title":"List tests","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tests","href":"/api-reference/evals/list-tests"}]},{"group":"Tests","pages":[{"title":"Get a single test by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tests/{id}","href":"/api-reference/tests/get-a-single-test-by-id"}]},{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics","href":"/api-reference/topics/list-topics"},{"title":"Create a new topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/topics","href":"/api-reference/topics/create-a-new-topic"},{"title":"Bulk update topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml patch /v0/topics","href":"/api-reference/topics/bulk-update-topics"},{"title":"Bulk archive topics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/topics/archive","href":"/api-reference/topics/bulk-archive-topics"},{"title":"Get topic IDs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics/ids","href":"/api-reference/topics/get-topic-ids"},{"title":"Get a single topic by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/topics/{id}","href":"/api-reference/topics/get-a-single-topic-by-id"},{"title":"Update a topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/topics/{id}","href":"/api-reference/topics/update-a-topic"},{"title":"Delete a topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/topics/{id}","href":"/api-reference/topics/delete-a-topic"},{"title":"Archive a topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/topics/{id}/archive","href":"/api-reference/topics/archive-a-topic"}]},{"group":"Annotations","pages":[{"title":"List annotations","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/annotations","href":"/api-reference/annotations/list-annotations"},{"title":"Create a new annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/annotations","href":"/api-reference/annotations/create-a-new-annotation"},{"title":"Get a single annotation by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/annotations/{id}","href":"/api-reference/annotations/get-a-single-annotation-by-id"},{"title":"Update an annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/annotations/{id}","href":"/api-reference/annotations/update-an-annotation"},{"title":"Delete an annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/annotations/{id}","href":"/api-reference/annotations/delete-an-annotation"}]},{"group":"Issues","pages":[{"title":"List issues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues","href":"/api-reference/issues/list-issues"},{"title":"Create a new issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/issues","href":"/api-reference/issues/create-a-new-issue"},{"title":"Bulk update issues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml patch /v0/issues","href":"/api-reference/issues/bulk-update-issues"},{"title":"List minimal issues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues/minimal","href":"/api-reference/issues/list-minimal-issues"},{"title":"Get a single issue by ID with duplicates","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues/{id}","href":"/api-reference/issues/get-a-single-issue-by-id-with-duplicates"},{"title":"Update an issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/issues/{id}","href":"/api-reference/issues/update-an-issue"},{"title":"Delete an issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/issues/{id}","href":"/api-reference/issues/delete-an-issue"},{"title":"Get suggested task for an issue","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/issues/{id}/suggested-task","href":"/api-reference/issues/get-suggested-task-for-an-issue"},{"title":"Update and activate suggested task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/issues/{id}/suggested-task","href":"/api-reference/issues/update-and-activate-suggested-task"}]},{"group":"Assignments","pages":[{"title":"List assignments for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/assignments","href":"/api-reference/assignments/list-assignments-for-a-quickstart"},{"title":"Create a new assignment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts/{id}/assignments","href":"/api-reference/assignments/create-a-new-assignment"},{"title":"Bulk reassign assignments","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}/assignments/bulk","href":"/api-reference/assignments/bulk-reassign-assignments"},{"title":"Bulk create assignments","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts/{id}/assignments/bulk","href":"/api-reference/assignments/bulk-create-assignments"},{"title":"Get a single assignment by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/assignments/{assignmentId}","href":"/api-reference/assignments/get-a-single-assignment-by-id"},{"title":"Update an assignment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}/assignments/{assignmentId}","href":"/api-reference/assignments/update-an-assignment"},{"title":"Delete an assignment","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/quickstarts/{id}/assignments/{assignmentId}","href":"/api-reference/assignments/delete-an-assignment"}]},{"group":"Contradictions","pages":[{"title":"List contradictions for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/contradictions","href":"/api-reference/contradictions/list-contradictions-for-a-quickstart"},{"title":"Update a contradiction","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}/contradictions/{contradictionId}","href":"/api-reference/contradictions/update-a-contradiction"},{"title":"Delete a contradiction","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/quickstarts/{id}/contradictions/{contradictionId}","href":"/api-reference/contradictions/delete-a-contradiction"},{"title":"Accept all unresolved contradictions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts/{id}/contradictions/accept-all","href":"/api-reference/contradictions/accept-all-unresolved-contradictions"}]},{"group":"Runs","pages":[{"title":"List runs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/runs","href":"/api-reference/runs/list-runs"},{"title":"Get a single run by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/runs/{id}","href":"/api-reference/runs/get-a-single-run-by-id"}]},{"group":"Style Guides","pages":[{"title":"List style guides","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/style-guides","href":"/api-reference/style-guides/list-style-guides"},{"title":"Create a new style guide","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/style-guides","href":"/api-reference/style-guides/create-a-new-style-guide"},{"title":"Get a single style guide by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/style-guides/{id}","href":"/api-reference/style-guides/get-a-single-style-guide-by-id"},{"title":"Update a style guide","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/style-guides/{id}","href":"/api-reference/style-guides/update-a-style-guide"}]},{"group":"Documents","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents","href":"/api-reference/documents/list-documents"},{"title":"Create a new document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents","href":"/api-reference/documents/create-a-new-document"},{"title":"Get document counts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/count","href":"/api-reference/documents/get-document-counts"},{"title":"Get document counts by assignee","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/count-by-assignee","href":"/api-reference/documents/get-document-counts-by-assignee"},{"title":"Delete multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/delete","href":"/api-reference/documents/delete-multiple-documents"},{"title":"Bulk export documents as CSV","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/export/csv","href":"/api-reference/documents/bulk-export-documents-as-csv"},{"title":"Get all document IDs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/ids","href":"/api-reference/documents/get-all-document-ids"},{"title":"Bulk optimize multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/optimize","href":"/api-reference/documents/bulk-optimize-multiple-documents"},{"title":"Bulk update status of multiple document versions","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/status","href":"/api-reference/documents/bulk-update-status-of-multiple-document-versions"},{"title":"Bulk activate latest versions of multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/activate-latest","href":"/api-reference/documents/bulk-activate-latest-versions-of-multiple-documents"},{"title":"Get a single document by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}","href":"/api-reference/documents/get-a-single-document-by-id"},{"title":"Update a document's topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}","href":"/api-reference/documents/update-a-documents-topic"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/documents/{id}","href":"/api-reference/documents/delete-a-document"},{"title":"Assign a document to a user","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/assign","href":"/api-reference/documents/assign-a-document-to-a-user"},{"title":"Remove assignee from a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/documents/{id}/assign","href":"/api-reference/documents/remove-assignee-from-a-document"},{"title":"Optimize a document","description":"Triggers a background optimization job for the specified document. Returns 204 No Content on success.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/{id}/optimize","href":"/api-reference/documents/optimize-a-document"},{"title":"Update a document version","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/versions/{versionNumber}","href":"/api-reference/documents/update-a-document-version"},{"title":"Upload documents via CSV, PDF, or XLSX file","description":"Uploads a CSV, PDF, or XLSX file containing documents. CSV files will be validated and processed. PDF files will be processed via OCR. XLSX files are split per sheet and each sheet is converted into one or more documents via an LLM. Unless processFile is set to false, processing happens asynchronously. Returns the created FileProcessing id so callers can poll progress and join on DocumentV2.fileProcessingId once the row is COMPLETED.","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/upload","href":"/api-reference/documents/upload-documents-via-csv-pdf-or-xlsx-file"},{"title":"Upload a batch of markdown documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/upload-markdown-batch","href":"/api-reference/documents/upload-a-batch-of-markdown-documents"},{"title":"Add tags to multiple documents","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/tags","href":"/api-reference/documents/add-tags-to-multiple-documents"}]},{"group":"Document Versions","pages":[{"title":"List all versions of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}/versions","href":"/api-reference/document-versions/list-all-versions-of-a-document"},{"title":"Create a new version of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/{id}/versions","href":"/api-reference/document-versions/create-a-new-version-of-a-document"},{"title":"Get a specific version of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}/versions/{versionNumber}","href":"/api-reference/document-versions/get-a-specific-version-of-a-document"},{"title":"Activate a specific version of a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/versions/{versionNumber}/activate","href":"/api-reference/document-versions/activate-a-specific-version-of-a-document"}]},{"group":"Document Tests","pages":[{"title":"List document tests","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/tests","href":"/api-reference/document-tests/list-document-tests"},{"title":"Trigger document test","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/documents/tests/trigger","href":"/api-reference/document-tests/trigger-document-test"},{"title":"Get document test detail","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/tests/{id}","href":"/api-reference/document-tests/get-document-test-detail"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tags","href":"/api-reference/tags/list-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tags","href":"/api-reference/tags/create-a-new-tag"},{"title":"Get a single tag by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tags/{id}","href":"/api-reference/tags/get-a-single-tag-by-id"},{"title":"Update an existing tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/tags/{id}","href":"/api-reference/tags/update-an-existing-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/tags/{id}","href":"/api-reference/tags/delete-a-tag"},{"title":"Archive a tag","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/tags/{id}/archive","href":"/api-reference/tags/archive-a-tag"}]},{"group":"Document Tags","pages":[{"title":"Get tags for a document","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/documents/{id}/tags","href":"/api-reference/document-tags/get-tags-for-a-document"},{"title":"Update document tags","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/documents/{id}/tags","href":"/api-reference/document-tags/update-document-tags"}]},{"group":"Task Tags","pages":[{"title":"Get tags for a task","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/tasks/{id}/tags","href":"/api-reference/task-tags/get-tags-for-a-task"},{"title":"Update task tags","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/tasks/{id}/tags","href":"/api-reference/task-tags/update-task-tags"}]},{"group":"Scrape Jobs","pages":[{"title":"List all scrape jobs","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/scrape-jobs","href":"/api-reference/scrape-jobs/list-all-scrape-jobs"},{"title":"Create a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/scrape-jobs","href":"/api-reference/scrape-jobs/create-a-scrape-job"},{"title":"Create a bulk scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/scrape-jobs/bulk","href":"/api-reference/scrape-jobs/create-a-bulk-scrape-job"},{"title":"Get a scrape job by ID","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/scrape-jobs/{id}","href":"/api-reference/scrape-jobs/get-a-scrape-job-by-id"},{"title":"Update a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/scrape-jobs/{id}","href":"/api-reference/scrape-jobs/update-a-scrape-job"},{"title":"Delete a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/scrape-jobs/{id}","href":"/api-reference/scrape-jobs/delete-a-scrape-job"},{"title":"Start scraping all pages of a scrape job","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/scrape-jobs/{id}/start","href":"/api-reference/scrape-jobs/start-scraping-all-pages-of-a-scrape-job"}]},{"group":"QuickstartsV2","pages":[{"title":"List quickstarts","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts","href":"/api-reference/quickstartsv2/list-quickstarts"},{"title":"Create a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/quickstarts","href":"/api-reference/quickstartsv2/create-a-quickstart"},{"title":"Get a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}","href":"/api-reference/quickstartsv2/get-a-quickstart"},{"title":"Update a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/quickstarts/{id}","href":"/api-reference/quickstartsv2/update-a-quickstart"},{"title":"Delete a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/quickstarts/{id}","href":"/api-reference/quickstartsv2/delete-a-quickstart"},{"title":"List topics for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics","href":"/api-reference/quickstartsv2/list-topics-for-a-quickstart"},{"title":"List tasks for a quickstart topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics/{topicId}/tasks","href":"/api-reference/quickstartsv2/list-tasks-for-a-quickstart-topic"},{"title":"List topics for a quickstart with document statistics","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/document-topics","href":"/api-reference/quickstartsv2/list-topics-for-a-quickstart-with-document-statistics"},{"title":"List documents for a quickstart topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics/{topicId}/documents","href":"/api-reference/quickstartsv2/list-documents-for-a-quickstart-topic"},{"title":"List generated articles for a quickstart topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/topics/{topicId}/generated-articles","href":"/api-reference/quickstartsv2/list-generated-articles-for-a-quickstart-topic"},{"title":"Get KB material counts for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/kb-material-counts","href":"/api-reference/quickstartsv2/get-kb-material-counts-for-a-quickstart"},{"title":"Get policy eval counts for a quickstart","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/quickstarts/{id}/policy-counts","href":"/api-reference/quickstartsv2/get-policy-eval-counts-for-a-quickstart"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/conversations/{id}","href":"/api-reference/conversations/get-a-conversation"},{"title":"Translate a conversation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/conversations/{id}/translate","href":"/api-reference/conversations/translate-a-conversation"},{"title":"Upload conversations via CSV file","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/conversations/upload","href":"/api-reference/conversations/upload-conversations-via-csv-file"}]},{"group":"FileProcessings","pages":[{"title":"List file processings","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/file-processings","href":"/api-reference/fileprocessings/list-file-processings"}]},{"group":"File Processings","pages":[{"title":"Delete a file processing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/file-processings/{id}","href":"/api-reference/file-processings/delete-a-file-processing"}]},{"group":"Reports","pages":[{"title":"List reports","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting","href":"/api-reference/reports/list-reports"},{"title":"Create a new report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/reporting","href":"/api-reference/reports/create-a-new-report"},{"title":"Get a single report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/{id}","href":"/api-reference/reports/get-a-single-report"},{"title":"Update a report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/reporting/{id}","href":"/api-reference/reports/update-a-report"},{"title":"Delete a report","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/reporting/{id}","href":"/api-reference/reports/delete-a-report"},{"title":"Get eval stats aggregated by date","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-date","href":"/api-reference/reports/get-eval-stats-aggregated-by-date"},{"title":"Get eval stats aggregated by date and eval definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-date-and-definition","href":"/api-reference/reports/get-eval-stats-aggregated-by-date-and-eval-definition"},{"title":"Get eval stats aggregated by date and topic","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-date-and-topic","href":"/api-reference/reports/get-eval-stats-aggregated-by-date-and-topic"},{"title":"Get eval stats aggregated by eval definition","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/eval-stats/by-definition","href":"/api-reference/reports/get-eval-stats-aggregated-by-eval-definition"},{"title":"Query reporting data","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/reporting/query","href":"/api-reference/reports/query-reporting-data"},{"title":"List available datasources","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/datasources","href":"/api-reference/reports/list-available-datasources"},{"title":"Get columns for a datasource","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/datasources/{id}/columns","href":"/api-reference/reports/get-columns-for-a-datasource"},{"title":"Get context-aware columns for a datasource","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/reporting/datasources/{id}/columns","href":"/api-reference/reports/get-context-aware-columns-for-a-datasource"},{"title":"Get distinct values for a column","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/datasources/{id}/columns/{columnId}/values","href":"/api-reference/reports/get-distinct-values-for-a-column"},{"title":"Get human annotation stats aggregated by date","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/human-annotation-stats/by-date","href":"/api-reference/reports/get-human-annotation-stats-aggregated-by-date"}]},{"group":"Model Pricing","pages":[{"title":"List model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/model-pricing","href":"/api-reference/model-pricing/list-model-pricing"},{"title":"Create model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/model-pricing","href":"/api-reference/model-pricing/create-model-pricing"},{"title":"Get model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/model-pricing/{id}","href":"/api-reference/model-pricing/get-model-pricing"},{"title":"Update model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/model-pricing/{id}","href":"/api-reference/model-pricing/update-model-pricing"},{"title":"Delete model pricing","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml delete /v0/model-pricing/{id}","href":"/api-reference/model-pricing/delete-model-pricing"}]},{"group":"Organization Config","pages":[{"title":"Get organization config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/org-config","href":"/api-reference/organization-config/get-organization-config"},{"title":"Update organization config","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/org-config","href":"/api-reference/organization-config/update-organization-config"}]},{"group":"Organization Members","pages":[{"title":"List organization members","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/organization-members","href":"/api-reference/organization-members/list-organization-members"}]},{"group":"Human Annotations","pages":[{"title":"List human annotations","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/human-annotations","href":"/api-reference/human-annotations/list-human-annotations"},{"title":"Create a human annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml post /v0/human-annotations","href":"/api-reference/human-annotations/create-a-human-annotation"},{"title":"Update a human annotation","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml put /v0/human-annotations/{id}","href":"/api-reference/human-annotations/update-a-human-annotation"},{"title":"List human annotation queues","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/human-annotation-queues","href":"/api-reference/human-annotations/list-human-annotation-queues"},{"title":"List human annotation queue items","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/human-annotation-queue-items","href":"/api-reference/human-annotations/list-human-annotation-queue-items"}]},{"group":"Reporting","pages":[{"title":"Get quality metrics for the At a Glance page","deprecated":null,"version":null,"openapi":"https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/quality-metrics","href":"/api-reference/reporting/get-quality-metrics-for-the-at-a-glance-page"}]}]}]},{"anchor":"Support","icon":"envelope","href":"mailto:support@avidoai.com"},{"anchor":"LLM-friendly docs","icon":"robot","href":"https://docs.avidoai.com/llms-full.txt"}]},"basePath":"","title":"Update a document version - Avido","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}