SpyBara
Go Premium

Documentation 2026-11-23 23:58 UTC to 2026-11-24 23:01 UTC

18 files changed +376 −88. View all changes and history on the product overview
2026
Thu 26 23:00 Wed 25 23:02 Tue 24 23:01 Mon 23 23:58 Fri 20 23:59 Thu 19 23:02 Wed 18 22:59 Tue 17 22:59 Mon 16 23:00 Sun 15 23:01 Sat 14 23:01 Fri 13 23:58 Thu 12 22:58 Wed 11 23:00 Tue 10 23:57 Mon 9 23:02 Fri 6 23:02 Thu 5 23:03 Wed 4 23:02 Tue 3 23:57 Mon 2 23:02

app-server.md +11 −2

Details

2088 2088 

2089`apps._default.approvals_reviewer` sets the reviewer for all apps unless a2089`apps._default.approvals_reviewer` sets the reviewer for all apps unless a

2090per-app value overrides it. When both are omitted, the app inherits the2090per-app value overrides it. When both are omitted, the app inherits the

2091top-level `approvals_reviewer` value. `apps._default.default_tools_approval_mode`2091top-level `approvals_reviewer` value. Use `apps.<id>.tools.<tool>.approvals_reviewer`

2092to choose the reviewer for one tool. `apps._default.default_tools_approval_mode`

2092sets the fallback approval mode for tools without a per-app or per-tool2093sets the fallback approval mode for tools without a per-app or per-tool

2093override. Managed approval-mode requirements override tool approval-mode2094override. Managed approval-mode requirements override tool approval-mode

2094settings.2095settings.


2257### API overview2258### API overview

2258 2259 

2259- `account/read` - fetch current account info; optionally refresh tokens.2260- `account/read` - fetch current account info; optionally refresh tokens.

2260- `account/login/start` - begin login (`apiKey`, `chatgpt`, `chatgptDeviceCode`, or experimental `chatgptAuthTokens`).2261- `account/login/start` - begin login with `apiKey`, `chatgpt`, or `chatgptDeviceCode`. Experimental login types include `chatgptAuthTokens`, `amazonBedrock`, and `amazonBedrockAccessKeys`.

2262- `account/bedrock/setup` (experimental) - configure Amazon Bedrock with an AWS profile or environment credentials.

2261- `account/login/completed` (notify) - emitted when a login attempt finishes (success or error).2263- `account/login/completed` (notify) - emitted when a login attempt finishes (success or error).

2262- `account/login/cancel` - cancel a pending managed ChatGPT login by `loginId`.2264- `account/login/cancel` - cancel a pending managed ChatGPT login by `loginId`.

2263- `account/logout` - sign out; triggers `account/updated`.2265- `account/logout` - sign out; triggers `account/updated`.


2272- `mcpServer/oauthLogin/completed` (notify) - emitted after a `mcpServer/oauth/login` flow finishes; payload includes `{ name, threadId, loginId?, success, error? }`. Older servers omit `loginId`. `threadId` can be `null` for app-scoped or plugin OAuth flows.2274- `mcpServer/oauthLogin/completed` (notify) - emitted after a `mcpServer/oauth/login` flow finishes; payload includes `{ name, threadId, loginId?, success, error? }`. Older servers omit `loginId`. `threadId` can be `null` for app-scoped or plugin OAuth flows.

2273- `mcpServer/startupStatus/updated` (notify) - emitted when a configured MCP server's startup status changes; payload includes `{ threadId, name, status, error, failureReason }`. `threadId` is `null` for app-scoped startup. On failed startup, `failureReason: "reauthenticationRequired"` means stored OAuth credentials expired and couldn't be refreshed, so the client should offer to reconnect the server.2275- `mcpServer/startupStatus/updated` (notify) - emitted when a configured MCP server's startup status changes; payload includes `{ threadId, name, status, error, failureReason }`. `threadId` is `null` for app-scoped startup. On failed startup, `failureReason: "reauthenticationRequired"` means stored OAuth credentials expired and couldn't be refreshed, so the client should offer to reconnect the server.

2274 2276 

2277### Select Amazon Bedrock Runtime

2278 

2279Set `capabilities.experimentalApi` to `true` during initialization. Pass

2280`providerId: "amazon-bedrock-runtime"` to `account/bedrock/setup` or to

2281`account/login/start` with type `amazonBedrock` or `amazonBedrockAccessKeys`.

2282Omitting `providerId` or passing `null` selects Bedrock Mantle (`amazon-bedrock`).

2283 

2275### Sign in to a configured gateway2284### Sign in to a configured gateway

2276 2285 

2277If your client handles gateway sign-in, set `capabilities.explicitGatewayOauth` to2286If your client handles gateway sign-in, set `capabilities.explicitGatewayOauth` to

app/browser.md +37 −9

Details

29 29 

30## Inspect a web app in Codex Cloud30## Inspect a web app in Codex Cloud

31 31 

