Skip to main content
POST
/
api
/
v1
/
metadata
/
criteria
Get Criteria
curl --request POST \
  --url https://platform.composo.ai/api/v1/metadata/criteria \
  --header 'Content-Type: application/json' \
  --data '
{
  "endpoint_type": "<string>"
}
'
{
  "values": [
    "<string>"
  ]
}

Body

application/json

Request schema for getting criteria values.

Uses authenticated user's domain from API key or JWT token. Request body is optional - can send empty JSON {}.

endpoint_type
string | null

Optional endpoint type filter ('reward' or 'trace')

Response

Successful Response

Response schema for criteria values.

values
string[]
required

List of distinct criteria values