Get the structured memory state grouped by category. This is a composite read over six tables, each bounded by limit (default 100, max 500); truncated reports which tables had more rows. It is a snapshot, not an export: to enumerate a table completely, walk /entities, /attributes, /relations, or /actions instead.

get/api/v1/{context_id}/state

Path parameters

context_idstring required

Spectron context id

Query parameters

limitinteger

Max rows per table (default 100, max 500)

Response

Changes

Changed in 3 of the 5 revisions of this API.612

    • added the new optional query request parameter limit

      new-optional-request-parameter

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the required property context/actions to the response with the 200 status

      response-required-property-added

    • added the required property identity/actions to the response with the 200 status

      response-required-property-added

    • added the required property knowledge/actions to the response with the 200 status

      response-required-property-added

    • added the required property truncated to the response with the 200 status

      response-required-property-added

    • added the optional property context/attributes/items/source to the response with the 200 status

      response-optional-property-added

    • added the optional property context/relations/items/source to the response with the 200 status

      response-optional-property-added

    • added the optional property identity/attributes/items/source to the response with the 200 status

      response-optional-property-added

    • added the optional property identity/relations/items/source to the response with the 200 status

      response-optional-property-added

    • added the optional property knowledge/attributes/items/source to the response with the 200 status

      response-optional-property-added

    • added the optional property knowledge/relations/items/source to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property context/attributes/items/source from the response with the 200 status

      response-optional-property-removed

    • removed the optional property context/relations/items/source from the response with the 200 status

      response-optional-property-removed

    • removed the optional property identity/attributes/items/source from the response with the 200 status

      response-optional-property-removed

    • removed the optional property identity/relations/items/source from the response with the 200 status

      response-optional-property-removed

    • removed the optional property knowledge/attributes/items/source from the response with the 200 status

      response-optional-property-removed

    • removed the optional property knowledge/relations/items/source from the response with the 200 status

      response-optional-property-removed

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog