{
"code": "QUERY_PARSE_ERROR",
"message": "Failed to parse SQL query",
"details": {
"line": 3,
"column": 15,
"hint": "Unexpected token near 'SELCT'"
},
"reasons": [
{
"code": "MUTATION_NOT_ALLOWED",
"message": "Only SELECT queries are permitted. Mutation statements are not allowed."
}
]
}
{
"code": "QUERY_PARSE_ERROR",
"message": "Failed to parse SQL query",
"details": {
"line": 3,
"column": 15,
"hint": "Unexpected token near 'SELCT'"
},
"reasons": [
{
"code": "MUTATION_NOT_ALLOWED",
"message": "Only SELECT queries are permitted. Mutation statements are not allowed."
}
]
}
{
"code": "SAVED_QUERY_NOT_FOUND",
"message": "Saved query not found"
}
{
"code": "QUERY_PARSE_ERROR",
"message": "Failed to parse SQL query",
"details": {
"line": 3,
"column": 15,
"hint": "Unexpected token near 'SELCT'"
},
"reasons": [
{
"code": "MUTATION_NOT_ALLOWED",
"message": "Only SELECT queries are permitted. Mutation statements are not allowed."
}
]
}
Saved Query
Get
Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The version in the response is what a subsequent update sends as expected_version.
OAuth 2.0 Client Credentials flow. The tokenUrl shown is for the production environment. For other environments, replace prod with the target environment name (e.g., auth.staging.oleria.io for staging).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Oleria Identity Security","colors":{"primary":"#027864","light":"#027864","dark":"#58D5BA"},"logo":{"light":"https://mintcdn.com/oleria/KyPIHO-0OF6fE_DF/images/OleriaLightMode-1.png?fit=max\u0026auto=format\u0026n=KyPIHO-0OF6fE_DF\u0026q=85\u0026s=906d33a8c505e2a96b7c6a1583335e1d","dark":"https://mintcdn.com/oleria/9Xgkiz4uBKa5_MIM/images/Oleria_Dark_2.png?fit=max\u0026auto=format\u0026n=9Xgkiz4uBKa5_MIM\u0026q=85\u0026s=eed2ceca9aaaa1597123d7edabce3ce2"},"favicon":"https://mintcdn.com/oleria/rpFX8xIzvg2xF0B0/images/favicon.png?fit=max\u0026auto=format\u0026n=rpFX8xIzvg2xF0B0\u0026q=85\u0026s=b2b79fcf5eaf05bffa7866fe11571fd9","appearance":{"default":"light"},"background":{"color":{"light":"#ffffff"}},"navbar":{"links":[{"href":"mailto:support@oleria.com","label":"Support"}]},"footer":{"socials":{"website":"https://oleria.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"oleria","hasAudioNarration":false,"actualSubdomain":"oleria","customDomains":["docs.oleria.com"],"gitSource":{"type":"github","owner":"roanokedatasecurity","repo":"oleria-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeace4bfeac5b4749625236","collectionId":"2edfd769-349b-438c-87bc-d9700635ec79","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeace4bfeac5b4749625236"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aead2ddcd71ec77215afae7","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Integrations","count":370},{"language":"default","tag":"Applications","count":312},{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Inventory \u0026 Actions","count":72},{"language":"default","tag":"Product","count":69},{"language":"default","tag":"Security and compliance","count":52},{"language":"default","tag":"Developer tools","count":48},{"language":"default","tag":"Collaboration and productivity","count":39},{"language":"default","tag":"Data and analytics","count":34},{"language":"default","tag":"Finance and operations","count":29}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@oleria.com","showHelpButton":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":"byok-sep-25","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":"billing-updated-9-15","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":false},"customCss":[],"page":{"pagePath":"api-reference/saved-query/get","slug":"/api-reference/saved-query/get","pageMetadata":{"title":"Get","description":"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The `version` in the response is what a subsequent update sends as `expected_version`.\n","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/query/saved-queries/{query_id}","href":"/api-reference/saved-query/get","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: [\"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The \", _jsx(_components.code, {\n children: \"version\"\n }), \" in the response is what a subsequent update sends as \", _jsx(_components.code, {\n children: \"expected_version\"\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":"Get","description":"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The `version` in the response is what a subsequent update sends as `expected_version`.\n","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/query/saved-queries/{query_id}","href":"/api-reference/saved-query/get","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get","description":"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The `version` in the response is what a subsequent update sends as `expected_version`.\n","operationId":"GetSavedQuery","tags":["Saved Query"],"security":["d8db7036-2787-44a5-9d65-a543c829f941"],"parameters":["3e557f64-3f77-45f9-975a-9055eecbcd42"],"responses":{"200":"28425968-19cb-4397-b13b-a0a7913e0601","401":"0d4baaa1-b469-4641-9cd5-568af3da6325","403":"96613cac-8274-4159-84c8-aa94fd797dfe","404":"42a7facc-72cd-41de-a134-6cb6e1a8aa3c","500":"7b3877cd-fc58-4e53-9068-66bbb5814112"},"method":"get","type":"path","servers":["3a89cf53-d272-42e9-983d-0e2d908a3c1a"],"path":"/v1/query/saved-queries/{query_id}","baseUrlOptions":["https://devx.{environment}.oleria.io"],"title":"Get","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3e557f64-3f77-45f9-975a-9055eecbcd42":{"name":"query_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The opaque saved-query identifier.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The opaque saved-query identifier.","example":"550e8400-e29b-41d4-a716-446655440000"}},"responses":{"28425968-19cb-4397-b13b-a0a7913e0601":{"description":"The saved query.","content":{"application/json":{"schema":{"type":"object","required":["query_id","name","query_string","model","created_by","last_modified_by","version","created_at","last_modified_at"],"description":"A stored SQL query with authorship metadata.","properties":{"query_id":{"type":"string","format":"uuid","description":"Opaque stable identifier. Clients key on this, never the name.\n","example":"550e8400-e29b-41d4-a716-446655440000","isRequired":true,"uniqueKey":"query_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Free-form label, unique within the tenant (case-insensitive).\n","example":"Disabled MFA accounts","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"query_string":{"type":"string","description":"The stored SQL text.","example":"SELECT account_id, mfa_status FROM oleria_account WHERE mfa_status = :status","isRequired":true,"uniqueKey":"query_string","typeLabel":"string"},"model":{"type":"string","description":"Semantic model the query targets.","example":"oleria_identity","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"created_by":{"type":"object","required":["type","id"],"description":"The principal (user or service client) that created or last modified the saved query, identified by a stable, opaque id.\n","properties":{"type":{"type":"string","enum":["user","client"],"description":"Principal kind.","example":"user","isRequired":true,"uniqueKey":"created_by.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Opaque principal identifier — the `oleriaUserId` for `user`, the `client_id` for `client`. Treat as opaque.\n","example":"ol_a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"created_by.id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"created_by","typeLabel":"object"},"last_modified_by":{"type":"object","required":["type","id"],"description":"The principal (user or service client) that created or last modified the saved query, identified by a stable, opaque id.\n","properties":{"type":{"type":"string","enum":["user","client"],"description":"Principal kind.","example":"user","isRequired":true,"uniqueKey":"last_modified_by.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Opaque principal identifier — the `oleriaUserId` for `user`, the `client_id` for `client`. Treat as opaque.\n","example":"ol_a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"last_modified_by.id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"last_modified_by","typeLabel":"object"},"version":{"type":"integer","description":"Monotonic version — 1 on create, incremented on every update. Doubles as the optimistic-concurrency token on update.\n","example":3,"isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","example":"2026-06-01T10:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"last_modified_at":{"type":"string","format":"date-time","example":"2026-06-04T09:30:00Z","isRequired":true,"uniqueKey":"last_modified_at","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Optional free-form context about the query.","example":"Accounts where MFA is disabled — weekly review","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"query_id":"550e8400-e29b-41d4-a716-446655440000","name":"Disabled MFA accounts","query_string":"SELECT account_id, mfa_status FROM oleria_account WHERE mfa_status = :status","model":"oleria_identity","created_by":{"type":"user","id":"ol_a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"last_modified_by":{"type":"user","id":"ol_a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"version":3,"created_at":"2026-06-01T10:00:00Z","last_modified_at":"2026-06-04T09:30:00Z","description":"Accounts where MFA is disabled — weekly review"}}},"exampleType":"generated"}},"exampleType":"generated"},"0d4baaa1-b469-4641-9cd5-568af3da6325":{"description":"Missing or invalid authentication token","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code for programmatic handling.","example":"QUERY_PARSE_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description.","example":"Failed to parse SQL query","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional context for debugging (optional, free-form).","example":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"uniqueKey":"details","typeLabel":"object"},"reasons":{"type":"array","description":"Policy violation details. Present when `code` is `POLICY_VIOLATION`. Each entry identifies a governance policy that the query violated.\n","items":{"type":"object","required":["code","message"],"description":"A single policy violation identified during query validation.","properties":{"code":{"type":"string","description":"Stable, machine-readable identifier for the denial reason. SCREAMING_SNAKE_CASE; declared on the violated policy.\n","example":"MUTATION_NOT_ALLOWED","isRequired":true,"uniqueKey":"reasons.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the denial.","example":"Only SELECT queries are permitted. Mutation statements are not allowed.","isRequired":true,"uniqueKey":"reasons.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"reasons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"reasons","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"QUERY_PARSE_ERROR","message":"Failed to parse SQL query","details":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"reasons":[{"code":"MUTATION_NOT_ALLOWED","message":"Only SELECT queries are permitted. Mutation statements are not allowed."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"96613cac-8274-4159-84c8-aa94fd797dfe":{"description":"Valid token but insufficient permissions","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code for programmatic handling.","example":"QUERY_PARSE_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description.","example":"Failed to parse SQL query","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional context for debugging (optional, free-form).","example":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"uniqueKey":"details","typeLabel":"object"},"reasons":{"type":"array","description":"Policy violation details. Present when `code` is `POLICY_VIOLATION`. Each entry identifies a governance policy that the query violated.\n","items":{"type":"object","required":["code","message"],"description":"A single policy violation identified during query validation.","properties":{"code":{"type":"string","description":"Stable, machine-readable identifier for the denial reason. SCREAMING_SNAKE_CASE; declared on the violated policy.\n","example":"MUTATION_NOT_ALLOWED","isRequired":true,"uniqueKey":"reasons.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the denial.","example":"Only SELECT queries are permitted. Mutation statements are not allowed.","isRequired":true,"uniqueKey":"reasons.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"reasons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"reasons","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"QUERY_PARSE_ERROR","message":"Failed to parse SQL query","details":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"reasons":[{"code":"MUTATION_NOT_ALLOWED","message":"Only SELECT queries are permitted. Mutation statements are not allowed."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"42a7facc-72cd-41de-a134-6cb6e1a8aa3c":{"description":"No saved query with this ID in the tenant.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code for programmatic handling.","example":"QUERY_PARSE_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description.","example":"Failed to parse SQL query","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional context for debugging (optional, free-form).","example":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"uniqueKey":"details","typeLabel":"object"},"reasons":{"type":"array","description":"Policy violation details. Present when `code` is `POLICY_VIOLATION`. Each entry identifies a governance policy that the query violated.\n","items":{"type":"object","required":["code","message"],"description":"A single policy violation identified during query validation.","properties":{"code":{"type":"string","description":"Stable, machine-readable identifier for the denial reason. SCREAMING_SNAKE_CASE; declared on the violated policy.\n","example":"MUTATION_NOT_ALLOWED","isRequired":true,"uniqueKey":"reasons.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the denial.","example":"Only SELECT queries are permitted. Mutation statements are not allowed.","isRequired":true,"uniqueKey":"reasons.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"reasons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"reasons","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"SAVED_QUERY_NOT_FOUND","message":"Saved query not found"},"examples":{"Example":{"title":"Example","value":{"code":"SAVED_QUERY_NOT_FOUND","message":"Saved query not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"7b3877cd-fc58-4e53-9068-66bbb5814112":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code for programmatic handling.","example":"QUERY_PARSE_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description.","example":"Failed to parse SQL query","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"Additional context for debugging (optional, free-form).","example":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"uniqueKey":"details","typeLabel":"object"},"reasons":{"type":"array","description":"Policy violation details. Present when `code` is `POLICY_VIOLATION`. Each entry identifies a governance policy that the query violated.\n","items":{"type":"object","required":["code","message"],"description":"A single policy violation identified during query validation.","properties":{"code":{"type":"string","description":"Stable, machine-readable identifier for the denial reason. SCREAMING_SNAKE_CASE; declared on the violated policy.\n","example":"MUTATION_NOT_ALLOWED","isRequired":true,"uniqueKey":"reasons.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the denial.","example":"Only SELECT queries are permitted. Mutation statements are not allowed.","isRequired":true,"uniqueKey":"reasons.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"reasons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"reasons","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"QUERY_PARSE_ERROR","message":"Failed to parse SQL query","details":{"line":3,"column":15,"hint":"Unexpected token near 'SELCT'"},"reasons":[{"code":"MUTATION_NOT_ALLOWED","message":"Only SELECT queries are permitted. Mutation statements are not allowed."}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d8db7036-2787-44a5-9d65-a543c829f941":{"clientCredentials":{"type":"oauth2","description":"OAuth 2.0 Client Credentials flow. The tokenUrl shown is for the production environment. For other environments, replace `prod` with the target environment name (e.g., `auth.staging.oleria.io` for staging).\n","flows":{"clientCredentials":{"tokenUrl":"https://auth.prod.oleria.io/oauth/token","scopes":{"ClientCredentialsResourceServer/client_credentials_base_scope":"Default scope used for all client credentials (RBAC is controlled via permissions in the bearer token)"}}},"scopes":["ClientCredentialsResourceServer/client_credentials_base_scope"]}}},"servers":{"3a89cf53-d272-42e9-983d-0e2d908a3c1a":{"url":"https://devx.{environment}.oleria.io","description":"Oleria DevX Server","variables":{"environment":{"default":"prod","description":"Environment name (prod, staging, dev)","enum":["prod","staging","dev"]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2.0 Client Credentials flow. The tokenUrl shown is for the production environment. For other environments, replace `prod` with the target environment name (e.g., `auth.staging.oleria.io` for staging).\n","flows":{"clientCredentials":{"tokenUrl":"https://auth.prod.oleria.io/oauth/token","scopes":{"ClientCredentialsResourceServer/client_credentials_base_scope":"Default scope used for all client credentials (RBAC is controlled via permissions in the bearer token)"}}},"scopes":["ClientCredentialsResourceServer/client_credentials_base_scope"]},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.0 Client Credentials flow. The tokenUrl shown is for the production environment. For other environments, replace `prod` with the target environment name (e.g., `auth.staging.oleria.io` for staging).\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"clientCredentials","name":"Authorization"}],"title":"clientCredentials"}]},"originalFileLocation":"developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml"},"subdomain":"oleria","siteName":"Oleria Identity Security","title":"Get - Oleria Identity Security","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-05T17:42:31.483Z","originalFileLocation":"api-reference/saved-query/get.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=\"light\"}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=\"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The version in the response is what a subsequent update sends as expected_version.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Oleria Identity Security\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_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/oleria/VFsEjt_GQ9jb2s6K/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get - Oleria Identity Security\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The version in the response is what a subsequent update sends as expected_version.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Oleria Identity Security\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oleria.com/api-reference/saved-query/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://oleria.mintlify.app/_mintlify/api/og/v2?division=Saved+Query\u0026amp;title=Get\u0026amp;description=Returns+a+saved+query+by+its+id%3A+the+stored+SQL%2C+the+semantic+model+it+targets%2C+and+the+authorship+and+version+metadata+recorded+when+it+was+last+written.+The+%60\u0026amp;theme=67101527a6023bf85b2b7e70\u0026amp;signature=4f1b3fc1fc69b176bc77da325d9cb224647462b2bd04fec52f91bcdd0be8c172\">\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=\"Get - Oleria Identity Security\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The version in the response is what a subsequent update sends as expected_version.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://oleria.mintlify.app/_mintlify/api/og/v2?division=Saved+Query\u0026amp;title=Get\u0026amp;description=Returns+a+saved+query+by+its+id%3A+the+stored+SQL%2C+the+semantic+model+it+targets%2C+and+the+authorship+and+version+metadata+recorded+when+it+was+last+written.+The+%60\u0026amp;theme=67101527a6023bf85b2b7e70\u0026amp;signature=4f1b3fc1fc69b176bc77da325d9cb224647462b2bd04fec52f91bcdd0be8c172\">\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/oleria/VFsEjt_GQ9jb2s6K/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Oleria Identity Security\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#027864\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oleria.com/api-reference/saved-query/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/saved-query/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oleria.com/#organization\",\"name\":\"Oleria Identity Security\",\"url\":\"https://docs.oleria.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/oleria/KyPIHO-0OF6fE_DF/images/OleriaLightMode-1.png?fit=max\u0026auto=format\u0026n=KyPIHO-0OF6fE_DF\u0026q=85\u0026s=906d33a8c505e2a96b7c6a1583335e1d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oleria.com#website\",\"name\":\"Oleria Identity Security\",\"url\":\"https://docs.oleria.com\",\"publisher\":{\"@id\":\"https://docs.oleria.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oleria.com/api-reference/saved-query/get#webpage\",\"url\":\"https://docs.oleria.com/api-reference/saved-query/get\",\"name\":\"Get\",\"description\":\"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The version in the response is what a subsequent update sends as expected_version.\",\"dateModified\":\"2026-08-05T17:42:31.483Z\",\"isPartOf\":{\"@id\":\"https://docs.oleria.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oleria.com/api-reference/saved-query/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oleria.com/api-reference/saved-query/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TrustFusion\",\"item\":\"https://docs.oleria.com/api-reference/query/validate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Saved Query\",\"item\":\"https://docs.oleria.com/api-reference/saved-query/list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get\",\"item\":\"https://docs.oleria.com/api-reference/saved-query/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oleria.com/api-reference/saved-query/get#apireference\",\"headline\":\"Get\",\"name\":\"Get\",\"description\":\"Returns a saved query by its id: the stored SQL, the semantic model it targets, and the authorship and version metadata recorded when it was last written. The version in the response is what a subsequent update sends as expected_version.\",\"url\":\"https://docs.oleria.com/api-reference/saved-query/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oleria.com/api-reference/saved-query/get#webpage\"},\"dateModified\":\"2026-08-05T17:42:31.483Z\",\"publisher\":{\"@id\":\"https://docs.oleria.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oleria.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Oleria Identity Security\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Oleria Identity Security","nav":{"global":null,"tabs":[{"tab":"Product","pages":[{"title":"Product","href":"/introduction/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Overview","href":"/developer-docs/api-reference/overview"},{"title":"Generate an API Token","href":"/developer-docs/api-reference/generate-token"}]},{"group":"Inventory \u0026 Actions","pages":[{"group":"Access assignments","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-assigned-access-to-object","href":"/api-reference/access-assignments/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-assigned-access-to-object/{id}","href":"/api-reference/access-assignments/get"}]},{"group":"Account roles","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/account-roles","href":"/api-reference/account-roles/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/account-roles/{id}","href":"/api-reference/account-roles/get"}]},{"group":"Accounts","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/accounts","href":"/api-reference/accounts/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/accounts/{id}","href":"/api-reference/accounts/get"},{"title":"Create","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/accounts","href":"/api-reference/accounts/create"},{"title":"Activate","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/accounts/{id}/activate","href":"/api-reference/accounts/activate"},{"title":"Disable","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/accounts/{id}/disable","href":"/api-reference/accounts/disable"},{"title":"Enable","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/accounts/{id}/enable","href":"/api-reference/accounts/enable"},{"title":"Revoke active sessions","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/accounts/{id}/revoke-sessions","href":"/api-reference/accounts/revoke-active-sessions"},{"title":"Remove access to shared resources","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/accounts/{id}/resource-access","href":"/api-reference/accounts/remove-access-to-shared-resources"},{"title":"Delete","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/accounts/{id}","href":"/api-reference/accounts/delete"}]},{"group":"Activities","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/activities","href":"/api-reference/activities/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/activities/{id}","href":"/api-reference/activities/get"}]},{"group":"Assigned applications","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/assigned-applications","href":"/api-reference/assigned-applications/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/assigned-applications/{id}","href":"/api-reference/assigned-applications/get"},{"title":"Grant an account access","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml put /v1/assigned-applications/{id}/assigned-accounts/{accountId}","href":"/api-reference/assigned-applications/grant-an-account-access"},{"title":"Remove an account's access","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/assigned-applications/{id}/assigned-accounts/{accountId}","href":"/api-reference/assigned-applications/remove-an-accounts-access"},{"title":"Grant a group access","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml put /v1/assigned-applications/{id}/assigned-groups/{groupId}","href":"/api-reference/assigned-applications/grant-a-group-access"},{"title":"Remove a group's access","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/assigned-applications/{id}/assigned-groups/{groupId}","href":"/api-reference/assigned-applications/remove-a-groups-access"}]},{"group":"Authenticator enrollments","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/authenticator-enrollments","href":"/api-reference/authenticator-enrollments/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/authenticator-enrollments/{id}","href":"/api-reference/authenticator-enrollments/get"}]},{"group":"Authenticators","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/authenticators","href":"/api-reference/authenticators/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/authenticators/{id}","href":"/api-reference/authenticators/get"}]},{"group":"Department assignments","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/employee-serving-in-department","href":"/api-reference/department-assignments/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/employee-serving-in-department/{id}","href":"/api-reference/department-assignments/get"}]},{"group":"Department hierarchy","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/department-contains-department","href":"/api-reference/department-hierarchy/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/department-contains-department/{id}","href":"/api-reference/department-hierarchy/get"}]},{"group":"Departments","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/departments","href":"/api-reference/departments/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/departments/{id}","href":"/api-reference/departments/get"}]},{"group":"Employees","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/employees","href":"/api-reference/employees/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/employees/{id}","href":"/api-reference/employees/get"}]},{"group":"Enrollment links","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/enrollment-via-authenticator","href":"/api-reference/enrollment-links/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/enrollment-via-authenticator/{id}","href":"/api-reference/enrollment-links/get"}]},{"group":"Impersonation grants","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-can-impersonate-entity","href":"/api-reference/impersonation-grants/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-can-impersonate-entity/{id}","href":"/api-reference/impersonation-grants/get"}]},{"group":"Integrated applications","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/integrated-applications","href":"/api-reference/integrated-applications/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/integrated-applications/{id}","href":"/api-reference/integrated-applications/get"}]},{"group":"Managed-via relationships","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-managed-via-object","href":"/api-reference/managed-via-relationships/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-managed-via-object/{id}","href":"/api-reference/managed-via-relationships/get"}]},{"group":"Memberships","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-member-of-entity","href":"/api-reference/memberships/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/entity-member-of-entity/{id}","href":"/api-reference/memberships/get"}]},{"group":"Non-human identities","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/non-human-identities","href":"/api-reference/non-human-identities/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/non-human-identities/{id}","href":"/api-reference/non-human-identities/get"},{"title":"Disable","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/non-human-identities/{id}/disable","href":"/api-reference/non-human-identities/disable"}]},{"group":"Object extensions","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/object-has-extension","href":"/api-reference/object-extensions/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/object-has-extension/{id}","href":"/api-reference/object-extensions/get"}]},{"group":"Person-employee links","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/person-is-employee","href":"/api-reference/person-employee-links/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/person-is-employee/{id}","href":"/api-reference/person-employee-links/get"}]},{"group":"Persons","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/persons","href":"/api-reference/persons/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/persons/{id}","href":"/api-reference/persons/get"}]},{"group":"Reporting lines","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/employee-manages-employee","href":"/api-reference/reporting-lines/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/employee-manages-employee/{id}","href":"/api-reference/reporting-lines/get"}]},{"group":"Resource classes","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/resource-classes","href":"/api-reference/resource-classes/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/resource-classes/{id}","href":"/api-reference/resource-classes/get"}]},{"group":"Resource hierarchy","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/resource-instance-contains-resource-instance","href":"/api-reference/resource-hierarchy/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/resource-instance-contains-resource-instance/{id}","href":"/api-reference/resource-hierarchy/get"}]},{"group":"Resource instances","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/resource-instances","href":"/api-reference/resource-instances/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/resource-instances/{id}","href":"/api-reference/resource-instances/get"},{"title":"Revoke anonymous access","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/resource-instances/{id}/anonymous-access","href":"/api-reference/resource-instances/revoke-anonymous-access"},{"title":"Revoke external sharing","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/resource-instances/{id}/external-shares","href":"/api-reference/resource-instances/revoke-external-sharing"},{"title":"Remove an account's permissions","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/resource-instances/{id}/permissions/{accountId}","href":"/api-reference/resource-instances/remove-an-accounts-permissions"}]},{"group":"Roles","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/roles","href":"/api-reference/roles/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/roles/{id}","href":"/api-reference/roles/get"},{"title":"Assign to an account","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml put /v1/roles/{id}/assignees/{accountId}","href":"/api-reference/roles/assign-to-an-account"},{"title":"Remove from an account","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/roles/{id}/assignees/{accountId}","href":"/api-reference/roles/remove-from-an-account"}]},{"group":"User groups","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/user-groups","href":"/api-reference/user-groups/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/user-groups/{id}","href":"/api-reference/user-groups/get"},{"title":"Create","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/user-groups","href":"/api-reference/user-groups/create"},{"title":"Add an account","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml put /v1/user-groups/{id}/members/{accountId}","href":"/api-reference/user-groups/add-an-account"},{"title":"Remove an account","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml delete /v1/user-groups/{id}/members/{accountId}","href":"/api-reference/user-groups/remove-an-account"}]}]},{"group":"Action jobs","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/action-jobs","href":"/api-reference/action-jobs/list"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/action-jobs/{id}","href":"/api-reference/action-jobs/get"},{"title":"List results","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml get /v1/action-jobs/{id}/results","href":"/api-reference/action-jobs/list-results"},{"title":"Revert","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/oleria-public-api-1.0.0.yaml post /v1/action-jobs/{id}/revert","href":"/api-reference/action-jobs/revert"}]},{"group":"TrustFusion","pages":[{"group":"Query","pages":[{"title":"Validate","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml post /v1/query/validate","href":"/api-reference/query/validate"},{"title":"Execute","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml post /v1/query/execute","href":"/api-reference/query/execute"},{"title":"Get a job","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/query/jobs/{job_id}","href":"/api-reference/query/get-a-job"}]},{"group":"Saved Query","pages":[{"title":"List","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/query/saved-queries","href":"/api-reference/saved-query/list"},{"title":"Create","description":"Persists a SQL query with authorship and replay metadata. The name must be unique within the tenant (case-insensitive); a conflict returns `409`.\n","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml post /v1/query/saved-queries","href":"/api-reference/saved-query/create"},{"title":"Get","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/query/saved-queries/{query_id}","href":"/api-reference/saved-query/get"},{"title":"Delete","description":"Deletes a saved query by its id. Idempotent: the response is `204` whether or not the id existed, so a retried delete is not an error.\n","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml delete /v1/query/saved-queries/{query_id}","href":"/api-reference/saved-query/delete"},{"title":"Update","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml patch /v1/query/saved-queries/{query_id}","href":"/api-reference/saved-query/update"}]},{"group":"Schema","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/schema/models","href":"/api-reference/schema/list-models"},{"title":"Get a model","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/trustfusion-openapi-schema-1.0.0.yaml get /v1/schema/models/{model_name}","href":"/api-reference/schema/get-a-model"}]}]},{"group":"Downloads","pages":[{"title":"Working with Downloads","href":"/developer-docs/api-reference/working-with-downloads"},{"group":"Downloads","pages":[{"title":"Create a download request","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/downloads-openapi-schema-1.0.0.yaml post /v1/downloads","href":"/api-reference/downloads/create-a-download-request"},{"title":"Get a download request","deprecated":null,"version":null,"openapi":"/developer-docs/api-reference/downloads-openapi-schema-1.0.0.yaml get /v1/downloads/{id}","href":"/api-reference/downloads/get-a-download-request"}]}]}]},{"tab":"What's New","pages":[{"title":"What's New","href":"/release-notes"}]}]},"basePath":"","title":"Get - Oleria Identity Security","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}