Elasticsearch · Arazzo Workflow
Elasticsearch Document Lifecycle
Version 1.0.0
Index a document by id, read it back, apply a partial update, and confirm the merged result.
Provider
Workflows
document-lifecycle
Index, read, partially update, and re-read a single document by id.
Writes a document at a caller-supplied id, verifies the persisted source, merges a partial document into it, and verifies the merged result and the resulting version number.
1
indexDocument
Index the document at the supplied id. Elasticsearch answers 201 when the document is new and 200 when it replaced an existing document at that id, so both are accepted.
2
readAfterIndex
Read the document straight back to confirm exactly what was persisted before any update is attempted.
3
applyPartialUpdate
Merge the partial document into the stored source. Fields not named in the partial update are left untouched.
4
readAfterUpdate
Read the document a second time to confirm the merge landed and to capture the version Elasticsearch incremented to.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.