Skip to main content
GET
/
v1
/
experiments
/
{experimentId}
Get experiment
curl --request GET \
  --url https://api.agentmark.co/v1/experiments/{experimentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Agentmark-App-Id: <api-key>'
{
  "data": {
    "avgLatencyMs": 123,
    "avgScore": 123,
    "datasetPath": "<string>",
    "id": "<string>",
    "itemCount": 123,
    "items": [
      {
        "cost": 123,
        "expectedOutput": "<string>",
        "input": "<string>",
        "itemName": "<string>",
        "latencyMs": 123,
        "model": "<string>",
        "output": "<string>",
        "scores": [
          {
            "label": "<string>",
            "name": "<string>",
            "reason": "<string>",
            "score": 123
          }
        ],
        "tokens": 123,
        "traceId": "<string>"
      }
    ],
    "name": "<string>",
    "promptName": "<string>",
    "totalCost": 123,
    "commitSha": "<string>",
    "createdAt": "<string>",
    "end": "<string>",
    "start": "<string>",
    "totalTokens": 123
  }
}

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_*)

Path Parameters

experimentId
string
required

Experiment ID (DatasetRunId).

Response

Experiment detail with per-item traces and scores.

data
object
required