provider signals GET /api/projects/{project_id}/signals/scout/scratchpad/
@utdk/posthog /api/projects/{project_id}/signals/scout/scratchpad/
Search the scout scratchpad
Return `SignalScratchpad` entries for this project, newest-first. ILIKE matches on `content` and `key`. `date_from` / `date_to` are a half-open window on `updated_at` (`>= date_from`, `< date_to`); pass `date_to` (the `updated_at` of the oldest entry seen) on subsequent calls to walk past the cap. Pass `keys_only=true` to scan keys without pulling entry bodies, or `content_max_chars` to cap each `content` to a preview — both keep a wide orientation scan from returning every entry's full prose. Results capped at 500.
content_max_chars query
Truncate each entry's `content` to the first N characters (a preview). Omit for the full body. Ignored when `keys_only=true`.
integer
date_from query
ISO-8601 inclusive lower bound on `updated_at`. Omit to skip the lower bound.
string
date_to query
ISO-8601 exclusive upper bound on `updated_at`. Pass to walk back past the result cap on subsequent calls (cursor-style: set to the `updated_at` of the oldest entry from the prior page).
string
keys_only query
When true, blank each entry's `content` and return only keys + metadata. Use to scan which memories exist without pulling their (potentially large) bodies, then re-query the ones worth a full read. Takes precedence over `content_max_chars`.
boolean
limit query
Max rows to return (default 20, hard cap 500).
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
text query
ILIKE substring match against `content`. Omit to return the most recent entries.
string

Try it

Authentication
Configure credentials for PostHog API
signalsScoutScratchpadSearch
GET/api/projects/{project_id}/signals/scout/scratchpad/
Return `SignalScratchpad` entries for this project, newest-first. ILIKE matches on `content` and `key`. `date_from` / `date_to` are a half-open window on `updated_at` (`>= date_from`, `< date_to`); pass `date_to` (the `updated_at` of the oldest entry seen) on subsequent calls to walk past the cap. Pass `keys_only=true` to scan keys without pulling entry bodies, or `content_max_chars` to cap each `content` to a preview — both keep a wide orientation scan from returning every entry's full prose. Results capped at 500.

Parameters

required

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

Truncate each entry's `content` to the first N characters (a preview). Omit for the full body. Ignored when `keys_only=true`.

ISO-8601 inclusive lower bound on `updated_at`. Omit to skip the lower bound.

ISO-8601 exclusive upper bound on `updated_at`. Pass to walk back past the result cap on subsequent calls (cursor-style: set to the `updated_at` of the oldest entry from the prior page).

When true, blank each entry's `content` and return only keys + metadata. Use to scan which memories exist without pulling their (potentially large) bodies, then re-query the ones worth a full read. Takes precedence over `content_max_chars`.

Max rows to return (default 20, hard cap 500).

ILIKE substring match against `content`. Omit to return the most recent entries.

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