Support

Search registered agents

View as Markdown

Searches registered agents using request-body criteria and returns ranked results.

Full description

Searches registered agents using request-body criteria and returns ranked results. Anonymous requests are accepted when the Authorization header is omitted and are rate limited to 60 requests per minute per client IP.

POST
/v1/ans/search-registered-agents

Authorization

AuthorizationBearer <token>

GoDaddy OAuth 2.0 access token sent as Authorization: Bearer <token>. The scope(s) listed on each operation are enforced per-operation. A token requires at least one of the scopes listed for that operation; ans.agent-registration:write implies ans.agent-registration:read on every ANS operation. Scopes do not apply to API key authentication.

In: header

Scope: ans.agent-registration:read

Header Parameters

X-Request-Id?string

Optional request identifier propagated across services.

Formatuuid

Request Body

application/json

Search parameters

Search criteria for agent discovery.

Response Body

*/*

*/*

*/*

*/*

*/*

*/*

*/*

*/*

*/*

*/*

*/*

curl -X POST "https://example.com/v1/ans/search-registered-agents" \  -H "Content-Type: application/json" \  -d '{}'
{  "totalItems": 0,  "totalPages": 0,  "links": [    {      "href": "http://example.com",      "rel": "string",      "title": "string",      "targetMediaType": "string",      "targetSchema": {},      "method": "string",      "submissionMediaType": "application/json",      "submissionSchema": {}    }  ],  "items": [    {      "agentId": "string",      "indexedAt": "2019-08-24T14:15:22Z",      "leafIndex": 0,      "lifecycle": {        "status": "ACTIVE"      },      "agentDescription": "string",      "agentDisplayName": "string",      "agentHost": "string",      "agentVersion": "string",      "ansName": "string",      "logId": "string",      "providerId": "string",      "endpoints": [        {          "agentUrl": "string",          "documentationUrl": "string",          "metaDataUrl": "string",          "metaDataHash": "string",          "protocol": "A2A",          "transports": [            "HTTP"          ],          "functions": [            {              "id": "string",              "name": "string",              "tags": [                "string"              ]            }          ]        }      ],      "scores": {        "trustScore": 0,        "textScore": 0,        "relevance": 0.1      }    }  ]}

Last updated on

How is this guide?