Skip to main content
GET
/
v1
/
projects
List projects
curl --request GET \
  --url https://roughy-api-staging.fly.dev/v1/projects \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "created_at": "2026-05-02T08:54:52.423000Z",
      "id": "019de7f5-7e21-7402-92a8-1c0e1fa84411",
      "name": "Episode 42",
      "state": "active",
      "updated_at": "2026-05-02T08:54:52.423000Z"
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.

Query Parameters

limit
integer
default:20

Maximum number of items to return (1-100). Defaults to 20.

Required range: 1 <= x <= 100
offset
integer
default:0

Number of items to skip from the start of the listing. Defaults to 0.

Required range: x >= 0
state
enum<string> | null

Filter by lifecycle state. Defaults to active.

Available options:
active,
archived

Response

200 - application/json

One page of projects, newest first.

Paginated list of projects, newest first.

items
ProjectSummary · object[]
required

Page of projects, newest first.

total
integer
required

Total number of projects matching the filter across all pages — not the size of items.

limit
integer
required

The limit echoed back from the request.

offset
integer
required

The offset echoed back from the request.