---
title: "Set up a collection"
method: POST
path: "/collections/setup"
tags: ["Collections"]
---

# Set up a collection

`POST /collections/setup`

## Request

- Base URL: `https://studio.fintechstudios.com/api/v1`
- URL: `https://studio.fintechstudios.com/api/v1/collections/setup`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Create a collection of any type from a few plain fields; the full source/filter configuration is built server-side, exactly as the in-app agent builds it. Requires the `write` scope. Regulatory collections require regulatory access on the account. For stock portfolios, tickers are validated and unknown ones come back in `invalid_tickers`.

## Request body

- object
  - `type` 'news' | 'stock_portfolio' | 'regulatory' | 'prediction_markets'
  - `name` string, required
  - `query` string, required
  - `description` string
  - `keywords` string[]
  - `entities` object[]
    - `type` string
    - `name` string
  - `tickers` string[]: stock_portfolio
  - `jurisdictions` string[]: regulatory
  - `agencies` string[]: regulatory
  - `focus_areas` string[]: regulatory
  - `exchanges` string[]: prediction_markets
  - `topics` string[]: prediction_markets

## Response `201`

{ collection, invalid_tickers }

---

[API](https://skmtc.dev/fintechstudios/apis/fts-studio-api.md) · [All operations](https://skmtc.dev/fintechstudios/apis/fts-studio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fintechstudios/apis/fts-studio-api/revisions/4886597d1d96?raw)
