# Get list of Shot Steps

**URL:** <https://community.shotgridsoftware.com/t/get-list-of-shot-steps/11032>\
**Category:** Pipeline Integrations\
**Created:** [December 15, 2020, 12:51am UTC](https://community.shotgridsoftware.com/t/get-list-of-shot-steps/11032 "2020-12-15T00:51:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cable](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cable](https://community.shotgridsoftware.com/u/cable)\
**Post date:** [December 15, 2020, 12:51am UTC](https://community.shotgridsoftware.com/t/get-list-of-shot-steps/11032/1 "2020-12-15T00:51:26Z")

</div>

Hello,  
I for some reason cannot figure out how to get Pipeline Step using the python API. I have no issues finding shots, sequences and Versions. I read that they are an Entity so I tried:

> steps = self.\_sg.find(“Step”, [[‘project’, ‘is’, self.project]])

The error is:  
shotgun\_api3.shotgun.Fault: API read() Step.project doesn’t exist:  
{“path”=\>“project”,  
“relation”=\>“is”,  
“values”=\>[{“type”=\>“Project”, “id”=\>122}]}

Can someone point me in the direction of getting Steps? Specifically I’ll be looking for a list of all available Shot Steps.

Thank you.

---

<div class="post-metadata">

**Author:** ![cable](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cable](https://community.shotgridsoftware.com/u/cable)\
**Post date:** [December 15, 2020, 1:29am UTC](https://community.shotgridsoftware.com/t/get-list-of-shot-steps/11032/2 "2020-12-15T01:29:28Z")

</div>

Ok. I found a solution.

> steps = self.\_sg.find(‘Step’, [[‘entity\_type’, ‘is’, ‘Shot’]], [‘short\_name’, ‘code’, ‘entity\_type’])

This provides me with enough info to get what I need.

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [December 15, 2020, 7:41am UTC](https://community.shotgridsoftware.com/t/get-list-of-shot-steps/11032/3 "2020-12-15T07:41:33Z")

</div>

Yeah Steps are not related to projects, as you found out.  
Why need a filter at all? Just `sg.find("Step", [])` would suffice.
