cURL
curl --request POST \ --url https://api.ziet.ai/v1/endpoints/{id}/invoke \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "status": 123, "body": "<unknown>", "headers": {}, "execution_time_ms": 123 }
Execute an endpoint with provided parameters. Returns the endpoint’s response immediately.
Format: 'Api-Key sk_live_YOUR_KEY'
Parameters to pass to the endpoint
Endpoint executed successfully
HTTP status code returned by endpoint
Response body from endpoint
Response headers from endpoint
Execution time in milliseconds