API referenceAgents and workflowsAgent sessions
Browse per-repository session memory (living docs distilled from wrapped sessions)
Requires the agent_sessions:read permission.
The Xirp-style context layer: MEMORY.md index + topic markdown files per repository, built automatically when sessions wrap and materialized into every new session's sandbox. ?repo=owner/repo returns that repo's files + recent recaps; without it, the tenant-wide listing.
AuthorizationBearer <token>
An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.
In: header
Query Parameters
repo?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/agent-sessions/memory"{ "files": [ { "content": "string", "filename": "string", "source_session_id": "312bde73-ab6c-4229-8af2-a9c9ab28d2bf", "updated_at": "2019-08-24T14:15:22Z", "updated_by": "string", "version": 0 } ], "recaps": [ { "content": "string", "created_at": "2019-08-24T14:15:22Z", "harness": "string", "seq": "string", "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82", "session_title": "string" } ], "repo_key": "string"}