Inspect

List memories

List active memories in a personal scope. Memory reads are available to every Inspect API key holder.

Base URL
GET
/api/v2/memories

List active memories in a personal scope. Memory reads are available to every Inspect API key holder.

Authorization

bearerAuth memories:read
headerAuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

Scope: memories:read

Query Parameters

scope*"personal"

Scope type to read.

Value in"personal"
scope_id?string

User id. Defaults to the API key user.

Length1 <= length
directive_limit?integer

Maximum number of directive memories to return.

Formatint32
Range1 <= value <= 25
Default20
fact_limit?integer

Maximum number of fact memories to return.

Formatint32
Range1 <= value <= 100
Default50

Response Body

Active memories in the requested scope

application/json
  1. response
data*array<>

Directives first, then facts, each most recently updated first.

meta*
Example Request
curl -X GET 'https://app.inspect.com/api/v2/memories?scope=personal'
Example Response
{  "data": [    {      "id": "Kq8vN2xLm4pR7tYc3hWzA",      "title": "Run oxfmt before committing",      "description": "Use oxfmt, not prettier, to format files before committing in acme/web.",      "content": "Format changed files with `bun oxfmt` before every commit. Do not use prettier in this repository.",      "memory_type": "directive",      "updated_at": "2026-10-28T15:42:11.204Z",      "scope": {        "type": "personal",        "id": "Xk3pQ9mZr7Lw2NbT5vYc8HdJ4sFa6GeR"      }    }  ],  "meta": {    "next_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzAyNDQ2NzMzMCwicjVqMWI4dDN5NnFlIl19",    "previous_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzIwMjEzMTIwNCwieDdrMm05cTRwMXphIl19",    "has_next_page": true,    "has_previous_page": false  }}