Skip to main content

Get Company Policies

GEThttps://api.coralogix.com/mgmt/openapi/5/dataplans/policies/v1

Returns all data policies for the team.

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Query Parameters

    enabled_only# boolean

    When true, return only policies that are currently enabled.

    Example: true
    source_type# v1.SourceType

    Possible values: [SOURCE_TYPE_UNSPECIFIED, SOURCE_TYPE_LOGS, SOURCE_TYPE_SPANS]

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

Response

application/json

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

    List of policies.