Skip to main content
POST
/
v1
/
datasets
/
{datasetName}
/
rows
Append dataset row
curl --request POST \
  --url https://api.agentmark.co/v1/datasets/{datasetName}/rows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Agentmark-App-Id: <api-key>' \
  --data '
{
  "expected_output": null,
  "input": null,
  "metadata": {}
}
'
{
  "data": {
    "line_number": 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_*)

Path Parameters

datasetName
string
required

Dataset path without .jsonl extension (URL-encoded)

Minimum string length: 1
Pattern: ^[\w./-]+$

Body

application/json

Canonical dataset row with input, expected_output, and metadata

expected_output
unknown
input
unknown
metadata
object

Response

Row appended successfully.

data
object
required