Skip to main content
GET
/
projects
cURL
curl --request GET \
  --url http://localhost:3000/projects/ \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "data": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "flags_count": 0,
        "environments": [],
        "projectKey": "<string>",
        "description": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      }
    ],
    "meta": {
      "total": 123,
      "page": 123,
      "pageCount": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
Required range: x >= 1
limit
integer
Required range: 1 <= x <= 100
offset
string
q
string

Search query to filter projects by name or projectKey

template
string

Filter flags by metadata.flag_template value

sortDirection
default:asc

Sort results in ascending order

Available options:
asc
sortBy
string

Field to sort results by

Response

Default Response

statusCode
number
message
string
default:OK
data
object