Read the source behind a search hit [read]
Changed onRechecks ownership, workspace and deletion. Accepts memory, session_message, trace_message, memory_note, file, skill_file and agent references from search; a file that is not text reads as text null. Memory returns the current entry and flags version changes; it does not preserve old versions. Message reads return bounded text and adjacent references for surrounding context. Use nextOffset for a long main message; follow adjacent refs to continue reading. All text together is bounded to 20,000 characters per page.
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/context/read
- AuthHTTP bearer
Query parameters
URL-encoded JSON source reference copied from a search hit.
Response
Current reference, text, nextOffset, truncated, updated, adjacent references and coverage.
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info