Skip to main content
GET
/
v1
/
datasets
/
{datasetId}
Get Dataset
curl --request GET \
  --url https://api.agentmark.co/v1/datasets/{datasetId} \
  --header 'Authorization: <api-key>' \
  --header 'X-Agentmark-App-Id: <x-agentmark-app-id>'
{
  "dataset": {
    "id": "dataset-abc123",
    "name": "sentiment-test",
    "rowCount": 50,
    "createdAt": "2026-04-10T15:30:45.123Z"
  }
}

Authorizations

Authorization
string
header
required

Your AgentMark API key. Create one in the dashboard under Settings > API Keys.

Example: Authorization: Bearer am_live_abc123

Headers

X-Agentmark-App-Id
string
required

Your application ID. Found in the dashboard under Settings > General.

Example:

"app_abc123"

Path Parameters

datasetId
string
required

The dataset ID to retrieve.

Response

The dataset with its rows.

dataset
object