AI observability
datasets

Update descriptive dataset fields without changing its revision.

patch/api/projects/{project_id}/datasets/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/datasets/{id}/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this dataset.

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

namestring

New dataset name. Names are unique within a project.

descriptionstring

New dataset description.

metadataobject

Replacement JSON object for descriptive dataset metadata.

Response

idstring uuid required
namestring required
descriptionstring required
metadataobject required

JSON object with descriptive dataset metadata.

archivedboolean required
current_revisioninteger nullable required

Latest dataset revision, or null before the first item is added.

current_revision_idstring uuid nullable required

ID of the latest committed dataset revision.

created_atstring date-time required
updated_atstring date-time nullable required
team_idinteger required

Project that owns the dataset.

user_access_levelstring nullable required

The effective access level the user has for this object

Changes

No recorded changes to this operation across all 1 revision of this API.