Queries assets with filter, sort, field selection, page size and expands.
Only the fields of the asset are available for select, filter and sort (see AssetDto). Expands add related data; data. paths in an expand are resolved against the types.
With select the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without select an item is the complete asset with its expands in expands.
A page holds limit items (default 50). If more exist, hasMore is true and nextCursor continues with POST /cursor/continue. An expand that holds more rows than its limit for an asset is reported in incompleteExpands; continue it with POST /assets/expand.
The API key of the subscription. Each operation names the scope it needs in x-pat-scopes: api_read (in the interface Read) or api_write (Read and Write). The key is created under Administration › Integrations › API Keys.
The assets, or for an expand cursor the rows of the expand.
An asset. With select on POST /assets/query an item holds only the selected properties and the lifted expands under their names (object_data as an object, the others as a list).
Expands that hold more rows than their limit, keyed name:parentId.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Docusnap365","description":"Official documentation for Docusnap365: scan your network, build your IT inventory, manage IT assets and costs, run your ISMS and connect AI tools via MCP and API.","colors":{"primary":"#0F7683","light":"#38BECF","dark":"#0F7683"},"logo":{"light":"https://mintcdn.com/docusnap/w7DSWRB4BRB49qQA/images/Docusnap_Logo.svg?fit=max\u0026auto=format\u0026n=w7DSWRB4BRB49qQA\u0026q=85\u0026s=30ba3056aa591cff3faf8c4addf943c0","dark":"https://mintcdn.com/docusnap/w7DSWRB4BRB49qQA/images/Docusnap_Logo_white.svg?fit=max\u0026auto=format\u0026n=w7DSWRB4BRB49qQA\u0026q=85\u0026s=9325dcb387db7939baab29338fddf607","href":"https://www.docusnap.com"},"favicon":"https://mintcdn.com/docusnap/8cT_v1WiPR-atVd2/favicon.svg?fit=max\u0026auto=format\u0026n=8cT_v1WiPR-atVd2\u0026q=85\u0026s=9bb2a8c996b466e0a76f375054191f52","footer":{"socials":{"website":"https://www.docusnap.com"}},"contextual":{"options":["chatgpt","claude","download-pdf"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"de","navbar":{"links":[{"href":"https://docusnap365.com","label":"Anmelden"}],"primary":{"type":"button","label":"Kostenlos testen","href":"https://www.docusnap.com/de/trial?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=trial"}},"href":"de/getting-started/overview"},{"language":"en","default":true,"navbar":{"links":[{"href":"https://docusnap365.com","label":"Sign In"}],"primary":{"type":"button","label":"Try for Free","href":"https://www.docusnap.com/en/trial?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=trial"}},"href":"en/getting-started/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"docusnap","hasAudioNarration":false,"actualSubdomain":"docusnap","customDomains":["www.docusnap.com"],"gitSource":{"type":"github","owner":"docusnap","repo":"ds365.customerdocs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af2d8bb397db424c1fa8a14","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"de","tag":"Scannen","count":39},{"language":"en","tag":"Scanning","count":39},{"language":"de","tag":"Scan-Module","count":25},{"language":"en","tag":"Scan Modules","count":25},{"language":"de","tag":"Inventar","count":18},{"language":"en","tag":"Inventory","count":18},{"language":"de","tag":"Verwaltung","count":17},{"language":"en","tag":"Administration","count":17},{"language":"de","tag":"Neuigkeiten","count":14},{"language":"de","tag":"ISMS","count":14},{"language":"en","tag":"What's new","count":14},{"language":"en","tag":"ISMS","count":14},{"language":"de","tag":"ITAM","count":12},{"language":"en","tag":"ITAM","count":12},{"language":"de","tag":"Tutorials","count":11},{"language":"de","tag":"MCP \u0026 API","count":11},{"language":"de","tag":"Dokumentation","count":11},{"language":"en","tag":"Tutorials","count":11},{"language":"en","tag":"MCP \u0026 API","count":11},{"language":"en","tag":"Documentation","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#topbar-cta-button a>span:first-child{background-color:#9F6D06!important;opacity:1!important}#topbar-cta-button a,#topbar-cta-button a span{color:#FFFFFF!important}#topbar-cta-button a svg{display:none!important}#topbar-cta-button a{padding-right:0.75rem!important}#topbar-cta-button a:hover span,#topbar-cta-button a:focus-visible span{text-decoration:underline;text-underline-offset:2px}body:has(.api-section) #header>.prose,body:has(.api-section) #header>.prose p{font-size:1rem!important;line-height:1.75rem!important}#content[data-page-href$=\"/changelog\"] [data-component-part=\"update-tag-list\"],#content[data-page-href*=\"/changelog/\"] [data-component-part=\"update-tag-list\"]{display:none!important}"}],"page":{"pagePath":"api-reference/query/query-assets","slug":"/api-reference/query/query-assets","pageMetadata":{"title":"Query assets","description":"Queries assets with filter, sort, field selection, page size and expands.\n\nOnly the fields of the asset are available for `select`, `filter` and `sort` (see `AssetDto`). Expands add related data; `data.` paths in an expand are resolved against the types.\n\nWith `select` the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without `select` an item is the complete asset with its expands in `expands`.\n\nA page holds `limit` items (default 50). If more exist, `hasMore` is true and `nextCursor` continues with `POST /cursor/continue`. An expand that holds more rows than its `limit` for an asset is reported in `incompleteExpands`; continue it with `POST /assets/expand`.\n\nRequires the scope `api_read` (*Read*).\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /assets/query","href":"/api-reference/query/query-assets","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n em: \"em\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Queries assets with filter, sort, field selection, page size and expands.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Only the fields of the asset are available for \", _jsx(_components.code, {\n children: \"select\"\n }), \", \", _jsx(_components.code, {\n children: \"filter\"\n }), \" and \", _jsx(_components.code, {\n children: \"sort\"\n }), \" (see \", _jsx(_components.code, {\n children: \"AssetDto\"\n }), \"). Expands add related data; \", _jsx(_components.code, {\n children: \"data.\"\n }), \" paths in an expand are resolved against the types.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"With \", _jsx(_components.code, {\n children: \"select\"\n }), \" the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without \", _jsx(_components.code, {\n children: \"select\"\n }), \" an item is the complete asset with its expands in \", _jsx(_components.code, {\n children: \"expands\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A page holds \", _jsx(_components.code, {\n children: \"limit\"\n }), \" items (default 50). If more exist, \", _jsx(_components.code, {\n children: \"hasMore\"\n }), \" is true and \", _jsx(_components.code, {\n children: \"nextCursor\"\n }), \" continues with \", _jsx(_components.code, {\n children: \"POST /cursor/continue\"\n }), \". An expand that holds more rows than its \", _jsx(_components.code, {\n children: \"limit\"\n }), \" for an asset is reported in \", _jsx(_components.code, {\n children: \"incompleteExpands\"\n }), \"; continue it with \", _jsx(_components.code, {\n children: \"POST /assets/expand\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the scope \", _jsx(_components.code, {\n children: \"api_read\"\n }), \" (\", _jsx(_components.em, {\n children: \"Read\"\n }), \").\"]\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":"Query assets","description":"Queries assets with filter, sort, field selection, page size and expands.\n\nOnly the fields of the asset are available for `select`, `filter` and `sort` (see `AssetDto`). Expands add related data; `data.` paths in an expand are resolved against the types.\n\nWith `select` the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without `select` an item is the complete asset with its expands in `expands`.\n\nA page holds `limit` items (default 50). If more exist, `hasMore` is true and `nextCursor` continues with `POST /cursor/continue`. An expand that holds more rows than its `limit` for an asset is reported in `incompleteExpands`; continue it with `POST /assets/expand`.\n\nRequires the scope `api_read` (*Read*).\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /assets/query","href":"/api-reference/query/query-assets","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"queryAssets","tags":["Query"],"summary":"Query assets","description":"Queries assets with filter, sort, field selection, page size and expands.\n\nOnly the fields of the asset are available for `select`, `filter` and `sort` (see `AssetDto`). Expands add related data; `data.` paths in an expand are resolved against the types.\n\nWith `select` the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without `select` an item is the complete asset with its expands in `expands`.\n\nA page holds `limit` items (default 50). If more exist, `hasMore` is true and `nextCursor` continues with `POST /cursor/continue`. An expand that holds more rows than its `limit` for an asset is reported in `incompleteExpands`; continue it with `POST /assets/expand`.\n\nRequires the scope `api_read` (*Read*).\n","x-pat-scopes":["api_read"],"requestBody":"1f51324f-7d4a-4de3-8b9a-5e2a90cf5a7a","responses":{"200":"6070eec5-bd7b-454d-b71f-98157cb6221b","400":"0b91708c-f2e6-4cf2-bda6-652df6559cff","401":"6a9186f7-6760-4239-8f1f-4bc2cc8cf9e4","403":"f1f0c300-969a-4797-8f66-1b4206f0725d","429":"a6a5e404-a133-46e6-8748-a52cf991ae53","500":"c9d5959a-fded-4f3a-a82d-47ffb0b42144","503":"f705ed50-acf4-48dc-a1c3-a74809de26da"},"method":"post","type":"path","servers":["678cf083-b49a-4f2d-884f-84a11f46e483"],"security":["e2675cc6-15fd-4901-8b67-def0ab209847"],"path":"/assets/query","baseUrlOptions":["https://api.docusnap365.com/api/v1"],"title":"Query assets","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Query request","type":"object","properties":{"select":{"type":"array","items":{"type":"string","uniqueKey":"select.items.[INDEX]","typeLabel":"string"},"description":"The fields to return. Without it, all fields of the asset.","uniqueKey":"select","typeLabel":"string[]"},"filter":{"title":"Filter group","type":"object","properties":{"logic":{"type":"string","title":"Logical operator","description":"How the conditions and groups of a group are combined.","default":"And","enum":["And","Or"],"uniqueKey":"filter.logic","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"title":"Filter condition","type":"object","required":["path","op"],"properties":{"path":{"type":"string","description":"The field. Only fields of the source are available.","isRequired":true,"uniqueKey":"filter.conditions.items.[INDEX].path","typeLabel":"string"},"op":{"title":"Filter operator","type":"string","description":"The operator of a condition. Case-insensitive in the request body.\n\n`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte` compare. `Neq` and `NotIn` keep rows whose field is empty. `Contains`, `StartsWith`, `EndsWith` match text without regard to case; `%`, `_` and `\\` in `value` are taken literally. `Like` is SQL LIKE with the wildcards of the caller and regard to case. `In` and `NotIn` take a list in `value`. `IsNull` and `IsNotNull` need no `value`. `ArrayAny` is true when at least one element of a JSON array satisfies `arrayFilter`. `ArrayContains` is true when the JSON array contains `value`.\n\nComparison and list operators (`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte`, `In`, `NotIn`) are rejected on a field that holds a JSON object or array.\n","enum":["Eq","Neq","Gt","Gte","Lt","Lte","Contains","StartsWith","EndsWith","Like","In","NotIn","IsNull","IsNotNull","ArrayAny","ArrayContains"],"isRequired":true,"uniqueKey":"filter.conditions.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"value":{"description":"The comparison value. Its JSON type must fit the field; a list for `In` and `NotIn`.","uniqueKey":"filter.conditions.items.[INDEX].value","typeLabel":"any"},"arrayFilter":{"oneOf":[{"$circularRef":"1bbd4588-f531-49ce-b622-7768c95ee2b8"}],"uniqueKey":"filter.conditions.items.[INDEX].arrayFilter","typeLabel":"any"}},"uniqueKey":"filter.conditions.items.[INDEX]","typeLabel":"Filter condition · object"},"uniqueKey":"filter.conditions","typeLabel":"Filter condition · object[]"},"groups":{"type":"array","items":{"$circularRef":"1bbd4588-f531-49ce-b622-7768c95ee2b8"},"description":"Nested groups. They are combined with the conditions by `logic`.","uniqueKey":"filter.groups","typeLabel":"array"}},"uniqueKey":"filter","typeLabel":"Filter group · object"},"sort":{"type":"array","items":{"title":"Sort field","type":"object","required":["path"],"properties":{"path":{"type":"string","description":"The field to sort by.","isRequired":true,"uniqueKey":"sort.items.[INDEX].path","typeLabel":"string"},"desc":{"type":"boolean","default":false,"description":"Sort descending.","uniqueKey":"sort.items.[INDEX].desc","typeLabel":"boolean"},"nulls":{"type":"string","title":"Position of empty values","description":"Where empty values appear in the sort order. `Default` leaves it to the database.","default":"Default","enum":["Default","First","Last"],"uniqueKey":"sort.items.[INDEX].nulls","typeLabel":"enum\u003cstring>"}},"uniqueKey":"sort.items.[INDEX]","typeLabel":"Sort field · object"},"description":"The sort order. Without it, by id. The id is always the last sort key unless it is sorted explicitly.","uniqueKey":"sort","typeLabel":"Sort field · object[]"},"limit":{"type":"integer","format":"int32","default":50,"description":"The page size.","uniqueKey":"limit","typeLabel":"integer\u003cint32>"},"expands":{"type":"array","items":{"title":"Expand definition","type":"object","required":["name"],"properties":{"name":{"type":"string","enum":["object_data","object_essentials","object_blocks","children"],"description":"The related data. `object_data` is the captured data of the type (one row), `object_essentials` the essentials (one row per type), `object_blocks` the blocks of the asset (very many rows; always set a `limit`), `children` the assets below it.\n","isRequired":true,"uniqueKey":"expands.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"select":{"type":"array","items":{"type":"string","uniqueKey":"expands.items.[INDEX].select.items.[INDEX]","typeLabel":"string"},"description":"The fields of the expand. In `object_data`, `object_essentials` and `object_blocks` also paths into `data`, for example `data.cpuCores` (depends on the type of the asset).","uniqueKey":"expands.items.[INDEX].select","typeLabel":"string[]"},"filter":{"title":"Filter group","type":"object","properties":{"logic":{"type":"string","title":"Logical operator","description":"How the conditions and groups of a group are combined.","default":"And","enum":["And","Or"],"uniqueKey":"expands.items.[INDEX].filter.logic","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"title":"Filter condition","type":"object","required":["path","op"],"properties":{"path":{"type":"string","description":"The field. Only fields of the source are available.","isRequired":true,"uniqueKey":"expands.items.[INDEX].filter.conditions.items.[INDEX].path","typeLabel":"string"},"op":{"title":"Filter operator","type":"string","description":"The operator of a condition. Case-insensitive in the request body.\n\n`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte` compare. `Neq` and `NotIn` keep rows whose field is empty. `Contains`, `StartsWith`, `EndsWith` match text without regard to case; `%`, `_` and `\\` in `value` are taken literally. `Like` is SQL LIKE with the wildcards of the caller and regard to case. `In` and `NotIn` take a list in `value`. `IsNull` and `IsNotNull` need no `value`. `ArrayAny` is true when at least one element of a JSON array satisfies `arrayFilter`. `ArrayContains` is true when the JSON array contains `value`.\n\nComparison and list operators (`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte`, `In`, `NotIn`) are rejected on a field that holds a JSON object or array.\n","enum":["Eq","Neq","Gt","Gte","Lt","Lte","Contains","StartsWith","EndsWith","Like","In","NotIn","IsNull","IsNotNull","ArrayAny","ArrayContains"],"isRequired":true,"uniqueKey":"expands.items.[INDEX].filter.conditions.items.[INDEX].op","typeLabel":"enum\u003cstring>"},"value":{"description":"The comparison value. Its JSON type must fit the field; a list for `In` and `NotIn`.","uniqueKey":"expands.items.[INDEX].filter.conditions.items.[INDEX].value","typeLabel":"any"},"arrayFilter":{"oneOf":[{"$circularRef":"1bbd4588-f531-49ce-b622-7768c95ee2b8"}],"uniqueKey":"expands.items.[INDEX].filter.conditions.items.[INDEX].arrayFilter","typeLabel":"any"}},"uniqueKey":"expands.items.[INDEX].filter.conditions.items.[INDEX]","typeLabel":"Filter condition · object"},"uniqueKey":"expands.items.[INDEX].filter.conditions","typeLabel":"Filter condition · object[]"},"groups":{"type":"array","items":{"$circularRef":"1bbd4588-f531-49ce-b622-7768c95ee2b8"},"description":"Nested groups. They are combined with the conditions by `logic`.","uniqueKey":"expands.items.[INDEX].filter.groups","typeLabel":"array"}},"uniqueKey":"expands.items.[INDEX].filter","typeLabel":"Filter group · object"},"sort":{"type":"array","items":{"title":"Sort field","type":"object","required":["path"],"properties":{"path":{"type":"string","description":"The field to sort by.","isRequired":true,"uniqueKey":"expands.items.[INDEX].sort.items.[INDEX].path","typeLabel":"string"},"desc":{"type":"boolean","default":false,"description":"Sort descending.","uniqueKey":"expands.items.[INDEX].sort.items.[INDEX].desc","typeLabel":"boolean"},"nulls":{"type":"string","title":"Position of empty values","description":"Where empty values appear in the sort order. `Default` leaves it to the database.","default":"Default","enum":["Default","First","Last"],"uniqueKey":"expands.items.[INDEX].sort.items.[INDEX].nulls","typeLabel":"enum\u003cstring>"}},"uniqueKey":"expands.items.[INDEX].sort.items.[INDEX]","typeLabel":"Sort field · object"},"uniqueKey":"expands.items.[INDEX].sort","typeLabel":"Sort field · object[]"},"limit":{"type":"integer","format":"int32","default":50,"description":"The number of rows per asset.","uniqueKey":"expands.items.[INDEX].limit","typeLabel":"integer\u003cint32>"}},"uniqueKey":"expands.items.[INDEX]","typeLabel":"Expand definition · object"},"description":"Related data to read with each asset. An unknown name is skipped without an error.","uniqueKey":"expands","typeLabel":"Expand definition · object[]"}},"uniqueKey":"","typeLabel":"Query request · object"},"examples":{"Assets whose name contains a text, newest first":{"title":"Assets whose name contains a text, newest first","value":{"select":["id","name","createdAt"],"filter":{"logic":"And","conditions":[{"path":"name","op":"Contains","value":"server"}]},"sort":[{"path":"createdAt","desc":true}],"limit":20}},"An asset with the captured data of its type":{"title":"An asset with the captured data of its type","value":{"select":["id","name"],"filter":{"conditions":[{"path":"id","op":"Eq","value":"3f2504e0-4f89-11d3-9a0c-0305e82c3301"}]},"expands":[{"name":"object_data","select":["id","data"]}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"6070eec5-bd7b-454d-b71f-98157cb6221b":{"description":"A page of assets.","headers":{"X-RateLimit-Limit":{"description":"Requests included per quota period. Not sent for a subscription without a limit.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Included plus extra requests still available in the running period.","schema":{"type":"integer"}},"X-RateLimit-Extra-Remaining":{"description":"Extra requests still available. They are not reset with the period.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Start of the next quota period as Unix time in seconds.","schema":{"type":"integer","format":"int64"}}},"content":{"application/json":{"schema":{"title":"Query response","type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"oneOf":[{"type":"object","title":"Asset","description":"An asset. With `select` on `POST /assets/query` an item holds only the selected properties and the lifted expands under their names (`object_data` as an object, the others as a list).\n","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.id","typeLabel":"string\u003cuuid>"},"entityId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.entityId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.entityId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.entityId","typeLabel":"string\u003cuuid> | null"},"schemaId":{"type":"string","format":"uuid","description":"The type of the asset.","uniqueKey":"\\items.items.[INDEX].oneOf.0.schemaId","typeLabel":"string\u003cuuid>"},"parentId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.parentId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.parentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.parentId","typeLabel":"string\u003cuuid> | null"},"name":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.name","typeLabel":"string"},"objectType":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.objectType","typeLabel":"string"},"type":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.type","typeLabel":"string"},"iconId":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.iconId","typeLabel":"string"},"sourceType":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.sourceType","typeLabel":"string"},"organizationId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.organizationId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.organizationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.organizationId","typeLabel":"string\u003cuuid> | null"},"locationId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.locationId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.locationId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.locationId","typeLabel":"string\u003cuuid> | null"},"platformId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.platformId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.platformId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.platformId","typeLabel":"string\u003cuuid> | null"},"domainId":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.domainId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.domainId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.domainId","typeLabel":"string\u003cuuid> | null"},"version":{"type":"integer","format":"int32","uniqueKey":"\\items.items.[INDEX].oneOf.0.version","typeLabel":"integer\u003cint32>"},"status":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.status","typeLabel":"string"},"isManually":{"type":"boolean","uniqueKey":"\\items.items.[INDEX].oneOf.0.isManually","typeLabel":"boolean"},"createdAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.createdAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.createdAt","typeLabel":"string\u003cdate-time> | null"},"createdBy":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.createdBy.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.createdBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.createdBy","typeLabel":"string\u003cuuid> | null"},"createdByDisplayName":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.createdByDisplayName","typeLabel":"string"},"modifiedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedAt","typeLabel":"string\u003cdate-time> | null"},"modifiedBy":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedBy.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedBy","typeLabel":"string\u003cuuid> | null"},"modifiedByDisplayName":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.modifiedByDisplayName","typeLabel":"string"},"deletedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedAt","typeLabel":"string\u003cdate-time> | null"},"deletedBy":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedBy.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedBy","typeLabel":"string\u003cuuid> | null"},"deletedByDisplayName":{"type":"string","uniqueKey":"\\items.items.[INDEX].oneOf.0.deletedByDisplayName","typeLabel":"string"},"expands":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"title":"Expand row","type":"object","additionalProperties":true,"description":"One row of an expand. Columns without a value are omitted. JSON columns (`data`) are returned as JSON.","uniqueKey":"\\items.items.[INDEX].oneOf.0.expands.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"Expand row · object"},"uniqueKey":"\\items.items.[INDEX].oneOf.0.expands.oneOf.0.additionalProperties","typeLabel":"Expand row · object[]"},"description":"The expands by name. Only in the complete form, not when `select` lifted them.","uniqueKey":"\\items.items.[INDEX].oneOf.0.expands.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"title":"Expand row","type":"object","additionalProperties":true,"description":"One row of an expand. Columns without a value are omitted. JSON columns (`data`) are returned as JSON.","uniqueKey":"\\items.items.[INDEX].oneOf.0.expands.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"Expand row · object"},"uniqueKey":"\\items.items.[INDEX].oneOf.0.expands.oneOf.1.additionalProperties","typeLabel":"Expand row · object[]"},"description":"The expands by name. Only in the complete form, not when `select` lifted them.","uniqueKey":"\\items.items.[INDEX].oneOf.0.expands.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].oneOf.0.expands","typeLabel":"object | null"}},"additionalProperties":true,"uniqueKey":"\\items.items.[INDEX].oneOf.0","typeLabel":"Asset · object"},{"type":"object","title":"Expand row","description":"One row of an expand. Columns without a value are omitted. JSON columns (`data`) are returned as JSON.","additionalProperties":true,"uniqueKey":"\\items.items.[INDEX].oneOf.1","typeLabel":"Expand row · object"}],"uniqueKey":"\\items.items.[INDEX]","typeLabel":"Asset · object | Expand row · object"},"description":"The assets, or for an expand cursor the rows of the expand.","isRequired":true,"uniqueKey":"\\items","typeLabel":"(Asset · object | Expand row · object)[]"},"nextCursor":{"oneOf":[{"type":"string","description":"Present when more items exist. Valid for one hour, for the same user and subscription.","uniqueKey":"nextCursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Present when more items exist. Valid for one hour, for the same user and subscription.","uniqueKey":"nextCursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"nextCursor","typeLabel":"string | null"},"hasMore":{"type":"boolean","description":"True when more items exist.","uniqueKey":"hasMore","typeLabel":"boolean"},"incompleteExpands":{"oneOf":[{"type":"object","additionalProperties":{"title":"Incomplete expand","type":"object","required":["parentId","cursor"],"properties":{"parentId":{"type":"string","format":"uuid","description":"The asset whose expand is incomplete.","isRequired":true,"uniqueKey":"incompleteExpands.oneOf.0.additionalProperties.parentId","typeLabel":"string\u003cuuid>"},"cursor":{"type":"string","description":"The cursor to continue the expand with `POST /assets/expand`.","isRequired":true,"uniqueKey":"incompleteExpands.oneOf.0.additionalProperties.cursor","typeLabel":"string"},"loadedCount":{"type":"integer","format":"int32","description":"The number of rows already returned.","uniqueKey":"incompleteExpands.oneOf.0.additionalProperties.loadedCount","typeLabel":"integer\u003cint32>"}},"uniqueKey":"incompleteExpands.oneOf.0.additionalProperties","typeLabel":"Incomplete expand · object"},"description":"Expands that hold more rows than their `limit`, keyed `name:parentId`.","uniqueKey":"incompleteExpands.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"title":"Incomplete expand","type":"object","required":["parentId","cursor"],"properties":{"parentId":{"type":"string","format":"uuid","description":"The asset whose expand is incomplete.","uniqueKey":"incompleteExpands.oneOf.1.additionalProperties.parentId","typeLabel":"string\u003cuuid>"},"cursor":{"type":"string","description":"The cursor to continue the expand with `POST /assets/expand`.","uniqueKey":"incompleteExpands.oneOf.1.additionalProperties.cursor","typeLabel":"string"},"loadedCount":{"type":"integer","format":"int32","description":"The number of rows already returned.","uniqueKey":"incompleteExpands.oneOf.1.additionalProperties.loadedCount","typeLabel":"integer\u003cint32>"}},"uniqueKey":"incompleteExpands.oneOf.1.additionalProperties","typeLabel":"Incomplete expand · object"},"description":"Expands that hold more rows than their `limit`, keyed `name:parentId`.","uniqueKey":"incompleteExpands.oneOf.1","typeLabel":"null"}],"uniqueKey":"incompleteExpands","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"Query response · object"},"examples":{"Example":{"title":"Example","value":{"items":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","entityId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","schemaId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","parentId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","objectType":"\u003cstring>","type":"\u003cstring>","iconId":"\u003cstring>","sourceType":"\u003cstring>","organizationId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","locationId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","platformId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","domainId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","version":123,"status":"\u003cstring>","isManually":true,"createdAt":"2023-11-07T05:31:56Z","createdBy":"3c90c3cc-0d44-4b50-8888-8dd25736052a","createdByDisplayName":"\u003cstring>","modifiedAt":"2023-11-07T05:31:56Z","modifiedBy":"3c90c3cc-0d44-4b50-8888-8dd25736052a","modifiedByDisplayName":"\u003cstring>","deletedAt":"2023-11-07T05:31:56Z","deletedBy":"3c90c3cc-0d44-4b50-8888-8dd25736052a","deletedByDisplayName":"\u003cstring>","expands":{}}],"nextCursor":"\u003cstring>","hasMore":true,"incompleteExpands":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"0b91708c-f2e6-4cf2-bda6-652df6559cff":{"description":"The body cannot be read, a path is not available, a filter value does not fit the field, or an operator cannot be applied to the field.","x-error-codes":["VALIDATION_FAILED","UNKNOWN_PATH","FIELD_TYPE_MISMATCH","UNSUPPORTED_OPERATOR"],"content":{"application/problem+json":{"schema":{"title":"Problem details","type":"object","description":"An error according to RFC 9457. `errors` is never empty; for one error `errors[0].code` equals `errorCode`.","properties":{"type":{"type":"string","description":"A URN derived from `errorCode`, for example `urn:ds365:error:not-found`. It cannot be resolved.","uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","description":"A fixed English text per code.","uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"A technical English sentence. The text may change and should not be evaluated.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path.","uniqueKey":"instance","typeLabel":"string"},"errorCode":{"type":"string","description":"The error code. The codes of an operation are listed in `x-error-codes` of its response.","uniqueKey":"errorCode","typeLabel":"string"},"traceId":{"type":"string","description":"The trace id of the request. Give it to support.","uniqueKey":"traceId","typeLabel":"string"},"errors":{"type":"array","items":{"title":"Error item","type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The specific code of this item.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"path":{"type":"string","description":"The field or parameter the error concerns. Absent when it concerns the whole request.","uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"data":{"type":"object","additionalProperties":true,"description":"Further values, for example `entityType` and `id` of a missing asset or `missingScopes`. Absent when empty.","uniqueKey":"errors.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"Error item · object"},"uniqueKey":"errors","typeLabel":"Error item · object[]"}},"uniqueKey":"","typeLabel":"Problem details · object"},"examples":{"A field that is not available":{"title":"A field that is not available","value":{"type":"urn:ds365:error:unknown-path","title":"Unknown field path","status":400,"detail":"Field 'hostname' is not configured for source 'objects'","instance":"/api/v1/assets/query","errorCode":"UNKNOWN_PATH","traceId":"00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01","errors":[{"code":"UNKNOWN_PATH","path":"filter","data":{"field":"hostname","source":"objects","origin":"filter"}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"6a9186f7-6760-4239-8f1f-4bc2cc8cf9e4":{"description":"The API key is missing or invalid.","x-error-codes":["UNAUTHORIZED"],"content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"f1f0c300-969a-4797-8f66-1b4206f0725d":{"description":"The key lacks the scope `api_read` (*Read*), or the permission layer of the database refused the access.","x-error-codes":["FORBIDDEN","PERMISSION_DENIED","MODULE_NOT_IN_EDITION","TENANT_FROZEN"],"content":{"application/problem+json":{"schema":{"title":"Problem details","type":"object","description":"An error according to RFC 9457. `errors` is never empty; for one error `errors[0].code` equals `errorCode`.","properties":{"type":{"type":"string","description":"A URN derived from `errorCode`, for example `urn:ds365:error:not-found`. It cannot be resolved.","uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","description":"A fixed English text per code.","uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"A technical English sentence. The text may change and should not be evaluated.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path.","uniqueKey":"instance","typeLabel":"string"},"errorCode":{"type":"string","description":"The error code. The codes of an operation are listed in `x-error-codes` of its response.","uniqueKey":"errorCode","typeLabel":"string"},"traceId":{"type":"string","description":"The trace id of the request. Give it to support.","uniqueKey":"traceId","typeLabel":"string"},"errors":{"type":"array","items":{"title":"Error item","type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The specific code of this item.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"path":{"type":"string","description":"The field or parameter the error concerns. Absent when it concerns the whole request.","uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"data":{"type":"object","additionalProperties":true,"description":"Further values, for example `entityType` and `id` of a missing asset or `missingScopes`. Absent when empty.","uniqueKey":"errors.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"Error item · object"},"uniqueKey":"errors","typeLabel":"Error item · object[]"}},"uniqueKey":"","typeLabel":"Problem details · object"},"examples":{"A key without the required scope":{"title":"A key without the required scope","value":{"type":"urn:ds365:error:forbidden","title":"Forbidden","status":403,"detail":"Missing required scopes: api_read","instance":"/api/v1/assets","errorCode":"FORBIDDEN","traceId":"00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01","errors":[{"code":"FORBIDDEN","data":{"missingScopes":["api_read"]}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"a6a5e404-a133-46e6-8748-a52cf991ae53":{"description":"The request quota of the subscription is used up, included and extra requests alike. Retry after the instant in `Retry-After`. A denied request is counted as well.","x-error-codes":["REST_REQUEST_QUOTA_EXCEEDED"],"headers":{"Retry-After":{"description":"Start of the next quota period as an HTTP date. The same instant as `X-RateLimit-Reset`.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests included per quota period. Not sent for a subscription without a limit.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Included plus extra requests still available in the running period.","schema":{"type":"integer"}},"X-RateLimit-Extra-Remaining":{"description":"Extra requests still available. They are not reset with the period.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Start of the next quota period as Unix time in seconds.","schema":{"type":"integer","format":"int64"}}},"content":{"application/problem+json":{"schema":{"title":"Problem details","type":"object","description":"An error according to RFC 9457. `errors` is never empty; for one error `errors[0].code` equals `errorCode`.","properties":{"type":{"type":"string","description":"A URN derived from `errorCode`, for example `urn:ds365:error:not-found`. It cannot be resolved.","uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","description":"A fixed English text per code.","uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"A technical English sentence. The text may change and should not be evaluated.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path.","uniqueKey":"instance","typeLabel":"string"},"errorCode":{"type":"string","description":"The error code. The codes of an operation are listed in `x-error-codes` of its response.","uniqueKey":"errorCode","typeLabel":"string"},"traceId":{"type":"string","description":"The trace id of the request. Give it to support.","uniqueKey":"traceId","typeLabel":"string"},"errors":{"type":"array","items":{"title":"Error item","type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The specific code of this item.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"path":{"type":"string","description":"The field or parameter the error concerns. Absent when it concerns the whole request.","uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"data":{"type":"object","additionalProperties":true,"description":"Further values, for example `entityType` and `id` of a missing asset or `missingScopes`. Absent when empty.","uniqueKey":"errors.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"Error item · object"},"uniqueKey":"errors","typeLabel":"Error item · object[]"}},"uniqueKey":"","typeLabel":"Problem details · object"},"examples":{"The quota is used up":{"title":"The quota is used up","value":{"type":"urn:ds365:error:rest-request-quota-exceeded","title":"Request quota exceeded","status":429,"detail":"The request quota of 10000 requests per period is exhausted until 2026-12-01T00:00:00.0000000+00:00.","instance":"/api/v1/assets","errorCode":"REST_REQUEST_QUOTA_EXCEEDED","traceId":"00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01","errors":[{"code":"REST_REQUEST_QUOTA_EXCEEDED","data":{"requestsLimit":10000,"requestsUsed":10000,"quotaResetAt":"2026-12-01T00:00:00+00:00"}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"c9d5959a-fded-4f3a-a82d-47ffb0b42144":{"description":"An unexpected fault. `detail` is a fixed sentence; use `traceId` when reporting it.","x-error-codes":["INTERNAL_ERROR"],"content":{"application/problem+json":{"schema":{"title":"Problem details","type":"object","description":"An error according to RFC 9457. `errors` is never empty; for one error `errors[0].code` equals `errorCode`.","properties":{"type":{"type":"string","description":"A URN derived from `errorCode`, for example `urn:ds365:error:not-found`. It cannot be resolved.","uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","description":"A fixed English text per code.","uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"A technical English sentence. The text may change and should not be evaluated.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path.","uniqueKey":"instance","typeLabel":"string"},"errorCode":{"type":"string","description":"The error code. The codes of an operation are listed in `x-error-codes` of its response.","uniqueKey":"errorCode","typeLabel":"string"},"traceId":{"type":"string","description":"The trace id of the request. Give it to support.","uniqueKey":"traceId","typeLabel":"string"},"errors":{"type":"array","items":{"title":"Error item","type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The specific code of this item.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"path":{"type":"string","description":"The field or parameter the error concerns. Absent when it concerns the whole request.","uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"data":{"type":"object","additionalProperties":true,"description":"Further values, for example `entityType` and `id` of a missing asset or `missingScopes`. Absent when empty.","uniqueKey":"errors.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"Error item · object"},"uniqueKey":"errors","typeLabel":"Error item · object[]"}},"uniqueKey":"","typeLabel":"Problem details · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>","errorCode":"\u003cstring>","traceId":"\u003cstring>","errors":[{"code":"\u003cstring>","path":"\u003cstring>","data":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f705ed50-acf4-48dc-a1c3-a74809de26da":{"description":"The request quota could not be checked and the request was therefore not served, or the database failed transiently. Retrying may succeed.","x-error-codes":["SERVICE_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"title":"Problem details","type":"object","description":"An error according to RFC 9457. `errors` is never empty; for one error `errors[0].code` equals `errorCode`.","properties":{"type":{"type":"string","description":"A URN derived from `errorCode`, for example `urn:ds365:error:not-found`. It cannot be resolved.","uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","description":"A fixed English text per code.","uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"A technical English sentence. The text may change and should not be evaluated.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path.","uniqueKey":"instance","typeLabel":"string"},"errorCode":{"type":"string","description":"The error code. The codes of an operation are listed in `x-error-codes` of its response.","uniqueKey":"errorCode","typeLabel":"string"},"traceId":{"type":"string","description":"The trace id of the request. Give it to support.","uniqueKey":"traceId","typeLabel":"string"},"errors":{"type":"array","items":{"title":"Error item","type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The specific code of this item.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"path":{"type":"string","description":"The field or parameter the error concerns. Absent when it concerns the whole request.","uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"data":{"type":"object","additionalProperties":true,"description":"Further values, for example `entityType` and `id` of a missing asset or `missingScopes`. Absent when empty.","uniqueKey":"errors.items.[INDEX].data","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"Error item · object"},"uniqueKey":"errors","typeLabel":"Error item · object[]"}},"uniqueKey":"","typeLabel":"Problem details · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>","errorCode":"\u003cstring>","traceId":"\u003cstring>","errors":[{"code":"\u003cstring>","path":"\u003cstring>","data":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e2675cc6-15fd-4901-8b67-def0ab209847":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"The API key of the subscription. Each operation names the scope it needs in `x-pat-scopes`: `api_read` (in the interface *Read*) or `api_write` (*Read and Write*). The key is created under *Administration › Integrations › API Keys*.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"678cf083-b49a-4f2d-884f-84a11f46e483":{"url":"https://api.docusnap365.com/api/v1"}},"schemas":{"1bbd4588-f531-49ce-b622-7768c95ee2b8":{"title":"Filter group","type":"object","properties":{"logic":{"type":"string","title":"Logical operator","description":"How the conditions and groups of a group are combined.","default":"And","enum":["And","Or"]},"conditions":{"type":"array","items":{"title":"Filter condition","type":"object","required":["path","op"],"properties":{"path":{"type":"string","description":"The field. Only fields of the source are available.","isRequired":true},"op":{"title":"Filter operator","type":"string","description":"The operator of a condition. Case-insensitive in the request body.\n\n`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte` compare. `Neq` and `NotIn` keep rows whose field is empty. `Contains`, `StartsWith`, `EndsWith` match text without regard to case; `%`, `_` and `\\` in `value` are taken literally. `Like` is SQL LIKE with the wildcards of the caller and regard to case. `In` and `NotIn` take a list in `value`. `IsNull` and `IsNotNull` need no `value`. `ArrayAny` is true when at least one element of a JSON array satisfies `arrayFilter`. `ArrayContains` is true when the JSON array contains `value`.\n\nComparison and list operators (`Eq`, `Neq`, `Gt`, `Gte`, `Lt`, `Lte`, `In`, `NotIn`) are rejected on a field that holds a JSON object or array.\n","enum":["Eq","Neq","Gt","Gte","Lt","Lte","Contains","StartsWith","EndsWith","Like","In","NotIn","IsNull","IsNotNull","ArrayAny","ArrayContains"],"isRequired":true},"value":{"description":"The comparison value. Its JSON type must fit the field; a list for `In` and `NotIn`."},"arrayFilter":{"oneOf":[{}]}}}},"groups":{"type":"array","items":{"$circularRef":"1bbd4588-f531-49ce-b622-7768c95ee2b8"},"description":"Nested groups. They are combined with the conditions by `logic`."}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"The API key of the subscription. Each operation names the scope it needs in `x-pat-scopes`: `api_read` (in the interface *Read*) or `api_write` (*Read and Write*). The key is created under *Administration › Integrations › API Keys*.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"The API key of the subscription. Each operation names the scope it needs in `x-pat-scopes`: `api_read` (in the interface *Read*) or `api_write` (*Read and Write*). The key is created under *Administration › Integrations › API Keys*.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.en.yaml"},"subdomain":"docusnap","siteName":"Docusnap365","title":"Query assets - Docusnap365","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"de":{"href":"/de/getting-started/overview","matchLevel":4},"en":{"href":"/api-reference/query/query-assets","matchLevel":0}}},"lastModified":"2026-11-10T07:39:19.732Z","originalFileLocation":"api-reference/query/query-assets.mdx","locale":"en"},"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=\"Queries assets with filter, sort, field selection, page size and expands. Only the fields of the asset are available for select, filter and sort (see AssetDto). Expands add related data; data. paths in an expand are resolved against the types. With select the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without select an item is the complete asset with its expands in expands. A page holds limit items (default 50). If more exist, hasMore is true and nextCursor continues with POST /cursor/continue. An expand that holds more rows than its limit for an asset is reported in incompleteExpands; continue it with POST /assets/expand. Requires the scope api_read (Read).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Docusnap365\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_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=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Query assets - Docusnap365\">\u003cmeta data-mint-head property=\"og:description\" content=\"Queries assets with filter, sort, field selection, page size and expands. Only the fields of the asset are available for select, filter and sort (see AssetDto). Expands add related data; data. paths in an expand are resolved against the types. With select the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without select an item is the complete asset with its expands in expands. A page holds limit items (default 50). If more exist, hasMore is true and nextCursor continues with POST /cursor/continue. An expand that holds more rows than its limit for an asset is reported in incompleteExpands; continue it with POST /assets/expand. Requires the scope api_read (Read).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Docusnap365\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.docusnap.com/docs/api-reference/query/query-assets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docusnap.mintlify.site/docs/_mintlify/api/og/v2?division=Query\u0026amp;title=Query+assets\u0026amp;description=Queries+assets+with+filter%2C+sort%2C+field+selection%2C+page+size+and+expands.%0A%0AOnly+the+fields+of+the+asset+are+available+for+%60select%60%2C+%60filter%60+and+%60sort%60+%28see+%60As\u0026amp;theme=76256092d55f72ccd86a07dd\u0026amp;signature=3d69d09012a706e9518b4ef45097ba27eaf23ec1ea94db49eb5435ceb0de1b9b\">\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=\"Query assets - Docusnap365\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Queries assets with filter, sort, field selection, page size and expands. Only the fields of the asset are available for select, filter and sort (see AssetDto). Expands add related data; data. paths in an expand are resolved against the types. With select the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without select an item is the complete asset with its expands in expands. A page holds limit items (default 50). If more exist, hasMore is true and nextCursor continues with POST /cursor/continue. An expand that holds more rows than its limit for an asset is reported in incompleteExpands; continue it with POST /assets/expand. Requires the scope api_read (Read).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docusnap.mintlify.site/docs/_mintlify/api/og/v2?division=Query\u0026amp;title=Query+assets\u0026amp;description=Queries+assets+with+filter%2C+sort%2C+field+selection%2C+page+size+and+expands.%0A%0AOnly+the+fields+of+the+asset+are+available+for+%60select%60%2C+%60filter%60+and+%60sort%60+%28see+%60As\u0026amp;theme=76256092d55f72ccd86a07dd\u0026amp;signature=3d69d09012a706e9518b4ef45097ba27eaf23ec1ea94db49eb5435ceb0de1b9b\">\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=\"/docs/mintlify-assets/_mintlify/favicons/docusnap/H7rYqvu3TO3yj0a1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Docusnap365\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F7683\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.docusnap.com/docs/api-reference/query/query-assets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/query/query-assets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.docusnap.com/#organization\",\"name\":\"Docusnap365\",\"url\":\"https://www.docusnap.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/docusnap/w7DSWRB4BRB49qQA/images/Docusnap_Logo.svg?fit=max\u0026auto=format\u0026n=w7DSWRB4BRB49qQA\u0026q=85\u0026s=30ba3056aa591cff3faf8c4addf943c0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.docusnap.com/docs#website\",\"name\":\"Docusnap365\",\"url\":\"https://www.docusnap.com/docs\",\"publisher\":{\"@id\":\"https://www.docusnap.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.docusnap.com/docs/api-reference/query/query-assets#webpage\",\"url\":\"https://www.docusnap.com/docs/api-reference/query/query-assets\",\"name\":\"Query assets\",\"description\":\"Queries assets with filter, sort, field selection, page size and expands. Only the fields of the asset are available for select, filter and sort (see AssetDto). Expands add related data; data. paths in an expand are resolved against the types. With select the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without select an item is the complete asset with its expands in expands. A page holds limit items (default 50). If more exist, hasMore is true and nextCursor continues with POST /cursor/continue. An expand that holds more rows than its limit for an asset is reported in incompleteExpands; continue it with POST /assets/expand. Requires the scope api_read (Read).\",\"dateModified\":\"2026-11-10T07:39:19.732Z\",\"isPartOf\":{\"@id\":\"https://www.docusnap.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.docusnap.com/docs/api-reference/query/query-assets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.docusnap.com/docs/api-reference/query/query-assets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://www.docusnap.com/docs/en/api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://www.docusnap.com/docs/api-reference/assets/list-assets\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Query assets\",\"item\":\"https://www.docusnap.com/docs/api-reference/query/query-assets\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.docusnap.com/docs/api-reference/query/query-assets#apireference\",\"headline\":\"Query assets\",\"name\":\"Query assets\",\"description\":\"Queries assets with filter, sort, field selection, page size and expands. Only the fields of the asset are available for select, filter and sort (see AssetDto). Expands add related data; data. paths in an expand are resolved against the types. With select the response items contain only the selected properties, and the expands are lifted to the top level of the item. Without select an item is the complete asset with its expands in expands. A page holds limit items (default 50). If more exist, hasMore is true and nextCursor continues with POST /cursor/continue. An expand that holds more rows than its limit for an asset is reported in incompleteExpands; continue it with POST /assets/expand. Requires the scope api_read (Read).\",\"url\":\"https://www.docusnap.com/docs/api-reference/query/query-assets\",\"mainEntityOfPage\":{\"@id\":\"https://www.docusnap.com/docs/api-reference/query/query-assets#webpage\"},\"dateModified\":\"2026-11-10T07:39:19.732Z\",\"publisher\":{\"@id\":\"https://www.docusnap.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.docusnap.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Docusnap365\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Docusnap365","nav":{"global":null,"languages":[{"language":"de","navbar":{"links":[{"href":"https://docusnap365.com","label":"Anmelden"}],"primary":{"type":"button","label":"Kostenlos testen","href":"https://www.docusnap.com/de/trial?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=trial"}},"pages":[{"title":"de","href":"/de/getting-started/overview"}]},{"language":"en","default":true,"navbar":{"links":[{"href":"https://docusnap365.com","label":"Sign In"}],"primary":{"type":"button","label":"Try for Free","href":"https://www.docusnap.com/en/trial?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=trial"}},"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/en/getting-started/overview"}]},{"tab":"Scanning","pages":[{"title":"Scanning","href":"/en/scan/understanding-scanning"}]},{"tab":"Inventory","pages":[{"title":"Inventory","href":"/en/assets/overview"}]},{"tab":"ITAM","pages":[{"title":"ITAM","href":"/en/itam/understanding-itam"}]},{"tab":"ISMS","pages":[{"title":"ISMS","href":"/en/isms/understanding-isms"}]},{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/documents/overview"}]},{"tab":"Analysis","pages":[{"title":"Analysis","href":"/en/analysis/overview"}]},{"tab":"AI Assistant","pages":[{"title":"AI Assistant","href":"/en/assistant/overview"}]},{"tab":"Administration","pages":[{"title":"Administration","href":"/en/settings/subscription"}]},{"tab":"MCP \u0026 API","groups":[{"group":"MCP","pages":[{"title":"MCP—Basics","sidebarTitle":"Overview","href":"/en/api/mcp"},{"title":"MCP—Tools","sidebarTitle":"Tools","href":"/en/api/mcp-specific-tools"}]},{"group":"API","pages":[{"title":"Understanding the REST API","sidebarTitle":"Basics","href":"/en/api/overview"},{"title":"Data Model","sidebarTitle":"Data Model","href":"/en/api/data-model"},{"group":"API Reference","pages":[{"group":"Assets","pages":[{"title":"List assets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /assets","href":"/api-reference/assets/list-assets"},{"title":"Get one asset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /asset/{id}","href":"/api-reference/assets/get-one-asset"},{"title":"Create or update one asset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /asset","href":"/api-reference/assets/create-or-update-one-asset"},{"title":"Create or update several assets","description":"Writes up to 100 assets in one transaction, each created or updated by identity matching as in `POST /asset`. More than 100 entries are rejected with 400. An empty list is answered with 200 and an empty `results`.\n\nAn entry that is protected (a more complete record exists) or has too few identity values does not abort the batch: it is skipped and its entry in `results` carries `errorMessage`. Every other rejection aborts the whole batch with 400.\n\nRequires the scope `api_write` (*Read and Write*). The response of the ingest service is returned unchanged.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /asset/bulk","href":"/api-reference/assets/create-or-update-several-assets"}]},{"group":"Query","pages":[{"title":"Query assets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /assets/query","href":"/api-reference/query/query-assets"},{"title":"Read or continue an expand of one asset","description":"Reads the related data (`expandName`) of one asset (`parentId`). Without `cursor` the request starts the expand with the given `select`, `filter`, `sort` and `limit`. With the cursor from `incompleteExpands` it continues that expand; the cursor carries the original query, and `select`, `filter`, `sort` and `limit` of the body are not applied. `parentId` and `expandName` must match the cursor.\n\nThe parent asset must be visible to the user, otherwise the answer is 404.\n\nRequires the scope `api_read` (*Read*).\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /assets/expand","href":"/api-reference/query/read-or-continue-an-expand-of-one-asset"},{"title":"Continue from a cursor","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /cursor/continue","href":"/api-reference/query/continue-from-a-cursor"}]}]}]}]},{"tab":"What's new","pages":[{"title":"What's new","href":"/en/changelog"}]}]}]},"basePath":"","title":"Query assets - Docusnap365","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","Page-CBlOSKZG.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js","Markdown-B4M_Eo1P.js","clsx-DShopWo_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BX6wab7q.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-48h67xm_.js"]}