Skip to main content
POST
Create several decision metrics at once

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Body

application/json
metrics
object[]
required
Required array length: 1 - 10 elements

Response

The created metrics, in request order. When the read after the create fails, metrics holds only the created ids ([{ id }]) instead

metrics
object[]
required

The created metrics, in request order.