Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
conditions
object[]
required
Minimum array length: 1
group_by
object[]
required
Minimum array length: 1
type
enum<string>
required
Available options:
cost,
tokens
credit_limit
number
required
Required range: x >= 0
name
string
Maximum string length: 255
alert_threshold
number | null
Required range: x >= 0
periodic_reset
enum<string> | null
Available options:
monthly,
weekly
workspace_id
string
organisation_id
string<uuid>

Response

id
string<uuid>
object
string
Last modified on September 18, 2026