Using the API Playground: The interactive playground in this documentation connects to our production API. Generate an API key from the Supermodel Dashboard to test endpoints directly from these docs.
Authentication Header
Authentication to the Data Plane API is performed via theX-Api-Key header.
Idempotency Key
All API requests require anIdempotency-Key header. This is a unique value (such as a UUID) that you generate for each request. It serves three purposes:
- Job identity: The key identifies your graph generation job. Re-submitting the same key returns the existing job status rather than creating a duplicate.
- Polling: You poll for results by re-submitting the same request with the same idempotency key. See Async Polling for details.
- Request tracing: The key is echoed back in the
X-Request-Idresponse header for debugging and support purposes.
uuidgen.