Skip to main content
PATCH
Update Dataset

Update Dataset

Update the name or description of an existing custom KPI dataset. Only send the fields you want to change.
To manage the KPIs within a dataset, use the KPI endpoints (create, update, delete KPIs individually).

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the dataset to updateExample: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Body Parameters

All fields are optional — only send what you want to change.
string
New dataset name (1–255 characters)
string
New dataset description (max 2000 characters)

Response

Returns the updated dataset with its KPI definitions (HTTP 200). See Get Dataset for the full response shape.
string
Dataset UUID.
string
Dataset display name.
string | null
Dataset description.
array[object]
KPI definitions. See Get Dataset for the nested KPI object shape.
datetime
Creation timestamp (ISO 8601).
string | null
Last update timestamp (ISO 8601).

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: Dataset not found

Get Dataset

View current dataset details

List Datasets

View all datasets