Backend API
Create a new AI tool
cURL
curl --request POST \ --url https://api.wacht.dev/ai-tools \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "api", "config": {}, "description": "<string>" } '
{ "id": "<string>", "name": "Web Scraper Tool", "description": "<string>", "type": "api", "config": { "endpoint": "<string>", "method": "GET", "headers": {}, "parameters": [ { "name": "<string>", "type": "<string>", "required": true } ] }, "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
JWT Bearer token authentication using the Authorization header
api
function
webhook
AI tool created successfully
(i64 formatted as string)
"Web Scraper Tool"
"api"
Show child attributes
true