deployments
List deployments across all projects and environments you have access to.
Returns a cursor-paginated list, sorted by newest first by default. Use filter
to narrow results by instance, status, or action type.
query {
deployments(organizationId: "my-org", filter: { status: { eq: RUNNING } }) {
items {
id
status
action
version
elapsedTime
deployedBy
instance { id }
}
cursor { next }
}
}
deployments(
organizationId: ID!
filter: DeploymentsFilter
sort: DeploymentsSort
cursor: Cursor
): DeploymentsPage
Arguments
deployments.organizationId ● ID! non-null scalar {#organization-id}
Your organization's unique identifier.
deployments.filter ● DeploymentsFilter input {#filter}
Optional filters to narrow the results.
deployments.sort ● DeploymentsSort input {#sort}
Sort order for results. Defaults to newest first.
deployments.cursor ● Cursor input {#cursor}
Cursor from a previous page to fetch the next set of results.