Agents

List discovered agents (trace sources no agent claims)

Trace sources that sent spans to one of this project's monitors but whose OpenTelemetry service.name matched no agent's slug or name. Their traces were stored and are listed under the monitor; nothing was dropped. Adopt one with POST /api/v1/agents/discovered/{id}/adopt to count later traces from it under an agent. Sources already adopted are not listed.

get/api/v1/agents/discovered

Request

  • Base URL: https://app.lastping.dev
  • URL: https://app.lastping.dev/api/v1/agents/discovered
  • Auth: API key in header X-Api-Key

Response

The unadopted trace sources.

Example response

{
  "discovered": [
    {
      "id": "3f2c1d8e-4b5a-4c6d-9e8f-0a1b2c3d4e5f",
      "source_name": "support-summarizer",
      "first_seen_at": "2026-09-18T09:12:00Z",
      "last_seen_at": "2026-09-21T16:40:12Z",
      "span_count": 48210
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.