Deliveries
Scheduled file delivery to email, webhook and SFTP.
Credentials
sessionStorage) and are sent only to https://api.indexone.io. They are cleared when the tab closes.Scheduled distribution of index data over email, webhook, SFTP, S3 or a partner integration. A delivery is an ordinary workflow — a plain operations list — stored in {stage}-deliveries and run by the same coordinator as workflows.
Create a delivery
/deliveriesCreates a delivery rule: a schedule plus a payload plus a destination. Deliveries are workflow-engine rows in their own table and are picked up by the same execution coordinator as workflows, so a delivery behaves exactly like a workflow at runtime.
A delivery is an ordinary workflow: operations is a plain list of operation nodes, exactly as a workflow stores them, and nothing is expanded at run time. Two shapes cover everything:
- Standard — trigger -> index_panel -> send_<channel>, where the channel is send_email, send_webhook, send_sftp or send_s3. The trigger is index_event_trigger (fires when a target index publishes value_eod, universe, weighting or holdings), trigger (cron) or manual_trigger. The console's one-click form writes and reads back exactly these nodes, so the workflow builder shows what actually runs.
- Partner — trigger -> send_<partner> (send_alphabot, send_alphathena, send_stratifi, send_refinitiv). A partner operation is the whole flow — it reads the data, formats it the one way that partner accepts and sends it over the one transport that partner speaks — so there is no index_panel node; you supply only the per-index account binding, such as ric_map for LSEG.
operations is required. Every operation and its parameters are listed in the live catalog at GET /schema.
The new delivery is linked into the team's deliveries map and the coordinator is notified immediately, so a live delivery with an index_event trigger can fire the same day. Note the success status is 200, not 201.
Request body
| Field | Type | Description |
|---|---|---|
team_idrequired | string | Owning team. Must be a team the caller belongs to. |
namerequired | string | |
description | string | |
stage | "live" | "draft" | live starts scheduling immediately. Defaults to "live". |
timezone | string | Defaults to "UTC". |
index_id | string | Single target index. Use index_ids for several. |
index_ids | array of string | Target indices. Both idx_... and legacy uuid ids are accepted. |
operationsrequired | array of object | The delivery's operations, in execution order: trigger -> index_panel -> send_<channel> for a standard delivery, trigger -> send_<partner> for a partner one. Required. |
curl -X POST "https://api.indexone.io/deliveries" \-H "x-api-key: YOUR_API_KEY" \-H "Authorization: YOUR_ID_TOKEN" \-H "Content-Type: application/json" \-d '{"team_id": "33a36e74-b36a-4a50-9a99-edeff5144a43","name": "Daily values to ops","stage": "live","timezone": "America/New_York","index_ids": ["idx_bh7fgXWJMaa3"],"operations": [{"id": "delivery_trigger","operation": "index_event_trigger","use_cache": false,"parameters": {"index_id": "idx_bh7fgXWJMaa3","event_type": "value_eod"}},{"id": "delivery_payload","operation": "index_panel","use_cache": false,"input": [{"$ref": "delivery_trigger"}],"parameters": {"payload_type": "values","history": "latest","index_ids": {"$ref": "delivery_trigger.output.fired_index_ids"},"filename_template": "{index_id}_{date}_values.csv"}},{"id": "delivery_send","operation": "send_email","use_cache": false,"input": [{"$ref": "delivery_payload"}],"parameters": {"recipients": ["ops@example.com"],"subject": "Daily index values","body": "Attached are today's closing values."}}]}'
Try it
Example response
{"id": "dlv_c8KtQ1rPxZ92","type": "delivery","name": "Daily values to ops","stage": "live","team_id": "33a36e74-b36a-4a50-9a99-edeff5144a43","user_id": "7dcd221e-4cf4-4cb5-845e-32efc1803ee6","timezone": "America/New_York","index_ids": ["idx_bh7fgXWJMaa3"],"created_at": "2026-07-21 08:35:02","updated_at": "2026-07-21 08:35:02","trigger_notification": {"sent": true,"status_code": 200,"response": {"status": "accepted","trigger_id": "trg_5Xn2QpLw81Zk"}}}
Errors
| Field | Type | Description |
|---|---|---|
400 | Error | name required, operations required, or no team resolved for this caller. |
401 | Error | The API key is missing or invalid ( invalid_api_key) or the id token is missing, invalid or expired (unauthenticated). |
403 | Error | Caller is not a member of team_id. |
429 | object | API key usage-plan rate limit exceeded. |
Retrieve files a delivery produced
/deliveries/{delivery_id}/artifactsPLANNED — this route does not exist. Today a delivery's output only leaves the system through its configured channel: email attachment, webhook body, or SFTP upload. There is no way to fetch what was sent afterwards, which makes a failed send unrecoverable without re-running the delivery, and makes pull-based integrations impossible. The intent is to list the artifacts each execution generated — filename, target index, size, generation time — with a short-lived presigned URL to download each one.
Path parameters
| Field | Type | Description |
|---|---|---|
delivery_idrequired | string | Delivery id. |
Query parameters
| Field | Type | Description |
|---|---|---|
execution_id | string | Restrict to one execution. Defaults to the most recent. |
curl -X GET "https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92/artifacts" \-H "x-api-key: YOUR_API_KEY" \-H "Authorization: YOUR_ID_TOKEN"
Example response
{"artifacts": [{"filename": "idx_bh7fgXWJMaa3_2026-07-18_values.csv","index_id": "idx_bh7fgXWJMaa3","execution_id": "exn_dQ4vTnRy73Lc","created_at": "2026-07-18 20:06:35","size_bytes": 2184,"url": "https://prod-core-i1-export.s3.eu-west-1.amazonaws.com/dlv_c8KtQ1rPxZ92/idx_bh7fgXWJMaa3_2026-07-18_values.csv?X-Amz-Expires=900"}]}
Errors
| Field | Type | Description |
|---|---|---|
401 | Error | The API key is missing or invalid ( invalid_api_key) or the id token is missing, invalid or expired (unauthenticated). |
403 | object | Caller's teams do not own this delivery. |
404 | object | No such delivery or execution. |
429 | object | API key usage-plan rate limit exceeded. |
List a team's deliveries
/deliveries/{id}Returns the full delivery records for every delivery the team owns.
{id} is the TEAM id, not a delivery id — the same convention as GET /workflows/{id}, and the reason PATCH/DELETE on this same path mean something different (those take the delivery id). There is no route that fetches a single delivery by its own id.
Returns [] when the team has no deliveries.
Path parameters
| Field | Type | Description |
|---|---|---|
idrequired | string | Team id — not a delivery id. |
curl -X GET "https://api.indexone.io/deliveries/33a36e74-b36a-4a50-9a99-edeff5144a43" \-H "x-api-key: YOUR_API_KEY" \-H "Authorization: YOUR_ID_TOKEN"
Try it
**Team** id — not a delivery id.
Example response
[{"id": "dlv_c8KtQ1rPxZ92","type": "delivery","name": "Daily values to ops","stage": "live","team_id": "33a36e74-b36a-4a50-9a99-edeff5144a43","index_ids": ["idx_bh7fgXWJMaa3"],"timezone": "America/New_York","created_at": "2026-06-12 15:41:55","updated_at": "2026-07-14 10:02:33","operations": [{"id": "delivery_trigger","operation": "index_event_trigger","use_cache": false,"parameters": {"index_id": "idx_bh7fgXWJMaa3","event_type": "value_eod"}},{"id": "delivery_payload","operation": "index_panel","use_cache": false,"input": [{"$ref": "delivery_trigger"}],"parameters": {"payload_type": "values","history": "latest","index_ids": {"$ref": "delivery_trigger.output.fired_index_ids"},"filename_template": "{index_id}_{date}_values.csv"}},{"id": "delivery_send","operation": "send_email","use_cache": false,"input": [{"$ref": "delivery_payload"}],"parameters": {"recipients": ["ops@example.com"],"subject": "Daily index values","body": "Attached are today's closing values."}}]},{"id": "dlv_Q4mWs7Ld20Bk","type": "delivery","name": "Closing values to LSEG","stage": "live","team_id": "33a36e74-b36a-4a50-9a99-edeff5144a43","index_ids": ["idx_bh7fgXWJMaa3"],"timezone": "UTC","created_at": "2026-07-02 09:12:40","updated_at": "2026-07-02 09:12:40","operations": [{"id": "delivery_trigger","operation": "index_event_trigger","use_cache": false,"parameters": {"index_id": "idx_bh7fgXWJMaa3","event_type": "value_eod"}},{"id": "delivery_send","operation": "send_refinitiv","use_cache": false,"input": [{"$ref": "delivery_trigger"}],"parameters": {"index_ids": {"$ref": "delivery_trigger.output.fired_index_ids"},"ric_map": {"idx_bh7fgXWJMaa3": ".SPLTPR"}}}]}]
Errors
| Field | Type | Description |
|---|---|---|
400 | Error | team id required. |
401 | Error | The API key is missing or invalid ( invalid_api_key) or the id token is missing, invalid or expired (unauthenticated). |
403 | Error | Caller is not a member of that team. |
429 | object | API key usage-plan rate limit exceeded. |
Update a delivery
/deliveries/{id}Partially updates a delivery. Here {id} is the DELIVERY id, unlike the GET on this same path, which takes the team id.
id, type, team_id and created_at are blacklisted and dropped. Sending a field with the value null removes that attribute from the row rather than setting it to null — this is how you clear an optional config block.
Every patch notifies the coordinator to reload the delivery, because any field can change execution behaviour. Pausing a delivery is done by patching stage.
Path parameters
| Field | Type | Description |
|---|---|---|
idrequired | string | Delivery id. |
Request body
| Field | Type | Description |
|---|---|---|
name | string | |
stage | "live" | "draft" | Set to draft to pause the delivery. |
index_ids | array of string | |
timezone | string | |
operations | array of object | Replaces the delivery's operations. Send the whole list — a partial list is stored as-is and is what will run. |
curl -X PATCH "https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92" \-H "x-api-key: YOUR_API_KEY" \-H "Authorization: YOUR_ID_TOKEN" \-H "Content-Type: application/json" \-d '{"stage": "draft"}'
Try it
**Delivery** id.
Example response
{"id": "dlv_c8KtQ1rPxZ92","name": "Daily values to ops","stage": "draft","team_id": "33a36e74-b36a-4a50-9a99-edeff5144a43","updated_at": "2026-07-21 08:40:19","trigger_notification": {"sent": true,"status_code": 200,"response": {"status": "accepted","trigger_id": "trg_7Bz4RmKt29Qd"}}}
Errors
| Field | Type | Description |
|---|---|---|
400 | Error | id required, or no editable fields. |
401 | Error | The API key is missing or invalid ( invalid_api_key) or the id token is missing, invalid or expired (unauthenticated). |
403 | Error | Caller's teams do not own this delivery. |
429 | object | API key usage-plan rate limit exceeded. |
Delete a delivery
/deliveries/{id}Deletes the delivery row and unlinks it from the team, after telling the coordinator to stop scheduling it. Here {id} is the DELIVERY id.
Unlike deleting a workflow, this purges no data — a delivery owns no value or holdings history, only its own definition and its execution rows. Files already sent are unaffected.
Path parameters
| Field | Type | Description |
|---|---|---|
idrequired | string | Delivery id. |
curl -X DELETE "https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92" \-H "x-api-key: YOUR_API_KEY" \-H "Authorization: YOUR_ID_TOKEN"
Try it
**Delivery** id.
Example response
{"deleted": "dlv_c8KtQ1rPxZ92","trigger_notification": {"sent": true,"status_code": 200,"response": {"status": "accepted","trigger_id": "trg_7Bz4RmKt29Qd"}}}
Errors
| Field | Type | Description |
|---|---|---|
400 | Error | id required. |
401 | Error | The API key is missing or invalid ( invalid_api_key) or the id token is missing, invalid or expired (unauthenticated). |
403 | Error | Caller's teams do not own this delivery. |
429 | object | API key usage-plan rate limit exceeded. |