Pagination
Every list takes the same two query parameters and answers in the same shape:
Lists are newest first.
400 with code: invalid_cursor.
Idempotency
EveryPOST, PUT, and PATCH under /v1 accepts an Idempotency-Key header: creating a skill or workflow, starting a run, improving, scheduling, saving a login, rotating the webhook secret, and the rest. Use any unique string of 1–255 characters, such as your order id.
- Only a successful (
2xx) response is kept. A request that was refused or failed started nothing, so retrying it with the same key really retries. - Keys are kept for 24 hours. After that, the same key starts fresh, except that a run, a skill creation, or an improvement still returns the one it already started, with
idempotent_replay: truein the body. - Keys belong to the API key that sent them. Another key never sees your responses.
idempotency_key tool argument.
