ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiAi tools

Live quote for a tool call (cost, listed price with margin, cap)

POST
/api/v1/ai/tools/{toolId}/quote

Authorization

bearer

Path Parameters

toolId*string

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body

Response Body

Live quote

Example Request
curl -X POST 'http://localhost:3001/api/v1/ai/tools/string/quote' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
Empty