AgentConnect
Agents

Read a memory file

Proxy one byte slice of a memory file (?path defaults to MEMORY.md) live from the owning daemon; a missing file is data (exists:false). 503 when unplaced or the daemon is offline. 503 also when the memory home of the agent is not reachable right now; code says why.

GET
/v1/orgs/{orgId}/agents/{id}/memory/file

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string
id*string

查询参数

channelKey?string
匹配^[A-Za-z0-9._-]+$
长度1 <= length <= 120
path?string
长度1 <= length
offset?integer
范围0 <= value <= 9007199254740991
limit?integer
范围0 < value <= 65536

响应主体

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/agents/string/memory/file"
{  "path": "string",  "exists": true,  "size": 0,  "mtime": "string",  "content": "string",  "offset": 0,  "nextOffset": 0,  "truncated": true}