DocsAPI referenceTeams

Teams

Team membership and settings.

Credentials

Credentials stay in this browser tab (sessionStorage) and are sent only to https://api.indexone.io. They are cleared when the tab closes.

Teams own indices, workflows, deliveries, datasets, API keys and the Stripe subscription. Every resource in the API is scoped to a team.

Get a team

GET
/teams/{id}

Returns the team record: members and their admin flags, the id maps for the team's workflows, deliveries and datasets, and its plan: billing_view (the effective plan, features and limits) and billing_usage (seats, live indices, indices sent to LSEG, and this month's backtests and analyst messages).

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
Team id.
curl -X GET "https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN"

Try it

Team id.

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

Example response

{
"id": "33a36e74-b36a-4a50-9a99-edeff5144a43",
"name": "Example Capital",
"created_at": "2025-11-02 09:14:33",
"members": {
"7dcd221e-4cf4-4cb5-845e-32efc1803ee6": {
"admin": true,
"email": "quant@example.com"
}
},
"subscription": "professional",
"live_index_count": 3,
"workflows": {
"idx_bh7fgXWJMaa3": {
"id": "idx_bh7fgXWJMaa3",
"created_at": "2026-05-04 11:20:02",
"stage": "live"
}
},
"deliveries": {
"dlv_c8KtQ1rPxZ92": {
"id": "dlv_c8KtQ1rPxZ92",
"created_at": "2026-06-12 15:41:55",
"stage": "live"
}
}
}

Errors

FieldTypeDescription
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
You are not a member of this team.
404Error
No such team.
429object
API key usage-plan rate limit exceeded.

Update a team

PATCH
/teams/{id}

A multi-purpose mutation endpoint: each body key selects an action, and several can be combined in one call (applied in the order below). The response is the team as the last applied action left it. Actions: | Body key | Effect | |---|---| | make_admin | Grant team-admin to a user id (or list of ids). | | remove_admin | Revoke team-admin. | | remove_member | Remove a user from the team and the team from the user. | | delete_backtest | Delete stored backtests (a bkt_ id or a list) and unlink them from the team. | | details | Set the team's own fields: name (1 to 80 characters). | | defaults | The access every index of the team inherits (index), and whether backtest links open for anyone (backtest.visibility). Opening indices to others needs a plan with sharing. | | factsheet_settings | Team-wide factsheet branding and modules. | | add_entity / remove_entity | Add or remove a team this one shares with, by team id. | | integration / remove_integration | Switch a partner integration on, store its key, or remove it. | The caller must be an admin of the team (superadmins may act as any team). Plans are not changed here: update_subscription answers 410; use the billing page.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
Team id.

Request body

FieldTypeDescription
make_adminstring | array of string
User id, or list of user ids, to promote.
remove_adminstring | array of string
User id, or list of user ids, to demote.
remove_memberstring | array of string
User id, or list of user ids, to remove from the team.
delete_backteststring | array of string
Backtest id, or list of backtest ids, to delete.
detailsobject
details.namestring
defaultsobject
factsheet_settingsobject
add_entitystring
A team id.
remove_entitystring
A team id.
integrationobject
remove_integrationstring
curl -X PATCH "https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"make_admin": "7dcd221e-4cf4-4cb5-845e-32efc1803ee6"
}'

Try it

Team id.

Request body
Loading...
https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43

Example response

{
"id": "33a36e74-b36a-4a50-9a99-edeff5144a43",
"name": "Example Capital",
"subscription": "professional"
}

Errors

FieldTypeDescription
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
402Error
defaults opens indices to others on a plan without sharing.
403Error
You are not an admin of this team.
404Error
No such team, or add_entity names no other team.
410Error
update_subscription: plans are managed on the billing page.
422Error
A details, defaults or integration value is invalid.
429object
API key usage-plan rate limit exceeded.

List a team's legacy indices

Legacy
GET
/teams/{id}/indices

Batch-reads the full index records for every id in the team's indices map. This covers the legacy plane only — workflow-plane indices (idx_...) are listed with GET /workflows. Use attributes to avoid transferring the entire index definition when you only need a few fields for a list view.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
Team id.

Query parameters

FieldTypeDescription
attributesstring
Comma-separated field allow-list. Omit for the full record.
watchlist_includeboolean
Also return watchlisted indices the team does not own; those rows carry watchlist: true.
benchmark_includeboolean
Also return each index's benchmark security records, flagged benchmark: true.
curl -X GET "https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43/indices" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN"

Try it

Team id.

Comma-separated field allow-list. Omit for the full record.

Also return watchlisted indices the team does not own; those rows carry `watchlist: true`.

Also return each index's benchmark security records, flagged `benchmark: true`.

https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43/indices?attributes=id%2Cname%2Ccurrency%2Cstart_time&watchlist_include=false&benchmark_include=false

Example response

[
{
"id": "348fb318-b1a4-42f8-9c8b-b618edf2832f",
"version": 0,
"name": "Example US Large Cap",
"currency": "USD",
"start_time": "2019-01-02 21:00:00"
}
]

Errors

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

Invite a user to a team

POST
/teams/{id}/invite

Invites someone by email. If an account already exists for that address the user is added to the team immediately; otherwise a pending invite is stored and an invitation email is sent, and the invite is redeemed automatically when they complete POST /signup.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
Team id.

Request body

FieldTypeDescription
emailrequiredstring
Invitee's email. Lower-cased server-side.
curl -X POST "https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43/invite" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "analyst@example.com"
}'

Try it

Team id.

Request body
Loading...
https://api.indexone.io/teams/33a36e74-b36a-4a50-9a99-edeff5144a43/invite

Example response

{
"id": "33a36e74-b36a-4a50-9a99-edeff5144a43",
"name": "Example Capital",
"invites": {
"analyst@example.com": {
"team_id": "33a36e74-b36a-4a50-9a99-edeff5144a43",
"created_at": "2026-07-21 08:10:44"
}
}
}

Errors

FieldTypeDescription
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
402Error
Your plan has no free seat.
403Error
You are not a member of this team.
429object
API key usage-plan rate limit exceeded.