-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
phase:8-catalogPhase 8: Catalog UpdatesPhase 8: Catalog Updatespriority:highImportant for launchImportant for launchrustRust codeRust codetype:apiAPI endpointsAPI endpoints
Description
What
Extend existing catalog to include agent templates.
Files to touch
serenai-x402/gateway/src/routes/catalog.rs— add template listing
Endpoints
GET /api/catalog/agents— list agent templatesGET /api/catalog/agents/:slug— get template details
Response (list)
{
"agents": [
{
"id": "...",
"slug": "web-researcher",
"name": "Web Researcher",
"description": "...",
"price": "0.05",
"language": "python",
"isVerified": true,
"totalInvocations": 12345,
"successRate": 0.98,
"publisherName": "..."
}
]
}Filters
?verified=true— only verified?language=python— by language?maxPrice=0.10— by price
How to test
- Publish template, verify appears in catalog
- Test filtering by verified, language, price
- Test slug lookup
References
- Design spec:
docs/plans/00_design_spec.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
phase:8-catalogPhase 8: Catalog UpdatesPhase 8: Catalog Updatespriority:highImportant for launchImportant for launchrustRust codeRust codetype:apiAPI endpointsAPI endpoints