Query
query WorkflowRunSummariesForResource($kind: String!, $resourceId: ID!) {
workflowRunSummariesForResource(kind: $kind, resourceId: $resourceId) {
id
displayNumber
status
workflow {
id
name
}
}
}Variables
{
"kind": "string",
"resourceId": "id"
}Response
{
"data": {
"workflowRunSummariesForResource": [
{
"id": "id",
"displayNumber": 1,
"status": "QUEUED",
"workflow": {
"id": "id",
"name": "string"
}
}
]
}
}Queries
workflowRunSummariesForResource
Returns bounded summaries of the newest runs linked to a resource.
QUERY
workflowRunSummariesForResource(kind: String!, resourceId: ID!, first: Int): [WorkflowResourceRunSummary!]!Arguments
kind
String!
required
The kind value for this request.
resourceId
ID!
required
Identifier of the target resource.
first
Int
default:6
Maximum records to return; the resolver enforces its page limit.
Returns
id
ID!
Stable identifier of this resource.
displayNumber
Int!
Human-readable sequential run number.
status
Current execution or health status.
workflow
Compact identity of the workflow that owns this run.
Query
query WorkflowRunSummariesForResource($kind: String!, $resourceId: ID!) {
workflowRunSummariesForResource(kind: $kind, resourceId: $resourceId) {
id
displayNumber
status
workflow {
id
name
}
}
}Variables
{
"kind": "string",
"resourceId": "id"
}Response
{
"data": {
"workflowRunSummariesForResource": [
{
"id": "id",
"displayNumber": 1,
"status": "QUEUED",
"workflow": {
"id": "id",
"name": "string"
}
}
]
}
}