KAZE

Documentation / Agents and the API

REST API

Call any tool over HTTPS with a bearer key.

Every tool is an HTTPS POST with a JSON body:

POST {KAZE_URL}/api/v1/{tool}
Authorization: Bearer kz_…
Content-Type: application/json

Example

curl -X POST "$KAZE_URL/api/v1/query" \
  -H "Authorization: Bearer $KAZE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kazeql": "assignee-kind:agent category:ready sort:priority-desc", "limit": 10}'

OpenAPI

openapi.json describes every tool, the JUnit endpoint and the webhook address in OpenAPI 3.1. It is built from the same schemas the server checks requests against, so it is never out of date. Load it into Postman, Insomnia or a client generator, and set the server to your Kaze API address.

Inputs are strict

Unknown fields are refused with 400, and so are values out of range. The tool reference lists every field.

Idempotency

Send Idempotency-Key (8 to 100 letters, digits, dashes or underscores) to make a retry safe. The same key with the same body returns the first answer. The same key with a different body is refused with 422.

Secrets are removed

If an input contains something that looks like a credential, Kaze removes it before storing anything and adds a warning to the response. Rotate the credential if it was real.