Skip to main content
GET
/
api
/
v1
/
media
/
{id}
/
affected-agents
Get agents using media
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/media/{id}/affected-agents', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "agents": [
    {
      "id": "<string>",
      "name": "<string>",
      "usageContext": "<string>"
    }
  ]
}

Path Parameters

id
string<uuid>
required

Media file identifier

Response

Returns agents using media successfully

List of agents using a specific media file, including context about how each agent uses the file. Useful for understanding the impact of modifying or deleting a media file, as changes will affect all listed agents' call handling behavior.

agents
object[]
required

Agents configured to use this media file. When the media file is modified or deleted, these agents' transfer and ambient noise features will be affected. Review this list before making changes to understand the impact.