Hindsight icon

Hindsight

Interact with the Hindsight AI memory API

Document → Update Tags

AI-generated

Summary

Update the tags on a specific document within a given bank by providing the bank ID, document ID, and a comma-separated list of tags.

Inputs

  • Bank ID (required) — ID of the bank the document belongs to
  • Document ID (required) — ID of the document to update tags for
  • Tags (required) — Comma-separated list of tags to set on the document

Output shape

a single JSON object representing the updated document's metadata or tags

The operation returns the API response after updating the document tags. There is no pagination or batching associated with this operation.

Examples

Example 1: Update tags for a document

Specify the bank ID, the document ID of the document to modify, and the new tags as a comma-separated string. The node sends a PATCH request to update the document's tags.

Links

Discussion