Skip to main content
GET
Get Import Details
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

import_id
string
required
The import ID returned from the import endpoint

Response

import_id
string
Unique import identifier
status
string
Import status: processing, pending_review, no_rules_found, failed, activated, or partially_activated
rule_count
integer
Number of extracted rules (present once extraction completes)
error_message
string
Error details when status is failed
created_at
string
ISO 8601 timestamp of the import
rules
array
Full list of extracted rules with details

Example