32When a [Codex Cloud](https://learn.chatgpt.com/docs/cloud) task has browser access, Codex can use a32### Use the cloud browser or computer

33browser inside the cloud task to inspect your web app, reproduce a bug, or

34verify a fix. Give Codex the command to start the app in the task, the port,

35and the behavior you want it to check.

36 33 

37For example, ask Codex to open your app's settings page, change and save a34In a [Codex Cloud](https://learn.chatgpt.com/docs/cloud) task with Browser Use access, ask Codex to

38preference, and reload the page to check whether the change persists. Ask it35open a URL, interact with the page, and check the result in the cloud browser.

39to report what happened and include a screenshot if it helps show the result.36If Computer Use is available to the task, you can ask Codex to interact with

37apps on the cloud computer. Both tools run in the cloud. You don't need to

38install Playwright to use either one.

40 39 

41Install the app's dependencies when you [prepare the Cloud environment](https://learn.chatgpt.com/docs/environments/cloud-environments).40For example, ask Codex to start your app on port 3000, open

42If the page needs an external service, check the environment's network settings41`http://localhost:3000`, turn on email reminders, and reload the page to

42check that the setting persists. Here, `localhost` refers to the task's

43cloud computer.

44 

45If **Desktop** appears in the task's side panel, open it to watch Codex

46work. Select **Take over** to use the mouse and keyboard yourself, then

47**Return control** when you're done. To open just the app in your own

48browser, use a [private HTTP preview](https://learn.chatgpt.com/docs/environments/cloud-environments#preview-an-app-or-connect-over-ssh).

49 

50 

51 

52> Illustration: Desktop panel with email reminders enabled at localhost:3000. Below the browser, Codex has control appears beside Take over.

53 

54 

55 

56In Enterprise workspaces, Browser Use and Computer Use in Codex Cloud inherit the applicable Global Agent Security requirements. Admins can customize supported execution requirements for Codex Cloud in the policy's `requirements.toml` under **Admin Console** > **Agent Security** > **Codex Cloud** without changing the Global baseline. See [Where Agent Security settings apply](https://learn.chatgpt.com/docs/enterprise/agent-security#where-settings-apply).

57 

58### Run Playwright tests

59 

60For repeatable browser tests, you can also ask Codex to run Playwright in

61headless mode. These tests run without opening an interactive browser window

62and don't use Browser Use or Computer Use.

63 

64If you choose Playwright, install it in the cloud environment along with its

65browser binaries, system dependencies, and your app's dependencies. If the script needs an external

66service, [check the environment's network settings](https://learn.chatgpt.com/docs/environments/cloud-environments#connect-to-services)

43or use local test data.67or use local test data.

44 68 

69Give Codex the command to start the app, the port it listens on, and the test

70command or behavior to verify. For example, ask Codex to run a Playwright test

71that changes a setting, reloads the page, and checks that the change persists.

72 

45<ContentModeSwitch group="codex-surface" ids="app,cli,ide">73<ContentModeSwitch group="codex-surface" ids="app,cli,ide">

46 74 

47## Use the desktop browser75## Use the desktop browser

browser.md +37 −9

Details

29 29 

30## Inspect a web app in Codex Cloud30## Inspect a web app in Codex Cloud

31 31 

32When a [Codex Cloud](https://learn.chatgpt.com/docs/cloud) task has browser access, Codex can use a32### Use the cloud browser or computer

33browser inside the cloud task to inspect your web app, reproduce a bug, or

34verify a fix. Give Codex the command to start the app in the task, the port,

35and the behavior you want it to check.

36 33 

37For example, ask Codex to open your app's settings page, change and save a34In a [Codex Cloud](https://learn.chatgpt.com/docs/cloud) task with Browser Use access, ask Codex to

38preference, and reload the page to check whether the change persists. Ask it35open a URL, interact with the page, and check the result in the cloud browser.

39to report what happened and include a screenshot if it helps show the result.36If Computer Use is available to the task, you can ask Codex to interact with

37apps on the cloud computer. Both tools run in the cloud. You don't need to

38install Playwright to use either one.

40 39 

41Install the app's dependencies when you [prepare the Cloud environment](https://learn.chatgpt.com/docs/environments/cloud-environments).40For example, ask Codex to start your app on port 3000, open

42If the page needs an external service, check the environment's network settings41`http://localhost:3000`, turn on email reminders, and reload the page to

42check that the setting persists. Here, `localhost` refers to the task's

43cloud computer.

44 

45If **Desktop** appears in the task's side panel, open it to watch Codex

46work. Select **Take over** to use the mouse and keyboard yourself, then

47**Return control** when you're done. To open just the app in your own

48browser, use a [private HTTP preview](https://learn.chatgpt.com/docs/environments/cloud-environments#preview-an-app-or-connect-over-ssh).

49 

50 

51 

52> Illustration: Desktop panel with email reminders enabled at localhost:3000. Below the browser, Codex has control appears beside Take over.

53 

54 

55 

56In Enterprise workspaces, Browser Use and Computer Use in Codex Cloud inherit the applicable Global Agent Security requirements. Admins can customize supported execution requirements for Codex Cloud in the policy's `requirements.toml` under **Admin Console** > **Agent Security** > **Codex Cloud** without changing the Global baseline. See [Where Agent Security settings apply](https://learn.chatgpt.com/docs/enterprise/agent-security#where-settings-apply).

57 

58### Run Playwright tests

59 

60For repeatable browser tests, you can also ask Codex to run Playwright in

61headless mode. These tests run without opening an interactive browser window

62and don't use Browser Use or Computer Use.

63 

64If you choose Playwright, install it in the cloud environment along with its

65browser binaries, system dependencies, and your app's dependencies. If the script needs an external

66service, [check the environment's network settings](https://learn.chatgpt.com/docs/environments/cloud-environments#connect-to-services)

43or use local test data.67or use local test data.

44 68 

69Give Codex the command to start the app, the port it listens on, and the test

70command or behavior to verify. For example, ask Codex to run a Playwright test

71that changes a setting, reloads the page, and checks that the change persists.

72 

45<ContentModeSwitch group="codex-surface" ids="app,cli,ide">73<ContentModeSwitch group="codex-surface" ids="app,cli,ide">

46 74 

47## Use the desktop browser75## Use the desktop browser

Details

492 492 

493If `exporter = "none"` Codex records events but sends nothing. Exporters batch asynchronously and flush on shutdown. Event metadata includes service name, CLI version, env tag, conversation id, model, sandbox/approval settings, and per-event fields (see [Config Reference](https://learn.chatgpt.com/docs/config-file/config-reference)).493If `exporter = "none"` Codex records events but sends nothing. Exporters batch asynchronously and flush on shutdown. Event metadata includes service name, CLI version, env tag, conversation id, model, sandbox/approval settings, and per-event fields (see [Config Reference](https://learn.chatgpt.com/docs/config-file/config-reference)).

494 494 

495### Refresh collector credentials

496 

497To refresh OTLP/HTTP collector credentials, configure a helper command in

498`~/.codex/config.toml`.

499 

500```toml

501[otel]

502exporter = { otlp-http = { endpoint = "https://otel.example.com/v1/logs", protocol = "binary" } }

503headers_helper = "/opt/company/bin/otel-auth"

504```

505 

506The helper must print a JSON object of string header names and values to standard

507output, such as `{"Authorization":"Bearer example-token"}`.

508 

509Codex runs the helper at startup and every 29 minutes. To change the refresh

510interval, set `headers_helper_refresh_interval_ms` to a positive number of

511milliseconds. Helper headers override matching static headers. If a refresh fails or the helper returns invalid headers, affected exports

512pause until the helper succeeds.

513 

514The helper supports OTLP/HTTP logs, traces, and metrics. It can't be set in

515project configuration or modify managed exporters. See

516[Managed collector credentials](https://learn.chatgpt.com/docs/enterprise/managed-configuration#managed-collector-credentials)

517for system and MDM deployment.

518 

495### What gets emitted519### What gets emitted

496 520 

497Codex emits structured log events for runs and tool usage. Representative event types include:521Codex emits structured log events for runs and tool usage. Representative event types include:

Details

492 492 

493If `exporter = "none"` Codex records events but sends nothing. Exporters batch asynchronously and flush on shutdown. Event metadata includes service name, CLI version, env tag, conversation id, model, sandbox/approval settings, and per-event fields (see [Config Reference](https://learn.chatgpt.com/docs/config-file/config-reference)).493If `exporter = "none"` Codex records events but sends nothing. Exporters batch asynchronously and flush on shutdown. Event metadata includes service name, CLI version, env tag, conversation id, model, sandbox/approval settings, and per-event fields (see [Config Reference](https://learn.chatgpt.com/docs/config-file/config-reference)).

494 494 

495### Refresh collector credentials

496 

497To refresh OTLP/HTTP collector credentials, configure a helper command in

498`~/.codex/config.toml`.

499 

500```toml

501[otel]

502exporter = { otlp-http = { endpoint = "https://otel.example.com/v1/logs", protocol = "binary" } }

503headers_helper = "/opt/company/bin/otel-auth"

504```

505 

506The helper must print a JSON object of string header names and values to standard

507output, such as `{"Authorization":"Bearer example-token"}`.

508 

509Codex runs the helper at startup and every 29 minutes. To change the refresh

510interval, set `headers_helper_refresh_interval_ms` to a positive number of

511milliseconds. Helper headers override matching static headers. If a refresh fails or the helper returns invalid headers, affected exports

512pause until the helper succeeds.

513 

514The helper supports OTLP/HTTP logs, traces, and metrics. It can't be set in

515project configuration or modify managed exporters. See

516[Managed collector credentials](https://learn.chatgpt.com/docs/enterprise/managed-configuration#managed-collector-credentials)

517for system and MDM deployment.

518 

495### What gets emitted519### What gets emitted

496 520 

497Codex emits structured log events for runs and tool usage. Representative event types include:521Codex emits structured log events for runs and tool usage. Representative event types include:

Details

500 type: "auto | prompt | writes | approve",500 type: "auto | prompt | writes | approve",

501 description: "Per-tool approval behavior override for a single app tool.",501 description: "Per-tool approval behavior override for a single app tool.",

502 },502 },

503 {

504 key: "apps.<id>.tools.<tool>.approvals_reviewer",

505 type: "user | auto_review",

506 description:

507 "Choose who reviews approval prompts for this tool. Overrides the app's reviewer, subject to managed requirements.",

508 },

503 {509 {

504 key: "tool_suggest.discoverables",510 key: "tool_suggest.discoverables",

505 type: "array<table>",511 type: "array<table>",


725 key: "mcp_servers.<id>.startup_readiness",731 key: "mcp_servers.<id>.startup_readiness",

726 type: "connection | catalog",732 type: "connection | catalog",

727 description:733 description:

728 "Use a live connection to establish startup readiness (`connection`, the default), or let a valid cached tool catalog satisfy startup while the connection opens (`catalog`). Calling a tool still requires a live connection.",734 "Use a live connection to establish startup readiness (`connection`, the default) or accept a valid cached tool catalog (`catalog`). Tool calls still require a live connection.",

729 },735 },

730 {736 {

731 key: "mcp_servers.<id>.startup_timeout_sec",737 key: "mcp_servers.<id>.startup_timeout_sec",


1102 description:1108 description:

1103 "Compress streaming request bodies with zstd when supported (stable; on by default).",1109 "Compress streaming request bodies with zstd when supported (stable; on by default).",

1104 },1110 },

1111 {

1112 key: "features.mcp_lazy_stdio_startup",

1113 type: "boolean",

1114 description:

1115 "Start eligible stdio MCP servers on the first tool call when their tool list is cached. Defaults to `true`. Set to `false` to start them when the thread starts.",

1116 },

1105 {1117 {

1106 key: "features.skill_mcp_dependency_install",1118 key: "features.skill_mcp_dependency_install",

1107 type: "boolean",1119 type: "boolean",


1462 description:1474 description:

1463 "Select the OpenTelemetry metrics exporter. The default, `statsig`, follows `analytics.enabled`. Explicit OTLP exporters work independently of that setting. Set to `none` to disable metrics export.",1475 "Select the OpenTelemetry metrics exporter. The default, `statsig`, follows `analytics.enabled`. Explicit OTLP exporters work independently of that setting. Set to `none` to disable metrics export.",

1464 },1476 },

1477 {

1478 key: "otel.headers_helper",

1479 type: "string",

1480 description:

1481 "Command that returns OTLP/HTTP headers as JSON. Project settings and managed exporters can't use this user setting.",

1482 },

1483 {

1484 key: "otel.headers_helper_refresh_interval_ms",

1485 type: "integer (positive)",

1486 description:

1487 "Header helper refresh interval in milliseconds. Defaults to 1740000 (29 minutes).",

1488 },

1465 {1489 {

1466 key: "otel.log_sse_deltas",1490 key: "otel.log_sse_deltas",

1467 type: "boolean",1491 type: "boolean",


2076allowlist. Users can't override an enforced path, update preference, login-shell2100allowlist. Users can't override an enforced path, update preference, login-shell

2077policy, or feedback setting.2101policy, or feedback setting.

2078 2102 

2079Managed permission-profile allowlists require Codex 0.138.0 or later. Codex

20800.137.0 and earlier ignore `allowed_permission_profiles` and managed

2081`default_permissions`.

2082 

2083Use `allowed_sandbox_modes` with `sandbox_mode`. For permission-profile2103Use `allowed_sandbox_modes` with `sandbox_mode`. For permission-profile

2084deployments, use `allowed_permission_profiles` with managed2104deployments, use `allowed_permission_profiles` with managed

2085`default_permissions`.2105`default_permissions`.


2929 description:2949 description:

2930 "Enforce the metrics exporter. The Statsig exporter follows `analytics.enabled`. Explicit OTLP metrics exporters run independently of that setting.",2950 "Enforce the metrics exporter. The Statsig exporter follows `analytics.enabled`. Explicit OTLP metrics exporters run independently of that setting.",

2931 },2951 },

2952 {

2953 key: "otel.headers_helper",

2954 type: "string",

2955 description:

2956 "Absolute path to an OTLP/HTTP header helper in system requirements or MDM. Configure its exporters in the same requirements layer.",

2957 },

2958 {

2959 key: "otel.headers_helper_refresh_interval_ms",

2960 type: "integer (positive)",

2961 description:

2962 "Managed header helper refresh interval in milliseconds. Defaults to 1740000 (29 minutes).",

2963 },

2932 {2964 {

2933 key: "otel.log_sse_deltas",2965 key: "otel.log_sse_deltas",

2934 type: "boolean",2966 type: "boolean",


2980 key: "network_proxy",3012 key: "network_proxy",

2981 type: "table",3013 type: "table",

2982 description:3014 description:

2983 "Administrator-managed network requirements for sandboxed local commands. Codex 0.166.0 accepts `[network_proxy]` and its alias `[experimental_network]`. Use one name per requirements layer. Keep the alias in published policies until every client and policy validator supports the new name. When enabled, these requirements can start the command network proxy without `features.network_proxy`. Browser tools separately check managed network denies and exclusive allowlists. These requirements do not route browser traffic through the proxy or control web search, apps, MCP servers, native-app traffic, or other capability-specific traffic. On supported managed Codex Cloud paths, these requirements constrain command networking alongside separate Cloud environment internet settings. Approved full sandbox escalation can bypass the command proxy where policy permits it. Work Cloud does not inherit these requirements.",3015 "Administrator-managed network requirements for sandboxed local commands. Codex accepts `[network_proxy]` and its alias `[experimental_network]`. Use one name per requirements layer. When enabled, these requirements can start the command network proxy without `features.network_proxy`. Browser tools separately check managed network denies and exclusive allowlists. These requirements do not route browser traffic through the proxy or control web search, apps, MCP servers, native-app traffic, or other capability-specific traffic. On supported managed Codex Cloud paths, these requirements constrain command networking alongside separate Cloud environment internet settings. Approved full sandbox escalation can bypass the command proxy where policy permits it. Work Cloud does not inherit these requirements.",

2984 },3016 },

2985 {3017 {

2986 key: "network_proxy.enabled",3018 key: "network_proxy.enabled",

Details

809 809 

810# skill_mcp_dependency_install = true810# skill_mcp_dependency_install = true

811 811 

812# mcp_lazy_stdio_startup = true # start eligible stdio servers on first use when their tool list is cached

813 

812# prevent_idle_sleep = false814# prevent_idle_sleep = false

813 815 

814# Code mode namespaces. This feature is under development and off by default.816# Code mode namespaces. This feature is under development and off by default.


927 929 

928# disabled_tools = ["slow-tool"] # optional deny-list (applied after allow-list)930# disabled_tools = ["slow-tool"] # optional deny-list (applied after allow-list)

929 931 

930# startup_readiness = "catalog" # use a valid cached tool catalog while connecting932# startup_readiness = "catalog" # a cached tool list can satisfy the startup check for a required server

931 933 

932# tool_input_schema_max_bytes = 8000 # default 5000 UTF-8 bytes934# tool_input_schema_max_bytes = 8000 # default 5000 UTF-8 bytes

933 935 


1187 1189 

1188# approval_mode = "approve"1190# approval_mode = "approve"

1189 1191 

1192# [apps.calendar.tools."events/create"]

1193 

1194# approval_mode = "prompt"

1195 

1196# approvals_reviewer = "user" # ask the user to review this tool's approval prompts

1197 

1190# Optional tool suggestion allowlist for connectors or plugins Codex can offer to install.1198# Optional tool suggestion allowlist for connectors or plugins Codex can offer to install.

1191 1199 

1192# [tool_suggest]1200# [tool_suggest]

Details

500 type: "auto | prompt | writes | approve",500 type: "auto | prompt | writes | approve",

501 description: "Per-tool approval behavior override for a single app tool.",501 description: "Per-tool approval behavior override for a single app tool.",

502 },502 },

503 {

504 key: "apps.<id>.tools.<tool>.approvals_reviewer",

505 type: "user | auto_review",

506 description:

507 "Choose who reviews approval prompts for this tool. Overrides the app's reviewer, subject to managed requirements.",

508 },

503 {509 {

504 key: "tool_suggest.discoverables",510 key: "tool_suggest.discoverables",

505 type: "array<table>",511 type: "array<table>",


725 key: "mcp_servers.<id>.startup_readiness",731 key: "mcp_servers.<id>.startup_readiness",

726 type: "connection | catalog",732 type: "connection | catalog",

727 description:733 description:

728 "Use a live connection to establish startup readiness (`connection`, the default), or let a valid cached tool catalog satisfy startup while the connection opens (`catalog`). Calling a tool still requires a live connection.",734 "Use a live connection to establish startup readiness (`connection`, the default) or accept a valid cached tool catalog (`catalog`). Tool calls still require a live connection.",

729 },735 },

730 {736 {

731 key: "mcp_servers.<id>.startup_timeout_sec",737 key: "mcp_servers.<id>.startup_timeout_sec",


1102 description:1108 description:

1103 "Compress streaming request bodies with zstd when supported (stable; on by default).",1109 "Compress streaming request bodies with zstd when supported (stable; on by default).",

1104 },1110 },

1111 {

1112 key: "features.mcp_lazy_stdio_startup",

1113 type: "boolean",

1114 description:

1115 "Start eligible stdio MCP servers on the first tool call when their tool list is cached. Defaults to `true`. Set to `false` to start them when the thread starts.",

1116 },

1105 {1117 {

1106 key: "features.skill_mcp_dependency_install",1118 key: "features.skill_mcp_dependency_install",

1107 type: "boolean",1119 type: "boolean",


1462 description:1474 description:

1463 "Select the OpenTelemetry metrics exporter. The default, `statsig`, follows `analytics.enabled`. Explicit OTLP exporters work independently of that setting. Set to `none` to disable metrics export.",1475 "Select the OpenTelemetry metrics exporter. The default, `statsig`, follows `analytics.enabled`. Explicit OTLP exporters work independently of that setting. Set to `none` to disable metrics export.",

1464 },1476 },

1477 {

1478 key: "otel.headers_helper",

1479 type: "string",

1480 description:

1481 "Command that returns OTLP/HTTP headers as JSON. Project settings and managed exporters can't use this user setting.",

1482 },

1483 {

1484 key: "otel.headers_helper_refresh_interval_ms",

1485 type: "integer (positive)",

1486 description:

1487 "Header helper refresh interval in milliseconds. Defaults to 1740000 (29 minutes).",

1488 },

1465 {1489 {

1466 key: "otel.log_sse_deltas",1490 key: "otel.log_sse_deltas",

1467 type: "boolean",1491 type: "boolean",


2076allowlist. Users can't override an enforced path, update preference, login-shell2100allowlist. Users can't override an enforced path, update preference, login-shell

2077policy, or feedback setting.2101policy, or feedback setting.

2078 2102 

2079Managed permission-profile allowlists require Codex 0.138.0 or later. Codex

20800.137.0 and earlier ignore `allowed_permission_profiles` and managed

2081`default_permissions`.

2082 

2083Use `allowed_sandbox_modes` with `sandbox_mode`. For permission-profile2103Use `allowed_sandbox_modes` with `sandbox_mode`. For permission-profile

2084deployments, use `allowed_permission_profiles` with managed2104deployments, use `allowed_permission_profiles` with managed

2085`default_permissions`.2105`default_permissions`.


2929 description:2949 description:

2930 "Enforce the metrics exporter. The Statsig exporter follows `analytics.enabled`. Explicit OTLP metrics exporters run independently of that setting.",2950 "Enforce the metrics exporter. The Statsig exporter follows `analytics.enabled`. Explicit OTLP metrics exporters run independently of that setting.",

2931 },2951 },

2952 {

2953 key: "otel.headers_helper",

2954 type: "string",

2955 description:

2956 "Absolute path to an OTLP/HTTP header helper in system requirements or MDM. Configure its exporters in the same requirements layer.",

2957 },

2958 {

2959 key: "otel.headers_helper_refresh_interval_ms",

2960 type: "integer (positive)",

2961 description:

2962 "Managed header helper refresh interval in milliseconds. Defaults to 1740000 (29 minutes).",

2963 },

2932 {2964 {

2933 key: "otel.log_sse_deltas",2965 key: "otel.log_sse_deltas",

2934 type: "boolean",2966 type: "boolean",


2980 key: "network_proxy",3012 key: "network_proxy",

2981 type: "table",3013 type: "table",

2982 description:3014 description:

2983 "Administrator-managed network requirements for sandboxed local commands. Codex 0.166.0 accepts `[network_proxy]` and its alias `[experimental_network]`. Use one name per requirements layer. Keep the alias in published policies until every client and policy validator supports the new name. When enabled, these requirements can start the command network proxy without `features.network_proxy`. Browser tools separately check managed network denies and exclusive allowlists. These requirements do not route browser traffic through the proxy or control web search, apps, MCP servers, native-app traffic, or other capability-specific traffic. On supported managed Codex Cloud paths, these requirements constrain command networking alongside separate Cloud environment internet settings. Approved full sandbox escalation can bypass the command proxy where policy permits it. Work Cloud does not inherit these requirements.",3015 "Administrator-managed network requirements for sandboxed local commands. Codex accepts `[network_proxy]` and its alias `[experimental_network]`. Use one name per requirements layer. When enabled, these requirements can start the command network proxy without `features.network_proxy`. Browser tools separately check managed network denies and exclusive allowlists. These requirements do not route browser traffic through the proxy or control web search, apps, MCP servers, native-app traffic, or other capability-specific traffic. On supported managed Codex Cloud paths, these requirements constrain command networking alongside separate Cloud environment internet settings. Approved full sandbox escalation can bypass the command proxy where policy permits it. Work Cloud does not inherit these requirements.",

2984 },3016 },

2985 {3017 {

2986 key: "network_proxy.enabled",3018 key: "network_proxy.enabled",

Details

809 809 

810# skill_mcp_dependency_install = true810# skill_mcp_dependency_install = true

811 811 

812# mcp_lazy_stdio_startup = true # start eligible stdio servers on first use when their tool list is cached

813 

812# prevent_idle_sleep = false814# prevent_idle_sleep = false

813 815 

814# Code mode namespaces. This feature is under development and off by default.816# Code mode namespaces. This feature is under development and off by default.


927 929 

928# disabled_tools = ["slow-tool"] # optional deny-list (applied after allow-list)930# disabled_tools = ["slow-tool"] # optional deny-list (applied after allow-list)

929 931 

930# startup_readiness = "catalog" # use a valid cached tool catalog while connecting932# startup_readiness = "catalog" # a cached tool list can satisfy the startup check for a required server

931 933 

932# tool_input_schema_max_bytes = 8000 # default 5000 UTF-8 bytes934# tool_input_schema_max_bytes = 8000 # default 5000 UTF-8 bytes

933 935 


1187 1189 

1188# approval_mode = "approve"1190# approval_mode = "approve"

1189 1191 

1192# [apps.calendar.tools."events/create"]

1193 

1194# approval_mode = "prompt"

1195 

1196# approvals_reviewer = "user" # ask the user to review this tool's approval prompts

1197 

1190# Optional tool suggestion allowlist for connectors or plugins Codex can offer to install.1198# Optional tool suggestion allowlist for connectors or plugins Codex can offer to install.

1191 1199 

1192# [tool_suggest]1200# [tool_suggest]

dots.md +5 −3

Details

248 248 

249**For workspace admins:** See [Set up dots for work](https://learn.chatgpt.com/docs/enterprise/dots-admin-guide) for workspace setup, permissions, and security and governance guidance.249**For workspace admins:** See [Set up dots for work](https://learn.chatgpt.com/docs/enterprise/dots-admin-guide) for workspace setup, permissions, and security and governance guidance.

250 250 

251Access depends on your plan, region, and workspace settings. Dots are rolling out gradually to eligible Pro and Business Premium accounts.251Access depends on your plan, region, and workspace settings. Dots are rolling out gradually to select Plus users and Business Premium accounts.

252 252 

253- **Pro 100, Pro 200, and Pro 500:** For users aged 18 and older outside the European Economic Area, United Kingdom, and Switzerland.253- **Pro 100, Pro 200, and Pro 500:** Available to users aged 18 and older outside the European Economic Area, United Kingdom, and Switzerland.

254- **Plus:** Rolling out to select users aged 18 and older outside the European Economic Area, United Kingdom, and Switzerland.

254- **Business Premium:** Available in supported ChatGPT regions, subject to workspace eligibility.255- **Business Premium:** Available in supported ChatGPT regions, subject to workspace eligibility.

256- **Business Standard:** Dots are available to eligible ChatGPT Business Standard members in supported regions. Each member can create one personal dot in their Business workspace. Usage limits apply.

255- **Enterprise, Edu, and Healthcare:** Generally available in eligible workspaces. For current workspace eligibility and regional availability, see [Getting started with your dot](https://help.openai.com/en/articles/20001530-getting-started-with-your-dot) and [Data residency and inference residency for ChatGPT](https://help.openai.com/en/articles/9903489-data-residency-and-inference-residency-for-chatgpt). During the admin preview, your admin can enable access for your role. Starting November 18, 2026, access is on by default unless your workspace opts out.257- **Enterprise, Edu, and Healthcare:** Generally available in eligible workspaces. For current workspace eligibility and regional availability, see [Getting started with your dot](https://help.openai.com/en/articles/20001530-getting-started-with-your-dot) and [Data residency and inference residency for ChatGPT](https://help.openai.com/en/articles/9903489-data-residency-and-inference-residency-for-chatgpt). During the admin preview, your admin can enable access for your role. Starting November 18, 2026, access is on by default unless your workspace opts out.

256 258 

257For Pro and Business Premium, conversations with your dot don’t count toward your ChatGPT usage limits. Tasks your dot starts or manages in Work or Codex count toward those products’ usage limits as usual. Your plan includes an allowance for deeper work, with extended limits for the first month after launch. For Enterprise pricing and delegated task charges, see [Enterprise preview and billing](https://learn.chatgpt.com/docs/enterprise/dots-admin-guide#enterprise-preview-and-billing).259For Pro and Business Premium, conversations with your dot don’t count toward your ChatGPT usage limits. Tasks your dot starts or manages in Work or Codex count toward those products’ usage limits as usual. Your plan includes an allowance for deeper work. For Enterprise pricing and delegated task charges, see [Enterprise preview and billing](https://learn.chatgpt.com/docs/enterprise/dots-admin-guide#enterprise-preview-and-billing).

258 260 

259You can create your dot in the ChatGPT mobile app, desktop app, or a desktop browser. Use the latest version of the mobile app for mobile setup. Mobile web is not supported.261You can create your dot in the ChatGPT mobile app, desktop app, or a desktop browser. Use the latest version of the mobile app for mobile setup. Mobile web is not supported.

260 262 

Details

419 419 

420Requirements can also constrain [feature flags](https://learn.chatgpt.com/docs/config-file/config-basic#feature-flags) via the `[features]` table in `requirements.toml`. Note that features aren't always security-sensitive, but enterprises can pin values if desired. Omitted keys remain unconstrained.420Requirements can also constrain [feature flags](https://learn.chatgpt.com/docs/config-file/config-basic#feature-flags) via the `[features]` table in `requirements.toml`. Note that features aren't always security-sensitive, but enterprises can pin values if desired. Omitted keys remain unconstrained.

421 421 

422For Codex 0.138.0 or later, prefer [permission profiles](https://learn.chatgpt.com/docs/permissions)422Prefer [permission profiles](https://learn.chatgpt.com/docs/permissions)

423with `allowed_permission_profiles` and managed `default_permissions`. Use423with `allowed_permission_profiles` and managed `default_permissions`. Use

424`allowed_sandbox_modes` only for legacy deployments that still configure424`allowed_sandbox_modes` only for legacy deployments that still configure

425`sandbox_mode`.425`sandbox_mode`.


551permission-profile counterpart to `allowed_sandbox_modes`; use the allowlist that551permission-profile counterpart to `allowed_sandbox_modes`; use the allowlist that

552matches how your users select permissions.552matches how your users select permissions.

553 553 

554Permission-profile allowlists require Codex 0.138.0 or later. Codex 0.137.0 and

555earlier ignore `allowed_permission_profiles` and managed

556`default_permissions`.

557 

558Use the permission-profile examples below only after every managed client runs a

559supporting release. Don't deploy managed custom profiles until the fleet upgrade

560is complete.

561 

562When present, the table is the complete list of allowed profiles. It allows554When present, the table is the complete list of allowed profiles. It allows

563profiles set to `true` and denies profiles omitted or set to `false`, including555profiles set to `true` and denies profiles omitted or set to `false`, including

564built-ins added in future Codex versions.556built-ins added in future Codex versions.


583loaded config. Custom names can't start with `:` or use the reserved `filesystem`575loaded config. Custom names can't start with `:` or use the reserved `filesystem`

584name.576name.

585 577 

586Don't deploy managed custom profiles to clients running Codex 0.137.0 or

587earlier. Those clients recognize the profile table but not the managed default

588that selects it.

589 

590For example:578For example:

591 579 

592```toml580```toml


836### Configure network access requirements824### Configure network access requirements

837 825 

838<WarningTip>826<WarningTip>

839 Keep `[experimental_network]` in published policies until every client and827 If your policy validator strips `[network_proxy]`, use the

840 policy validation tool supports `[network_proxy]`. Older versions can ignore828 `[experimental_network]` alias. Support for managed command networking is

841 or strip the new name. Test enforcement on the client versions and operating829 limited on Windows.

842 systems you deploy, especially Windows, where support is limited.

843</WarningTip>830</WarningTip>

844 831 

845Use **Requirements** > **Network use controls** to manage supported command832Use **Requirements** > **Network use controls** to manage supported command


871Global rules. Use **Edit as TOML** for advanced network fields or existing legacy858Global rules. Use **Edit as TOML** for advanced network fields or existing legacy

872domain lists that the visual editor can't represent.859domain lists that the visual editor can't represent.

873 860 

874In Codex 0.166.0, `[network_proxy]` is the canonical table for managed861Use `[network_proxy]` or its alias `[experimental_network]` in

875command networking in `requirements.toml`. Codex also accepts the older862`requirements.toml`. Use one name per layer. If layers use different names,

876`[experimental_network]` name. Choose one table name per layer. If layers use863the usual requirements precedence applies.

877different names, Codex applies the usual requirements precedence.

878 864 

879Set `enabled = true` in the managed table to start the proxy independently865Set `enabled = true` in the managed table to start the proxy independently

880of the user setting `features.network_proxy`. The active sandbox must also866of the user setting `features.network_proxy`. The active sandbox must also

881allow command network access. The example uses the name that older clients867allow command network access.

882and policy validation layers recognize.

883 868 

884```toml869```toml

885[experimental_network]870[experimental_network]


1194]1179]

1195```1180```

1196 1181 

1197Check that every managed client version supports the keys you select. Assign the policy to the intended users or groups and verify that it takes effect on their supported clients. Use1182Assign the policy to the intended users or groups.

1198the configuration reference for the current schema and the administration

1199surface for current assignment behavior.

1200 1183 

1201The service selects the enterprise-managed requirement layers that apply to the1184The service selects the enterprise-managed requirement layers that apply to the

1202signed-in identity. The local client evaluates those layers with the other1185signed-in identity. The local client evaluates those layers with the other


1283 1266 

1284### Enforce OpenTelemetry settings1267### Enforce OpenTelemetry settings

1285 1268 

1286In Codex CLI 0.166.0, use `[otel]` in `requirements.toml` to set the log, trace, and metrics1269Use `[otel]` in `requirements.toml` to configure log, trace, and metrics

1287exporters independently, label the environment, and control which content Codex1270exporters independently for Codex CLI and the macOS desktop app. You can

1288exports. This example sends logs to an OTLP/HTTP collector and limits the1271label the environment and control which content Codex exports.

1289text logged for each tool result to 256 UTF-8 bytes. It omits prompt text, final response

1290text, and automatic approval assessments.

1291 1272 

1292The macOS desktop app 26.1111.21308 bundles CLI `0.169.0-alpha.11.1` and1273Set `otel.log_sse_deltas` to `false` to skip successful streaming events whose

1293supports managed `[otel]` settings. Set `otel.log_sse_deltas` to `false` to1274names end in `.delta`. Codex still records errors, completion events, and metrics.

1294skip successful streaming events whose names end in `.delta`. Codex still1275 

1295records errors, completion events, and metrics.1276This example sends logs to an OTLP/HTTP collector and limits the logged text

1296The older desktop build 26.1027.30824 bundles CLI `0.166.0-alpha.5.1` and1277of each tool result to 256 UTF-8 bytes. It omits prompt text, final response

1297can't enforce `[otel]` settings through `requirements.toml`.1278text, and automatic approval assessments.

1298 1279 

1299```toml1280```toml

1300[otel]1281[otel]


1321See [Observability and telemetry](https://learn.chatgpt.com/docs/config-file/config-advanced#observability-and-telemetry)1302See [Observability and telemetry](https://learn.chatgpt.com/docs/config-file/config-advanced#observability-and-telemetry)

1322for exporter options and log contents.1303for exporter options and log contents.

1323 1304 

1305### Managed collector credentials

1306 

1307Use a managed header helper to refresh OTLP/HTTP collector credentials.

1308 

1309Install the helper in an administrator-controlled directory and grant Codex

1310users permission to execute it. Codex runs it directly from that directory.

1311Set its absolute path and the exporters that use it in the same requirements

1312layer, either system `requirements.toml` or macOS MDM.

1313 

1314```toml

1315[otel]

1316headers_helper = "/opt/company/bin/otel-auth"

1317exporter = { otlp-http = { endpoint = "https://otel.example.com/v1/logs", protocol = "binary" } }

1318```

1319 

1320The helper can supply headers for `exporter`, `trace_exporter`, and

1321`metrics_exporter`. If another layer replaces an exporter, the replacement

1322uses its own headers. OTLP/gRPC exporters don't use the helper.

1323 

1324See [Refresh collector credentials](https://learn.chatgpt.com/docs/config-file/config-advanced#refresh-collector-credentials)

1325for the helper's output format, refresh interval, and failure behavior.

1326 

1324### Migrate SQLite databases on NFS1327### Migrate SQLite databases on NFS

1325 1328 

1326On Linux, Codex creates new SQLite databases on NFS in `DELETE` journal mode.1329On Linux, Codex creates new SQLite databases on NFS in `DELETE` journal mode.

Details

1181 1181 

1182The requirement registers the hook but does not install it. Have an administrator install the selected file with the commands below.1182The requirement registers the hook but does not install it. Have an administrator install the selected file with the commands below.

1183 1183 

1184<CodeSampleNote client:load language="java" languages={Object.keys(samples.all.codexSecurityCookbook.installAndEnforceAdministratorManagedHooks())}>

1185 

1186The Java tab implements the same hook protocol. To use it, compile the class and configure the hook command to run the class with your Java runtime and dependencies. The installation commands here use the Python version.

1187 

1188</CodeSampleNote>

1189 

1184<CodeSampleNote client:load language="python" languages={Object.keys(samples.all.codexSecurityCookbook.installAndEnforceAdministratorManagedHooks())}>1190<CodeSampleNote client:load language="python" languages={Object.keys(samples.all.codexSecurityCookbook.installAndEnforceAdministratorManagedHooks())}>

1185 1191 

1186For a local macOS integration test, save the Python version as `pre_tool_use_policy.py`.1192For a local macOS integration test, save the Python version as `pre_tool_use_policy.py`.


1268}1274}

1269```1275```

1270 1276 

1277```java

1278import com.fasterxml.jackson.databind.ObjectMapper;

1279 

1280var event = new ObjectMapper().readTree(System.in);

1281String command = event.path("tool_input").path("command").asText("");

1282if (command.contains("CODEX_HOOK_TEST_DENY")) {

1283 System.err.println("Synthetic test command blocked by managed hook.");

1284 System.exit(2);

1285}

1286```

1287 

1271```ruby1288```ruby

1272require "json"1289require "json"

1273 1290 

Details

21## Start a task in Codex Cloud21## Start a task in Codex Cloud

22 22 

23On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), choose **Work in** > **Cloud**.23On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), choose **Work in** > **Cloud**.

24On mobile, open **Codex**. If the default environment appears in the picker,24On mobile, open **Codex**. If **Default environment** appears in the picker,

25select it and describe your task.25select it and describe your task.

26 26 

27 

28 

29> Illustration: Desktop app Work in menu with Cloud open and Default environment highlighted

30 

31 

32 

27- **Without a project**, you can start without a repository. For example, ask33- **Without a project**, you can start without a repository. For example, ask

28 Codex to write and test a script using sample data. If the task later needs34 Codex to write and test a script using sample data. If the task later needs

29 existing code, tell Codex which repository to clone.35 existing code, tell Codex which repository to clone.


42published environment instead. In Enterprise workspaces, use a published48published environment instead. In Enterprise workspaces, use a published

43environment you have access to. Admins can [review workspace access](https://learn.chatgpt.com/docs/enterprise/admin-setup#step-5-configure-codex-cloud).49environment you have access to. Admins can [review workspace access](https://learn.chatgpt.com/docs/enterprise/admin-setup#step-5-configure-codex-cloud).

44 50 

51### Reuse settings from a running task

52 

53If **Edit** appears next to **Cloud** under **Environment** in the desktop

54app, you can configure the task without leaving the chat.

55 

561. Select **Edit** and review the repositories, scripts, and access settings.

572. Select **Apply to this chat** to use your changes in the current task.

583. To reuse the settings from **Default environment**, select **Save for future

59 chats**, enter a name, and select **Save environment**.

60 

61Choose the named environment when you start another task. Reopen the original

62chat to continue working with that task's files.

63 

45## Create and publish an environment64## Create and publish an environment

46 65 

47Create a reusable environment on the web or in the [desktop app](https://learn.chatgpt.com/docs/app)66Create a reusable environment on the web or in the [desktop app](https://learn.chatgpt.com/docs/app)


94- **Install script:** commands to install dependencies and prepare development assets.113- **Install script:** commands to install dependencies and prepare development assets.

95- **Start skill:** instructions to start services and check that they're ready.114- **Start skill:** instructions to start services and check that they're ready.

96 115 

116When [Browser Use or Computer Use](https://learn.chatgpt.com/docs/browser#use-the-cloud-browser-or-computer)

117is available, ask Codex to interact with websites or apps on the cloud computer.

118Neither tool requires you to install Playwright.

119 

120For repeatable browser tests, you can also [run Playwright tests](https://learn.chatgpt.com/docs/browser#run-playwright-tests).

121If you choose Playwright, install it along with its browser binaries, system

122dependencies, and your app's dependencies.

123 

97 124 

98 125 

99 126


446Reopen the same task to continue its work across devices. Each new task starts in its own workspace. Tasks in Codex Cloud can keep working while473Reopen the same task to continue its work across devices. Each new task starts in its own workspace. Tasks in Codex Cloud can keep working while

447your computer is asleep.474your computer is asleep.

448 475 

476### Preview an app or connect over SSH

477 

478The controls you see depend on your app version, workspace, and environment.

479To [watch Codex interact with an app](https://learn.chatgpt.com/docs/browser#use-the-cloud-browser-or-computer),

480open **Desktop**. To try the app in your own browser, use **HTTP Previews**

481if available:

482 

4831. Ask Codex to start the server and tell you which port it uses.

4842. If the port isn't listed, edit the task's environment. Under **HTTP

485 Previews**, add the port, press Enter, select **Apply**, then select

486 **Apply to this chat**.

4873. Open the port under **HTTP Previews** in the task. Only you can access

488 the private HTTPS link. Remove the port to block new requests to the link.

489 

490To connect from a local terminal or editor when **SSH access** is enabled,

491select **Set up SSH** next to **SSH** in the desktop app. Choose a profile

492name and select **Create and copy command**. Codex adds a profile to your

493local SSH configuration. Run the copied command in your terminal or select

494the profile in your editor. Turning off SSH access may leave existing connections active.

495 

449<a id="start-work-from-a-team-conversation"></a>496<a id="start-work-from-a-team-conversation"></a>

450 497 

451### Start tasks from Slack or Microsoft Teams498### Start tasks from Slack or Microsoft Teams


487 534 

488## Current limitations535## Current limitations

489 536 

490The following capabilities aren't currently supported in cloud environments537[Browser Use and Computer Use](https://learn.chatgpt.com/docs/browser#use-the-cloud-browser-or-computer)

491and are on our roadmap:538aren't available in every cloud task. Access to the **Desktop** viewer can

539also vary by app version and workspace.

492 540 

493- Computer use541Cloud environments don't support self-hosted GitHub Enterprise Server.

494- Self-hosted GitHub Enterprise Server

495 542 

496Skills stored in your repository are available in cloud tasks. Personal skills543Skills stored in your repository are available in cloud tasks. Personal skills

497from your local computer aren't synced to cloud environments.544from your local computer aren't synced to cloud environments.

extend/mcp.md +7 −2

Details

374- Set `required = true` to make startup fail if this enabled server isn't374- Set `required = true` to make startup fail if this enabled server isn't

375 ready. By default, `startup_readiness = "connection"` requires a live connection.375 ready. By default, `startup_readiness = "connection"` requires a live connection.

376 Set `startup_readiness = "catalog"` to let a valid cached tool catalog376 Set `startup_readiness = "catalog"` to let a valid cached tool catalog

377 satisfy startup while the server connects. Tool calls still need a live377 satisfy that requirement. Tool calls still need a live connection.

378 connection.

379- `enabled_tools` (optional): Tool allow list.378- `enabled_tools` (optional): Tool allow list.

380- `disabled_tools` (optional): Tool deny list (applied after `enabled_tools`).379- `disabled_tools` (optional): Tool deny list (applied after `enabled_tools`).

381- `default_tools_approval_mode` (optional): Default approval behavior for380- `default_tools_approval_mode` (optional): Default approval behavior for


386 tool's output, before the standard 20% serialization allowance. Overrides the385 tool's output, before the standard 20% serialization allowance. Overrides the

387 model's default output truncation budget for that tool.386 model's default output truncation budget for that tool.

388 387 

388By default, Codex can wait until the first tool call to start an optional

389stdio server if it already has a usable tool list for that server. A required

390stdio server can also start on first use if you set `startup_readiness = "catalog"`.

391Without a cached tool list, Codex starts the server when the thread starts.

392Set `features.mcp_lazy_stdio_startup = false` to start these servers with the thread.

393 

389The top-level `mcp_optional_startup_grace_ms` setting controls how long Codex394The top-level `mcp_optional_startup_grace_ms` setting controls how long Codex

390waits for optional MCP servers when building the initial tool catalog. It395waits for optional MCP servers when building the initial tool catalog. It

391defaults to `1000` milliseconds. Set it to `0` to wait for each server's396defaults to `1000` milliseconds. Set it to `0` to wait for each server's

mcp.md +7 −2

Details

374- Set `required = true` to make startup fail if this enabled server isn't374- Set `required = true` to make startup fail if this enabled server isn't

375 ready. By default, `startup_readiness = "connection"` requires a live connection.375 ready. By default, `startup_readiness = "connection"` requires a live connection.

376 Set `startup_readiness = "catalog"` to let a valid cached tool catalog376 Set `startup_readiness = "catalog"` to let a valid cached tool catalog

377 satisfy startup while the server connects. Tool calls still need a live377 satisfy that requirement. Tool calls still need a live connection.

378 connection.

379- `enabled_tools` (optional): Tool allow list.378- `enabled_tools` (optional): Tool allow list.

380- `disabled_tools` (optional): Tool deny list (applied after `enabled_tools`).379- `disabled_tools` (optional): Tool deny list (applied after `enabled_tools`).

381- `default_tools_approval_mode` (optional): Default approval behavior for380- `default_tools_approval_mode` (optional): Default approval behavior for


386 tool's output, before the standard 20% serialization allowance. Overrides the385 tool's output, before the standard 20% serialization allowance. Overrides the

387 model's default output truncation budget for that tool.386 model's default output truncation budget for that tool.

388 387 

388By default, Codex can wait until the first tool call to start an optional

389stdio server if it already has a usable tool list for that server. A required

390stdio server can also start on first use if you set `startup_readiness = "catalog"`.

391Without a cached tool list, Codex starts the server when the thread starts.

392Set `features.mcp_lazy_stdio_startup = false` to start these servers with the thread.

393 

389The top-level `mcp_optional_startup_grace_ms` setting controls how long Codex394The top-level `mcp_optional_startup_grace_ms` setting controls how long Codex

390waits for optional MCP servers when building the initial tool catalog. It395waits for optional MCP servers when building the initial tool catalog. It

391defaults to `1000` milliseconds. Set it to `0` to wait for each server's396defaults to `1000` milliseconds. Set it to `0` to wait for each server's

Details

188```188```

189 189 

190You can also target a specific session ID with `codex exec resume <SESSION_ID>`.190You can also target a specific session ID with `codex exec resume <SESSION_ID>`.

191Codex reuses the session's working directory, workspace roots, and sandbox

192permissions. To override the working directory or sandbox, pass `-C` or

193`--sandbox` before `resume`. Use `--add-dir` before `resume` to add a

194workspace root to the saved set.

191 195 

192## Git repository required196## Git repository required

193 197 

Details

188```188```

189 189 

190You can also target a specific session ID with `codex exec resume <SESSION_ID>`.190You can also target a specific session ID with `codex exec resume <SESSION_ID>`.

191Codex reuses the session's working directory, workspace roots, and sandbox

192permissions. To override the working directory or sandbox, pass `-C` or

193`--sandbox` before `resume`. Use `--add-dir` before `resume` to add a

194workspace root to the saved set.

191 195 

192## Git repository required196## Git repository required

193 197 

Details

24Use these approximate credit rates to estimate hosting costs starting January 1, 2027.24Use these approximate credit rates to estimate hosting costs starting January 1, 2027.

25 25 

26| What you use | Billing unit | Approx. credits |26| What you use | Billing unit | Approx. credits |

27| -------------------------------------------------------- | ------------------------ | --------------- |27| ------------------------------------------------------------------ | ------------------------ | --------------- |

28| Site without storage | 1 Site per month | 0 |28| Site without storage | 1 Site per month | 0 |

29| Site with storage, including an empty database | 1 Site per month | 25 |29| Site with storage, including an empty database | 1 Site per month | 25 |

30| Traffic | 100,000 requests | 16 |30| Traffic | 100,000 requests | 15 |

31| Database storage (saved records, such as form responses) | 1 GiB stored for a month | 150 |31| Database storage (saved records, such as form responses) | 1 GiB stored for a month | 150 |

32| File storage (uploaded files, such as images or PDFs) | 1 GiB stored for a month | 3.75 |32| File storage (uploaded files, such as images or PDFs) | 1 GiB stored for a month | 3.75 |

33| Custom domain (domain registration costs extra) | 1 domain per month | 25 |33| Custom domain (domain registration costs extra) | 1 domain per month | 25 |

34| Tunnel to a private system (Enterprise only) | 1 tunnel per month | 125 |34| Site–tunnel connection to a private system (Enterprise plans only) | 1 connection for 30 days | 125 |

35 35 

36A request loads a page, image, or other resource. One page visit typically generates 30–50 requests, depending on the site.36A request loads a page, image, or other resource. One page visit typically generates 30–50 requests, depending on the site.

37 37 

38A site with an empty database uses about 25 credits per month before traffic. If it stores 1 GiB of records for the full month, the base fee and database storage together use about 175 credits. One GiB is about 1.07 GB.38A site with an empty database uses about 25 credits per month before traffic. If it stores 1 GiB of records for the full month, the base fee and database storage together use about 175 credits. One GiB is about 1.07 GB.

39 39 

40### Private connections on Enterprise

41 

42A Site–tunnel connection costs approximately 125 credits for 30 days, prorated daily. Each Site–tunnel pair counts once per UTC day, even if the Site is unpublished or sends no traffic. A tunnel with no Sites attached during the day counts as zero connections.

43 

44- Three Sites that share one tunnel count as three connections, even if they attach at different times that day.

45- One Site attached to two tunnels counts as two connections, including when it switches from one tunnel to the other.

46- Disconnecting and reconnecting the same Site to the same tunnel on the same UTC day counts as one connection.

47 

40## Estimate your monthly cost48## Estimate your monthly cost

41 49 

42Choose an example site or enter your monthly requests, database storage, and file storage. Select your plan to see how much of your hosting allowance the site would use.50Choose an example site or enter your monthly requests, database storage, and file storage. Select your plan to see how much of your hosting allowance the site would use.


50 { label: "Enterprise" },58 { label: "Enterprise" },

51 ]}59 ]}

52 rates={{60 rates={{

53 traffic: { credits: 16, requests: 100000 },61 traffic: { credits: 15, requests: 100000 },

54 monthlyStorageBase: 25,62 monthlyStorageBase: 25,

55 databasePerGiB: 150,63 databasePerGiB: 150,

56 filesPerGiB: 3.75,64 filesPerGiB: 3.75,

57 }}65 }}

58/>66/>

59 67 

60Estimates assume a full month of storage. Select **This Site has a database** to include its base fee even when saved records are zero. For custom domains and private connections, add the charges listed under [Hosting usage rates](#hosting-usage-rates).68Estimates assume a full month of storage. Select **This Site has a database** to include its base fee even when saved records are zero. For custom domains and Enterprise Site–tunnel connections, add the charges listed under [Hosting usage rates](#hosting-usage-rates).