# List the organization's projects

GET

/organizations/{organizationId}/projects

```js
const url = 'https://zkao.io/api/v1/organizations/example/projects?page=1&limit=50';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url 'https://zkao.io/api/v1/organizations/example/projects?page=1&limit=50' \
  --header 'Authorization: Bearer <token>'
```

* Production`zkao.io/api/v1/organizations/{organizationId}/projects`
* Staging`staging.zkao.io/api/v1/organizations/{organizationId}/projects`

Requires an organization token with scope `read`.

## Authorizations

* **[bearerAuth](https://docs.staging.zkao.io/api/#bearerauth)**

## Parameters

### Path Parameters

* **organizationId**

  required

  string

  The organization’s id, as `GET /token` reports it.

### Query Parameters

* **page**

  integer

  default: 1 >= 1

* **limit**

  integer

  default: 50 >= 1 <= 100

## Responses

### 200

OK

application/json

object

* **items**

  required

  Array\<object>

  object

  * **id**

    required

    string

  * **slug**

    required

    URL segment of the project inside its organization.

    string

  * **name**

    required

    string

  * **description**

    required

    string | null

  * **createdAt**

    required

    string format: date-time

  * **repositoryCount**

    required

    integer

* **page**

  required

  integer

* **limit**

  required

  integer

* **total**

  required

  integer

##### Examplegenerated

```json
{
  "items": [
    {
      "id": "example",
      "slug": "example",
      "name": "example",
      "description": "example",
      "createdAt": "2026-04-15T12:00:00Z",
      "repositoryCount": 1
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1
}
```

### 401

Missing, malformed, expired, or revoked token

application/json

object

* **error**

  required

  object

  * **code**

    required

    string

    Allowed values: unauthorized forbidden not_found bad_request conflict insufficient_credits budget_below_minimum repository_initializing diff_base_required diff_base_not_allowed diff_base_invalid diff_empty rate_limited internal

  * **message**

    required

    string

  * **minimumCredits**

    Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.

    integer

##### Example

```json
{
  "error": {
    "code": "unauthorized"
  }
}
```

### 403

The token is a project token, or lacks the required scope

application/json

object

* **error**

  required

  object

  * **code**

    required

    string

    Allowed values: unauthorized forbidden not_found bad_request conflict insufficient_credits budget_below_minimum repository_initializing diff_base_required diff_base_not_allowed diff_base_invalid diff_empty rate_limited internal

  * **message**

    required

    string

  * **minimumCredits**

    Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.

    integer

##### Example

```json
{
  "error": {
    "code": "unauthorized"
  }
}
```

### 404

Resource not in this token’s project or repo allowlist

application/json

object

* **error**

  required

  object

  * **code**

    required

    string

    Allowed values: unauthorized forbidden not_found bad_request conflict insufficient_credits budget_below_minimum repository_initializing diff_base_required diff_base_not_allowed diff_base_invalid diff_empty rate_limited internal

  * **message**

    required

    string

  * **minimumCredits**

    Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.

    integer

##### Example

```json
{
  "error": {
    "code": "unauthorized"
  }
}
```

### 429

Rate limited. Either the token’s spend limit for the current period is reached (on launch), or the token is sending too many requests. Wait the number of seconds in the `Retry-After` header before retrying.

application/json

object

* **error**

  required

  object

  * **code**

    required

    string

    Allowed values: unauthorized forbidden not_found bad_request conflict insufficient_credits budget_below_minimum repository_initializing diff_base_required diff_base_not_allowed diff_base_invalid diff_empty rate_limited internal

  * **message**

    required

    string

  * **minimumCredits**

    Budget_below_minimum only: the least the launch could have reserved, in credits. A diff scan’s first scan of a repository also builds its overview, so its minimum is higher.

    integer

##### Example

```json
{
  "error": {
    "code": "unauthorized"
  }
}
```

#### Headers

* **Retry-After**

  integer

  Seconds to wait before retrying.
