Policies
Create Policy Version
Changed onCreate a new draft version of a policy. Copies all fields from the source. Source is current production if source_policy_id is not provided.
post/policies/name/{policy_name}/versions
Request
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/policies/name/{policy_name}/versions
- AuthAPI key in header x-litellm-api-key
Path parameters
policy_namestring required
Request body
Response
Successful Response
Changes
- info
api tag
Policiesadded - info
api tag
policy_engineremoved
- info
- info
api tag
policy_engineadded - info
api tag
Policiesremoved
- info