---
title: "Discover Agents Semantic"
method: POST
path: "/api/agents/discover/semantic"
tags: ["Agent Management"]
---

# Discover Agents Semantic

`POST /api/agents/discover/semantic`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Discover agents using natural language semantic search.

Uses FAISS vector search to find agents matching the query intent.

Args:
    query: Natural language query describing needed capabilities
    max_results: Maximum number of results
    user_context: Authenticated user context

Returns:
    List of matching agents with relevance scores

Raises:
    HTTPException: 400 if query is empty

## Query parameters

- `query` string, required
- `max_results` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ascending-llc/apis/mcp-gateway-registry.md) - [All operations](https://skmtc.dev/ascending-llc/apis/mcp-gateway-registry/llms.txt) - [OpenAPI document](https://skmtc.dev/ascending-llc/apis/mcp-gateway-registry/revisions/31381943e2e7?raw)
