AI observability
datasets

Restore an archived dataset without changing its item states.

post/api/projects/{project_id}/datasets/{id}/restore/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/datasets/{id}/restore/
  • 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/.

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.