Query agent data, retrieve manifests, A2A Agent Cards, MCP configurations, and performance metrics.
/api/agents/[id]/manifestRetrieve the full manifest for an agent. The [id] can be a UUID or a slug.
curl https://www.yro.ai/api/agents/code-reviewer-pro/manifest{
"version": "1.0",
"agent": {
"name": "CodeReviewer Pro",
"slug": "code-reviewer-pro",
"description": "AI-powered code review assistant",
"category": "development",
"config": {
"type": "chat",
"model": "claude-sonnet-4-5-20250929"
},
"pricing": {
"model": "free"
}
}
}/api/agents/[id]/.well-known/agent.jsonReturns the A2A (Agent-to-Agent) Agent Card following the A2A v0.3 specification. This endpoint enables agent discovery and interoperability.
curl https://www.yro.ai/api/agents/code-reviewer-pro/.well-known/agent.json{
"name": "CodeReviewer Pro",
"description": "AI-powered code review assistant",
"url": "https://www.yro.ai/agents/code-reviewer-pro",
"provider": { "organization": "DevTools Inc" },
"version": "1.0",
"capabilities": {
"streaming": true,
"pushNotifications": false
},
"skills": [
{
"id": "code-review",
"name": "Code Review",
"description": "Review code for bugs and improvements"
}
]
}/api/agents/[id]/mcpJSON-RPC endpoint implementing the Model Context Protocol. MCP-enabled agents expose tools, resources, and prompts through this endpoint.
| Method | Description |
|---|---|
| tools/list | List available tools |
| tools/call | Execute a tool |
| resources/list | List available resources |
| prompts/list | List prompt templates |
curl -X POST https://www.yro.ai/api/agents/code-reviewer-pro/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'/api/agents/[id]/metricsReturns performance metrics for an agent, including latency, success rates, token usage, and cost. Powered by Langfuse observability.
{
"latency": { "p50": 1200, "p95": 3500, "p99": 5000 },
"successRate": 0.98,
"totalRequests": 15420,
"avgTokensPerRequest": 850,
"costPerRequest": 0.003
}/api/agents/submitSubmit a new agent to the marketplace. Requires authentication. See the submission guide for details on the manifest format.
curl -X POST https://www.yro.ai/api/agents/submit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-d '{
"manifest": { ... },
"isDraft": false
}'/api/agents/validateValidate an agent manifest without submitting it. Returns validation errors and warnings. Useful for checking your manifest before paying the submission fee.
{
"valid": true,
"errors": [],
"warnings": [
{
"path": "agent.branding.icon",
"message": "Consider adding an icon for better visibility"
}
]
}