---
title: "GET /agent/subscribe"
method: GET
path: "/agent/subscribe"
tags: ["agent"]
---

# GET /agent/subscribe

`GET /agent/subscribe`

Get all agents

## Response `201`

AgentsLocationList

- AgentsLocationList
  - `data` AgentsLocation[]
    - `active` integer
    - `create_date` string, date-time
    - `expire_date` string, date-time
    - `gid` integer
    - `host` string
    - `node` string
    - `path` string
    - `port` integer
    - `protocol` string
    - `ttl` integer
    - `type` string
    - `uuid` string

## Other responses

- `400` — FailureResponse

## Changes

- **2021-10-13** `ee397eaefd08` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-09** `a5730259529b` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-08** `d39f8246865f` — 3 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
  - added the non-success response with the status `400`
  - added the success response with the status `201`
- **2021-10-05** `b340e39800ae` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2020-04-01** `8739183b4c43` — 2 info
  - api operation id `ListAgents` removed and replaced with `agentsSubGetAgentsub`
  - the security scope `[]` was added to the endpoint's security scheme `bearer`

[Full history](https://skmtc.dev/sipcapture/apis/homer-app/changes/agent/subscribe/get.md)

---

[API](https://skmtc.dev/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.dev/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sipcapture/homer-app/revisions/ee397eaefd08/schema)
