provider annotations GET /api/projects/{project_id}/annotations/{id}/
@utdk/posthog /api/projects/{project_id}/annotations/{id}/
annotations_retrieve
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
id path required
A unique integer value identifying this annotation.
integer
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

Try it

Authentication
Configure credentials for PostHog API
annotationsRetrieve
GET/api/projects/{project_id}/annotations/{id}/
Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

Parameters

required

A unique integer value identifying this annotation.

required

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

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