Agentset icon

Agentset

Interact with the Agentset API

Actions18

Document → Get

AI-generated

Summary

Retrieve a specific document by its ID within a given namespace.

Inputs

  • Namespace ID (required) — The ID of the namespace (prefixed with ns_).
  • Document ID (required) — The ID of the document to fetch (prefixed with doc_).
  • Tenant ID — Optional tenant ID to use for the request, sent as the 'x-tenant-id' header.

Output shape

a single document record as JSON

Returns the full JSON representation of the requested document. If the document is not found or an error occurs, the node may throw an error unless configured to continue on failure.

Links

Discussion