PATCH /v2/evals/experiments/{experiment_id}
Update metadata; omitted fields remain unchanged and null clears notes.
How to use
Update metadata only as permitted by the request schema. Omitted fields stay unchanged; null clears notes. This is not a replacement for creating a new experiment snapshot.
Authentication and permissions
Required permissions: evals.update. Resource and owner access checks also apply.
Prepare request.json
Save the example body below as request.json for the curl sample. Replace example IDs, node keys, and dynamic configuration with values for your organization; these are illustrative, not pre-existing resources.
{
"notes": "Reviewed regression run"
}Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.
Successful Response
Machine-readable response code, when provided.
Invalid request or pagination cursor
Missing or invalid credentials
Denied permission, project folder access, or API-key scope (meta.required_scope)
Resource not found in the caller's organization
Client error returned in the public API envelope
curl --fail-with-body -sS -X PATCH \
"$STACKAI_BASE_URL/v2/evals/experiments/${EXPERIMENT_ID}" \
-H "Authorization: Bearer $STACKAI_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @request.json{
"response_code": "text",
"meta": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": {
"experiment_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "text",
"dataset_id": "123e4567-e89b-12d3-a456-426614174000",
"dataset_name": "text",
"project_version_id": "text",
"node_contract": {
"input_kind": "start_node",
"input_keys": [
"text"
],
"output_node_ids": [
"text"
]
},
"name": "text",
"notes": "text",
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
}Last updated
Was this helpful?

