overview.md +12 −0
44 44
45Usage from these API requests counts as usage for the specified organization and project. Find organization and project IDs in your [dashboard settings](https://platform.openai.com/settings/organization/general).45Usage from these API requests counts as usage for the specified organization and project. Find organization and project IDs in your [dashboard settings](https://platform.openai.com/settings/organization/general).
46 46
47## Request headers
48
49For reliable behavior across API paths and HTTP versions, keep the total size
50of an API request's headers under 64 KiB. This budget includes the names and
51values of all headers, including common headers such as `Authorization`,
52`Content-Type`, and `User-Agent`, as well as any custom headers.
53
54To leave room for required headers and headers added by intermediaries, keep
55any individual custom header value and the total size of all custom header
56values at 60 KiB or less. Requests with larger headers may fail before they
57reach the API, so you may not receive a response or an `x-request-id`.
58
47## Debugging requests59## Debugging requests
48 60
49[Error codes](https://developers.openai.com/api/docs/guides/error-codes) describe failures returned from API responses. Inspect HTTP response headers for the unique ID of a request and rate limit details. Common response headers include:61[Error codes](https://developers.openai.com/api/docs/guides/error-codes) describe failures returned from API responses. Inspect HTTP response headers for the unique ID of a request and rate limit details. Common response headers include: