x-apigo-request-id in the response headers for every model request that generates a usage record. This ID links the response to the corresponding request record in ApiGo.
When a response includes this header, store it with your request data and logs. You can later use the ID to find the corresponding usage record or help ApiGo support investigate a problem.
Read the request ID
The request ID is available in the HTTP response headers:- your application request ID
x-apigo-request-id- the request time and endpoint
- the HTTP status
Streaming requests
Streaming requests send their HTTP response headers before the data stream begins. If the response includesx-apigo-request-id, retain the value while reading the SSE events and associate it with the entire stream.
Usage guidance
- Store the request ID as an opaque string. Do not convert it to a JavaScript
Number. - Do not parse the request ID, depend on its format, or generate it yourself.
- Do not use the request ID to determine whether a call succeeded. Use the HTTP status and response content.
- When contacting support, include the request ID, request time, endpoint, and HTTP status.
