Skip to main content
GET
/
v3beta1
/
organizations
/
{org_id}
/
snapshot-setup
/
builds
List builds for the org
curl --request GET \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/snapshot-setup/builds \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "build_id": "<string>",
      "completed_at": 123,
      "created_at": 123,
      "pinned": true,
      "started_at": 123,
      "status": "pending",
      "trigger": "manual",
      "triggered_by_user_id": "<string>",
      "updated_at": 123
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

Permissions

Requires a service user with the ManageRepoBlueprints permission at the organization level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

qs
CursorPaginationParams · object
required
status
enum<string> | null

Filter by spec status.

Available options:
pending,
running,
succeeded,
failed,
cancelled
active
boolean | null

If true, returns 0 or 1 items: the build whose image is currently used by new sessions.

Response

Successful Response

items
Build · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).