API Query Shots for Pipeline Step Status

Hello!

I’m trying to query shots based on pipeline step status:

image

but this query is returning an error.

image

I’ve tried step_175$sg_status_list as listed in the SG UI, and I’ve also tried filtering it as a task query (entity.Shot.step_175.Task.sg_status_list) which is ultimately the goal.

This filter is found in the API tips and tricks thread:

but for some reason isn’t working in my context :frowning:

Thank you,

-Phil F

The filters are a list of lists, so it has to be

sg.find("Shot", filters=[["step_175.Task.sg_status_list", "is", "omt"]])

or

sg.find("Shot", filters=[["step_175.Task.sg_status_list", "in", ["omt"]]])
4 Likes

Thanks, Mois! I came here to reply, but you helped while I was still asleep! :smiley:

1 Like