Import/Export Schemas/Policies APIs
Endpoints for importing and exporting Guardian policies and schemas using Excel (.xlsx) files. Useful for bulk data entry and schema design using spreadsheet tools.
Authentication: Bearer token required (Authorization: Bearer <token>)
Permission: Standard Registry role required.
GET
/api/v1/policies/{policyId}/export/xlsx
Exports a policy as an Excel file
Yes
POST
/api/v1/policies/import/xlsx
Imports a policy from an Excel file
Yes
POST
/api/v1/policies/push/import/xlsx
Imports a policy from an Excel file asynchronously
Yes
POST
/api/v1/policies/import/xlsx/preview
Previews a policy from an Excel file
Yes
GET
/api/v1/schemas/{schemaId}/export/xlsx
Exports a schema as an Excel file
Yes
POST
/api/v1/schemas/import/xlsx
Imports a schema from an Excel file
Yes
POST
/api/v1/schemas/push/import/xlsx
Imports a schema from an Excel file asynchronously
Yes
POST
/api/v1/schemas/import/xlsx/preview
Previews a schema from an Excel file
Yes
GET
/api/v1/schemas
Returns a list of schemas
Yes
Endpoints
Last updated