Log config

List log configurations

Changed on

List log configurations for a specific organization and account.

get/controlplane/log/config

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/controlplane/log/config
  • Auth
    HTTP bearer

Query parameters

organization_idinteger required

The ID of the organization.

account_idinteger required

The ID of the account.

selectorobject

An object containing key-value pairs representing tags to be matched for applying the log configuration. For example: { "environment": "production", "service": "api" }.

Response

A list of log configurations.

Example response

{
  "paging": {
    "limit": 200
  },
  "results": [
    {
      "expires_at": "2024-07-12T15:00:00Z",
      "account_id": 2345,
      "selector": {
        "environment": "production"
      },
      "configuration": {
        "log_level": "debug",
        "no_error_sampling": 50
      }
    }
  ]
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • 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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status