Skip to main content
POST
/
v1
/
scores
/
batch
Create scores (batch)
curl --request POST \
  --url https://api.agentmark.co/v1/scores/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Agentmark-App-Id: <api-key>' \
  --data '
{
  "scores": [
    {
      "name": "<string>",
      "resource_id": "<string>",
      "score": 123,
      "client_id": "<string>",
      "label": "<string>",
      "reason": "<string>",
      "source": "eval"
    }
  ]
}
'
{
  "data": {
    "results": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "status": "success",
        "client_id": "<string>"
      }
    ],
    "summary": {
      "failed": 1,
      "succeeded": 1,
      "total": 1
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Agentmark-App-Id
string
header
required

Application ID for tenant scoping

Authorization
string
header
required

API key (sk_agentmark_*)

Body

application/json
scores
object[]
required
Required array length: 1 - 1000 elements

Response

All scores created successfully.

data
object
required