Publish a whole project's routes
publish_projectPublish multiple API routes from one project in a single call, creating one gateway listing and paid x402 routes per entry for monetized access.
Instructions
Publish multiple API routes from one project in a single call. Creates one gateway listing for the project and one paid x402 route per entry. Requires an Apiosk provider token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_name": "<project_name>",
"base_url": "<base_url>",
"settlement_address": "<settlement_address>",
"routes": "<routes>"
},
"name": "publish_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| routes | Yes | ||
| network | No | ||
| base_url | Yes | HTTPS base URL of the project's API. Each route's path is appended to it upstream. | |
| description | No | ||
| project_name | Yes | ||
| settlement_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||