pots

List the workspace's POTs

Changed on

List the POTs of the caller's workspace: the one validated by the API key (X-Workspace-ID). The list is never wider than that workspace.

The workspace_id query parameter is deprecated and planned for removal in 0.6.0: it is accepted only when it equals the caller's workspace (older clients send both) and answers 403 WORKSPACE_ACCESS_DENIED otherwise. Omit it.

get/pots

Request

Query parameters

workspace_idstring uuid nullable

Deprecated. Must equal the caller's workspace when present.

Response

POTs retrieved successfully

totalinteger required

Example response

{
  "pots": [
    {
      "created_at": "2026-01-06T10:30:45.123456Z",
      "description": "A POT about SciPot itself",
      "id": "018d1e8c-7b29-7a3e-8c1d-5e9a1c2d3e4f",
      "name": "SciPot Meta-POT",
      "slug": "scipot-pot",
      "updated_at": "2026-01-06T10:30:45.123456Z",
      "workspace_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  ],
  "total": 1
}

Changes