{
"openapi": "3.1.0",
"info": {
"title": "My API",
"version": "1.0.0",
"description": "example demo server",
"guidance": "Use POST /api/search for neural web search. Accepts a JSON body with a 'query' field."
},
"x-discovery": {
"ownershipProofs": ["<proof-1>"]
},
"paths": {
"/api/search": {
"post": {
"operationId": "search",
"summary": "Search - Neural search across the web",
"tags": ["Search"],
"x-payment-info": {
"pricingMode": "fixed",
"price": "0.010000",
"protocols": ["x402", "mpp"]
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": { "type": "string", "minLength": 1, "description": "The query string for the search" }
},
"required": ["query"]
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"results": { "type": "array", "items": { "type": "object" } }
},
"required": ["results"]
}
}
}
},
"402": { "description": "Payment Required" }
}
}
}
}
}