---
title: "Discover agents by capability, domain, or task query"
method: GET
path: "/a2a/discover"
tags: ["a2a"]
---

# Discover agents by capability, domain, or task query

`GET /a2a/discover`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/a2a/discover`
- Auth: none required

## Query parameters

- `capability` string
- `domain` string
- `query` string

## Response `200`

Matching agents

- object
  - `agents` A2AAgentCard[]
    - `agentId` string
    - `name` string
    - `description` string
    - `version` string
    - `capabilities` string[]
    - `domain` string
    - `availability` 'available' | 'busy' | 'offline'
    - `trustLevel` 'public' | 'internal' | 'trusted' | 'admin'
    - `endpoints` object
    - `metadata` object
  - `total` integer
  - `discoveryMode` string

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/a2a/discover/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
