Fetches details of an existing Kosli policy. Use this data source to reference existing policies and access metadata such as the policy content, description, and latest version number.Documentation Index
Fetch the complete documentation index at: https://docs.kosli.com/llms.txt
Use this file to discover all available pages before exploring further.
Example usage
Schema
Required
name(String) The name of the policy to query.
Read-only
content(String) YAML content of the latest policy version. Null if the policy has no versions.created_at(Number) Unix timestamp of when the policy was first created.description(String) Description of the policy.latest_version(Number) The version number of the latest policy version. Null if the policy has no versions.