provider agent_platformagent_applications GET /api/projects/{project_id}/agent_applications/{application_id}/memory/files/by_path/
@utdk/posthog /api/projects/{project_id}/agent_applications/{application_id}/memory/files/by_path/
agent_memory_get_file
Read one memory file in full (frontmatter + markdown body).
application_id path required
string
path query required
Memory path returned by the list endpoint, e.g. 'incidents/db.md'.
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

Try it

Authentication
Configure credentials for PostHog API
agentMemoryGetFile
GET/api/projects/{project_id}/agent_applications/{application_id}/memory/files/by_path/
Read one memory file in full (frontmatter + markdown body).

Parameters

required
required

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

required

Memory path returned by the list endpoint, e.g. 'incidents/db.md'.

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