provider datasets GET /api/projects/{project_id}/datasets/
@utdk/posthog /api/projects/{project_id}/datasets/
datasets_list
id__in query
Multiple values may be separated by commas.
array
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
order_by query
Ordering * `created_at` - Created At * `-created_at` - Created At (descending) * `updated_at` - Updated At * `-updated_at` - Updated At (descending)
array
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
search query
Search in name, description, or metadata
string

Try it

Authentication
Configure credentials for PostHog API
datasetsList
GET/api/projects/{project_id}/datasets/

Parameters

required

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

Multiple values may be separated by commas.

Number of results to return per page.

The initial index from which to return the results.

Ordering * `created_at` - Created At * `-created_at` - Created At (descending) * `updated_at` - Updated At * `-updated_at` - Updated At (descending)

Search in name, description, or metadata

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.datasetsList()