# This service’s repo builds, newest first (history survives a disconnect)

`GET https://api.instacloud.com/projects/{projectId}/services/{serviceId}/source/builds`

**Token scope:** `account` · `org` · `project` — read-only tokens allowed.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | `integer` | no |  |
| `projectId` | path | `string` | yes |  |
| `serviceId` | path | `string` | yes |  |

## Response 200

Default Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `builds` | `object[]` | yes |  |
| `builds.id` | `string` | no |  |
| `builds.source_id` | `string \| null` | no | the service source that queued it; null once that source was disconnected |
| `builds.project_id` | `string` | no |  |
| `builds.service_id` | `string \| null` | no |  |
| `builds.branch_id` | `string \| null` | no |  |
| `builds.commit_sha` | `string` | no |  |
| `builds.status` | `"queued" \| "fetching" \| "building" \| "deploying" \| "live" \| "failed"` | no |  |
| `builds.image_ref` | `string \| null` | no |  |
| `builds.error` | `string \| null` | no |  |
| `builds.created_at` | `string` | no |  |
| `builds.updated_at` | `string` | no |  |

## Response 404

Default Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | `string` | yes |  |
