Agents
Read a dream's staged file
Proxy one byte slice of a staged output file (default the MEMORY.md index) live from the owning daemon. nextOffset is authoritative — clients must not recompute it.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
id*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuiddreamId*string
Length
1 <= length <= 128Query Parameters
channelKey?string
Match
^[A-Za-z0-9._-]+$Length
1 <= length <= 120path?string
Length
1 <= lengthoffset?integer
Range
0 <= value <= 9007199254740991limit?integer
Range
0 < value <= 65536Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/memory/dreams/string/file"{ "path": "string", "exists": true, "size": 0, "mtime": "string", "content": "string", "offset": 0, "nextOffset": 0, "truncated": true}