# StreamIds and Paths API

**URL:** <https://forum.sierrawireless.com/t/streamids-and-paths-api/20444>\
**Category:** Octave\
**Created:** [May 27, 2020, 2:20pm UTC](https://forum.sierrawireless.com/t/streamids-and-paths-api/20444 "2020-05-27T14:20:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iaburt](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/iaburt/32/4962_2.png) [@iaburt](https://forum.sierrawireless.com/u/iaburt)\
**Post date:** [May 27, 2020, 2:20pm UTC](https://forum.sierrawireless.com/t/streamids-and-paths-api/20444/1 "2020-05-27T14:20:44Z")

</div>

I can’t see an API call to retrieve all the Stream Ids and Paths for a given device in the documentation. Is there an API call for this. the device does not return the list and I haven’t seen where to get this info

Any help you can give me will be greatly appreciated.

Regards Ian

---

<div class="post-metadata">

**Author:** ![amons](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/amons/32/4887_2.png) [@amons](https://forum.sierrawireless.com/u/amons)\
**Post date:** [May 27, 2020, 2:38pm UTC](https://forum.sierrawireless.com/t/streamids-and-paths-api/20444/2 "2020-05-27T14:38:40Z")

</div>

Hello Ian,

For this, you can use Octave APIs filtering capabilities, using Regular Expressions: [https://rest.octave.dev/#filtering](https://rest.octave.dev/#filtering)

To retrieve all streams in your company for a given device name, this is what it will result with (replacing \<company\_name\> and \<device\_name\> with the actual names:

[https://octave-api.sierrawireless.io/v5.0/](https://octave-api.sierrawireless.io/v5.0/)\<company\_name\>/stream?only=id,path?filter=“path=~ /^/\<company\_name\>/devices/\<device\_name\>//”

Augustin

---

<div class="post-metadata">

**Author:** ![iaburt](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/iaburt/32/4962_2.png) [@iaburt](https://forum.sierrawireless.com/u/iaburt)\
**Post date:** [May 27, 2020, 7:16pm UTC](https://forum.sierrawireless.com/t/streamids-and-paths-api/20444/3 "2020-05-27T19:16:53Z")

</div>

Thanks Augustin I suppose that if I don’t use the only=id I will also get the Path element of the stream.

---

<div class="post-metadata">

**Author:** ![amons](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/amons/32/4887_2.png) [@amons](https://forum.sierrawireless.com/u/amons)\
**Post date:** [May 28, 2020, 6:59am UTC](https://forum.sierrawireless.com/t/streamids-and-paths-api/20444/4 "2020-05-28T06:59:17Z")

</div>

Hello Ian, the above example includes ?only=id, path?.. so the path will be returned along with the Id.  
As you say, the “only” part can be removed, expanded or adapted to your needs
