policy_engine

List Policy Versions

Changed on

List all versions of a policy by name, ordered by version_number descending.

get/policies/name/{policy_name}/versions

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/policies/name/{policy_name}/versions
  • Auth: API key in header x-litellm-api-key

Path parameters

policy_namestring required

Response

Successful Response

policy_namestring required

Name of the policy.

total_countinteger

Total number of versions.

Changes

    • info

      api tag policy_engine added

    • info

      api tag Policies removed

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status