provider actions GET /api/projects/{project_id}/actions/
@utdk/posthog /api/projects/{project_id}/actions/
actions_list
created_by query
Comma-separated list of creator user ids. Returns only actions created by these users.
string
format query
enum: csv, json
limit query
Maximum number of actions to return. Omit to return all.
integer
offset query
Number of actions to skip before returning results.
integer
ordering query
Field to order by (name, created_at, pinned_at, created_by). Prefix with '-' for descending.
string
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
Case-insensitive substring match on the action name.
string
tags query
JSON-encoded array of tag names, e.g. ["billing","beta"]. Returns actions having any of these tags.
string

Try it

Authentication
Configure credentials for PostHog API
actionsList
GET/api/projects/{project_id}/actions/

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/.

Comma-separated list of creator user ids. Returns only actions created by these users.

Maximum number of actions to return. Omit to return all.

Number of actions to skip before returning results.

Field to order by (name, created_at, pinned_at, created_by). Prefix with '-' for descending.

Case-insensitive substring match on the action name.

JSON-encoded array of tag names, e.g. ["billing","beta"]. Returns actions having any of these tags.

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.actionsList()