Skip to main content

Pagination

Every list takes the same two query parameters and answers in the same shape: Lists are newest first.
A cursor is opaque: pass it back exactly as you got it. One this API did not hand out is a 400 with code: invalid_cursor.

Idempotency

Every POST, 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: true in the body.
  • Keys belong to the API key that sent them. Another key never sees your responses.
AI assistants pass the same thing as the idempotency_key tool argument.