Skip to main content
GET /api/v1/projects/{project_id}/flags Returns all flags belonging to the specified project. Authentication is required.

Path parameters

project_id
string
required
UUID of the project.

Response

flags
Flag[]
required
Array of flags in the project.

Errors

StatusWhen
401Missing or invalid Bearer token

Example

curl http://localhost:8080/api/v1/projects/550e8400-e29b-41d4-a716-446655440000/flags \
  -H "Authorization: Bearer <token>"
{
  "flags": [
    {
      "id": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "environment_id": "e1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "key": "new-dashboard",
      "name": "New Dashboard",
      "description": "Enables the redesigned dashboard UI",
      "enabled": true,
      "default_value": false,
      "salt": "a8f3d2c1",
      "created_at": "2026-01-15T09:00:00Z",
      "updated_at": "2026-03-10T14:30:00Z"
    }
  ]
}

Build docs developers (and LLMs) love