Probably
Docs

List formats

list_formats, in Reads: Any connection or key may call these.

POST
/api/v1/tools/list_formats

The formats a new video of a Space can be made in: what kind of video it is and how it's directed, filmed and judged, under its category: the Space's own (yours) come first, then ugc, then produced. alsoCalled lists what else people call it. A video made without one is in defaultFormat, the Space's default.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (prb_…) from Settings → Connections.

Request Body

application/json
  1. body
spaceId*string
Formatuuid

Response Body

The tool's answer.

application/json
  1. response
formats*array<>
defaultFormat*string
curl -X POST 'https://probably.co/api/v1/tools/list_formats' \  -H "Authorization: Bearer $PROBABLY_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "spaceId": "a330a273-e64a-4183-aedb-f3152797a9a5"}'
{  "formats": [    {      "id": "string",      "name": "string",      "purpose": "string",      "alsoCalled": [        "string"      ],      "category": "yours"    }  ],  "defaultFormat": "string"}