{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bem Buckets Calls API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Calls",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Calls",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bem.ai/v3/calls",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "callIDs",
                "value": "",
                "type": "query"
              },
              {
                "name": "workflowIDs",
                "value": "",
                "type": "query"
              },
              {
                "name": "workflowNames",
                "value": "",
                "type": "query"
              },
              {
                "name": "referenceIDs",
                "value": "",
                "type": "query"
              },
              {
                "name": "statuses",
                "value": "",
                "type": "query",
                "description": "Filter by one or more statuses."
              },
              {
                "name": "referenceIDSubstring",
                "value": "",
                "type": "query",
                "description": "Case-insensitive substring match against `callReferenceID`."
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query"
              },
              {
                "name": "startingAfter",
                "value": "",
                "type": "query"
              },
              {
                "name": "endingBefore",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "**List workflow calls with filtering and pagination.**\n\nReturns calls created via `POST /v3/workflows/{workflowName}/call`.\n\n## Filtering\n\n- `callIDs`: Specific call identifiers\n- `referenceIDs`: Your custom reference IDs\n- `workflowIDs` / `workflowNames`: Filter by workflow\n\n## Pagination\n\nUse `startingAfter` and `endingBefore` cursors with a default limit of 50."
        },
        {
          "info": {
            "name": "Get a Call",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bem.ai/v3/calls/:callID",
            "params": [
              {
                "name": "callID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the call."
              }
            ]
          },
          "docs": "**Retrieve a workflow call by ID.**\n\nReturns the full call object including status, workflow details, terminal outputs,\nand terminal errors. `outputs` and `errors` are both populated once the call finishes —\nthey are not mutually exclusive (a partially-completed workflow may have both).\n\n## Status\n\n| Status | Description |\n|--------|-------------|\n| `pending` | Queued, not yet started |\n| `running` | Currently executing |\n| `completed` | All enclosed function calls finished without errors |\n| `f"
        },
        {
          "info": {
            "name": "Get Call Trace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bem.ai/v3/calls/:callID/trace",
            "params": [
              {
                "name": "callID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the call."
              }
            ]
          },
          "docs": "**Retrieve the full execution trace of a workflow call.**\n\nReturns all function calls and events emitted during the call as flat arrays.\nThe DAG can be reconstructed using `FunctionCallResponseBase.sourceEventID`\n(the event that spawned each function call) and each event's `functionCallID`\n(the function call that emitted it).\n\n## Graph structure\n\n- A function call with no `sourceEventID` is the root.\n- An event's `functionCallID` points to the function call that emitted it.\n- A function call's `"
        }
      ]
    }
  ],
  "bundled": true
}