Skip to main content
Get Company Policies

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

enabled_only
boolean

When true, return only policies that are currently enabled.

Example:

true

source_type
enum<string>

Filter policies by data source type (for example logs or spans). Source type.

Available options:
SOURCE_TYPE_UNSPECIFIED,
SOURCE_TYPE_LOGS,
SOURCE_TYPE_SPANS,
SOURCE_TYPE_RUM

Response

This data structue is obtained when retrieving all policies of a company.

policies
Policy · object[]
required

List of policies.

A policy is a set of rules that define the behavior of the Coralogix system for a specific company.