BAGS Agent API index (x402 discovery)
Machine-readable directory of the BAGS Agent API, MCP server, and x402 payment surface. Returns 402 with a nominal USDC challenge when unpaid.
Header Parameters
PAYMENT-SIGNATURE?string
x402 payment payload (base64). Required to settle a 402 challenge. v1 clients may send x-payment instead.
curl -X GET "https://www.getbags.app/api/v1"{
"name": "BAGS Agent API",
"version": "v1",
"openapi": "http://example.com",
"documentation": "http://example.com",
"api_catalog": "http://example.com",
"mcp_server": "http://example.com",
"auth": "http://example.com",
"x402": {
"protocol": "http://example.com",
"discovery_challenge": "http://example.com",
"agentic_payments": "http://example.com",
"resource_pattern": "http://example.com"
}
}Empty