Skip to main content
GET
/
api
/
policies
/
import
/
{import_id}
Get Import Details
curl --request GET \
  --url https://api.example.com/api/policies/import/{import_id}
{
  "import_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "pending_review",
  "rule_count": 3,
  "created_at": "2026-01-15T10:30:00Z",
  "rules": [
    {
      "id": "no_misleading_claims",
      "type": "AI_SIGNAL",
      "name": "No Misleading Claims",
      "action": "flag",
      "severity": "high",
      "confidence": 0.95
    },
    {
      "id": "benchmark_comparison_required",
      "type": "AI_SIGNAL",
      "name": "Benchmark Comparison Required",
      "action": "fix",
      "severity": "medium",
      "confidence": 0.88,
      "suggested_text": "Performance results should be compared to an appropriate benchmark index."
    },
    {
      "id": "risk_disclosure_present",
      "type": "REQUIRE_NEAR",
      "name": "Risk Disclosure Near Performance Data",
      "action": "flag",
      "severity": "high",
      "confidence": 0.92
    }
  ]
}
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.

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
{
  "import_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "pending_review",
  "rule_count": 3,
  "created_at": "2026-01-15T10:30:00Z",
  "rules": [
    {
      "id": "no_misleading_claims",
      "type": "AI_SIGNAL",
      "name": "No Misleading Claims",
      "action": "flag",
      "severity": "high",
      "confidence": 0.95
    },
    {
      "id": "benchmark_comparison_required",
      "type": "AI_SIGNAL",
      "name": "Benchmark Comparison Required",
      "action": "fix",
      "severity": "medium",
      "confidence": 0.88,
      "suggested_text": "Performance results should be compared to an appropriate benchmark index."
    },
    {
      "id": "risk_disclosure_present",
      "type": "REQUIRE_NEAR",
      "name": "Risk Disclosure Near Performance Data",
      "action": "flag",
      "severity": "high",
      "confidence": 0.92
    }
  ]
}

Example

curl -X GET "https://{api-url}/api/policies/import/550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: YOUR_API_KEY"