provider agent_platformagent_applications GET /api/projects/{project_id}/agent_applications/{application_id}/memory/search/
@utdk/posthog /api/projects/{project_id}/agent_applications/{application_id}/memory/search/
agent_memory_search
BM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.
application_id path required
string
limit query
Max results (default 10, max 100).
integer
prefix query
Optional path prefix to scope the search.
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
q query required
Search cue — plain natural language is fine.
string

Try it

Authentication
Configure credentials for PostHog API
agentMemorySearch
GET/api/projects/{project_id}/agent_applications/{application_id}/memory/search/
BM25 search across the agent's memory files. Ranks by description+tags+path+body with field weighting.

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

Max results (default 10, max 100).

Optional path prefix to scope the search.

required

Search cue — plain natural language is fine.

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