API ReferenceEpisodes
Get all graph edges (related + chronological) among a mindspace's episodes, tenant-scoped (optional agent_id lens: an agent's id, or __neutral__ for the space's unowned memory)
Authorization
BearerAuth AuthorizationBearer <token>
MagickMind API key (mm_...) or user JWT, sent as Authorization: Bearer <token>. /v1/chat/completions accepts an API key only. JWTs (not mm_ keys) may alternatively be passed as a ?token= query parameter.
In: header
Query Parameters
agent_id?string
mindspace_id*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/episodes/edges?mindspace_id=string"{ "edges": [ { "from_id": "string", "to_id": "string", "type": "string", "weight": 0 } ]}{ "error": { "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "request_id": "string", "errors": [ { "field": "string", "message": "string" } ] }}{ "error": { "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "request_id": "string", "errors": [ { "field": "string", "message": "string" } ] }}Get a single episode by id, tenant-scoped GET
Previous Page
List episodes in a date window, newest first, tenant-scoped with optional agent_id lens. Dates are YYYY-MM-DD, inclusive. Use this rather than /search when the question is about time: search ranks by relevance and cannot filter on it. GET
Next Page