[Experimental]

List builds

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Lists the builds of the caller's workspace, newest first, filtered by project, branch, or state. cursor is opaque: pass back the nextCursor the previous page returned.

get/v1/builds

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/builds
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Query parameters

cursorstring nullable

Cursor for pagination

limitnumber

Limit for pagination

projectIdstring
branchIdstring
state'pending' | 'running' | 'succeeded' | 'failed' | 'cancelled'

Response

Builds, newest first.

Changes

No recorded changes to this operation across all 1 revision of this API.