Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

storage_head

One SigV4-signed HEAD for object metadata. A missing object is data, not failure: 404 answers { "exists": false }, because “is it there yet?” is the question this function exists to ask. Auth failures, timeouts, and other statuses fail the task.

Synopsis

{
  "name": "storage_head",
  "input": {
    "connector": "media",
    "key": {
      "var": "temp_data.object_key"
    },
    "output": "temp_data.object_meta"
  }
}

Description

storage_head is a connector function. It names a connector for its credentials and endpoint. Orion validates its input when the workflow is saved, and the call runs through the connector’s circuit breaker.

Retry safety: read. See Retry safety for what the answer costs.

One attempt runs inside the circuit breaker; a workflow can loop if it wants polling.

Fields

FieldTypeRequiredDefaultDescription
connectorstringyesName of the storage connector
keystringyesObject key within the connector’s bucket
outputstring | JSONLogicno"data"Where { exists, size, etag, last_modified, content_type } is stored

Examples

{
  "name": "storage_head",
  "input": {
    "connector": "media",
    "key": { "var": "temp_data.object_key" },
    "output": "temp_data.object_meta"
  }
}

Last verified 14 September 2026