Skip to content
Proud to collaborate with Microsoft for Startups

agents._infra-cost-sync.fetch-aws ​

Fetch AWS Cost Explorer billing data for agent sessions

Fetch AWS Cost Explorer billing data for agent sessions.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Triggers ​

SourceEndpoint / EventDescription
INTERNALdag.stepInternal step — invoked by the agents.infra-cost-sync DAG

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_uuidstringNo—DAG-stamped parent run id (auto-injected by the engine)
workflow_run_idstringNo——
organization_uuidstringYes——
sessionslistNo——
date_fromstringYes——
date_tostringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
aws_costs_fetchedjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——
providerjsonNo——
skippedjsonNo——
workflow_run_uuidjsonNo——
workflow_run_idstringNo——
organization_uuidjsonNo——
sessionsjsonNo——
date_fromjsonNo——
date_tojsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "agents._infra-cost-sync.fetch-aws",
  "initial_data": {
    "organization_uuid": "value",
    "date_from": "value",
    "date_to": "value"
  }
}