Skip to main content
POST
Create a new policy

Authorizations

Authorization
string
header
required

Bearer token for authentication

Body

application/json

Request to create a new policy

Request to create a new policy

policy
Policy · object

A policy that can be applied to materials in Chainloop to validate compliance with specific requirements

Example:
raw_schema
string

Base64 raw representation of the policy schema in JSON or YAML format

Response

A successful response.

Response for the policy creation request