You open a support ticket about one failed call. What should you include to help them find it?
Why A is the answer
The request-id from the response
Every API response has a request-id header, and the same value appears as request_id in error bodies. Never send your key to anyone.
In detail
- Every API response has a request-id header.
- The same value appears as request_id in error bodies.
- Support can use it to find the call, so never share your key.
- Log the request-id with every call, so it is ready when you need it.
Use case
An illustrative scenario, not a real incident.
One call in a million fails strangely. The ticket includes the request-id from the response, so support finds that exact call. The API key stays private.
See it in different ways
mindmap
root((API errors))
400
Invalid request
401
Bad key
403
No access
429
Rate limit
529
OverloadedsequenceDiagram participant P0 as Your app participant P1 as API participant P2 as Support P0->>P1: Request P1-->>P0: Response with request-id P0->>P2: Ticket with the request-id
Key point: Share the request-id, never the key.
Why the other options are wrong
- B. The account password
- Support does not need your password, and you should never share it.
- C. The model's temperature
- Temperature does not identify one specific call.
- D. Your API key
- An API key is a secret and should never be sent to anyone.

