Skip to content

Conversion caps usage

GET
/api/v2/client/applications/{application_id}/conversion-caps/usage
curl --request GET \
--url https://app.affisemmp.com/api/v2/client/applications/12/conversion-caps/usage \
--header 'Authorization: Bearer <token>'

The current period of each not deleted cap of the application, the inactive ones too, ordered by cap id. limit, used and remaining are conversions for a count cap and an amount in the application currency for a cost cap; over is the number of conversions that went over the limit in the period. Periods start in the application timezone. period_start is null for a total cap; next_reset_at is the start of the next period of an hour, day, week or month cap and null for an interval or total cap; reset_at is the last reset of the counter or change of the type, window or filters, null if there was none.

application_id
required
integer

The ID of the application.

Example
12
Media type application/json
object
data
object
app_id
integer
timezone
string
currency
string
caps
Array<object>
object
cap_id
integer
limit_type
string
window
string
is_active
boolean
period_start
string
next_reset_at
string
reset_at
string
nullable
limit
integer
used
integer
remaining
integer
used_percent
integer
over
integer
Example
{
"data": {
"app_id": 12,
"timezone": "Europe/Berlin",
"currency": "USD",
"caps": [
{
"cap_id": 7,
"limit_type": "count",
"window": "day",
"is_active": true,
"period_start": "2026-11-23T00:00:00+01:00",
"next_reset_at": "2026-11-24T00:00:00+01:00",
"reset_at": null,
"limit": 1000,
"used": 640,
"remaining": 360,
"used_percent": 64,
"over": 0
},
{
"cap_id": 8,
"limit_type": "cost",
"window": "total",
"is_active": true,
"period_start": null,
"next_reset_at": null,
"reset_at": "2026-11-05T13:30:00+01:00",
"limit": 250.5,
"used": 250.5,
"remaining": 0,
"used_percent": 100,
"over": 12
}
]
}
}
Media type application/json
object
message
string
Example
{
"message": "Access denied"
}
Media type application/json
object
message
string
Example
{
"message": "Conversion caps usage is temporarily unavailable."
}