For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Update an Agent Analytics dataset
Updates dataset metadata. Absent fields are unchanged; an explicit null
clears description. id, agent_name, and source_type are immutable —
create a new dataset to change the agent scope.
/v1/projects/{project_id}/agent-analytics/datasets/{dataset_id}Authorizations
Authorizationstringrequiredhttp
Path parameters
project_idstringrequiredAmplitude project identifier, backed by the canonical app ID.
12345pattern: ^[0-9]+$dataset_idstringrequiredStable dataset identifier, returned by create or by the Agent Analytics read surface.
Header parameters
Idempotency-KeystringrequiredUnique idempotency key used to safely retry write operations.
min length: 8max length: 255Body
application/jsonnamestringmin length: 1max length: 255descriptionstringnullableResponse
application/jsondataobjectrequiredShow child attributes
idstringrequiredStable dataset identifier (ULID).
objectstringrequiredproject_idstringrequirednamestringrequiredmin length: 1descriptionstringrequirednullableagent_namestringrequiredAgent the dataset is scoped to. Null for project-level datasets.
nullablesource_typestringrequiredHow the dataset was assembled, such as manual.
session_countintegerrequiredSessions currently in the dataset.
reviewed_countintegerrequiredSessions in the dataset that carry a human review.
created_atstringrequiredformat: date-timecreated_bystringnullableWas this helpful?