Finds similar documents to the given document ID within the tenant’s document repository.
When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any
remaining result slots up to max_results.
List of attachment filters within the document to consider for finding similar documents. If provided then only the attachments matching one of the rules are used otherwise all attachments will be used. It can be used only if the document_id field is provided.
The similarity threshold (between 0 and 1) above which documents are considered similar. Higher values mean more similar documents. Ignored when 'absolute_duplicates_only' is true.
If true, return only absolute duplicates (documents sharing an attachment MD5 checksum with the source document); 'similarity_threshold' is ignored. If false, absolute duplicates are returned first and semantically-similar matches are used to fill any remaining result slots up to 'max_results'. Can only be used together with 'document_id'.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"AO Docs Documentation","colors":{"primary":"#006CB2","light":"#4CA5E7","dark":"#006CB2"},"logo":{"light":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/light.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=c418895665a6cfafbf4d17e675f7c276","dark":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/dark.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=819218ba54186566d25d26d5ea329e61","href":"https://www.aodocs.com"},"favicon":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/favicon.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=d0bf037dce435927befb8332e856c7e0","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://www.aodocs.com/contact/","label":"Contact us"}]},"footer":{"socials":{"youtube":"https://www.youtube.com/channel/UC4BSPzADc9QXoh29SAsn3Cg","linkedin":"https://www.linkedin.com/company/altirnao"}},"fonts":{"heading":{"family":"Roboto"},"body":{"family":"Roboto"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"About","icon":"users","href":"https://www.aodocs.com/company/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.aodocs.com/blog/"},{"anchor":"Status","icon":"signal","href":"https://status.aodocs.com/?__hstc=7523757.3689b6b59ff0c12fcac6aa9719dd6032.1586143551842.1586316583659.1586321455157.16\u0026__hssc=7523757.35.1586321455157\u0026__hsfp=209583371"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aodocs","hasAudioNarration":false,"actualSubdomain":"aodocs","customDomains":["api.aodocs.com"],"gitSource":{"type":"github","owner":"aodocs-dev","repo":"api-documentation","deployBranch":"master","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb345a385381993c303029","collectionId":"419cdd87-b53b-4bed-b98f-d990342247c4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb345a385381993c303029"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb345a385381993c303029","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Core API Reference","count":357},{"language":"default","tag":"AI API Reference","count":88},{"language":"default","tag":"AIDA API Reference","count":85},{"language":"default","tag":"library","count":69},{"language":"default","tag":"Library","count":64},{"language":"default","tag":"Document ID","count":43},{"language":"default","tag":"Domain","count":42},{"language":"default","tag":"documentId","count":42},{"language":"default","tag":"domain","count":39},{"language":"default","tag":"Guides","count":37}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"vite-origin","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}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/document_similarity/find-similar","slug":"/api-reference/document_similarity/find-similar","pageMetadata":{"title":"Find Similar","description":"Finds similar documents to the given document ID within the tenant's document repository.\n When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any\n remaining result slots up to `max_results`.","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:findSimilar","href":"/api-reference/document_similarity/find-similar","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Finds similar documents to the given document ID within the tenant’s document repository.\\nWhen searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any\\nremaining result slots up to \", _jsx(_components.code, {\n children: \"max_results\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Find Similar","description":"Finds similar documents to the given document ID within the tenant's document repository.\n When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any\n remaining result slots up to `max_results`.","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:findSimilar","href":"/api-reference/document_similarity/find-similar","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["document_similarity"],"summary":"Find Similar","description":"Finds similar documents to the given document ID within the tenant's document repository.\n When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any\n remaining result slots up to `max_results`.","operationId":"find_similar_assistant_api_v1_tenants__tenant__documents_findSimilar_post","security":["3c131b41-8ade-4db5-b8c0-70fc9fba98e1"],"parameters":["da7456ac-90f3-4550-bd95-2f90bad1928f"],"requestBody":"847d120c-15b7-400a-82f4-dbd87afb8695","responses":{"200":"317116a5-681c-475f-b2e0-4d8f728103fc","422":"369e6c6e-1aa7-4d80-a4b7-49837999c497"},"method":"post","type":"path","servers":["801aebaf-77ec-4f1f-b3d8-76b33f8af66d","55e0d4b7-9b4a-4a78-a506-68dfae8a4a9f"],"path":"/assistant/api/v1/tenants/{tenant}/documents:findSimilar","baseUrlOptions":["https://document-assistant.us.aodocs.app","https://document-assistant.eu.aodocs.app"],"title":"Find Similar","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"da7456ac-90f3-4550-bd95-2f90bad1928f":{"name":"tenant","in":"path","required":true,"schema":{"oneOf":[{"type":"string","title":"Tenant","description":"The domain of the customer","example":"example.com","isRequired":true,"uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Tenant","description":"The domain of the customer","example":"example.com","isRequired":true,"uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"","typeLabel":"string | null"},"description":"The domain of the customer"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"document_id":{"oneOf":[{"type":"string","title":"Document Id","description":"The document ID to find similar documents for. Mutually exclusive with text.","uniqueKey":"document_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Document Id","description":"The document ID to find similar documents for. Mutually exclusive with text.","uniqueKey":"document_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"document_id","typeLabel":"string | null"},"attachment_filters":{"oneOf":[{"type":"array","items":{"properties":{"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the attachment to match (it can be a regular expression)","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the attachment to match (it can be a regular expression)","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"id":{"oneOf":[{"type":"string","title":"Id","description":"The id of the matched attachment","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"The id of the matched attachment","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].id","typeLabel":"string | null"},"mime_type":{"oneOf":[{"type":"string","title":"Mime Type","description":"The mimetype of the matched attachment","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].mime_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Mime Type","description":"The mimetype of the matched attachment","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].mime_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachment_filters.oneOf.0.items.[INDEX].mime_type","typeLabel":"string | null"}},"type":"object","title":"AttachmentFilter","description":"Match an attachment by identifier, MIME type, or name expression.","uniqueKey":"attachment_filters.oneOf.0.items.[INDEX]","typeLabel":"AttachmentFilter · object"},"title":"Attachment Filters","description":"List of attachment filters within the document to consider for finding similar documents. If provided then only the attachments matching one of the rules are used otherwise all attachments will be used. It can be used only if the document_id field is provided.","uniqueKey":"attachment_filters.oneOf.0","typeLabel":"AttachmentFilter · object[]"},{"type":"null","title":"Attachment Filters","description":"List of attachment filters within the document to consider for finding similar documents. If provided then only the attachments matching one of the rules are used otherwise all attachments will be used. It can be used only if the document_id field is provided.","uniqueKey":"attachment_filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachment_filters","typeLabel":"AttachmentFilter · object[] | null"},"text":{"oneOf":[{"type":"string","title":"Text","description":"Finds similar documents to this text. Mutually exclusive with document_id.","uniqueKey":"text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Text","description":"Finds similar documents to this text. Mutually exclusive with document_id.","uniqueKey":"text.oneOf.1","typeLabel":"null"}],"uniqueKey":"text","typeLabel":"string | null"},"libraries":{"oneOf":[{"type":"array","items":{"properties":{"id":{"type":"string","title":"Id","description":"The ID of the library to filter similar documents from.","isRequired":true,"uniqueKey":"libraries.oneOf.0.items.[INDEX].id","typeLabel":"string"},"document_classes":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"libraries.oneOf.0.items.[INDEX].document_classes.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Document Classes","description":"List of document class IDs to limit the search for similar documents within this library. If None, then all document classes within the library will be searched. ","uniqueKey":"libraries.oneOf.0.items.[INDEX].document_classes.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Document Classes","description":"List of document class IDs to limit the search for similar documents within this library. If None, then all document classes within the library will be searched. ","uniqueKey":"libraries.oneOf.0.items.[INDEX].document_classes.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraries.oneOf.0.items.[INDEX].document_classes","typeLabel":"string[] | null"}},"type":"object","required":["id"],"title":"LibraryFilter","uniqueKey":"libraries.oneOf.0.items.[INDEX]","typeLabel":"LibraryFilter · object"},"title":"Libraries","description":"List of libraries to limit the search for similar documents. If None, then all libraries will be searched. ","uniqueKey":"libraries.oneOf.0","typeLabel":"LibraryFilter · object[]"},{"type":"null","title":"Libraries","description":"List of libraries to limit the search for similar documents. If None, then all libraries will be searched. ","uniqueKey":"libraries.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraries","typeLabel":"LibraryFilter · object[] | null"},"similarity_threshold":{"type":"number","maximum":1,"minimum":0,"title":"Similarity Threshold","description":"The similarity threshold (between 0 and 1) above which documents are considered similar. Higher values mean more similar documents. Ignored when 'absolute_duplicates_only' is true.","default":0.7,"uniqueKey":"similarity_threshold","typeLabel":"number"},"absolute_duplicates_only":{"type":"boolean","title":"Absolute Duplicates Only","description":"If true, return only absolute duplicates (documents sharing an attachment MD5 checksum with the source document); 'similarity_threshold' is ignored. If false, absolute duplicates are returned first and semantically-similar matches are used to fill any remaining result slots up to 'max_results'. Can only be used together with 'document_id'.","default":false,"uniqueKey":"absolute_duplicates_only","typeLabel":"boolean"},"max_results":{"type":"integer","exclusiveMinimum":0,"title":"Max Results","description":"The maximum number of similar documents to return.","default":10,"uniqueKey":"max_results","typeLabel":"integer"},"include":{"properties":{"text":{"type":"boolean","title":"Text","description":"Whether to include text snippets in the results","default":true,"uniqueKey":"include.text","typeLabel":"boolean"}},"type":"object","title":"DocumentSimilarityInclude","description":"Which fields to include in the results","uniqueKey":"include","typeLabel":"DocumentSimilarityInclude · object"}},"type":"object","title":"FindSimilarRequest","uniqueKey":"","typeLabel":"FindSimilarRequest · object"},"examples":{"Example":{"title":"Example","value":{"document_id":"\u003cstring>","attachment_filters":[{"name":"\u003cstring>","id":"\u003cstring>","mime_type":"\u003cstring>"}],"text":"\u003cstring>","libraries":[{"id":"\u003cstring>","document_classes":["\u003cstring>"]}],"similarity_threshold":0.7,"absolute_duplicates_only":false,"max_results":10,"include":{"text":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"317116a5-681c-475f-b2e0-4d8f728103fc":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"similar_documents":{"items":{"properties":{"library_id":{"type":"string","title":"Library Id","description":"The library ID of the similar document","isRequired":true,"uniqueKey":"similar_documents.items.[INDEX].library_id","typeLabel":"string"},"document_id":{"type":"string","title":"Document Id","description":"The document ID of the similar document","isRequired":true,"uniqueKey":"similar_documents.items.[INDEX].document_id","typeLabel":"string"},"document_title":{"type":"string","title":"Document Title","description":"Title of the similar document","isRequired":true,"uniqueKey":"similar_documents.items.[INDEX].document_title","typeLabel":"string"},"document_link":{"type":"string","title":"Document Link","description":"Link to the similar document","isRequired":true,"uniqueKey":"similar_documents.items.[INDEX].document_link","typeLabel":"string"},"similarity_score":{"type":"number","title":"Similarity Score","description":"The similarity score between 0 and 1.","isRequired":true,"uniqueKey":"similar_documents.items.[INDEX].similarity_score","typeLabel":"number"},"quoted_text":{"oneOf":[{"type":"string","title":"Quoted Text","description":"Quoted text from the similar document","uniqueKey":"similar_documents.items.[INDEX].quoted_text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Quoted Text","description":"Quoted text from the similar document","uniqueKey":"similar_documents.items.[INDEX].quoted_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].quoted_text","typeLabel":"string | null"},"attachment_id":{"oneOf":[{"type":"string","title":"Attachment Id","description":"The attachment ID of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Attachment Id","description":"The attachment ID of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].attachment_id","typeLabel":"string | null"},"attachment_name":{"oneOf":[{"type":"string","title":"Attachment Name","description":"The attachment name of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Attachment Name","description":"The attachment name of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].attachment_name","typeLabel":"string | null"},"attachment_mime_type":{"oneOf":[{"type":"string","title":"Attachment Mime Type","description":"The attachment mime type of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_mime_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Attachment Mime Type","description":"The attachment mime type of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_mime_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].attachment_mime_type","typeLabel":"string | null"},"attachment_link":{"oneOf":[{"type":"string","title":"Attachment Link","description":"The attachment link of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_link.oneOf.0","typeLabel":"string"},{"type":"null","title":"Attachment Link","description":"The attachment link of the similar document","uniqueKey":"similar_documents.items.[INDEX].attachment_link.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].attachment_link","typeLabel":"string | null"},"location_info":{"oneOf":[{"type":"string","title":"Location Info","description":"Location of the quoted text on the similar document (optional)","uniqueKey":"similar_documents.items.[INDEX].location_info.oneOf.0","typeLabel":"string"},{"type":"null","title":"Location Info","description":"Location of the quoted text on the similar document (optional)","uniqueKey":"similar_documents.items.[INDEX].location_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].location_info","typeLabel":"string | null"},"location_type":{"oneOf":[{"type":"string","title":"Location Type","description":"Type of the location of the quoted text on the similar document","uniqueKey":"similar_documents.items.[INDEX].location_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Location Type","description":"Type of the location of the quoted text on the similar document","uniqueKey":"similar_documents.items.[INDEX].location_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"similar_documents.items.[INDEX].location_type","typeLabel":"string | null"},"absolute_duplicate":{"type":"boolean","title":"Absolute Duplicate","description":"True if this document is an absolute duplicate (matched by attachment MD5 checksum). False for semantic-only matches.","default":false,"uniqueKey":"similar_documents.items.[INDEX].absolute_duplicate","typeLabel":"boolean"}},"type":"object","required":["library_id","document_id","document_title","document_link","similarity_score"],"title":"SimilarDocument","uniqueKey":"similar_documents.items.[INDEX]","typeLabel":"SimilarDocument · object"},"type":"array","title":"Similar Documents","description":"List of similar documents found.","isRequired":true,"uniqueKey":"similar_documents","typeLabel":"SimilarDocument · object[]"}},"type":"object","required":["similar_documents"],"title":"FindSimilarResponse","uniqueKey":"","typeLabel":"FindSimilarResponse · object"},"examples":{"Example":{"title":"Example","value":{"similar_documents":[{"library_id":"\u003cstring>","document_id":"\u003cstring>","document_title":"\u003cstring>","document_link":"\u003cstring>","similarity_score":123,"quoted_text":"\u003cstring>","attachment_id":"\u003cstring>","attachment_name":"\u003cstring>","attachment_mime_type":"\u003cstring>","attachment_link":"\u003cstring>","location_info":"\u003cstring>","location_type":"\u003cstring>","absolute_duplicate":false}]}}},"exampleType":"generated"}},"exampleType":"generated"},"369e6c6e-1aa7-4d80-a4b7-49837999c497":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3c131b41-8ade-4db5-b8c0-70fc9fba98e1":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"801aebaf-77ec-4f1f-b3d8-76b33f8af66d":{"url":"https://document-assistant.us.aodocs.app","description":"Production US"},"55e0d4b7-9b4a-4a78-a506-68dfae8a4a9f":{"url":"https://document-assistant.eu.aodocs.app","description":"Production EU"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"https://document-assistant.us.aodocs.app/openapi.json"},"subdomain":"aodocs","siteName":"AO Docs Documentation","title":"Find Similar - AO Docs Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T12:00:31.397Z","originalFileLocation":"api-reference/document_similarity/find-similar.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Finds similar documents to the given document ID within the tenant\u0026#x27;s document repository. When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any remaining result slots up to max_results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_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/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Find Similar - AO Docs Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Finds similar documents to the given document ID within the tenant\u0026#x27;s document repository. When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any remaining result slots up to max_results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.aodocs.com/api-reference/document_similarity/find-similar\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aodocs.mintlify.app/_mintlify/api/og/v2?division=document_similarity\u0026amp;title=Find+Similar\u0026amp;description=Finds+similar+documents+to+the+given+document+ID+within+the+tenant%27s+document+repository.%0A++++When+searching+by+document%2C+exact+attachment-MD5+matches+are+prior\u0026amp;theme=458f498de6859a4d05c4c954\u0026amp;signature=a64844fa1e4632b6c60b377165b2cd2c5b2ba0684d69a3b7a552edd03e759592\">\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=\"Find Similar - AO Docs Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Finds similar documents to the given document ID within the tenant\u0026#x27;s document repository. When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any remaining result slots up to max_results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aodocs.mintlify.app/_mintlify/api/og/v2?division=document_similarity\u0026amp;title=Find+Similar\u0026amp;description=Finds+similar+documents+to+the+given+document+ID+within+the+tenant%27s+document+repository.%0A++++When+searching+by+document%2C+exact+attachment-MD5+matches+are+prior\u0026amp;theme=458f498de6859a4d05c4c954\u0026amp;signature=a64844fa1e4632b6c60b377165b2cd2c5b2ba0684d69a3b7a552edd03e759592\">\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/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006CB2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.aodocs.com/api-reference/document_similarity/find-similar\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/document_similarity/find-similar.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.aodocs.com/#organization\",\"name\":\"AO Docs Documentation\",\"url\":\"https://api.aodocs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/light.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=c418895665a6cfafbf4d17e675f7c276\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.aodocs.com#website\",\"name\":\"AO Docs Documentation\",\"url\":\"https://api.aodocs.com\",\"publisher\":{\"@id\":\"https://api.aodocs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar#webpage\",\"url\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar\",\"name\":\"Find Similar\",\"description\":\"Finds similar documents to the given document ID within the tenant's document repository. When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any remaining result slots up to max_results.\",\"dateModified\":\"2026-11-03T12:00:31.397Z\",\"isPartOf\":{\"@id\":\"https://api.aodocs.com#website\"},\"breadcrumb\":{\"@id\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AIDA API Reference\",\"item\":\"https://api.aodocs.com/api-reference/chat/chat\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find Similar\",\"item\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar#apireference\",\"headline\":\"Find Similar\",\"name\":\"Find Similar\",\"description\":\"Finds similar documents to the given document ID within the tenant's document repository. When searching by document, exact attachment-MD5 matches are prioritized and semantic matches fill any remaining result slots up to max_results.\",\"url\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar\",\"mainEntityOfPage\":{\"@id\":\"https://api.aodocs.com/api-reference/document_similarity/find-similar#webpage\"},\"dateModified\":\"2026-11-03T12:00:31.397Z\",\"publisher\":{\"@id\":\"https://api.aodocs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.aodocs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AO Docs Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AO Docs Documentation","nav":{"global":{"anchors":[{"anchor":"About","icon":"users","href":"https://www.aodocs.com/company/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.aodocs.com/blog/"},{"anchor":"Status","icon":"signal","href":"https://status.aodocs.com/?__hstc=7523757.3689b6b59ff0c12fcac6aa9719dd6032.1586143551842.1586316583659.1586321455157.16\u0026__hssc=7523757.35.1586321455157\u0026__hsfp=209583371"}]},"tabs":[{"tab":"Home","icon":"home","pages":[{"title":"Home","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/getting-started"}]},{"tab":"Core API Reference","icon":"code-simple","pages":[{"title":"Core API Reference","href":"/api-reference/introduction"}]},{"tab":"AI API Reference","icon":"code-simple","pages":[{"title":"Introduction","href":"/aida-api/introduction"},{"title":"MCP","href":"/aida-api/mcp"},{"title":"A2A","href":"/aida-api/a2a"},{"group":"AIDA API Reference","pages":[{"group":"chat","pages":[{"title":"Chat","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/chat","href":"/api-reference/chat/chat"},{"title":"Chat Streaming","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/chat:streamingResponse","href":"/api-reference/chat/chat-streaming"},{"title":"Save Feedback","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/conversations/{conversation_id}/messages/{response_id}/feedback","href":"/api-reference/chat/save-feedback"},{"title":"Get Source Bounding Boxes","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/sources:getBoundingBoxes","href":"/api-reference/chat/get-source-bounding-boxes"},{"title":"List Conversations","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/conversations/","href":"/api-reference/chat/list-conversations"},{"title":"Get Messages in Conversation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/conversations/{conversation_id}/messages","href":"/api-reference/chat/get-messages-in-conversation"},{"title":"Delete Conversation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/conversations/{conversation_id}","href":"/api-reference/chat/delete-conversation"}]},{"group":"chat-v2","pages":[{"title":"Chat V2","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v2/tenants/{tenant}/chat","href":"/api-reference/chat-v2/chat-v2"},{"title":"Chat Streaming V2","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v2/tenants/{tenant}/chat:streamingResponse","href":"/api-reference/chat-v2/chat-streaming-v2"}]},{"group":"metadata","pages":[{"title":"Extract Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/metadata:extract","href":"/api-reference/metadata/extract-metadata"},{"title":"Extract Custom Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/metadata:extractCustom","href":"/api-reference/metadata/extract-custom-metadata"},{"title":"Get Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/classes/{class_id}/metadata","href":"/api-reference/metadata/get-metadata"},{"title":"Save Metadata","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/classes/{class_id}/metadata","href":"/api-reference/metadata/save-metadata"},{"title":"Train Extraction","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/metadata:train","href":"/api-reference/metadata/train-extraction"}]},{"group":"metadata_evaluation","pages":[{"title":"List Evaluations","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations","href":"/api-reference/metadata_evaluation/list-evaluations"},{"title":"Create Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations","href":"/api-reference/metadata_evaluation/create-evaluation"},{"title":"Cancel Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}:cancel","href":"/api-reference/metadata_evaluation/cancel-evaluation"},{"title":"Get Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}","href":"/api-reference/metadata_evaluation/get-evaluation"},{"title":"Delete Evaluation","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}","href":"/api-reference/metadata_evaluation/delete-evaluation"},{"title":"Get Evaluation Document Results","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}/documents","href":"/api-reference/metadata_evaluation/get-evaluation-document-results"},{"title":"Get Evaluation Results","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}/evaluations/{evaluation_id}/results","href":"/api-reference/metadata_evaluation/get-evaluation-results"}]},{"group":"translation","pages":[{"title":"Translate Document Api","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents/{document_id}/content:translate","href":"/api-reference/translation/translate-document-api"}]},{"group":"document_split","pages":[{"title":"Plan Document Split","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/document_split:plan","href":"/api-reference/document_split/plan-document-split"},{"title":"Get Document Split","description":"Get the status and result of a document split job.\n Use this to poll for completion of long-running split operations.","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_splits/{job_id}","href":"/api-reference/document_split/get-document-split"}]},{"group":"document_similarity","pages":[{"title":"Find Similar","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:findSimilar","href":"/api-reference/document_similarity/find-similar"}]},{"group":"document_conflict","pages":[{"title":"Check Document Conflicts","description":"Create an async document conflict-check job and publish the final result to the requested Pub/Sub topic.","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:checkConflicts","href":"/api-reference/document_conflict/check-document-conflicts"},{"title":"Get Document Conflict Job","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_conflicts/{job_id}","href":"/api-reference/document_conflict/get-document-conflict-job"}]},{"group":"document_validation","pages":[{"title":"Validate Document Api","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/documents:validate","href":"/api-reference/document_validation/validate-document-api"},{"title":"List Document Validation Rules","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_validation/rules","href":"/api-reference/document_validation/list-document-validation-rules"},{"title":"Create Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/document_validation/rules","href":"/api-reference/document_validation/create-document-validation-custom-rule"},{"title":"Get Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/document_validation/rules/{rule_id}","href":"/api-reference/document_validation/get-document-validation-custom-rule"},{"title":"Save Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/document_validation/rules/{rule_id}","href":"/api-reference/document_validation/save-document-validation-custom-rule"},{"title":"Delete Document Validation Custom Rule","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/document_validation/rules/{rule_id}","href":"/api-reference/document_validation/delete-document-validation-custom-rule"}]},{"group":"tenant","pages":[{"title":"Get Branding","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/branding","href":"/api-reference/tenant/get-branding"},{"title":"Get Available Llm Models","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/llm_models","href":"/api-reference/tenant/get-available-llm-models"},{"title":"Get Tenant Capabilities","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/capabilities","href":"/api-reference/tenant/get-tenant-capabilities"},{"title":"Get Tenant","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}","href":"/api-reference/tenant/get-tenant"},{"title":"Save Tenant","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}","href":"/api-reference/tenant/save-tenant"},{"title":"Delete Tenant","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}","href":"/api-reference/tenant/delete-tenant"},{"title":"Get Usage Statistics","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/usage_statistics","href":"/api-reference/tenant/get-usage-statistics"},{"title":"Get Usage","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/quota_usage/{type}","href":"/api-reference/tenant/get-usage"},{"title":"Reset Usage","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/quota_usage/{type}","href":"/api-reference/tenant/reset-usage"},{"title":"Contact","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/contact","href":"/api-reference/tenant/contact"}]},{"group":"library","pages":[{"title":"Get","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/libraries/{library_id}","href":"/api-reference/library/get"},{"title":"Update","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/libraries/{library_id}","href":"/api-reference/library/update"},{"title":"Delete","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/libraries/{library_id}","href":"/api-reference/library/delete"},{"title":"Get Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries:get","href":"/api-reference/library/get-libraries"},{"title":"Update Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/libraries:update","href":"/api-reference/library/update-libraries"},{"title":"Delete Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/libraries","href":"/api-reference/library/delete-libraries"}]},{"group":"agent","pages":[{"title":"Get Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/agents/{agent_id}","href":"/api-reference/agent/get-agent"},{"title":"Update Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/agents/{agent_id}","href":"/api-reference/agent/update-agent"},{"title":"Delete Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/agents/{agent_id}","href":"/api-reference/agent/delete-agent"},{"title":"List Agents","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/agents","href":"/api-reference/agent/list-agents"},{"title":"Create Agent","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/agents","href":"/api-reference/agent/create-agent"},{"title":"Get Default Libraries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/agents:getDefaultLibraries","href":"/api-reference/agent/get-default-libraries"}]},{"group":"glossary","pages":[{"title":"List Glossaries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries","href":"/api-reference/glossary/list-glossaries"},{"title":"Create Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/glossaries","href":"/api-reference/glossary/create-glossary"},{"title":"Get Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}","href":"/api-reference/glossary/get-glossary"},{"title":"Update Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}","href":"/api-reference/glossary/update-glossary"},{"title":"Delete Glossary","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}","href":"/api-reference/glossary/delete-glossary"},{"title":"List Glossary Items","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items","href":"/api-reference/glossary/list-glossary-items"},{"title":"Create Glossary Item","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items","href":"/api-reference/glossary/create-glossary-item"},{"title":"Update Glossary Item","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items/{item_id}","href":"/api-reference/glossary/update-glossary-item"},{"title":"Delete Glossary Item","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/items/{item_id}","href":"/api-reference/glossary/delete-glossary-item"},{"title":"List Glossary Domains","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/glossaries/{glossary_id}/domains","href":"/api-reference/glossary/list-glossary-domains"},{"title":"Search Glossaries","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/glossaries:search","href":"/api-reference/glossary/search-glossaries"}]},{"group":"skill","pages":[{"title":"Get Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/skills/{skill_id}","href":"/api-reference/skill/get-skill"},{"title":"Update Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/skills/{skill_id}","href":"/api-reference/skill/update-skill"},{"title":"Delete Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/skills/{skill_id}","href":"/api-reference/skill/delete-skill"},{"title":"List Skills","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/skills","href":"/api-reference/skill/list-skills"},{"title":"Create Skill","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/skills","href":"/api-reference/skill/create-skill"}]},{"group":"llm_profile","pages":[{"title":"List Llm Profiles","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/llm_profiles","href":"/api-reference/llm_profile/list-llm-profiles"},{"title":"Create Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/llm_profiles","href":"/api-reference/llm_profile/create-llm-profile"},{"title":"Get Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/llm_profiles/{profile_id}","href":"/api-reference/llm_profile/get-llm-profile"},{"title":"Update Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json put /assistant/api/v1/tenants/{tenant}/llm_profiles/{profile_id}","href":"/api-reference/llm_profile/update-llm-profile"},{"title":"Delete Llm Profile","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json delete /assistant/api/v1/tenants/{tenant}/llm_profiles/{profile_id}","href":"/api-reference/llm_profile/delete-llm-profile"}]},{"group":"admin-agent","pages":[{"title":"Message","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/admin-agent/message","href":"/api-reference/admin-agent/message"}]},{"group":"a2a","pages":[{"title":"Get Agent Card","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/.well-known/agent.json","href":"/api-reference/a2a/get-agent-card"},{"title":"Get Agent Card","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/.well-known/agent.json","href":"/api-reference/a2a/get-agent-card-1"},{"title":"Dynamic Client Registration","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/a2a/dcr","href":"/api-reference/a2a/dynamic-client-registration"},{"title":"Dynamic Client Registration","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/a2a/dcr","href":"/api-reference/a2a/dynamic-client-registration-1"},{"title":"Process A2A Request","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/a2a","href":"/api-reference/a2a/process-a2a-request"},{"title":"Process A2A Request","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/a2a","href":"/api-reference/a2a/process-a2a-request-1"},{"title":"Get Agent-Specific Agent Card","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json get /assistant/api/v1/tenants/{tenant}/agents/{agent_id}/a2a","href":"/api-reference/a2a/get-agent-specific-agent-card"},{"title":"Process Agent-Specific A2A Request","deprecated":null,"version":null,"openapi":"https://document-assistant.us.aodocs.app/openapi.json post /assistant/api/v1/tenants/{tenant}/agents/{agent_id}/a2a","href":"/api-reference/a2a/process-agent-specific-a2a-request"}]}]}]}]},"basePath":"","title":"Find Similar - AO Docs Documentation","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}