Query
query Builds {
builds {
items {
id
requestId
jobId
status
action
destinationType
}
nextCursor
}
}Response
{
"data": {
"builds": {
"items": [
{
"id": "id",
"requestId": "id",
"jobId": "id",
"status": "QUEUED",
"action": "BUILD",
"destinationType": "SIMULATOR"
}
],
"nextCursor": "id"
}
}
}Queries
builds
Returns a build page.
QUERY
builds(first: Int, after: ID, status: BuildStatus, codebaseId: ID, worktreeId: ID, appId: ID, repositoryId: ID, configurationId: ID): BuildPage!Arguments
first
Int
default:50
Maximum number of records to return. Defaults to 50.
after
ID
Cursor or identifier after which to return records. Omit it to leave this dimension unfiltered.
status
The status used to filter or perform the operation. Omit it to leave this dimension unfiltered.
codebaseId
ID
Identifier of the codebase. Omit it to leave this dimension unfiltered.
worktreeId
ID
Identifier of the worktree. Omit it to leave this dimension unfiltered.
appId
ID
Identifier of an app whose assigned repositories should scope the results.
repositoryId
ID
Repository whose builds to return, across all checkouts.
configurationId
ID
Saved configuration whose builds to return.
Returns
items
[Build!]!
Items associated with this build page.
nextCursor
ID
The next cursor associated with this build page. May be null when unavailable or not applicable.
Query
query Builds {
builds {
items {
id
requestId
jobId
status
action
destinationType
}
nextCursor
}
}Response
{
"data": {
"builds": {
"items": [
{
"id": "id",
"requestId": "id",
"jobId": "id",
"status": "QUEUED",
"action": "BUILD",
"destinationType": "SIMULATOR"
}
],
"nextCursor": "id"
}
}
}