Matthew Millendorf
01/21/2022, 8:12 PMKevin Kho
query{
task_run {
id
logs {
id
message
timestamp
}
}
}
and then specify your task_run id? or am i missing something?Matthew Millendorf
01/24/2022, 12:33 AM{
task_run(where: {flow_run_id: {_eq: '<flow_run_id>'}}) {
id
logs {
id
}
}
}
{
log(where :{task_run_id: {_eq:"<task_run_id>"}}) {
id
}
}
{
log(where :{flow_run_id: {_eq:"<flow_run_id>"}}) {
id
}
}
The query to populate a FlowRunView logs works, and am trying to modify it to work with the TaskRun IDKevin Kho
task_run_by_pk
endpoint will be better. Try this
query{
task_run_by_pk(id: "5bcadf0c-e5c1-42c8-b468-48c7c927712e") {
id
flow_run_id
start_time
state
logs(
order_by: { timestamp: desc }
) {
id
level
message
name
timestamp
}
}
}