curl -X POST https://xenarch.dev/v1/services \ -H "Authorization: Bearer xk_pub_abc123..." \ -H "Content-Type: application/json" \ -d '{ "name": "Premium News API", "url": "https://example.com/api", "description": "Real-time news articles with full text", "price_per_request": "0.05", "category": "api", "pay_json_url": "https://example.com/.well-known/pay.json" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "publisher_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "url": "<string>", "description": "<string>", "price_per_request": "<string>", "category": "<string>", "pay_json_url": "<string>", "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Register a discoverable service for agents.
api
docs
data
content
1 - 200
1
0 <= x <= 1
2000
^(api|docs|data|content)$
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$