actions

get/api/projects/{project_id}/actions/

Request

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

Path parameters

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

Query parameters

created_bystring

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

format'csv' | 'json'
limitinteger

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

offsetinteger

Number of actions to skip before returning results.

orderingstring

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

searchstring

Case-insensitive substring match on the action name.

tagsstring

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

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

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