{ "import_id": "10f4ed8e-5240-4d87-8828-6e95f3e58a93", "customer_id": "9a06364f-17c7-4a3f-9d98-61bde8696a2a", "status": "pending_review", "origin": "uploaded", "source_type": "file", "document_kind": "raw", "filename": "Client_Communications_Policy.pdf", "rule_count": 2, "created_at": "2026-10-05T09:23:39.277706+00:00", "extracted_rules": [ { "id": "no_performance_guarantees", "name": "No Performance Guarantees", "type": "AI_SIGNAL", "severity": "do_not_send", "action": "flag", "prompt": "Check if the document states or implies guaranteed returns, risk-free outcomes, or certainty of future investment performance. Return 1 if violation found, 0 if compliant.", "source_text": "Employees must not state or imply guaranteed returns, risk-free outcomes, or certainty of future investment performance in any client communication.", "keywords": [ "guaranteed returns", "risk-free outcomes", "certainty of future investment performance", "can't lose" ], "window": "document", "fix_note": "Remove any statements or implications of guaranteed returns or risk-free outcomes from the communication.", "confidence": 0.95, "regex_pattern": null, "anchor": null, "near": null, "distance_chars": null, "direction": null, "case_insensitive": null, "mode": null, "min_hits": null, "simulatable": true, "activated_rule_id": null }, { "id": "risk_disclosure_present", "name": "Risk Disclosure Near Performance Data", "type": "REQUIRE_NEAR", "severity": "send_with_caution", "action": "flag", "source_text": "Any presentation of past performance must appear alongside the standard risk disclosure.", "keywords": [ "past performance", "risk disclosure" ], "window": null, "anchor": "past performance", "near": [ "past performance is not indicative of future results" ], "distance_chars": 300, "direction": "either", "case_insensitive": true, "mode": "document", "min_hits": 1, "fix_note": "Add the standard risk disclosure near the performance figures.", "confidence": 0.92, "regex_pattern": null, "simulatable": true, "activated_rule_id": null } ]}
{ "error": "Import 10f4ed8e-5240-4d87-8828-6e95f3e58a93 not found"}
Retrieve the full details of a policy import, including all extracted rules and their properties. Use this endpoint to poll for results after submitting an import, and to review rules before activation.
Extraction runs in the background. Small documents are usually pending_review within seconds;
large documents (hundreds of pages) are extracted in chunks and can stay in processing for
several minutes. Poll until the status is no longer processing.
Path Parameters
string
required
The import ID returned from the import endpoint
Response
string
Unique import identifier
string
Account the import belongs to
string
Import status: processing, pending_review, no_rules_found, failed, activated, or partially_activated
string
Where the document came from: a connector’s provider slug (notion, linear, atlassian,
google_drive) when a connected workspace produced it, uploaded when it was staged through
this API as a file, or built when it was authored in your own UI. Treat this as an open set —
a new connector adds a new slug.
string
How the content was submitted: file or text
string
How the stored document is read during extraction: raw for uploaded bytes, text for plain text
string
Original filename, when the import was submitted with one
integer
Number of extracted rules (present once extraction completes)
string
ISO 8601 timestamp of the import
string
ISO 8601 timestamp of the most recent activation, when any rules have been activated
array
Customer-prefixed rule IDs activated from this import, sorted. Present once at least one rule has
been activated.
string
Error details when status is failed
array
Full list of extracted rules with details. Every rule carries the whole field set; fields that do
not apply to the rule’s type are returned as null.
Show rule properties
string
Rule identifier within the import
string
Rule type: AI_SIGNAL, REGEX, or REQUIRE_NEAR
string
Human-readable rule name
string
Longer description of the rule, when the extraction produced one
string
do_not_send or send_with_caution. Rules extracted before these values existed are
normalized on read, so the response never returns low, medium, or high.
string
Suggested action: flag (warn only) or fix (suggest replacement text). Unknown labels may
be preserved for review, but activation rejects unsupported actions.
string
Source policy text retained as provenance, not an editable runtime condition
string
AI instruction (AI_SIGNAL only). Omitted for other rule types, and null when cleared via
Edit Imported Rule.
array
Present on every extracted rule; used as a runtime gate only by AI_SIGNAL rules
string
Context window used by AI_SIGNAL rules: sentence, paragraph, or document
string
Raw Python regex (REGEX only)
string
Remediation guidance extracted from the source policy, when present
string
Exact suggestion preserved by the import. Explicit null suppresses the fix_note fallback;
when omitted, a warning rule may derive its suggestion from fix_note.
number
Extraction confidence from 0 through 1
boolean
Derived at read time; true when the pending rule can run against a text snippet
string
Derived at read time: the customer-prefixed rule ID once this rule has been activated, null
while it is still pending — including pending siblings in a partially_activated import
string
Anchor regex (REQUIRE_NEAR only)
array
Regex patterns checked near the anchor (REQUIRE_NEAR only)
integer
Character distance from the anchor (REQUIRE_NEAR, default 100)
string
before, after, or either (REQUIRE_NEAR, default either)
Imports produced by a connected workspace also carry the audit trail of where the document came
from. These fields are absent on documents uploaded through this API.
string
Connector that produced the document
string
The connection the document was fetched through
string
The provider’s own identifier for the source document
string
The document’s URL at the provider, recorded verbatim
string
The document’s title at the provider, when it has one
string
Who the provider says last edited the document
string
When the provider says it last changed, in the provider’s own format
string
The MCP tool whose result carried the document
string
Digest of the imported content as sha256:<hex>. Re-importing content with this digest is a no-op.
integer
Size of the document the connector fetched, as the connector measured it
string
Media type the provider reported for the document, e.g. text/markdown
string
When the connector fetched the document, ISO 8601 UTC
{ "import_id": "10f4ed8e-5240-4d87-8828-6e95f3e58a93", "customer_id": "9a06364f-17c7-4a3f-9d98-61bde8696a2a", "status": "pending_review", "origin": "uploaded", "source_type": "file", "document_kind": "raw", "filename": "Client_Communications_Policy.pdf", "rule_count": 2, "created_at": "2026-10-05T09:23:39.277706+00:00", "extracted_rules": [ { "id": "no_performance_guarantees", "name": "No Performance Guarantees", "type": "AI_SIGNAL", "severity": "do_not_send", "action": "flag", "prompt": "Check if the document states or implies guaranteed returns, risk-free outcomes, or certainty of future investment performance. Return 1 if violation found, 0 if compliant.", "source_text": "Employees must not state or imply guaranteed returns, risk-free outcomes, or certainty of future investment performance in any client communication.", "keywords": [ "guaranteed returns", "risk-free outcomes", "certainty of future investment performance", "can't lose" ], "window": "document", "fix_note": "Remove any statements or implications of guaranteed returns or risk-free outcomes from the communication.", "confidence": 0.95, "regex_pattern": null, "anchor": null, "near": null, "distance_chars": null, "direction": null, "case_insensitive": null, "mode": null, "min_hits": null, "simulatable": true, "activated_rule_id": null }, { "id": "risk_disclosure_present", "name": "Risk Disclosure Near Performance Data", "type": "REQUIRE_NEAR", "severity": "send_with_caution", "action": "flag", "source_text": "Any presentation of past performance must appear alongside the standard risk disclosure.", "keywords": [ "past performance", "risk disclosure" ], "window": null, "anchor": "past performance", "near": [ "past performance is not indicative of future results" ], "distance_chars": 300, "direction": "either", "case_insensitive": true, "mode": "document", "min_hits": 1, "fix_note": "Add the standard risk disclosure near the performance figures.", "confidence": 0.92, "regex_pattern": null, "simulatable": true, "activated_rule_id": null } ]}
{ "error": "Import 10f4ed8e-5240-4d87-8828-6e95f3e58a93 not found"}
Errors
Status
Meaning
403
Invalid API key, or the import belongs to another customer
404
Import not found
500
Failed to retrieve import
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ZeroDrift Enforcement API","description":"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/zerodrift/EnMFM7yTopP4lGmD/logo/ZD_White_Transparent.png?fit=max\u0026auto=format\u0026n=EnMFM7yTopP4lGmD\u0026q=85\u0026s=8a3a1cfcd216c0a056b6a1cd0c50a332","dark":"https://mintcdn.com/zerodrift/EnMFM7yTopP4lGmD/logo/ZD_Black_Transparent.png?fit=max\u0026auto=format\u0026n=EnMFM7yTopP4lGmD\u0026q=85\u0026s=dd2ae5c915064ad7ebf1aa495eb2efce"},"favicon":"https://mintcdn.com/zerodrift/C1CP0SqlGtEDTLZM/favicon.svg?fit=max\u0026auto=format\u0026n=C1CP0SqlGtEDTLZM\u0026q=85\u0026s=3ffcd8394a2e8995fcc413d960e17117","api":{"examples":{"defaults":"required"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.zerodrift.ai"}},"navbar":{"links":[{"href":"mailto:support@zerodrift.ai","label":"Support"},{"href":"/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Open Command","href":"https://app.zerodrift.ai"}},"footer":{},"seo":{"metatags":{"og:description":"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications","slack-app-id":"A0CJQ2CUV8C"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zerodrift","hasAudioNarration":false,"actualSubdomain":"zerodrift","customDomains":["docs.zerodrift.com"],"gitSource":{"type":"github","owner":"zerodriftai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0f455395a7b0367e387aae","clientVersion":"0.0.4397","searchFilterCounts":[{"language":"default","tag":"API reference","count":25},{"language":"default","tag":"Guides","count":24},{"language":"default","tag":"Plugins","count":15},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"Import a Policy","count":7},{"language":"default","tag":"Rules","count":7},{"language":"default","tag":"Claude","count":5},{"language":"default","tag":"ChatGPT and Codex","count":5},{"language":"default","tag":"Enforce and Audit Content","count":5},{"language":"default","tag":"Slack","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/custom-policies/get-import-details","slug":"/api-reference/custom-policies/get-import-details","pageMetadata":{"title":"Get Import Details","description":"Retrieve details and extracted rules for a specific policy import","api":"GET /api/policies/import/{import_id}","href":"/api-reference/custom-policies/get-import-details"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve details and extracted rules for a specific policy import\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieve the full details of a policy import, including all extracted rules and their properties. Use this endpoint to poll for results after submitting an import, and to review rules before activation.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Extraction runs in the background. Small documents are usually `,_jsx(_components.code,{children:`pending_review`}),` within seconds;\nlarge documents (hundreds of pages) are extracted in chunks and can stay in `,_jsx(_components.code,{children:`processing`}),` for\nseveral minutes. Poll until the status is no longer `,_jsx(_components.code,{children:`processing`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`import_id`,type:`string`,required:true,id:`param-import-id`,children:_jsx(_components.p,{children:`The import ID returned from the import endpoint`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`import_id`,type:`string`,id:`param-import-id-1`,children:_jsx(_components.p,{children:`Unique import identifier`})}),`\n`,_jsx(ResponseField,{name:`customer_id`,type:`string`,id:`param-customer-id`,children:_jsx(_components.p,{children:`Account the import belongs to`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Import status: `,_jsx(_components.code,{children:`processing`}),`, `,_jsx(_components.code,{children:`pending_review`}),`, `,_jsx(_components.code,{children:`no_rules_found`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`activated`}),`, or `,_jsx(_components.code,{children:`partially_activated`})]})}),`\n`,_jsx(ResponseField,{name:`origin`,type:`string`,id:`param-origin`,children:_jsxs(_components.p,{children:[`Where the document came from: a connector’s provider slug (`,_jsx(_components.code,{children:`notion`}),`, `,_jsx(_components.code,{children:`linear`}),`, `,_jsx(_components.code,{children:`atlassian`}),`,\n`,_jsx(_components.code,{children:`google_drive`}),`) when a connected workspace produced it, `,_jsx(_components.code,{children:`uploaded`}),` when it was staged through\nthis API as a file, or `,_jsx(_components.code,{children:`built`}),` when it was authored in your own UI. Treat this as an open set —\na new connector adds a new slug.`]})}),`\n`,_jsx(ResponseField,{name:`source_type`,type:`string`,id:`param-source-type`,children:_jsxs(_components.p,{children:[`How the content was submitted: `,_jsx(_components.code,{children:`file`}),` or `,_jsx(_components.code,{children:`text`})]})}),`\n`,_jsx(ResponseField,{name:`document_kind`,type:`string`,id:`param-document-kind`,children:_jsxs(_components.p,{children:[`How the stored document is read during extraction: `,_jsx(_components.code,{children:`raw`}),` for uploaded bytes, `,_jsx(_components.code,{children:`text`}),` for plain text`]})}),`\n`,_jsx(ResponseField,{name:`filename`,type:`string`,id:`param-filename`,children:_jsx(_components.p,{children:`Original filename, when the import was submitted with one`})}),`\n`,_jsx(ResponseField,{name:`rule_count`,type:`integer`,id:`param-rule-count`,children:_jsx(_components.p,{children:`Number of extracted rules (present once extraction completes)`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the import`})}),`\n`,_jsx(ResponseField,{name:`activated_at`,type:`string`,id:`param-activated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the most recent activation, when any rules have been activated`})}),`\n`,_jsx(ResponseField,{name:`activated_rule_ids`,type:`array`,id:`param-activated-rule-ids`,children:_jsx(_components.p,{children:`Customer-prefixed rule IDs activated from this import, sorted. Present once at least one rule has\nbeen activated.`})}),`\n`,_jsx(ResponseField,{name:`error_message`,type:`string`,id:`param-error-message`,children:_jsxs(_components.p,{children:[`Error details when status is `,_jsx(_components.code,{children:`failed`})]})}),`\n`,_jsxs(ResponseField,{name:`extracted_rules`,type:`array`,id:`param-extracted-rules`,children:[_jsxs(_components.p,{children:[`Full list of extracted rules with details. Every rule carries the whole field set; fields that do\nnot apply to the rule’s `,_jsx(_components.code,{children:`type`}),` are returned as `,_jsx(_components.code,{children:`null`}),`.`]}),_jsxs(Expandable,{title:`rule properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Rule identifier within the import`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Rule type: `,_jsx(_components.code,{children:`AI_SIGNAL`}),`, `,_jsx(_components.code,{children:`REGEX`}),`, or `,_jsx(_components.code,{children:`REQUIRE_NEAR`})]})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Human-readable rule name`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Longer description of the rule, when the extraction produced one`})}),_jsx(ResponseField,{name:`severity`,type:`string`,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`do_not_send`}),` or `,_jsx(_components.code,{children:`send_with_caution`}),`. Rules extracted before these values existed are\nnormalized on read, so the response never returns `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`.`]})}),_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action`,children:_jsxs(_components.p,{children:[`Suggested action: `,_jsx(_components.code,{children:`flag`}),` (warn only) or `,_jsx(_components.code,{children:`fix`}),` (suggest replacement text). Unknown labels may\nbe preserved for review, but activation rejects unsupported actions.`]})}),_jsx(ResponseField,{name:`source_text`,type:`string`,id:`param-source-text`,children:_jsx(_components.p,{children:`Source policy text retained as provenance, not an editable runtime condition`})}),_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt`,children:_jsxs(_components.p,{children:[`AI instruction (`,_jsx(_components.code,{children:`AI_SIGNAL`}),` only). Omitted for other rule types, and `,_jsx(_components.code,{children:`null`}),` when cleared via\n`,_jsx(_components.a,{href:`/api-reference/custom-policies/edit-imported-rule`,children:`Edit Imported Rule`}),`.`]})}),_jsx(ResponseField,{name:`keywords`,type:`array`,id:`param-keywords`,children:_jsxs(_components.p,{children:[`Present on every extracted rule; used as a runtime gate only by `,_jsx(_components.code,{children:`AI_SIGNAL`}),` rules`]})}),_jsx(ResponseField,{name:`window`,type:`string`,id:`param-window`,children:_jsxs(_components.p,{children:[`Context window used by `,_jsx(_components.code,{children:`AI_SIGNAL`}),` rules: `,_jsx(_components.code,{children:`sentence`}),`, `,_jsx(_components.code,{children:`paragraph`}),`, or `,_jsx(_components.code,{children:`document`})]})}),_jsx(ResponseField,{name:`regex_pattern`,type:`string`,id:`param-regex-pattern`,children:_jsxs(_components.p,{children:[`Raw Python regex (`,_jsx(_components.code,{children:`REGEX`}),` only)`]})}),_jsx(ResponseField,{name:`fix_note`,type:`string`,id:`param-fix-note`,children:_jsx(_components.p,{children:`Remediation guidance extracted from the source policy, when present`})}),_jsx(ResponseField,{name:`suggested_text`,type:`string`,id:`param-suggested-text`,children:_jsxs(_components.p,{children:[`Exact suggestion preserved by the import. Explicit `,_jsx(_components.code,{children:`null`}),` suppresses the `,_jsx(_components.code,{children:`fix_note`}),` fallback;\nwhen omitted, a warning rule may derive its suggestion from `,_jsx(_components.code,{children:`fix_note`}),`.`]})}),_jsx(ResponseField,{name:`confidence`,type:`number`,id:`param-confidence`,children:_jsx(_components.p,{children:`Extraction confidence from 0 through 1`})}),_jsx(ResponseField,{name:`simulatable`,type:`boolean`,id:`param-simulatable`,children:_jsxs(_components.p,{children:[`Derived at read time; `,_jsx(_components.code,{children:`true`}),` when the pending rule can run against a text snippet`]})}),_jsx(ResponseField,{name:`activated_rule_id`,type:`string`,id:`param-activated-rule-id`,children:_jsxs(_components.p,{children:[`Derived at read time: the customer-prefixed rule ID once this rule has been activated, `,_jsx(_components.code,{children:`null`}),`\nwhile it is still pending — including pending siblings in a `,_jsx(_components.code,{children:`partially_activated`}),` import`]})}),_jsx(ResponseField,{name:`anchor`,type:`string`,id:`param-anchor`,children:_jsxs(_components.p,{children:[`Anchor regex (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),` only)`]})}),_jsx(ResponseField,{name:`near`,type:`array`,id:`param-near`,children:_jsxs(_components.p,{children:[`Regex patterns checked near the anchor (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),` only)`]})}),_jsx(ResponseField,{name:`distance_chars`,type:`integer`,id:`param-distance-chars`,children:_jsxs(_components.p,{children:[`Character distance from the anchor (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`100`}),`)`]})}),_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`before`}),`, `,_jsx(_components.code,{children:`after`}),`, or `,_jsx(_components.code,{children:`either`}),` (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`either`}),`)`]})}),_jsx(ResponseField,{name:`case_insensitive`,type:`boolean`,id:`param-case-insensitive`,children:_jsxs(_components.p,{children:[`Case-insensitive matching (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`false`}),`)`]})}),_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`document`}),` or `,_jsx(_components.code,{children:`page`}),` (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`document`}),`)`]})}),_jsx(ResponseField,{name:`min_hits`,type:`integer`,id:`param-min-hits`,children:_jsxs(_components.p,{children:[`Minimum near hits (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`1`}),`)`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`connector-provenance`,children:`Connector provenance`}),`\n`,_jsx(_components.p,{children:`Imports produced by a connected workspace also carry the audit trail of where the document came\nfrom. These fields are absent on documents uploaded through this API.`}),`\n`,_jsx(ResponseField,{name:`source_provider`,type:`string`,id:`param-source-provider`,children:_jsx(_components.p,{children:`Connector that produced the document`})}),`\n`,_jsx(ResponseField,{name:`source_connection_id`,type:`string`,id:`param-source-connection-id`,children:_jsx(_components.p,{children:`The connection the document was fetched through`})}),`\n`,_jsx(ResponseField,{name:`source_id`,type:`string`,id:`param-source-id`,children:_jsx(_components.p,{children:`The provider’s own identifier for the source document`})}),`\n`,_jsx(ResponseField,{name:`source_uri`,type:`string`,id:`param-source-uri`,children:_jsx(_components.p,{children:`The document’s URL at the provider, recorded verbatim`})}),`\n`,_jsx(ResponseField,{name:`source_name`,type:`string`,id:`param-source-name`,children:_jsx(_components.p,{children:`The document’s title at the provider, when it has one`})}),`\n`,_jsx(ResponseField,{name:`source_author`,type:`string`,id:`param-source-author`,children:_jsx(_components.p,{children:`Who the provider says last edited the document`})}),`\n`,_jsx(ResponseField,{name:`source_last_modified`,type:`string`,id:`param-source-last-modified`,children:_jsx(_components.p,{children:`When the provider says it last changed, in the provider’s own format`})}),`\n`,_jsx(ResponseField,{name:`source_tool`,type:`string`,id:`param-source-tool`,children:_jsx(_components.p,{children:`The MCP tool whose result carried the document`})}),`\n`,_jsx(ResponseField,{name:`content_sha256`,type:`string`,id:`param-content-sha256`,children:_jsxs(_components.p,{children:[`Digest of the imported content as `,_jsx(_components.code,{children:`sha256:\u003chex>`}),`. Re-importing content with this digest is a no-op.`]})}),`\n`,_jsx(ResponseField,{name:`content_bytes`,type:`integer`,id:`param-content-bytes`,children:_jsx(_components.p,{children:`Size of the document the connector fetched, as the connector measured it`})}),`\n`,_jsx(ResponseField,{name:`mime_type`,type:`string`,id:`param-mime-type`,children:_jsxs(_components.p,{children:[`Media type the provider reported for the document, e.g. `,_jsx(_components.code,{children:`text/markdown`})]})}),`\n`,_jsx(ResponseField,{name:`fetched_at`,type:`string`,id:`param-fetched-at`,children:_jsx(_components.p,{children:`When the connector fetched the document, ISO 8601 UTC`})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Invalid API key, or the import belongs to another customer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Import not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Failed to retrieve import`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Import Details","description":"Retrieve details and extracted rules for a specific policy import","api":"GET /api/policies/import/{import_id}","href":"/api-reference/custom-policies/get-import-details"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieve the full details of a policy import, including all extracted rules and their properties. Use this endpoint to poll for results after submitting an import, and to review rules before activation.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Extraction runs in the background. Small documents are usually `,_jsx(_components.code,{children:`pending_review`}),` within seconds;\nlarge documents (hundreds of pages) are extracted in chunks and can stay in `,_jsx(_components.code,{children:`processing`}),` for\nseveral minutes. Poll until the status is no longer `,_jsx(_components.code,{children:`processing`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`import_id`,type:`string`,required:true,id:`param-import-id`,children:_jsx(_components.p,{children:`The import ID returned from the import endpoint`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`import_id`,type:`string`,id:`param-import-id-1`,children:_jsx(_components.p,{children:`Unique import identifier`})}),`\n`,_jsx(ResponseField,{name:`customer_id`,type:`string`,id:`param-customer-id`,children:_jsx(_components.p,{children:`Account the import belongs to`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Import status: `,_jsx(_components.code,{children:`processing`}),`, `,_jsx(_components.code,{children:`pending_review`}),`, `,_jsx(_components.code,{children:`no_rules_found`}),`, `,_jsx(_components.code,{children:`failed`}),`, `,_jsx(_components.code,{children:`activated`}),`, or `,_jsx(_components.code,{children:`partially_activated`})]})}),`\n`,_jsx(ResponseField,{name:`origin`,type:`string`,id:`param-origin`,children:_jsxs(_components.p,{children:[`Where the document came from: a connector’s provider slug (`,_jsx(_components.code,{children:`notion`}),`, `,_jsx(_components.code,{children:`linear`}),`, `,_jsx(_components.code,{children:`atlassian`}),`,\n`,_jsx(_components.code,{children:`google_drive`}),`) when a connected workspace produced it, `,_jsx(_components.code,{children:`uploaded`}),` when it was staged through\nthis API as a file, or `,_jsx(_components.code,{children:`built`}),` when it was authored in your own UI. Treat this as an open set —\na new connector adds a new slug.`]})}),`\n`,_jsx(ResponseField,{name:`source_type`,type:`string`,id:`param-source-type`,children:_jsxs(_components.p,{children:[`How the content was submitted: `,_jsx(_components.code,{children:`file`}),` or `,_jsx(_components.code,{children:`text`})]})}),`\n`,_jsx(ResponseField,{name:`document_kind`,type:`string`,id:`param-document-kind`,children:_jsxs(_components.p,{children:[`How the stored document is read during extraction: `,_jsx(_components.code,{children:`raw`}),` for uploaded bytes, `,_jsx(_components.code,{children:`text`}),` for plain text`]})}),`\n`,_jsx(ResponseField,{name:`filename`,type:`string`,id:`param-filename`,children:_jsx(_components.p,{children:`Original filename, when the import was submitted with one`})}),`\n`,_jsx(ResponseField,{name:`rule_count`,type:`integer`,id:`param-rule-count`,children:_jsx(_components.p,{children:`Number of extracted rules (present once extraction completes)`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the import`})}),`\n`,_jsx(ResponseField,{name:`activated_at`,type:`string`,id:`param-activated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the most recent activation, when any rules have been activated`})}),`\n`,_jsx(ResponseField,{name:`activated_rule_ids`,type:`array`,id:`param-activated-rule-ids`,children:_jsx(_components.p,{children:`Customer-prefixed rule IDs activated from this import, sorted. Present once at least one rule has\nbeen activated.`})}),`\n`,_jsx(ResponseField,{name:`error_message`,type:`string`,id:`param-error-message`,children:_jsxs(_components.p,{children:[`Error details when status is `,_jsx(_components.code,{children:`failed`})]})}),`\n`,_jsxs(ResponseField,{name:`extracted_rules`,type:`array`,id:`param-extracted-rules`,children:[_jsxs(_components.p,{children:[`Full list of extracted rules with details. Every rule carries the whole field set; fields that do\nnot apply to the rule’s `,_jsx(_components.code,{children:`type`}),` are returned as `,_jsx(_components.code,{children:`null`}),`.`]}),_jsxs(Expandable,{title:`rule properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Rule identifier within the import`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Rule type: `,_jsx(_components.code,{children:`AI_SIGNAL`}),`, `,_jsx(_components.code,{children:`REGEX`}),`, or `,_jsx(_components.code,{children:`REQUIRE_NEAR`})]})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Human-readable rule name`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Longer description of the rule, when the extraction produced one`})}),_jsx(ResponseField,{name:`severity`,type:`string`,id:`param-severity`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`do_not_send`}),` or `,_jsx(_components.code,{children:`send_with_caution`}),`. Rules extracted before these values existed are\nnormalized on read, so the response never returns `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`.`]})}),_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action`,children:_jsxs(_components.p,{children:[`Suggested action: `,_jsx(_components.code,{children:`flag`}),` (warn only) or `,_jsx(_components.code,{children:`fix`}),` (suggest replacement text). Unknown labels may\nbe preserved for review, but activation rejects unsupported actions.`]})}),_jsx(ResponseField,{name:`source_text`,type:`string`,id:`param-source-text`,children:_jsx(_components.p,{children:`Source policy text retained as provenance, not an editable runtime condition`})}),_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt`,children:_jsxs(_components.p,{children:[`AI instruction (`,_jsx(_components.code,{children:`AI_SIGNAL`}),` only). Omitted for other rule types, and `,_jsx(_components.code,{children:`null`}),` when cleared via\n`,_jsx(_components.a,{href:`/api-reference/custom-policies/edit-imported-rule`,children:`Edit Imported Rule`}),`.`]})}),_jsx(ResponseField,{name:`keywords`,type:`array`,id:`param-keywords`,children:_jsxs(_components.p,{children:[`Present on every extracted rule; used as a runtime gate only by `,_jsx(_components.code,{children:`AI_SIGNAL`}),` rules`]})}),_jsx(ResponseField,{name:`window`,type:`string`,id:`param-window`,children:_jsxs(_components.p,{children:[`Context window used by `,_jsx(_components.code,{children:`AI_SIGNAL`}),` rules: `,_jsx(_components.code,{children:`sentence`}),`, `,_jsx(_components.code,{children:`paragraph`}),`, or `,_jsx(_components.code,{children:`document`})]})}),_jsx(ResponseField,{name:`regex_pattern`,type:`string`,id:`param-regex-pattern`,children:_jsxs(_components.p,{children:[`Raw Python regex (`,_jsx(_components.code,{children:`REGEX`}),` only)`]})}),_jsx(ResponseField,{name:`fix_note`,type:`string`,id:`param-fix-note`,children:_jsx(_components.p,{children:`Remediation guidance extracted from the source policy, when present`})}),_jsx(ResponseField,{name:`suggested_text`,type:`string`,id:`param-suggested-text`,children:_jsxs(_components.p,{children:[`Exact suggestion preserved by the import. Explicit `,_jsx(_components.code,{children:`null`}),` suppresses the `,_jsx(_components.code,{children:`fix_note`}),` fallback;\nwhen omitted, a warning rule may derive its suggestion from `,_jsx(_components.code,{children:`fix_note`}),`.`]})}),_jsx(ResponseField,{name:`confidence`,type:`number`,id:`param-confidence`,children:_jsx(_components.p,{children:`Extraction confidence from 0 through 1`})}),_jsx(ResponseField,{name:`simulatable`,type:`boolean`,id:`param-simulatable`,children:_jsxs(_components.p,{children:[`Derived at read time; `,_jsx(_components.code,{children:`true`}),` when the pending rule can run against a text snippet`]})}),_jsx(ResponseField,{name:`activated_rule_id`,type:`string`,id:`param-activated-rule-id`,children:_jsxs(_components.p,{children:[`Derived at read time: the customer-prefixed rule ID once this rule has been activated, `,_jsx(_components.code,{children:`null`}),`\nwhile it is still pending — including pending siblings in a `,_jsx(_components.code,{children:`partially_activated`}),` import`]})}),_jsx(ResponseField,{name:`anchor`,type:`string`,id:`param-anchor`,children:_jsxs(_components.p,{children:[`Anchor regex (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),` only)`]})}),_jsx(ResponseField,{name:`near`,type:`array`,id:`param-near`,children:_jsxs(_components.p,{children:[`Regex patterns checked near the anchor (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),` only)`]})}),_jsx(ResponseField,{name:`distance_chars`,type:`integer`,id:`param-distance-chars`,children:_jsxs(_components.p,{children:[`Character distance from the anchor (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`100`}),`)`]})}),_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`before`}),`, `,_jsx(_components.code,{children:`after`}),`, or `,_jsx(_components.code,{children:`either`}),` (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`either`}),`)`]})}),_jsx(ResponseField,{name:`case_insensitive`,type:`boolean`,id:`param-case-insensitive`,children:_jsxs(_components.p,{children:[`Case-insensitive matching (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`false`}),`)`]})}),_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`document`}),` or `,_jsx(_components.code,{children:`page`}),` (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`document`}),`)`]})}),_jsx(ResponseField,{name:`min_hits`,type:`integer`,id:`param-min-hits`,children:_jsxs(_components.p,{children:[`Minimum near hits (`,_jsx(_components.code,{children:`REQUIRE_NEAR`}),`, default `,_jsx(_components.code,{children:`1`}),`)`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`connector-provenance`,children:`Connector provenance`}),`\n`,_jsx(_components.p,{children:`Imports produced by a connected workspace also carry the audit trail of where the document came\nfrom. These fields are absent on documents uploaded through this API.`}),`\n`,_jsx(ResponseField,{name:`source_provider`,type:`string`,id:`param-source-provider`,children:_jsx(_components.p,{children:`Connector that produced the document`})}),`\n`,_jsx(ResponseField,{name:`source_connection_id`,type:`string`,id:`param-source-connection-id`,children:_jsx(_components.p,{children:`The connection the document was fetched through`})}),`\n`,_jsx(ResponseField,{name:`source_id`,type:`string`,id:`param-source-id`,children:_jsx(_components.p,{children:`The provider’s own identifier for the source document`})}),`\n`,_jsx(ResponseField,{name:`source_uri`,type:`string`,id:`param-source-uri`,children:_jsx(_components.p,{children:`The document’s URL at the provider, recorded verbatim`})}),`\n`,_jsx(ResponseField,{name:`source_name`,type:`string`,id:`param-source-name`,children:_jsx(_components.p,{children:`The document’s title at the provider, when it has one`})}),`\n`,_jsx(ResponseField,{name:`source_author`,type:`string`,id:`param-source-author`,children:_jsx(_components.p,{children:`Who the provider says last edited the document`})}),`\n`,_jsx(ResponseField,{name:`source_last_modified`,type:`string`,id:`param-source-last-modified`,children:_jsx(_components.p,{children:`When the provider says it last changed, in the provider’s own format`})}),`\n`,_jsx(ResponseField,{name:`source_tool`,type:`string`,id:`param-source-tool`,children:_jsx(_components.p,{children:`The MCP tool whose result carried the document`})}),`\n`,_jsx(ResponseField,{name:`content_sha256`,type:`string`,id:`param-content-sha256`,children:_jsxs(_components.p,{children:[`Digest of the imported content as `,_jsx(_components.code,{children:`sha256:\u003chex>`}),`. Re-importing content with this digest is a no-op.`]})}),`\n`,_jsx(ResponseField,{name:`content_bytes`,type:`integer`,id:`param-content-bytes`,children:_jsx(_components.p,{children:`Size of the document the connector fetched, as the connector measured it`})}),`\n`,_jsx(ResponseField,{name:`mime_type`,type:`string`,id:`param-mime-type`,children:_jsxs(_components.p,{children:[`Media type the provider reported for the document, e.g. `,_jsx(_components.code,{children:`text/markdown`})]})}),`\n`,_jsx(ResponseField,{name:`fetched_at`,type:`string`,id:`param-fetched-at`,children:_jsx(_components.p,{children:`When the connector fetched the document, ISO 8601 UTC`})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 Success`,numberOfLines:`68`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`68`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"import_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10f4ed8e-5240-4d87-8828-6e95f3e58a93\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9a06364f-17c7-4a3f-9d98-61bde8696a2a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending_review\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"origin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"uploaded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"document_kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"raw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filename\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Client_Communications_Policy.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rule_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-05T09:23:39.277706+00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extracted_rules\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no_performance_guarantees\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No Performance Guarantees\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AI_SIGNAL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"severity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"do_not_send\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"flag\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Check if the document states or implies guaranteed returns, risk-free outcomes, or certainty of future investment performance. Return 1 if violation found, 0 if compliant.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Employees must not state or imply guaranteed returns, risk-free outcomes, or certainty of future investment performance in any client communication.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"keywords\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"guaranteed returns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"risk-free outcomes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"certainty of future investment performance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"can't lose\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"window\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"document\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fix_note\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Remove any statements or implications of guaranteed returns or risk-free outcomes from the communication.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.95`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regex_pattern\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"anchor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"near\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"distance_chars\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"case_insensitive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"min_hits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"simulatable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"activated_rule_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"risk_disclosure_present\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Risk Disclosure Near Performance Data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REQUIRE_NEAR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"severity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send_with_caution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"flag\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Any presentation of past performance must appear alongside the standard risk disclosure.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"keywords\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"past performance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"risk disclosure\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"window\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"anchor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"past performance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"near\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"past performance is not indicative of future results\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"distance_chars\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"either\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"case_insensitive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"document\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"min_hits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fix_note\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Add the standard risk disclosure near the performance figures.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.92`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regex_pattern\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"simulatable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"activated_rule_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`404 Not Found`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Import 10f4ed8e-5240-4d87-8828-6e95f3e58a93 not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Invalid API key, or the import belongs to another customer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Import not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Failed to retrieve import`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Import Details","description":"Retrieve details and extracted rules for a specific policy import","api":"GET /api/policies/import/{import_id}","href":"/api-reference/custom-policies/get-import-details"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Connector provenance","slug":"connector-provenance","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200 Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"68\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"import_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10f4ed8e-5240-4d87-8828-6e95f3e58a93\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customer_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9a06364f-17c7-4a3f-9d98-61bde8696a2a\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending_review\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"origin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"uploaded\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"file\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"document_kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"raw\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"filename\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Client_Communications_Policy.pdf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rule_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-05T09:23:39.277706+00:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"extracted_rules\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"no_performance_guarantees\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"No Performance Guarantees\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AI_SIGNAL\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"severity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"do_not_send\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"flag\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Check if the document states or implies guaranteed returns, risk-free outcomes, or certainty of future investment performance. Return 1 if violation found, 0 if compliant.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source_text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Employees must not state or imply guaranteed returns, risk-free outcomes, or certainty of future investment performance in any client communication.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"keywords\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"guaranteed returns\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"risk-free outcomes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"certainty of future investment performance\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"can't lose\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"window\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"document\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fix_note\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Remove any statements or implications of guaranteed returns or risk-free outcomes from the communication.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"confidence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.95\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"regex_pattern\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"anchor\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"near\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"distance_chars\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"case_insensitive\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"min_hits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"simulatable\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"activated_rule_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"risk_disclosure_present\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Risk Disclosure Near Performance Data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"REQUIRE_NEAR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"severity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"send_with_caution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"flag\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source_text\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Any presentation of past performance must appear alongside the standard risk disclosure.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"keywords\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"past performance\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"risk disclosure\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"window\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"anchor\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"past performance\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"near\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"past performance is not indicative of future results\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"distance_chars\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">300\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"either\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"case_insensitive\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"document\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"min_hits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fix_note\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Add the standard risk disclosure near the performance figures.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"confidence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.92\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"regex_pattern\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"simulatable\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"activated_rule_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"404 Not Found","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Import 10f4ed8e-5240-4d87-8828-6e95f3e58a93 not found\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get Import Details","path":"/api/policies/import/{import_id}","servers":[{"url":"https://api.zerodrift.ai"}],"method":"get","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"x-api-key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"import_id":{"schema":[{"type":"string","description":"The import ID returned from the import endpoint","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"import_id":[{"type":"string","description":"Unique import identifier"}],"customer_id":[{"type":"string","description":"Account the import belongs to"}],"status":[{"type":"string","description":"Import status: `processing` , `pending_review` , `no_rules_found` , `failed` , `activated` , or `partially_activated`"}],"origin":[{"type":"string","description":"Where the document came from: a connector’s provider slug ( `notion` , `linear` , `atlassian` , `google_drive` ) when a connected workspace produced it, `uploaded` when it was staged through this API as a file, or `built` when it was authored in your own UI. Treat this as an open set — a new connector adds a new slug."}],"source_type":[{"type":"string","description":"How the content was submitted: `file` or `text`"}],"document_kind":[{"type":"string","description":"How the stored document is read during extraction: `raw` for uploaded bytes, `text` for plain text"}],"filename":[{"type":"string","description":"Original filename, when the import was submitted with one"}],"rule_count":[{"type":"integer","description":"Number of extracted rules (present once extraction completes)"}],"created_at":[{"type":"string","description":"ISO 8601 timestamp of the import"}],"activated_at":[{"type":"string","description":"ISO 8601 timestamp of the most recent activation, when any rules have been activated"}],"activated_rule_ids":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Customer-prefixed rule IDs activated from this import, sorted. Present once at least one rule has been activated."}],"error_message":[{"type":"string","description":"Error details when status is `failed`"}],"extracted_rules":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Rule identifier within the import"}],"type":[{"type":"string","description":"Rule type: `AI_SIGNAL` , `REGEX` , or `REQUIRE_NEAR`"}],"name":[{"type":"string","description":"Human-readable rule name"}],"description":[{"type":"string","description":"Longer description of the rule, when the extraction produced one"}],"severity":[{"type":"string","description":"`do_not_send` or `send_with_caution` . Rules extracted before these values existed are normalized on read, so the response never returns `low` , `medium` , or `high` ."}],"action":[{"type":"string","description":"Suggested action: `flag` (warn only) or `fix` (suggest replacement text). Unknown labels may be preserved for review, but activation rejects unsupported actions."}],"source_text":[{"type":"string","description":"Source policy text retained as provenance, not an editable runtime condition"}],"prompt":[{"type":"string","description":"AI instruction ( `AI_SIGNAL` only). Omitted for other rule types, and `null` when cleared via Edit Imported Rule ."}],"keywords":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Present on every extracted rule; used as a runtime gate only by `AI_SIGNAL` rules"}],"window":[{"type":"string","description":"Context window used by `AI_SIGNAL` rules: `sentence` , `paragraph` , or `document`"}],"regex_pattern":[{"type":"string","description":"Raw Python regex ( `REGEX` only)"}],"fix_note":[{"type":"string","description":"Remediation guidance extracted from the source policy, when present"}],"suggested_text":[{"type":"string","description":"Exact suggestion preserved by the import. Explicit `null` suppresses the `fix_note` fallback; when omitted, a warning rule may derive its suggestion from `fix_note` ."}],"confidence":[{"type":"number","description":"Extraction confidence from 0 through 1"}],"simulatable":[{"type":"boolean","description":"Derived at read time; `true` when the pending rule can run against a text snippet"}],"activated_rule_id":[{"type":"string","description":"Derived at read time: the customer-prefixed rule ID once this rule has been activated, `null` while it is still pending — including pending siblings in a `partially_activated` import"}],"anchor":[{"type":"string","description":"Anchor regex ( `REQUIRE_NEAR` only)"}],"near":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Regex patterns checked near the anchor ( `REQUIRE_NEAR` only)"}],"distance_chars":[{"type":"integer","description":"Character distance from the anchor ( `REQUIRE_NEAR` , default `100` )"}],"direction":[{"type":"string","description":"`before` , `after` , or `either` ( `REQUIRE_NEAR` , default `either` )"}],"case_insensitive":[{"type":"boolean","description":"Case-insensitive matching ( `REQUIRE_NEAR` , default `false` )"}],"mode":[{"type":"string","description":"`document` or `page` ( `REQUIRE_NEAR` , default `document` )"}],"min_hits":[{"type":"integer","description":"Minimum near hits ( `REQUIRE_NEAR` , default `1` )"}]}}],"description":"Full list of extracted rules with details. Every rule carries the whole field set; fields that do not apply to the rule’s `type` are returned as `null` ."}],"source_provider":[{"type":"string","description":"Connector that produced the document"}],"source_connection_id":[{"type":"string","description":"The connection the document was fetched through"}],"source_id":[{"type":"string","description":"The provider’s own identifier for the source document"}],"source_uri":[{"type":"string","description":"The document’s URL at the provider, recorded verbatim"}],"source_name":[{"type":"string","description":"The document’s title at the provider, when it has one"}],"source_author":[{"type":"string","description":"Who the provider says last edited the document"}],"source_last_modified":[{"type":"string","description":"When the provider says it last changed, in the provider’s own format"}],"source_tool":[{"type":"string","description":"The MCP tool whose result carried the document"}],"content_sha256":[{"type":"string","description":"Digest of the imported content as `sha256:\u003chex>` . Re-importing content with this digest is a no-op."}],"content_bytes":[{"type":"integer","description":"Size of the document the connector fetched, as the connector measured it"}],"mime_type":[{"type":"string","description":"Media type the provider reported for the document, e.g. `text/markdown`"}],"fetched_at":[{"type":"string","description":"When the connector fetched the document, ISO 8601 UTC"}]}}],"examples":{"example":{"value":{"import_id":"\u003cstring>","customer_id":"\u003cstring>","status":"\u003cstring>","origin":"\u003cstring>","source_type":"\u003cstring>","document_kind":"\u003cstring>","filename":"\u003cstring>","rule_count":123,"created_at":"\u003cstring>","activated_at":"\u003cstring>","activated_rule_ids":[{}],"error_message":"\u003cstring>","extracted_rules":[{"id":"\u003cstring>","type":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","severity":"\u003cstring>","action":"\u003cstring>","source_text":"\u003cstring>","prompt":"\u003cstring>","keywords":[{}],"window":"\u003cstring>","regex_pattern":"\u003cstring>","fix_note":"\u003cstring>","suggested_text":"\u003cstring>","confidence":123,"simulatable":true,"activated_rule_id":"\u003cstring>","anchor":"\u003cstring>","near":[{}],"distance_chars":123,"direction":"\u003cstring>","case_insensitive":true,"mode":"\u003cstring>","min_hits":123}],"source_provider":"\u003cstring>","source_connection_id":"\u003cstring>","source_id":"\u003cstring>","source_uri":"\u003cstring>","source_name":"\u003cstring>","source_author":"\u003cstring>","source_last_modified":"\u003cstring>","source_tool":"\u003cstring>","content_sha256":"\u003cstring>","content_bytes":123,"mime_type":"\u003cstring>","fetched_at":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"zerodrift","siteName":"ZeroDrift Enforcement API","title":"Get Import Details - ZeroDrift Enforcement API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T20:56:59.509Z","originalFileLocation":"api-reference/custom-policies/get-import-details.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve details and extracted rules for a specific policy import\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroDrift Enforcement API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_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/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Import Details - ZeroDrift Enforcement API\">\u003cmeta data-mint-head property=\"og:description\" content=\"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroDrift Enforcement API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zerodrift.mintlify.site/_mintlify/api/og/v2?division=Import+a+Policy\u0026amp;title=Get+Import+Details\u0026amp;description=Retrieve+details+and+extracted+rules+for+a+specific+policy+import\u0026amp;theme=4a77b3342bf61dc8ad6b1fee\u0026amp;signature=d78d136cb3482b262c44ad75b9edf39379c96d9882e5c2c7e24b16219df0089b\">\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 Import Details - ZeroDrift Enforcement API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"ZeroDrift Enforcement API - Enforce regulations and policies on AI content and communications\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zerodrift.mintlify.site/_mintlify/api/og/v2?division=Import+a+Policy\u0026amp;title=Get+Import+Details\u0026amp;description=Retrieve+details+and+extracted+rules+for+a+specific+policy+import\u0026amp;theme=4a77b3342bf61dc8ad6b1fee\u0026amp;signature=d78d136cb3482b262c44ad75b9edf39379c96d9882e5c2c7e24b16219df0089b\">\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/zerodrift/kLkBuz49Q8U_6srQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroDrift Enforcement API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"slack-app-id\" content=\"A0CJQ2CUV8C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/custom-policies/get-import-details.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zerodrift.com/#organization\",\"name\":\"ZeroDrift Enforcement API\",\"url\":\"https://docs.zerodrift.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zerodrift/EnMFM7yTopP4lGmD/logo/ZD_White_Transparent.png?fit=max\u0026auto=format\u0026n=EnMFM7yTopP4lGmD\u0026q=85\u0026s=8a3a1cfcd216c0a056b6a1cd0c50a332\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zerodrift.com#website\",\"name\":\"ZeroDrift Enforcement API\",\"url\":\"https://docs.zerodrift.com\",\"publisher\":{\"@id\":\"https://docs.zerodrift.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details#webpage\",\"url\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details\",\"name\":\"Get Import Details\",\"description\":\"Retrieve details and extracted rules for a specific policy import\",\"dateModified\":\"2026-11-16T20:56:59.509Z\",\"isPartOf\":{\"@id\":\"https://docs.zerodrift.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Import a Policy\",\"item\":\"https://docs.zerodrift.com/api-reference/custom-policies/import-policy\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Import Details\",\"item\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details#apireference\",\"headline\":\"Get Import Details\",\"name\":\"Get Import Details\",\"description\":\"Retrieve details and extracted rules for a specific policy import\",\"url\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zerodrift.com/api-reference/custom-policies/get-import-details#webpage\"},\"dateModified\":\"2026-11-16T20:56:59.509Z\",\"publisher\":{\"@id\":\"https://docs.zerodrift.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zerodrift.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroDrift Enforcement API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ZeroDrift Enforcement API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/custom-policies/get-import-details.md","siteName":"ZeroDrift Enforcement API","nav":{"global":{},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Plugins","pages":[{"title":"Plugins","href":"/codex-plugin"}]},{"tab":"API reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Errors","href":"/api-reference/errors"},{"title":"OpenAPI specification","href":"/api-reference/openapi"}]},{"group":"Enforce","pages":[{"title":"Enforce Content","api":"POST /api/v3/content/validate","href":"/api-reference/validate/validate-content"},{"title":"Get Verdict","api":"GET /api/v3/jobs/{job_id}","href":"/api-reference/validate/get-results"}]},{"group":"Redact","pages":[{"title":"Redact PII","api":"POST /api/v3/content/redact","href":"/api-reference/redact/redact-text"}]},{"group":"Import a Policy","pages":[{"title":"Import Policy","api":"POST /api/policies/import","href":"/api-reference/custom-policies/import-policy"},{"title":"Get Import Presigned URL","api":"POST /api/policies/import/presigned_url","href":"/api-reference/custom-policies/import-presigned-url"},{"title":"Start Import","api":"POST /api/policies/import/start","href":"/api-reference/custom-policies/start-import"},{"title":"List Policy Imports","description":"List all policy imports for your account","api":"GET /api/policies/import","href":"/api-reference/custom-policies/list-imports"},{"title":"Get Import Details","api":"GET /api/policies/import/{import_id}","href":"/api-reference/custom-policies/get-import-details"},{"title":"Edit Imported Rule","description":"Partially edit a pending imported rule before activation","api":"PATCH /api/policies/import/{import_id}/rules/{rule_id}","href":"/api-reference/custom-policies/edit-imported-rule"},{"title":"Activate Rules","api":"POST /api/policies/import/{import_id}/activate","href":"/api-reference/custom-policies/activate-rules"}]},{"group":"Rules","pages":[{"title":"List Rules","api":"GET /api/policies/rules","href":"/api-reference/custom-policies/list-rules"},{"title":"Create Custom Rule","api":"POST /api/policies/rules","href":"/api-reference/custom-policies/create-rule"},{"title":"Get Custom Rule","api":"GET /api/policies/rules/{rule_id}","href":"/api-reference/custom-policies/get-rule"},{"title":"Edit Custom Rule","api":"PATCH /api/policies/rules/{rule_id}","href":"/api-reference/custom-policies/edit-rule"},{"title":"Delete Custom Rule","api":"DELETE /api/policies/rules/{rule_id}","href":"/api-reference/custom-policies/delete-rule"},{"title":"Deactivate Rules","api":"POST /api/policies/rules/deactivate","href":"/api-reference/custom-policies/deactivate-rules"},{"title":"Reactivate Rules","api":"POST /api/policies/rules/activate","href":"/api-reference/custom-policies/reactivate-rules"}]},{"group":"Rule Packs","pages":[{"title":"Rule Packs","api":"GET /api/rulepacks/","href":"/api-reference/rulepacks"}]},{"group":"Activity","pages":[{"title":"List Activity","api":"GET /api/activities","href":"/api-reference/activities/list-activities"},{"title":"Get Activity","api":"GET /api/activities/{activity_id}","href":"/api-reference/activities/get-activity"}]},{"group":"Training Studio","pages":[{"title":"Train Policy Adapter","api":"POST /api/policies/import/{import_id}/train","href":"/api-reference/training-studio/train-policy"},{"title":"Get Training Status","api":"GET /api/policies/import/{import_id}/train","href":"/api-reference/training-studio/get-training-status"}]}]}]},"basePath":"","title":"Get Import Details - ZeroDrift Enforcement API","deploymentId":"dpl_GDNWf1tLGuMA7VZdZjLPVcJLRJgG","buildId":"dpl_GDNWf1tLGuMA7VZdZjLPVcJLRJgG","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DiWQR0Dw.js","snippetPresets-BmylJwUX.js","utils-C2fWuTLj.js","style-to-object-BY3JEAdk.js","utils-CSS9SJgm.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B_HuAfYC.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bink-3az.js","_Uint8Array-DH8dt3QM.js","isObject-FP1Yky1u.js","ApiExamples-DKwL65Qp.js","usePlaygroundInputsStore-Byf7Wjg-.js","shallow-xQA3heHi.js","isEqual-CWFuCnsy.js","CodeSnippets-DrJ7GrW7.js","CodeSnippet-Bau4ZVdW.js","use-playground-group-access-BIWJdxB8.js","Page-DRR8sPxe.js","api-description-markdown-Bl6IXimh.js","DynamicMarkdown-CsDDjLGd.js","SectionHeading-CDNIUELf.js","MethodPill-B33MQrA3.js","getPastedJson-B5OQB7us.js","Check2Icon-lMIePS93.js","axios-CsQoIw0U.js"]}