Bulk Operations
Export policies
Export all policies for the tenant as JSON
get/api/v1/policies/export
Request
- Base URLhttps://agent.getaxonflow.com
- Authnone declared. Required headers: X-Tenant-ID
- TypeScripthttps://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/docs/api/v1/policies/export/get.tsA function with typed inputs. Its response is checked against the schema.
Headers
X-Tenant-IDstring required
Example:tenant_abc123
Tenant identifier for multi-tenancy isolation. When calling through the Agent (recommended), this header is stamped automatically from the authenticated client — you do not set it yourself. Required only on direct Orchestrator calls (internal deployments).
Response
Exported policies
Example response
{
"policies": [
{
"id": "pol_abc123def456",
"name": "Block PII Access",
"description": "Prevent unauthorized access to personally identifiable information",
"category": "dynamic-risk",
"actions": [
{
"config": {
"message": "Request blocked by policy",
"channel": "security-alerts"
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.