Memory

Read the source behind a search hit [read]

Changed on

Rechecks 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.

get/context/read

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/context/read
  • Auth
    HTTP bearer

Query parameters

refstring required

URL-encoded JSON source reference copied from a search hit.

offsetinteger

Response

Current reference, text, nextOffset, truncated, updated, adjacent references and coverage.

refobject
textstring
nextOffsetinteger nullable
truncatedboolean
updatedboolean
coveragestring

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status