# REST API: how to get the default profile used by a live application?

**URL:** https://community.wowza.com/t/rest-api-how-to-get-the-default-profile-used-by-a-live-application/92260
**Category:** Wowza Streaming Engine
**Created:** [November 1, 2020, 5:53pm UTC](https://community.wowza.com/t/rest-api-how-to-get-the-default-profile-used-by-a-live-application/92260 "2020-11-01T17:53:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Elie\_Obeid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/elie_obeid/32/463_2.png) [@Elie\_Obeid](https://community.wowza.com/u/Elie_Obeid)
#### Post date: [November 1, 2020, 5:53pm UTC](https://community.wowza.com/t/rest-api-how-to-get-the-default-profile-used-by-a-live-application/92260/1 "2020-11-01T17:53:14Z")

</div>

I’m using this endpoint to list all live applications

> http://" . $ip . ":8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live

Then I’m using this endpoint to get bytesin and bytesout and so on

> http://" . $ip . “:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/” . $appName . “/instances/_definst_/incomingstreams/” . $profile . "/monitoring/current

Notice $profile, sometimes it’s mystream.stream, or mystream.stream\_360p and so on, depends on how we do the transcoding and if it

Now I have a hardcoded array, but that gives faulty results, I need to know from the rest API what is the default profile that a live application uses so that I can send it as a parameter to the second endpoint.

How to do that? Which endpoint returns that information?
