provider agent_platformagent_applications POST /api/projects/{project_id}/agent_applications/{application_id}/memory/files/
@utdk/posthog /api/projects/{project_id}/agent_applications/{application_id}/memory/files/
agent_memory_create_file
Create a memory file. Fails if the path already exists — use the update endpoint to overwrite.
application_id path required
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
agentMemoryCreateFile
POST/api/projects/{project_id}/agent_applications/{application_id}/memory/files/
Create a memory file. Fails if the path already exists — use the update endpoint to overwrite.

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

Input

required

Where to store the file. Lowercase a-z 0-9 _ - / only, must end in .md.

required

One-line summary, max 280 chars. Surfaces in list/search results.

required

Full markdown body.

Optional flat tags for search ranking. Lowercase a-z 0-9 _ - only.

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