curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/limits/values/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'cdf-version: <cdf-version>' \
--data '
{
"filter": {
"prefix": {
"property": [
"limitId"
],
"value": "atlas."
}
},
"limit": 1000,
"cursor": "string"
}
'{
"items": [
{
"limitId": "atlas.monthly_ai_tokens",
"value": 1000
},
{
"limitId": "atlas.monthly_ai_prompts",
"value": 500
}
],
"nextCursor": "eyJjdXJzb3IiOiAiMTIzNDU2In0="
}Required capabilities:
projectsAcl:LIST
Retrieves limit values using a filter.
Only the prefix operator is supported.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/limits/values/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'cdf-version: <cdf-version>' \
--data '
{
"filter": {
"prefix": {
"property": [
"limitId"
],
"value": "atlas."
}
},
"limit": 1000,
"cursor": "string"
}
'{
"items": [
{
"limitId": "atlas.monthly_ai_tokens",
"value": 1000
},
{
"limitId": "atlas.monthly_ai_prompts",
"value": 500
}
],
"nextCursor": "eyJjdXJzb3IiOiAiMTIzNDU2In0="
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
20230101-alpha Request body for list endpoints with filtering options.
Filter to apply to the list operation. To retrieve all limits for a specific service,
use the "prefix" operator where the property is the limit's key, e.g.,
{"prefix": {"property": ["limitId"], "value": "atlas."}}
Show child attributes
Maximum number of items to return.
x <= 1000Cursor to use for paging through results.
Was this page helpful?