Update RAG Document

mindee.update_rag_document
ActionAI & modelsconnection required

Calls the Mindee API with the connection's credentials.

Activate or draft one indexed RAG document, and optionally replace its field-level annotation.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Mindee
Secret shape
the V2 API key, or {"api_key": "…"}
Config it needs
base_url, model_id
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
document_id
UUID of the indexed RAG document.
stringYes———
status
New status for the document: Active makes it available to inferences, Draft takes it back out.
stringNo—one of "Draft", "Active"—
annotation
Field-level RAG annotation and guidelines to apply, as JSON. Applied before the status change.
objectNo———
  • At least one of status, annotation must be set.

Output

One shape.

result

FieldTypeExample
id
UUID of the RAG document.
string—
model_id
UUID of the extraction model it is indexed against.
string—
filename
Original file name of the indexed document.
string—
created_at
When the document was indexed, ISO 8601.
string—
status
Processing, Failed, Draft or Active.
string—
total_matches
How many inferences have used this document.
number—
last_match_at
When it was last used by an inference, ISO 8601.
string—
{
  "created_at": "",
  "filename": "",
  "id": "",
  "last_match_at": "",
  "model_id": "",
  "status": "",
  "total_matches": 0
}

See Update RAG Document run in a workflow.

In a technical demo we add the Mindee connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.