Skip to main content
POST
/
endpoints
/
{id}
/
invoke
Invoke endpoint
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": "<any>",
  "headers": {},
  "execution_time_ms": 123
}

Authorizations

Authorization
string
header
required

Format: 'Api-Key sk_live_YOUR_KEY'

Path Parameters

id
string
required

Body

application/json · object

Parameters to pass to the endpoint

Response

Endpoint executed successfully

status
integer

HTTP status code returned by endpoint

body
any

Response body from endpoint

headers
object

Response headers from endpoint

execution_time_ms
integer

Execution time in milliseconds