Log config
List log configurations
List log configurations for a specific organization and account.
get/controlplane/log/config
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
}
}
]
}