Resolve an ANSName to an endpoint
View as MarkdownResolves an ANSName to an actionable endpoint reference.
Full description
| Resolves an ANSName to an actionable endpoint reference. The query includes the ANSName of the target agent and can optionally incorporate capability filters to refine the search. The ANS service queries the Agent Registry, which returns a digitally signed endpoint record if found.
Request Body
application/json
ANSName resolution request
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agents/resolution" \ -H "Content-Type: application/json" \ -d '{ "agentHost": "myagent.example.com", "version": "1.0.0" }'{ "ansName": "ans://v1.0.0.myagent.example.com", "links": [ { "href": "https://api.godaddy.com/v1/agents/550e8400-e29b-41d4-a716-446655440000", "rel": "agent-details" }, { "href": "https://myagent.example.com/api/v1", "rel": "agent-endpoint" } ]}Last updated on
How is this guide?