v2

latestOpenAPI 3.1.02026-08-0382170235.8 KB
pots

List all POTs

List all POTs, optionally filtered by workspace.

Args: workspace_id: Optional workspace UUID filter pot_service: Injected PotService instance

Returns: List of POTs and total count

get/pots

Query parameters

workspace_idstring uuid nullable

Filter POTs by workspace ID

Filter POTs by workspace ID

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
}