Set access_programs.cyber in a Responses API request to select Daybreak Blue or Daybreak Red. Other API cybersecurity safeguards still apply.
If OpenAI approved you for Daybreak Blue as an individual, sign in to Codex with your approved ChatGPT account. Individual approval doesn’t grant access to Blue with an API key, even in Codex.
For API access, OpenAI must approve your API organization for Daybreak. Ask an organization owner to enable the approved access level in a named (non-default) project. Use an API key from that project.
You can also use Daybreak in the Agents API. Set access_programs.cyber when you create or update a session, not on individual messages. The request and response examples below use the Responses API.
All Daybreak Red organizations must require SSO for the API organization that holds Cyber access and enforce MFA through your identity provider. If you use a separate Cyber organization, verify its domain and test SSO there.
Choose the model and access program
For reduced refusals, your organization needs the approval listed for the model, and your project needs access to the model and program. Set model to the model ID and access_programs.cyber to the value in the same row.
| Model ID | Org approval | Value to send |
|---|---|---|
gpt-5.6-sol |
Blue or Red | daybreak_blue |
gpt-5.6-terra |
Blue or Red | daybreak_blue |
gpt-5.6-luna |
Blue or Red | daybreak_blue |
gpt-6-sol |
Blue or Red | daybreak_blue |
gpt-6-luna |
Blue or Red | daybreak_blue |
gpt-6-astra |
Red | daybreak_blue |
gpt-6.1-sol |
Red | daybreak_blue |
gpt-6.1-terra |
Red | daybreak_blue |
gpt-6.2-astra |
Red | daybreak_blue |
gpt-6.2-sol |
Red | daybreak_blue |
gpt-5.5-cyber-preview |
Red (existing access only) | daybreak_red |
gpt-5.6-cyber |
Red | daybreak_red |
gpt-6-cyber |
Red + model approval | daybreak_red |
For gpt-6.2-astra and gpt-6.2-sol, enable Daybreak Red on your project and send daybreak_blue. Sending daybreak_red with either model returns invalid_access_program.
Requests to gpt-5.5-cyber-preview will fail after the model retires on
February 1, 2027. Before
then, migrate to gpt-5.6-cyber or, with separate model approval, GPT-6
Cyber. Confirm your project has access to the
replacement before switching.
Understand defaults when omitted
If you omit access_programs.cyber, the default depends on the model.
gpt-6.2-astra,gpt-6.2-sol, andgpt-6.1-terradefault tostandard. To get reduced refusals, explicitly senddaybreak_blue.- The other models listed with
daybreak_blueuse it when your organization and project have the required Daybreak access. Otherwise, they use standard safeguards. - Models listed with
daybreak_reddefault todaybreak_red. The request fails if you lack the required access.
Both access_programs and cyber are optional. An empty access_programs object leaves the selection unspecified. The API rejects null for either field.
Set access_programs.cyber to standard to use standard safeguards on a compatible model. An explicit Daybreak selection fails if the model is incompatible or you lack the required access. Model permissions still apply.
Send a request
In your approved API organization, choose a project with Daybreak Blue enabled. Use an API key from that project to send daybreak_blue with gpt-5.6-sol.
curl https://api.openai.com/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-sol",
"input": "Explain how to validate a security patch in a test environment.",
"access_programs": {
"cyber": "daybreak_blue"
}
}'To use another model, set model and access_programs.cyber to the values in its row of the model table.
Check the response
When available, access_programs.cyber records the selected program. This partial response shows Daybreak Blue for the gpt-5.6-sol request.
{
"model": "gpt-5.6-sol",
"access_programs": {
"cyber": "daybreak_blue"
}
}When no program is specified and the request uses standard safeguards, access_programs is null. For a -latest alias, inspect model to see which model served the request. Alias resolution can change and depends on your approved access.
Set up GPT-6 Cyber
Confirm with your account team that your organization has Daybreak Red access and approval for GPT-6 Cyber.
Project access. Ask an organization owner to enable Daybreak Red for the project that will send requests. With project-level controls, use a non-default project and a key from that project.
IP allowlisting. To use GPT-6 Cyber through the API, configure an IP allowlist for the public IPs your application sends requests from. If you have received approval to embed the model in a product, end users without direct model access don’t need to allowlist their own IPs.
Zero Data Retention. If the project uses ZDR, configure Private Safety Processing (PSP). Check that storage shows “Validated” and that the project’s retention policy is “Zero Data Retention with Private Safety Processing.” PSP applies to all API traffic in that project.
Send a GPT-6 Cyber request
Set OPENAI_API_KEY to a key from the approved project. Replace the sample safety identifier with a stable, pseudonymous identifier for the user making the request.
curl https://api.openai.com/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-cyber",
"access_programs": {"cyber": "daybreak_red"},
"safety_identifier": "user_a17f",
"input": "Suggest a regression test for a path traversal fix."
}'
If the request fails, check the project associated with the key, the active allowlist, and the project’s retention policy. See Daybreak API errors.
Handle errors
| HTTP status and code | What to do |
|---|---|
400 invalid_access_program |
The selected model requires a different program value. Change access_programs.cyber to the value named in the error, then retry. |
400 unsupported_access_program |
Switch to a model that supports Daybreak, or set access_programs.cyber to standard to keep using this model with standard safeguards. |
403 access_program_not_enabled |
Check that your API key belongs to a project with the required program enabled. If organization approval is missing, request the Daybreak level named in the error. If project access is missing, ask your organization administrator to enable that program. |
Unknown fields, invalid values, and request-side null values fail validation. Model permissions and cybersecurity safeguards still apply. For more help, see Daybreak troubleshooting.