DocsAPI referenceDeliveries

Deliveries

Scheduled file delivery to email, webhook and SFTP.

Credentials

Credentials stay in this browser tab (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

POST
/deliveries

Creates 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.

x-api-key
Authorization: id token

Request body

FieldTypeDescription
team_idrequiredstring
Owning team. Must be a team the caller belongs to.
namerequiredstring
descriptionstring
stage"live" | "draft"
live starts scheduling immediately. Defaults to "live".
timezonestring
Defaults to "UTC".
index_idstring
Single target index. Use index_ids for several.
index_idsarray of string
Target indices. Both idx_... and legacy uuid ids are accepted.
operationsrequiredarray 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

Request body
Loading...
https://api.indexone.io/deliveries

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

FieldTypeDescription
400Error
name required, operations required, or no team resolved for this caller.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller is not a member of team_id.
429object
API key usage-plan rate limit exceeded.

Retrieve files a delivery produced

Planned
GET
/deliveries/{delivery_id}/artifacts

PLANNED — 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.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
delivery_idrequiredstring
Delivery id.

Query parameters

FieldTypeDescription
execution_idstring
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

FieldTypeDescription
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403object
Caller's teams do not own this delivery.
404object
No such delivery or execution.
429object
API key usage-plan rate limit exceeded.

List a team's deliveries

GET
/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.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
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.

https://api.indexone.io/deliveries/33a36e74-b36a-4a50-9a99-edeff5144a43

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

FieldTypeDescription
400Error
team id required.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller is not a member of that team.
429object
API key usage-plan rate limit exceeded.

Update a delivery

PATCH
/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.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
Delivery id.

Request body

FieldTypeDescription
namestring
stage"live" | "draft"
Set to draft to pause the delivery.
index_idsarray of string
timezonestring
operationsarray 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.

Request body
Loading...
https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92

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

FieldTypeDescription
400Error
id required, or no editable fields.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller's teams do not own this delivery.
429object
API key usage-plan rate limit exceeded.

Delete a delivery

DELETE
/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.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
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.

https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92

Example response

{
"deleted": "dlv_c8KtQ1rPxZ92",
"trigger_notification": {
"sent": true,
"status_code": 200,
"response": {
"status": "accepted",
"trigger_id": "trg_7Bz4RmKt29Qd"
}
}
}

Errors

FieldTypeDescription
400Error
id required.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller's teams do not own this delivery.
429object
API key usage-plan rate limit exceeded.