{"openapi":"3.1.0","info":{"title":"tool.talk API quickstart","version":"2.0.0","description":"Read endpoints for connecting a tool.talk client."},"servers":[{"url":"https://api.tool.talk"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/whoami":{"get":{"operationId":"identifyKey","summary":"Verify which team and role the key belongs to","responses":{"200":{"description":"Verify which team and role the key belongs to","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}},"/v1/billing/topups/{id}":{"get":{"operationId":"readTopupStatus","summary":"Read an authorized checkout attempt and resume an open hosted checkout","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Read an authorized checkout attempt and resume an open hosted checkout","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}},"/v1/billing/payments":{"get":{"operationId":"readPayments","summary":"Read payment history for the active team","responses":{"200":{"description":"Read payment history for the active team","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}},"/v1/billing/payments/{id}/receipt":{"get":{"operationId":"getPaymentReceipt","summary":"Get the authorized team payment receipt or its pending state","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get the authorized team payment receipt or its pending state","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}},"/v1/wallet":{"get":{"operationId":"readWallet","summary":"Read the team's wallet","responses":{"200":{"description":"Read the team's wallet","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}},"/v1/search":{"get":{"operationId":"searchTools","summary":"Discover tools by task","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Discover tools by task","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}},"/v1/tools/{id}":{"get":{"operationId":"describeTool","summary":"Read the request contract and availability of a tool","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Read the request contract and availability of a tool","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"A valid API key is required"}}}}}}