v2_protocol
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| AccountBedrockCheckGovCloudRequirementsRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountBedrockDiscoverRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountBedrockSetupRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountGatewayOAuthCancelRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountGatewayOAuthChangedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| AccountGatewayOAuthLoginRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountGatewayOAuthReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountGcpSetupRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountLoginCancelRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountLoginCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| AccountLoginCompletedNotification codexed.models.v2_protocol |
||
| AccountLoginStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountLogoutRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountRateLimitResetCreditConsumeRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountRateLimitsReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountRateLimitsUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| AccountRateLimitsUpdatedNotification codexed.models.v2_protocol Sparse rolling rate-limit update. |
||
| AccountReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountSecuritySetupAction codexed.models.v2_protocol |
||
| AccountSecuritySetupNotice codexed.models.v2_protocol |
||
| AccountSecuritySetupReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountSendAddCreditsNudgeEmailRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountSession codexed.models.v2_protocol |
||
| AccountSessionListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountSessionSwitchRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountSessionWorkspace codexed.models.v2_protocol |
||
| AccountSessionsListParams codexed.models.v2_protocol |
||
| AccountSessionsResponse codexed.models.v2_protocol |
||
| AccountSessionsSwitchParams codexed.models.v2_protocol |
||
| AccountSessionsSwitchResponse1 codexed.models.v2_protocol Open the URL and await account/login/completed for this login ID. |
||
| AccountTokenUsageDailyBucket codexed.models.v2_protocol |
||
| AccountTokenUsageSummary codexed.models.v2_protocol |
||
| AccountUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| AccountUpdatedNotification codexed.models.v2_protocol |
||
| AccountUsageReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AccountWorkspaceMessagesReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ActivePermissionProfile codexed.models.v2_protocol |
||
| ActiveThreadStatus codexed.models.v2_protocol |
||
| ActiveTurnNotSteerable codexed.models.v2_protocol |
||
| ActiveTurnNotSteerableCodexErrorInfo codexed.models.v2_protocol Returned when `turn/start` or `turn/steer` is submitted while the current active turn cannot accept same-turn steering, for example `/review` or manual `/compact`. |
||
| AddPatchChangeKind codexed.models.v2_protocol |
||
| AdditionalContextEntry codexed.models.v2_protocol |
||
| AdditionalFileSystemPermissions codexed.models.v2_protocol |
||
| AdditionalNetworkPermissions codexed.models.v2_protocol |
||
| AdditionalToolsResponseItem codexed.models.v2_protocol |
||
| AgentConfiguredHookHandler codexed.models.v2_protocol |
||
| AgentHookMetadata codexed.models.v2_protocol |
||
| AgentMessageDeltaNotification codexed.models.v2_protocol |
||
| AgentMessageDisplay1 codexed.models.v2_protocol How Chat should present a recovered answer. |
||
| AgentMessageDisplay2 codexed.models.v2_protocol How Chat should present a recovered answer. |
||
| AgentMessageDisplay3 codexed.models.v2_protocol How Chat should present a recovered answer. |
||
| AgentMessageModeration codexed.models.v2_protocol |
||
| AgentMessageResponseItem codexed.models.v2_protocol |
||
| AgentMessageThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| AmazonBedrockAccessKeysv2LoginAccountParams codexed.models.v2_protocol [UNSTABLE] Managed Amazon Bedrock AWS access key login is experimental. |
||
| AmazonBedrockAccount codexed.models.v2_protocol |
||
| AmazonBedrockv2LoginAccountParams codexed.models.v2_protocol [UNSTABLE] Managed Amazon Bedrock login is experimental. |
||
| AmazonBedrockv2LoginAccountResponse codexed.models.v2_protocol |
||
| AnalyticsConfig codexed.models.v2_protocol |
||
| AnswerAnnotation1 codexed.models.v2_protocol |
||
| ApiKeyAccount codexed.models.v2_protocol |
||
| ApiKeyv2LoginAccountParams codexed.models.v2_protocol |
||
| ApiKeyv2LoginAccountResponse codexed.models.v2_protocol |
||
| AppBranding codexed.models.v2_protocol EXPERIMENTAL - app metadata returned by app-list APIs. |
||
| AppConfig codexed.models.v2_protocol |
||
| AppInfo codexed.models.v2_protocol EXPERIMENTAL - app metadata returned by app-list APIs. |
||
| AppInstalledRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AppLinkConfig codexed.models.v2_protocol Approval settings for a connected account within an app. |
||
| AppLinksConfig codexed.models.v2_protocol Account settings for a single app. |
||
| AppListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AppListUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| AppListUpdatedNotification codexed.models.v2_protocol EXPERIMENTAL - notification emitted when the app list changes. |
||
| AppMetadata codexed.models.v2_protocol |
||
| AppReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| AppReview codexed.models.v2_protocol |
||
| AppScreenshot codexed.models.v2_protocol |
||
| AppSummary codexed.models.v2_protocol EXPERIMENTAL - app metadata summary for plugin responses. |
||
| AppTemplateSummary codexed.models.v2_protocol |
||
| AppToolConfig codexed.models.v2_protocol |
||
| AppToolSummary codexed.models.v2_protocol EXPERIMENTAL - metadata returned by app/read. |
||
| AppToolsConfig codexed.models.v2_protocol |
||
| ApplicationNetworkRequirements codexed.models.v2_protocol |
||
| ApplicationRequirements codexed.models.v2_protocol |
||
| ApplicationStorageRequirements codexed.models.v2_protocol Managed storage settings for new Desktop workspaces, not filesystem access restrictions. |
||
| ApplyPatchGuardianApprovalReviewAction codexed.models.v2_protocol |
||
| AppsConfig codexed.models.v2_protocol |
||
| AppsDefaultConfig codexed.models.v2_protocol |
||
| AppsInstalledParams codexed.models.v2_protocol Read the committed installed connector runtime snapshot. |
||
| AppsInstalledResponse codexed.models.v2_protocol The installed connectors in one committed runtime snapshot. |
||
| AppsListParams codexed.models.v2_protocol EXPERIMENTAL - list available apps/connectors. |
||
| AppsListResponse codexed.models.v2_protocol EXPERIMENTAL - app list response. |
||
| AppsReadParams codexed.models.v2_protocol EXPERIMENTAL - read metadata for specific apps/connectors. |
||
| AppsReadResponse codexed.models.v2_protocol EXPERIMENTAL - app/read response. |
||
| AsyncUserInputQuestion codexed.models.v2_protocol |
||
| AudioUrlContentItem codexed.models.v2_protocol Inline audio data or an uploaded file loaded by the Responses API. |
||
| AudioUrlFunctionCallOutputContentItem codexed.models.v2_protocol Inline audio data or an uploaded file loaded by the Responses API. |
||
| AuthRecoveryNotification codexed.models.v2_protocol |
||
| AutoApprovalReviewStrictReviewRequiredNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| AutoReviewRequirements codexed.models.v2_protocol |
||
| BaseBranchReviewTarget codexed.models.v2_protocol Review changes between the current branch and the given base branch. |
||
| BedrockAwsProfile codexed.models.v2_protocol |
||
| BedrockCheckGovCloudRequirementsParams codexed.models.v2_protocol |
||
| BedrockCheckGovCloudRequirementsResponse codexed.models.v2_protocol Advisory check of the current Bedrock configuration after login or setup. |
||
| BedrockDiscoverParams codexed.models.v2_protocol |
||
| BedrockDiscoverResponse codexed.models.v2_protocol |
||
| BedrockEnvironmentCredential codexed.models.v2_protocol |
||
| BedrockProviderSettings codexed.models.v2_protocol |
||
| BedrockProviderSettingsPatch codexed.models.v2_protocol AWS configuration fields for built-in Bedrock providers. |
||
| BedrockSetupResponse codexed.models.v2_protocol |
||
| BemItemPromotedThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| BlockReason1 codexed.models.v2_protocol |
||
| BrowserUseConfig codexed.models.v2_protocol |
||
| BrowserUseExtensionRequirements codexed.models.v2_protocol |
||
| BrowserUseOriginPolicy codexed.models.v2_protocol |
||
| BrowserUseOriginPolicyConfig codexed.models.v2_protocol |
||
| BrowserUseRequirements codexed.models.v2_protocol |
||
| ByteRange codexed.models.v2_protocol |
||
| CancelLoginAccountParams codexed.models.v2_protocol |
||
| CancelLoginAccountResponse codexed.models.v2_protocol |
||
| CancelledUserVerificationErrorDetails codexed.models.v2_protocol Closed error categories; native diagnostic payloads must not cross this boundary. |
||
| ChatgptAccount codexed.models.v2_protocol |
||
| ChatgptAuthTokensv2LoginAccountParams codexed.models.v2_protocol [UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE. The access token must contain the same scopes that Codex-managed ChatGPT auth tokens have. |
||
| ChatgptAuthTokensv2LoginAccountResponse codexed.models.v2_protocol |
||
| ChatgptDeviceCodev2LoginAccountParams codexed.models.v2_protocol |
||
| ChatgptDeviceCodev2LoginAccountResponse codexed.models.v2_protocol |
||
| Chatgptv2LoginAccountParams codexed.models.v2_protocol |
||
| Chatgptv2LoginAccountResponse codexed.models.v2_protocol |
||
| ClientInfo codexed.models.v2_protocol |
||
| CodexAppServerProtocolV2 codexed.models.v2_protocol |
||
| CollabAgentState codexed.models.v2_protocol |
||
| CollabAgentToolCallThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| CollaborationMode codexed.models.v2_protocol Collaboration mode for a Codex session. |
||
| CollaborationModeListParams codexed.models.v2_protocol EXPERIMENTAL - list collaboration mode presets. |
||
| CollaborationModeListRequest codexed.models.v2_protocol Lists collaboration mode presets. |
||
| CollaborationModeListResponse codexed.models.v2_protocol EXPERIMENTAL - collaboration mode presets response. |
||
| CollaborationModeMask codexed.models.v2_protocol EXPERIMENTAL - collaboration mode preset metadata for clients. |
||
| CommandConfiguredHookHandler codexed.models.v2_protocol |
||
| CommandExecOutputDeltaMessage codexed.models.v2_protocol Stream base64-encoded stdout/stderr chunks for a running `command/exec` session. |
||
| CommandExecOutputDeltaNotification codexed.models.v2_protocol Base64-encoded output chunk emitted for a streaming `command/exec` request. |
||
| CommandExecParams codexed.models.v2_protocol Run a standalone command (argv vector) in the server sandbox without creating a thread or turn. |
||
| CommandExecRequest codexed.models.v2_protocol Execute a standalone command (argv vector) under the server's sandbox. |
||
| CommandExecResizeParams codexed.models.v2_protocol Resize a running PTY-backed `command/exec` session. |
||
| CommandExecResizeRequest codexed.models.v2_protocol Resize a running PTY-backed `command/exec` session by client-supplied `processId`. |
||
| CommandExecResizeResponse codexed.models.v2_protocol Empty success response for `command/exec/resize`. |
||
| CommandExecResponse codexed.models.v2_protocol Final buffered result for `command/exec`. |
||
| CommandExecTerminalSize codexed.models.v2_protocol PTY size in character cells for `command/exec` PTY sessions. |
||
| CommandExecTerminateParams codexed.models.v2_protocol Terminate a running `command/exec` session. |
||
| CommandExecTerminateRequest codexed.models.v2_protocol Terminate a running `command/exec` session by client-supplied `processId`. |
||
| CommandExecTerminateResponse codexed.models.v2_protocol Empty success response for `command/exec/terminate`. |
||
| CommandExecWriteParams codexed.models.v2_protocol Write stdin bytes to a running `command/exec` session, close stdin, or both. |
||
| CommandExecWriteRequest codexed.models.v2_protocol Write stdin bytes to a running `command/exec` session or close stdin. |
||
| CommandExecWriteResponse codexed.models.v2_protocol Empty success response for `command/exec/write`. |
||
| CommandExecutionOutputDeltaNotification codexed.models.v2_protocol |
||
| CommandExecutionThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| CommandGuardianApprovalReviewAction codexed.models.v2_protocol |
||
| CommandMigration codexed.models.v2_protocol |
||
| CommitReviewTarget codexed.models.v2_protocol Review the changes introduced by a specific commit. |
||
| CompactionResponseItem codexed.models.v2_protocol |
||
| CompactionTriggerResponseItem codexed.models.v2_protocol |
||
| CompletedThreadPredictionResult codexed.models.v2_protocol |
||
| ComputerUseConfig codexed.models.v2_protocol |
||
| ComputerUseMacosConfig codexed.models.v2_protocol |
||
| ComputerUseMacosRequirements codexed.models.v2_protocol |
||
| ComputerUseRequirements codexed.models.v2_protocol |
||
| ComputerUseWindowsConfig codexed.models.v2_protocol |
||
| ComputerUseWindowsExeConfig codexed.models.v2_protocol |
||
| ComputerUseWindowsExeRequirement codexed.models.v2_protocol |
||
| ComputerUseWindowsRequirements codexed.models.v2_protocol |
||
| Config codexed.models.v2_protocol |
||
| ConfigBatchWriteParams codexed.models.v2_protocol |
||
| ConfigBatchWriteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ConfigEdit codexed.models.v2_protocol |
||
| ConfigLayer codexed.models.v2_protocol |
||
| ConfigLayerMetadata codexed.models.v2_protocol |
||
| ConfigMcpServerReloadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ConfigReadParams codexed.models.v2_protocol |
||
| ConfigReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ConfigReadResponse codexed.models.v2_protocol |
||
| ConfigRequirements codexed.models.v2_protocol |
||
| ConfigRequirementsReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ConfigRequirementsReadResponse codexed.models.v2_protocol |
||
| ConfigValueWriteParams codexed.models.v2_protocol |
||
| ConfigValueWriteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ConfigWarningMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ConfigWarningNotification codexed.models.v2_protocol |
||
| ConfigWriteResponse codexed.models.v2_protocol |
||
| ConfigurationReasoning codexed.models.v2_protocol Reasoning settings interpreted by the backend for the routed model. |
||
| ConfigurationUpdateResponseItem codexed.models.v2_protocol A durable input control interpreted by the backend at its position in history. |
||
| ConfiguredHookMatcherGroup codexed.models.v2_protocol |
||
| ConnectorMetadata codexed.models.v2_protocol EXPERIMENTAL - metadata returned by app/read. |
||
| ConsumeAccountRateLimitResetCreditParams codexed.models.v2_protocol |
||
| ConsumeAccountRateLimitResetCreditResponse codexed.models.v2_protocol |
||
| ContextCompactedNotification codexed.models.v2_protocol Deprecated: Use `ContextCompaction` item type instead. |
||
| ContextCompactionResponseItem codexed.models.v2_protocol |
||
| ContextCompactionThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| CreditsSnapshot codexed.models.v2_protocol |
||
| CustomGatewayProviderSettings codexed.models.v2_protocol |
||
| CustomGatewayProviderSettingsPatch codexed.models.v2_protocol Omitted patch fields preserve their values. Explicit null clears a nullable field. |
||
| CustomMultiAgentMode codexed.models.v2_protocol Controls the effective multi-agent delegation instructions for a turn. `custom` means the configured mode hint defines the policy instead of a built-in policy. |
||
| CustomReviewTarget codexed.models.v2_protocol Arbitrary instructions, equivalent to the old free-form prompt. |
||
| CustomSessionSource codexed.models.v2_protocol |
||
| CustomToolCallOutputResponseItem codexed.models.v2_protocol |
||
| CustomToolCallResponseItem codexed.models.v2_protocol |
||
| DailyScheduledTaskSchedule codexed.models.v2_protocol |
||
| DangerFullAccessSandboxPolicy codexed.models.v2_protocol |
||
| DeletePatchChangeKind codexed.models.v2_protocol |
||
| DeprecationNoticeMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| DeprecationNoticeNotification codexed.models.v2_protocol |
||
| DynamicToolCallThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| EncryptedContentAgentMessageInputContent codexed.models.v2_protocol |
||
| EncryptedContentFunctionCallOutputContentItem codexed.models.v2_protocol Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs. |
||
| EnteredReviewModeThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| EnterpriseManagedConfigLayerSource codexed.models.v2_protocol Enterprise-managed config layer delivered by the cloud config bundle. |
||
| EnvironmentAddParams codexed.models.v2_protocol |
||
| EnvironmentAddRequest codexed.models.v2_protocol Adds or replaces a remote environment by id for later selection. |
||
| EnvironmentAddResponse codexed.models.v2_protocol |
||
| EnvironmentCapabilityRootLocation codexed.models.v2_protocol A path owned by an execution environment. |
||
| EnvironmentConnectionNotification codexed.models.v2_protocol |
||
| EnvironmentInfoParams codexed.models.v2_protocol |
||
| EnvironmentInfoRequest codexed.models.v2_protocol Reads information from a configured execution environment. |
||
| EnvironmentInfoResponse codexed.models.v2_protocol |
||
| EnvironmentShellInfo codexed.models.v2_protocol |
||
| EnvironmentSkillsParams codexed.models.v2_protocol |
||
| EnvironmentStatusParams codexed.models.v2_protocol Parameters for reading the current status of one configured environment. |
||
| EnvironmentStatusRequest codexed.models.v2_protocol Reads the current status of a configured execution environment. |
||
| EnvironmentStatusResponse codexed.models.v2_protocol Current status for the requested environment. |
||
| Environmentv2BedrockSetupParams codexed.models.v2_protocol |
||
| ErrorMessage codexed.models.v2_protocol NEW NOTIFICATIONS. |
||
| ErrorNotification codexed.models.v2_protocol |
||
| ExecLocalShellAction codexed.models.v2_protocol |
||
| ExecveGuardianApprovalReviewAction codexed.models.v2_protocol |
||
| ExistingCallThreadRealtimeStartTransport codexed.models.v2_protocol EXPERIMENTAL - transport used by thread realtime. |
||
| ExitedReviewModeThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| ExperimentalFeature codexed.models.v2_protocol |
||
| ExperimentalFeatureEnablementSetParams codexed.models.v2_protocol |
||
| ExperimentalFeatureEnablementSetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ExperimentalFeatureEnablementSetResponse codexed.models.v2_protocol |
||
| ExperimentalFeatureListParams codexed.models.v2_protocol |
||
| ExperimentalFeatureListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ExperimentalFeatureListResponse codexed.models.v2_protocol |
||
| ExternalAgentConfigDetectParams codexed.models.v2_protocol |
||
| ExternalAgentConfigDetectRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ExternalAgentConfigDetectResponse codexed.models.v2_protocol |
||
| ExternalAgentConfigImportCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ExternalAgentConfigImportCompletedNotification codexed.models.v2_protocol |
||
| ExternalAgentConfigImportHistoriesReadResponse codexed.models.v2_protocol |
||
| ExternalAgentConfigImportHistory codexed.models.v2_protocol |
||
| ExternalAgentConfigImportHistoryRecordParams codexed.models.v2_protocol |
||
| ExternalAgentConfigImportHistoryRecordResponse codexed.models.v2_protocol |
||
| ExternalAgentConfigImportHistoryRecordSuccessParams codexed.models.v2_protocol |
||
| ExternalAgentConfigImportHistoryRecordTypeResultParams codexed.models.v2_protocol |
||
| ExternalAgentConfigImportItemTypeFailure codexed.models.v2_protocol |
||
| ExternalAgentConfigImportItemTypeSuccess codexed.models.v2_protocol |
||
| ExternalAgentConfigImportParams codexed.models.v2_protocol |
||
| ExternalAgentConfigImportProgressMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ExternalAgentConfigImportProgressNotification codexed.models.v2_protocol |
||
| ExternalAgentConfigImportReadHistoriesRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ExternalAgentConfigImportRecordHistoryRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ExternalAgentConfigImportRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ExternalAgentConfigImportResponse codexed.models.v2_protocol |
||
| ExternalAgentConfigImportTypeResult codexed.models.v2_protocol |
||
| ExternalAgentConfigMigrationItem codexed.models.v2_protocol |
||
| ExternalAgentDetectedConnectorCandidate codexed.models.v2_protocol |
||
| ExternalAgentImportedConnectorCandidate codexed.models.v2_protocol |
||
| ExternalSandboxSandboxPolicy codexed.models.v2_protocol |
||
| FailedThreadPredictionResult codexed.models.v2_protocol |
||
| FailedUserVerificationErrorDetails codexed.models.v2_protocol Closed error categories; native diagnostic payloads must not cross this boundary. |
||
| FeedbackRequirements codexed.models.v2_protocol |
||
| FeedbackSaveParams codexed.models.v2_protocol |
||
| FeedbackSaveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FeedbackSaveResponse codexed.models.v2_protocol |
||
| FeedbackUploadParams codexed.models.v2_protocol |
||
| FeedbackUploadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FeedbackUploadResponse codexed.models.v2_protocol |
||
| FileChangeOutputDeltaNotification codexed.models.v2_protocol Deprecated legacy notification for `apply_patch` textual output. |
||
| FileChangePatchUpdatedNotification codexed.models.v2_protocol |
||
| FileChangeThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| FileIdContentItem codexed.models.v2_protocol |
||
| FileIdContentItem1 codexed.models.v2_protocol Inline audio data or an uploaded file loaded by the Responses API. |
||
| FileIdFunctionCallOutputContentItem codexed.models.v2_protocol Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs. |
||
| FileIdFunctionCallOutputContentItem1 codexed.models.v2_protocol Inline audio data or an uploaded file loaded by the Responses API. |
||
| FileIdThreadItem codexed.models.v2_protocol Either inline generated-image data or its durable attachment-store identity. |
||
| FileIdUserInput codexed.models.v2_protocol |
||
| FileIdUserInput1 codexed.models.v2_protocol |
||
| FileSystemSandboxEntry codexed.models.v2_protocol |
||
| FileSystemSpecialPath1 codexed.models.v2_protocol |
||
| FileUpdateChange codexed.models.v2_protocol |
||
| FindInPageResponsesApiWebSearchAction codexed.models.v2_protocol |
||
| FindInPageWebSearchAction codexed.models.v2_protocol |
||
| FrameThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| FsChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| FsChangedNotification codexed.models.v2_protocol Filesystem watch notification emitted for `fs/watch` subscribers. |
||
| FsCopyParams codexed.models.v2_protocol Copy a file or directory tree on the host filesystem. |
||
| FsCopyRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsCopyResponse codexed.models.v2_protocol Successful response for `fs/copy`. |
||
| FsCreateDirectoryParams codexed.models.v2_protocol Create a directory on the host filesystem. |
||
| FsCreateDirectoryRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsCreateDirectoryResponse codexed.models.v2_protocol Successful response for `fs/createDirectory`. |
||
| FsGetMetadataParams codexed.models.v2_protocol Request metadata for an absolute path. |
||
| FsGetMetadataRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsGetMetadataResponse codexed.models.v2_protocol Metadata returned by `fs/getMetadata`. |
||
| FsReadDirectoryEntry codexed.models.v2_protocol A directory entry returned by `fs/readDirectory`. |
||
| FsReadDirectoryParams codexed.models.v2_protocol List direct child names for a directory. |
||
| FsReadDirectoryRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsReadDirectoryResponse codexed.models.v2_protocol Directory entries returned by `fs/readDirectory`. |
||
| FsReadFileParams codexed.models.v2_protocol Read a file from the host filesystem. |
||
| FsReadFileRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsReadFileResponse codexed.models.v2_protocol Base64-encoded file contents returned by `fs/readFile`. |
||
| FsRemoveParams codexed.models.v2_protocol Remove a file or directory tree from the host filesystem. |
||
| FsRemoveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsRemoveResponse codexed.models.v2_protocol Successful response for `fs/remove`. |
||
| FsUnwatchParams codexed.models.v2_protocol Stop filesystem watch notifications for a prior `fs/watch`. |
||
| FsUnwatchRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsUnwatchResponse codexed.models.v2_protocol Successful response for `fs/unwatch`. |
||
| FsWatchParams codexed.models.v2_protocol Start filesystem watch notifications for an absolute path. |
||
| FsWatchRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsWatchResponse codexed.models.v2_protocol Successful response for `fs/watch`. |
||
| FsWriteFileParams codexed.models.v2_protocol Write a file on the host filesystem. |
||
| FsWriteFileRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FsWriteFileResponse codexed.models.v2_protocol Successful response for `fs/writeFile`. |
||
| FunctionCallOutputResponseItem codexed.models.v2_protocol |
||
| FunctionCallOutputThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| FunctionCallResponseItem codexed.models.v2_protocol |
||
| FunctionDynamicToolNamespaceTool codexed.models.v2_protocol |
||
| FunctionDynamicToolSpec codexed.models.v2_protocol |
||
| FuzzyFileSearchParams codexed.models.v2_protocol |
||
| FuzzyFileSearchRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FuzzyFileSearchResult codexed.models.v2_protocol Superset of [`codex_file_search::FileMatch`]. |
||
| FuzzyFileSearchSessionCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| FuzzyFileSearchSessionCompletedNotification codexed.models.v2_protocol |
||
| FuzzyFileSearchSessionStartParams codexed.models.v2_protocol |
||
| FuzzyFileSearchSessionStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FuzzyFileSearchSessionStopParams codexed.models.v2_protocol |
||
| FuzzyFileSearchSessionStopRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FuzzyFileSearchSessionUpdateParams codexed.models.v2_protocol |
||
| FuzzyFileSearchSessionUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| FuzzyFileSearchSessionUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| FuzzyFileSearchSessionUpdatedNotification codexed.models.v2_protocol |
||
| GatewayAuth1 codexed.models.v2_protocol |
||
| GatewayOAuthCancelResponse codexed.models.v2_protocol |
||
| GatewayOAuthChangedNotification codexed.models.v2_protocol |
||
| GatewayOAuthLoginParams codexed.models.v2_protocol Authorize a configured provider without changing the default or any thread's provider. |
||
| GatewayOAuthLoginResponse codexed.models.v2_protocol |
||
| GatewayOAuthPrompt codexed.models.v2_protocol |
||
| GatewayOAuthReadParams codexed.models.v2_protocol Read credential readiness for a configured provider without starting browser login. |
||
| GatewayOAuthReadResponse codexed.models.v2_protocol Current effective gateway policy and credential readiness; never contains credentials. |
||
| GcpAccount codexed.models.v2_protocol Google Cloud Vertex AI with externally managed credentials. |
||
| GcpProviderSettings codexed.models.v2_protocol |
||
| GcpProviderSettingsPatch codexed.models.v2_protocol GCP configuration fields. Credential-file paths refer to the app-server host. |
||
| GcpSetupParams codexed.models.v2_protocol |
||
| GcpSetupResponse codexed.models.v2_protocol |
||
| GetAccountParams codexed.models.v2_protocol |
||
| GetAccountRateLimitsParams codexed.models.v2_protocol Usage-read capabilities of the requesting client, never inferred from its experiment arm. |
||
| GetAccountRateLimitsResponse codexed.models.v2_protocol |
||
| GetAccountResponse codexed.models.v2_protocol |
||
| GetAccountSecuritySetupResponse codexed.models.v2_protocol Optional security reminder bound to the account that fetched it. Unavailable or ineligible accounts return no notice; this read never changes account security. |
||
| GetAccountTokenUsageParams codexed.models.v2_protocol |
||
| GetAccountTokenUsageResponse codexed.models.v2_protocol |
||
| GetWorkspaceMessagesResponse codexed.models.v2_protocol |
||
| GitInfo codexed.models.v2_protocol |
||
| GitPluginSource codexed.models.v2_protocol |
||
| GlobPatternFileSystemPath codexed.models.v2_protocol |
||
| Granular codexed.models.v2_protocol |
||
| GranularAskForApproval codexed.models.v2_protocol |
||
| GuardianApprovalReview codexed.models.v2_protocol [UNSTABLE] Temporary approval auto-review payload used by `item/autoApprovalReview/*` notifications. This shape is expected to change soon. |
||
| GuardianWarningMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| GuardianWarningNotification codexed.models.v2_protocol |
||
| HookCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| HookCompletedNotification codexed.models.v2_protocol |
||
| HookErrorInfo codexed.models.v2_protocol |
||
| HookMetadata1 codexed.models.v2_protocol |
||
| HookMetadata2 codexed.models.v2_protocol |
||
| HookMigration codexed.models.v2_protocol |
||
| HookOutputEntry codexed.models.v2_protocol |
||
| HookPromptFragment codexed.models.v2_protocol |
||
| HookPromptThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| HookRunSummary codexed.models.v2_protocol |
||
| HookStartedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| HookStartedNotification codexed.models.v2_protocol |
||
| HooksListEntry codexed.models.v2_protocol |
||
| HooksListParams codexed.models.v2_protocol |
||
| HooksListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| HooksListResponse codexed.models.v2_protocol |
||
| HourlyScheduledTaskSchedule codexed.models.v2_protocol |
||
| HttpConnectionFailed codexed.models.v2_protocol |
||
| HttpConnectionFailedCodexErrorInfo codexed.models.v2_protocol This translation layer make sure that we expose codex error code in camel case. |
||
| IdleThreadStatus codexed.models.v2_protocol |
||
| ImageGenerationCallResponseItem codexed.models.v2_protocol |
||
| ImageGenerationInputImage codexed.models.v2_protocol A local image file successfully read for this exact image-generation request. |
||
| ImageUrlContentItem codexed.models.v2_protocol |
||
| ImageUrlFunctionCallOutputContentItem codexed.models.v2_protocol Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs. |
||
| ImageViewThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| InAppBrowserRequirements codexed.models.v2_protocol |
||
| InitializeCapabilities codexed.models.v2_protocol Client-declared capabilities negotiated during initialize. |
||
| InitializeParams codexed.models.v2_protocol |
||
| InitializeRequest codexed.models.v2_protocol Request from the client to the server. |
||
| InlineMarkdownThreadRealtimeBemItemPresentation codexed.models.v2_protocol EXPERIMENTAL - how an existing agent item appears in a realtime conversation. |
||
| InlineVisualizationThreadRealtimeBemItemPresentation codexed.models.v2_protocol EXPERIMENTAL - how an existing agent item appears in a realtime conversation. |
||
| InputAudioDynamicToolCallOutputContentItem codexed.models.v2_protocol |
||
| InputImageDynamicToolCallOutputContentItem codexed.models.v2_protocol |
||
| InputTextAgentMessageInputContent codexed.models.v2_protocol |
||
| InputTextContentItem codexed.models.v2_protocol |
||
| InputTextDynamicToolCallOutputContentItem codexed.models.v2_protocol |
||
| InputTextFunctionCallOutputContentItem codexed.models.v2_protocol Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs. |
||
| InstalledApp codexed.models.v2_protocol Installed connector runtime state. |
||
| InternalChatMessageMetadataPassthrough codexed.models.v2_protocol Internal Responses API passthrough metadata copied into underlying chat messages. |
||
| InvalidRequestUserVerificationErrorDetails codexed.models.v2_protocol Closed error categories; native diagnostic payloads must not cross this boundary. |
||
| ItemAgentMessageDeltaNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemAutoApprovalReviewCompletedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemAutoApprovalReviewStartedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemCommandExecutionOutputDeltaNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemCommandExecutionTerminalInteractionNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemCompletedNotification codexed.models.v2_protocol |
||
| ItemFileChangeOutputDeltaNotification codexed.models.v2_protocol Deprecated legacy apply_patch output stream notification. |
||
| ItemFileChangePatchUpdatedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemGuardianApprovalReviewCompletedNotification codexed.models.v2_protocol [UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon. |
||
| ItemGuardianApprovalReviewStartedNotification codexed.models.v2_protocol [UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon. |
||
| ItemMcpToolCallProgressNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemPlanDeltaNotification codexed.models.v2_protocol EXPERIMENTAL - proposed plan streaming deltas for plan items. |
||
| ItemReasoningSummaryPartAddedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemReasoningSummaryTextDeltaNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemReasoningTextDeltaNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemStartedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ItemStartedNotification codexed.models.v2_protocol |
||
| ItemThreadItemsListAnchor codexed.models.v2_protocol An exclusive item position within the requested visible turn. |
||
| ItemThreadTimelineEntry codexed.models.v2_protocol EXPERIMENTAL - one item or turn boundary in canonical rollout order. |
||
| KindBlockReason codexed.models.v2_protocol |
||
| KindFileSystemSpecialPath codexed.models.v2_protocol |
||
| LegacyManagedConfigTomlFromFileConfigLayerSource codexed.models.v2_protocol `managed_config.toml` was designed to be a config that was loaded as the last layer on top of everything else. This scheme did not quite work out as intended, but we keep this variant as a "best effort" while we phase out `managed_config.toml` in favor of `requirements.toml`. |
||
| LegacyManagedConfigTomlFromMdmConfigLayerSource codexed.models.v2_protocol |
||
| ListFilesCommandAction codexed.models.v2_protocol |
||
| ListMcpServerStatusParams codexed.models.v2_protocol |
||
| ListMcpServerStatusResponse codexed.models.v2_protocol |
||
| LocalAudioUserInput codexed.models.v2_protocol |
||
| LocalImageUserInput codexed.models.v2_protocol |
||
| LocalPluginSource codexed.models.v2_protocol |
||
| LocalShellCallResponseItem codexed.models.v2_protocol |
||
| LogoutAccountResponse codexed.models.v2_protocol |
||
| ManagedHooksRequirements codexed.models.v2_protocol |
||
| MarketplaceAddParams codexed.models.v2_protocol |
||
| MarketplaceAddRequest codexed.models.v2_protocol Request from the client to the server. |
||
| MarketplaceAddResponse codexed.models.v2_protocol |
||
| MarketplaceInterface codexed.models.v2_protocol |
||
| MarketplaceLoadErrorInfo codexed.models.v2_protocol |
||
| MarketplaceRemoveParams codexed.models.v2_protocol |
||
| MarketplaceRemoveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| MarketplaceRemoveResponse codexed.models.v2_protocol |
||
| MarketplaceUpgradeErrorInfo codexed.models.v2_protocol |
||
| MarketplaceUpgradeParams codexed.models.v2_protocol |
||
| MarketplaceUpgradeRequest codexed.models.v2_protocol Request from the client to the server. |
||
| MarketplaceUpgradeResponse codexed.models.v2_protocol |
||
| McpAppUi codexed.models.v2_protocol UI resource and display preference for model invocations, captured from the tool descriptor. |
||
| McpResourceReadParams codexed.models.v2_protocol |
||
| McpResourceReadResponse codexed.models.v2_protocol |
||
| McpResourceReadTarget codexed.models.v2_protocol |
||
| McpServerEventNotification codexed.models.v2_protocol |
||
| McpServerEventStreamNotification codexed.models.v2_protocol |
||
| McpServerEventStreamNotificationNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| McpServerEventStreamStartParams codexed.models.v2_protocol |
||
| McpServerEventStreamStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| McpServerEventStreamStartResponse codexed.models.v2_protocol |
||
| McpServerEventStreamStopParams codexed.models.v2_protocol |
||
| McpServerEventStreamStopRequest codexed.models.v2_protocol Request from the client to the server. |
||
| McpServerEventStreamStopResponse codexed.models.v2_protocol |
||
| McpServerInfo codexed.models.v2_protocol Presentation metadata advertised by an initialized MCP server. |
||
| McpServerMigration codexed.models.v2_protocol |
||
| McpServerOauthLoginCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| McpServerOauthLoginCompletedNotification codexed.models.v2_protocol |
||
| McpServerOauthLoginParams codexed.models.v2_protocol |
||
| McpServerOauthLoginRequest codexed.models.v2_protocol Request from the client to the server. |
||
| McpServerOauthLoginResponse codexed.models.v2_protocol |
||
| McpServerRefreshResponse codexed.models.v2_protocol |
||
| McpServerResourceReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| McpServerStartupStatusUpdatedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| McpServerStatus codexed.models.v2_protocol |
||
| McpServerStatusListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| McpServerStatusUpdatedNotification codexed.models.v2_protocol |
||
| McpServerToolCallParams codexed.models.v2_protocol |
||
| McpServerToolCallRequest codexed.models.v2_protocol Request from the client to the server. |
||
| McpServerToolCallResponse codexed.models.v2_protocol |
||
| McpToolCallAppContext codexed.models.v2_protocol |
||
| McpToolCallError codexed.models.v2_protocol |
||
| McpToolCallGuardianApprovalReviewAction codexed.models.v2_protocol |
||
| McpToolCallProgressNotification codexed.models.v2_protocol |
||
| McpToolCallResult codexed.models.v2_protocol |
||
| McpToolCallThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| McpToolConfiguredHookHandler codexed.models.v2_protocol |
||
| MdmConfigLayerSource codexed.models.v2_protocol Managed preferences layer delivered by MDM (macOS only). |
||
| MemoryCitation codexed.models.v2_protocol |
||
| MemoryCitationEntry codexed.models.v2_protocol |
||
| MemoryResetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| MemoryResetResponse codexed.models.v2_protocol |
||
| MemoryStatusParams codexed.models.v2_protocol |
||
| MemoryStatusRequest codexed.models.v2_protocol Request from the client to the server. |
||
| MemoryStatusResponse codexed.models.v2_protocol |
||
| MentionUserInput codexed.models.v2_protocol |
||
| MessageResponseItem codexed.models.v2_protocol |
||
| MigrationDetails codexed.models.v2_protocol |
||
| MinimalFileSystemSpecialPath codexed.models.v2_protocol |
||
| MisalignmentErrorDetails codexed.models.v2_protocol |
||
| MisalignmentSteer codexed.models.v2_protocol |
||
| MockExperimentalMethodParams codexed.models.v2_protocol |
||
| MockExperimentalMethodRequest codexed.models.v2_protocol Test-only method used to validate experimental gating. |
||
| MockExperimentalMethodResponse codexed.models.v2_protocol |
||
| ModeGatewayAuth codexed.models.v2_protocol Authentication is configured outside the gateway form. Preserve it on edits. |
||
| Model codexed.models.v2_protocol |
||
| ModelAccessPrograms codexed.models.v2_protocol Caller-specific explicit access programs advertised by model discovery. |
||
| ModelAvailabilityNux codexed.models.v2_protocol |
||
| ModelListParams codexed.models.v2_protocol |
||
| ModelListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ModelListResponse codexed.models.v2_protocol |
||
| ModelProviderAuthRecoveryCompletedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ModelProviderAuthRecoveryStartedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ModelProviderCapabilitiesReadParams codexed.models.v2_protocol |
||
| ModelProviderCapabilitiesReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ModelProviderCapabilitiesReadResponse codexed.models.v2_protocol |
||
| ModelProviderConfigWriteParams codexed.models.v2_protocol |
||
| ModelProviderConfigWriteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ModelProviderConfigWriteResponse codexed.models.v2_protocol |
||
| ModelProviderDefaultSetParams codexed.models.v2_protocol |
||
| ModelProviderDefaultSetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ModelProviderListParams codexed.models.v2_protocol |
||
| ModelProviderListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ModelProviderListResponse codexed.models.v2_protocol |
||
| ModelProviderMismatchv2ModelProviderError codexed.models.v2_protocol Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback. |
||
| ModelProviderNotConfiguredv2ModelProviderError codexed.models.v2_protocol Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback. |
||
| ModelProviderPolicyConflictv2ModelProviderError codexed.models.v2_protocol Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback. |
||
| ModelProviderSummary codexed.models.v2_protocol |
||
| ModelReroutedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ModelReroutedNotification codexed.models.v2_protocol |
||
| ModelSafetyBufferingUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ModelSafetyBufferingUpdatedNotification codexed.models.v2_protocol |
||
| ModelServiceTier codexed.models.v2_protocol |
||
| ModelUpgradeInfo codexed.models.v2_protocol |
||
| ModelVerificationMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ModelVerificationNotification codexed.models.v2_protocol |
||
| ModelsRequirements codexed.models.v2_protocol |
||
| NamespaceDynamicToolSpec codexed.models.v2_protocol |
||
| NetworkAccessGuardianApprovalReviewAction codexed.models.v2_protocol |
||
| NetworkRequirements codexed.models.v2_protocol |
||
| NewThreadModelDefaults codexed.models.v2_protocol |
||
| NoneGatewayAuth codexed.models.v2_protocol |
||
| NotLoadedThreadStatus codexed.models.v2_protocol |
||
| NpmPluginSource codexed.models.v2_protocol |
||
| OpenPageResponsesApiWebSearchAction codexed.models.v2_protocol |
||
| OpenPageWebSearchAction codexed.models.v2_protocol |
||
| OpenaiProviderSettings codexed.models.v2_protocol |
||
| OtelRequirements codexed.models.v2_protocol |
||
| OtelTlsConfig codexed.models.v2_protocol |
||
| OtelToolResultLogConfig codexed.models.v2_protocol |
||
| OtherResponseItem codexed.models.v2_protocol |
||
| OtherResponsesApiWebSearchAction codexed.models.v2_protocol |
||
| OtherSubAgentSource codexed.models.v2_protocol |
||
| OtherWebSearchAction codexed.models.v2_protocol |
||
| OtlpGrpc codexed.models.v2_protocol |
||
| OtlpGrpcOtelExporter codexed.models.v2_protocol |
||
| OtlpHttp codexed.models.v2_protocol |
||
| OtlpHttpOtelExporter codexed.models.v2_protocol |
||
| OutputTextContentItem codexed.models.v2_protocol |
||
| OverriddenMetadata codexed.models.v2_protocol |
||
| PackagedDefaultsConfigLayerSource codexed.models.v2_protocol Default configuration supplied with the installed Codex package. |
||
| PathFileSystemPath codexed.models.v2_protocol |
||
| PermissionProfileListParams codexed.models.v2_protocol |
||
| PermissionProfileListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PermissionProfileListResponse codexed.models.v2_protocol |
||
| PermissionProfileSummary codexed.models.v2_protocol |
||
| PlanDeltaNotification codexed.models.v2_protocol EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content. |
||
| PlanThreadItem codexed.models.v2_protocol EXPERIMENTAL - proposed plan item content. The completed plan item is authoritative and may not match the concatenation of `PlanDelta` text. |
||
| PluginDetail codexed.models.v2_protocol |
||
| PluginHookSummary codexed.models.v2_protocol |
||
| PluginInstallParams codexed.models.v2_protocol |
||
| PluginInstallRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginInstallResponse codexed.models.v2_protocol |
||
| PluginInstalledParams codexed.models.v2_protocol |
||
| PluginInstalledRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginInstalledResponse codexed.models.v2_protocol |
||
| PluginInterface codexed.models.v2_protocol |
||
| PluginListParams codexed.models.v2_protocol |
||
| PluginListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginListResponse codexed.models.v2_protocol |
||
| PluginMarketplaceEntry codexed.models.v2_protocol |
||
| PluginReadParams codexed.models.v2_protocol |
||
| PluginReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginReadResponse codexed.models.v2_protocol |
||
| PluginReconcileChangedPlugin codexed.models.v2_protocol Runtime categories affected by this change, not just capabilities currently present. Flags describe declarations before runtime policy filtering. Updates OR the old and new bundle flags; enablement changes and cached reinstalls use the cached bundle; removals retain the old bundle's flags. |
||
| PluginReconcileParams codexed.models.v2_protocol |
||
| PluginReconcileRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginReconcileResponse codexed.models.v2_protocol Bundle and installed-state changes observed by this pass, not a runtime-readiness acknowledgement or a cumulative diff since the client's last request. Other metadata-only changes are not listed. |
||
| PluginSearchParams codexed.models.v2_protocol |
||
| PluginSearchRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginSearchResponse codexed.models.v2_protocol |
||
| PluginSearchResult codexed.models.v2_protocol |
||
| PluginShareCheckoutParams codexed.models.v2_protocol |
||
| PluginShareCheckoutRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginShareCheckoutResponse codexed.models.v2_protocol |
||
| PluginShareContext codexed.models.v2_protocol |
||
| PluginShareDeleteParams codexed.models.v2_protocol |
||
| PluginShareDeleteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginShareDeleteResponse codexed.models.v2_protocol |
||
| PluginShareListItem codexed.models.v2_protocol |
||
| PluginShareListParams codexed.models.v2_protocol |
||
| PluginShareListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginShareListResponse codexed.models.v2_protocol |
||
| PluginSharePrincipal codexed.models.v2_protocol |
||
| PluginShareSaveParams codexed.models.v2_protocol |
||
| PluginShareSaveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginShareSaveResponse codexed.models.v2_protocol |
||
| PluginShareTarget codexed.models.v2_protocol |
||
| PluginShareUpdateTargetsParams codexed.models.v2_protocol |
||
| PluginShareUpdateTargetsRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginShareUpdateTargetsResponse codexed.models.v2_protocol |
||
| PluginSkillReadParams codexed.models.v2_protocol |
||
| PluginSkillReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginSkillReadResponse codexed.models.v2_protocol |
||
| PluginSummary codexed.models.v2_protocol |
||
| PluginUninstallParams codexed.models.v2_protocol |
||
| PluginUninstallRequest codexed.models.v2_protocol Request from the client to the server. |
||
| PluginUninstallResponse codexed.models.v2_protocol |
||
| PluginsMigration codexed.models.v2_protocol |
||
| ProcessExitedMessage codexed.models.v2_protocol Final exit notification for a `process/spawn` session. |
||
| ProcessExitedNotification codexed.models.v2_protocol Final process exit notification for `process/spawn`. |
||
| ProcessKillParams codexed.models.v2_protocol Terminate a running `process/spawn` session. |
||
| ProcessKillRequest codexed.models.v2_protocol Terminate a running `process/spawn` session by client-supplied `processHandle`. |
||
| ProcessKillResponse codexed.models.v2_protocol Empty success response for `process/kill`. |
||
| ProcessOutputDeltaMessage codexed.models.v2_protocol Stream base64-encoded stdout/stderr chunks for a running `process/spawn` session. |
||
| ProcessOutputDeltaNotification codexed.models.v2_protocol Base64-encoded output chunk emitted for a streaming `process/spawn` request. |
||
| ProcessResizePtyParams codexed.models.v2_protocol Resize a running PTY-backed `process/spawn` session. |
||
| ProcessResizePtyRequest codexed.models.v2_protocol Resize a running PTY-backed `process/spawn` session by client-supplied `processHandle`. |
||
| ProcessResizePtyResponse codexed.models.v2_protocol Empty success response for `process/resizePty`. |
||
| ProcessSpawnParams codexed.models.v2_protocol Spawn a standalone process (argv vector) without a Codex sandbox on the host where the app server is running. |
||
| ProcessSpawnRequest codexed.models.v2_protocol Spawn a standalone process (argv vector) without a Codex sandbox. |
||
| ProcessSpawnResponse codexed.models.v2_protocol Successful response for `process/spawn`. |
||
| ProcessTerminalSize codexed.models.v2_protocol PTY size in character cells for `process/spawn` PTY sessions. |
||
| ProcessWriteStdinParams codexed.models.v2_protocol Write stdin bytes to a running `process/spawn` session, close stdin, or both. |
||
| ProcessWriteStdinRequest codexed.models.v2_protocol Write stdin bytes to a running `process/spawn` session or close stdin. |
||
| ProcessWriteStdinResponse codexed.models.v2_protocol Empty success response for `process/writeStdin`. |
||
| Profilev2BedrockSetupParams codexed.models.v2_protocol |
||
| Project codexed.models.v2_protocol |
||
| ProjectChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ProjectChangedNotification codexed.models.v2_protocol |
||
| ProjectConfigLayerSource codexed.models.v2_protocol Path to a .codex/ folder within a project. There could be multiple of these between `cwd` and the project/repo root. |
||
| ProjectCreateParams codexed.models.v2_protocol |
||
| ProjectCreateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectCreateResponse codexed.models.v2_protocol |
||
| ProjectDeleteParams codexed.models.v2_protocol |
||
| ProjectDeleteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectDeleteResponse codexed.models.v2_protocol |
||
| ProjectImportParams codexed.models.v2_protocol |
||
| ProjectImportRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectImportResponse codexed.models.v2_protocol |
||
| ProjectListParams codexed.models.v2_protocol |
||
| ProjectListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectListResponse codexed.models.v2_protocol |
||
| ProjectMoveParams codexed.models.v2_protocol |
||
| ProjectMoveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectMoveResponse codexed.models.v2_protocol |
||
| ProjectReadParams codexed.models.v2_protocol |
||
| ProjectReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectReadResponse codexed.models.v2_protocol |
||
| ProjectRoot codexed.models.v2_protocol |
||
| ProjectUpdateParams codexed.models.v2_protocol |
||
| ProjectUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ProjectUpdateResponse codexed.models.v2_protocol |
||
| PromptConfiguredHookHandler codexed.models.v2_protocol |
||
| PromptHookMetadata codexed.models.v2_protocol |
||
| QueuedSubmission codexed.models.v2_protocol |
||
| RateLimitResetCredit codexed.models.v2_protocol |
||
| RateLimitResetCreditsSummary codexed.models.v2_protocol |
||
| RateLimitSnapshot codexed.models.v2_protocol |
||
| RateLimitWindow codexed.models.v2_protocol |
||
| RawResponseCompletedNotification codexed.models.v2_protocol Internal-only notification containing the exact usage from one upstream Responses API completion. |
||
| RawResponseItemCompletedNotification codexed.models.v2_protocol |
||
| ReadCommandAction codexed.models.v2_protocol |
||
| ReadOnlySandboxPolicy codexed.models.v2_protocol |
||
| ReadThreadReadStateOperation codexed.models.v2_protocol |
||
| RealtimeSessionClosedThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| RealtimeSessionStartedThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| RealtimeThreadTimelineEntry codexed.models.v2_protocol EXPERIMENTAL - one item or turn boundary in canonical rollout order. |
||
| RealtimeVoicesList codexed.models.v2_protocol |
||
| ReasoningEffortOption codexed.models.v2_protocol |
||
| ReasoningResponseItem codexed.models.v2_protocol |
||
| ReasoningSummaryPartAddedNotification codexed.models.v2_protocol |
||
| ReasoningSummaryTextDeltaNotification codexed.models.v2_protocol |
||
| ReasoningTextDeltaNotification codexed.models.v2_protocol |
||
| ReasoningTextReasoningItemContent codexed.models.v2_protocol |
||
| ReasoningThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| RemoteControlClient codexed.models.v2_protocol |
||
| RemoteControlClientListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlClientRevokeRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlClientsListParams codexed.models.v2_protocol |
||
| RemoteControlClientsListResponse codexed.models.v2_protocol |
||
| RemoteControlClientsRevokeParams codexed.models.v2_protocol |
||
| RemoteControlClientsRevokeResponse codexed.models.v2_protocol |
||
| RemoteControlDisableParams codexed.models.v2_protocol |
||
| RemoteControlDisableRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlDisableResponse codexed.models.v2_protocol |
||
| RemoteControlEnableParams codexed.models.v2_protocol |
||
| RemoteControlEnableRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlEnableResponse codexed.models.v2_protocol |
||
| RemoteControlPairingStartParams codexed.models.v2_protocol |
||
| RemoteControlPairingStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlPairingStartResponse codexed.models.v2_protocol |
||
| RemoteControlPairingStatusParams codexed.models.v2_protocol |
||
| RemoteControlPairingStatusRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlPairingStatusResponse codexed.models.v2_protocol |
||
| RemoteControlStatusChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| RemoteControlStatusChangedNotification codexed.models.v2_protocol Current remote-control connection status and remote identity exposed to clients. |
||
| RemoteControlStatusReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| RemoteControlStatusReadResponse codexed.models.v2_protocol |
||
| RemotePluginSource codexed.models.v2_protocol The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API. |
||
| RequestHeader codexed.models.v2_protocol |
||
| RequestPermissionProfile codexed.models.v2_protocol |
||
| RequestPermissionsGuardianApprovalReviewAction codexed.models.v2_protocol |
||
| Resource codexed.models.v2_protocol A known resource that the server is capable of reading. |
||
| ResourceContent1 codexed.models.v2_protocol Contents returned when reading a resource from an MCP server. |
||
| ResourceContent2 codexed.models.v2_protocol Contents returned when reading a resource from an MCP server. |
||
| ResourceTemplate codexed.models.v2_protocol A template description for resources available on the server. |
||
| ResponseStreamConnectionFailed codexed.models.v2_protocol |
||
| ResponseStreamConnectionFailedCodexErrorInfo codexed.models.v2_protocol Failed to connect to the response SSE stream. |
||
| ResponseStreamDisconnected codexed.models.v2_protocol |
||
| ResponseStreamDisconnectedCodexErrorInfo codexed.models.v2_protocol The response SSE stream disconnected in the middle of a turn before completion. |
||
| ResponseTooManyFailedAttempts codexed.models.v2_protocol |
||
| ResponseTooManyFailedAttemptsCodexErrorInfo codexed.models.v2_protocol Reached the retry limit for responses. |
||
| ResponseUsageMetadata codexed.models.v2_protocol Usage metadata reported for one upstream response. |
||
| ResultThreadItem codexed.models.v2_protocol Either inline generated-image data or its durable attachment-store identity. |
||
| ReviewStartParams codexed.models.v2_protocol |
||
| ReviewStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ReviewStartResponse codexed.models.v2_protocol |
||
| RolloutCompressRequest codexed.models.v2_protocol Start a best-effort background compression pass for cold local rollouts. |
||
| RolloutCompressResponse codexed.models.v2_protocol Acknowledges the compression trigger, not completion. Existing maintenance locks and cooldowns can cause the background pass to skip without doing work. |
||
| RootFileSystemSpecialPath codexed.models.v2_protocol |
||
| SandboxWorkspaceWrite codexed.models.v2_protocol |
||
| ScheduledTaskSummary codexed.models.v2_protocol |
||
| SearchCommandAction codexed.models.v2_protocol |
||
| SearchResponsesApiWebSearchAction codexed.models.v2_protocol |
||
| SearchWebSearchAction codexed.models.v2_protocol |
||
| SelectedCapabilityRoot codexed.models.v2_protocol A user-selected root that can expose one or more runtime capabilities. |
||
| SendAddCreditsNudgeEmailParams codexed.models.v2_protocol |
||
| SendAddCreditsNudgeEmailResponse codexed.models.v2_protocol |
||
| ServerDiagnosticsGauge codexed.models.v2_protocol |
||
| ServerDiagnosticsParams codexed.models.v2_protocol |
||
| ServerDiagnosticsProcess codexed.models.v2_protocol |
||
| ServerDiagnosticsRequest codexed.models.v2_protocol Read content-free, process-local diagnostics. |
||
| ServerDiagnosticsResponse codexed.models.v2_protocol |
||
| ServerRequestResolvedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ServerRequestResolvedNotification codexed.models.v2_protocol |
||
| SessionEndInputSavedThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| SessionFlagsConfigLayerSource codexed.models.v2_protocol Session-layer overrides supplied via `-c`/`--config`. |
||
| SessionMigration codexed.models.v2_protocol |
||
| Sessionsv2AccountSessionsSwitchResponse codexed.models.v2_protocol |
||
| Settings codexed.models.v2_protocol Settings for a collaboration mode. |
||
| SkillDependencies codexed.models.v2_protocol |
||
| SkillErrorInfo codexed.models.v2_protocol |
||
| SkillInterface codexed.models.v2_protocol |
||
| SkillMetadata codexed.models.v2_protocol |
||
| SkillMigration codexed.models.v2_protocol |
||
| SkillSummary codexed.models.v2_protocol |
||
| SkillToolDependency codexed.models.v2_protocol |
||
| SkillUserInput codexed.models.v2_protocol |
||
| SkillsChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| SkillsChangedNotification codexed.models.v2_protocol Notification emitted when watched local skill files change. |
||
| SkillsConfigWriteParams codexed.models.v2_protocol |
||
| SkillsConfigWriteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| SkillsConfigWriteResponse codexed.models.v2_protocol |
||
| SkillsExtraRootsSetParams codexed.models.v2_protocol |
||
| SkillsExtraRootsSetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| SkillsExtraRootsSetResponse codexed.models.v2_protocol |
||
| SkillsListEntry codexed.models.v2_protocol |
||
| SkillsListParams codexed.models.v2_protocol |
||
| SkillsListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| SkillsListResponse codexed.models.v2_protocol |
||
| SlashTmpFileSystemSpecialPath codexed.models.v2_protocol |
||
| SleepThreadItem codexed.models.v2_protocol Display item emitted by the interruptible `clock.sleep` tool. |
||
| SpecialFileSystemPath codexed.models.v2_protocol |
||
| SpendControlLimitSnapshot codexed.models.v2_protocol |
||
| StrictReviewRequiredNotification codexed.models.v2_protocol |
||
| SubAgentActivityThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| SubAgentSessionSource codexed.models.v2_protocol |
||
| SubagentMigration codexed.models.v2_protocol |
||
| SummaryTextReasoningItemReasoningSummary codexed.models.v2_protocol |
||
| SystemConfigLayerSource codexed.models.v2_protocol Managed config layer from a file (usually `managed_config.toml`). |
||
| SystemErrorThreadStatus codexed.models.v2_protocol |
||
| TerminalInteractionNotification codexed.models.v2_protocol |
||
| TextElement codexed.models.v2_protocol |
||
| TextPosition codexed.models.v2_protocol |
||
| TextRange codexed.models.v2_protocol |
||
| TextReasoningItemContent codexed.models.v2_protocol |
||
| TextUserInput codexed.models.v2_protocol |
||
| Thread codexed.models.v2_protocol |
||
| ThreadApproveGuardianDeniedActionParams codexed.models.v2_protocol |
||
| ThreadApproveGuardianDeniedActionRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadApproveGuardianDeniedActionResponse codexed.models.v2_protocol |
||
| ThreadArchiveParams codexed.models.v2_protocol |
||
| ThreadArchiveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadArchiveResponse codexed.models.v2_protocol |
||
| ThreadArchivedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadArchivedNotification codexed.models.v2_protocol |
||
| ThreadAttachment codexed.models.v2_protocol An independently persisted attachment associated with a thread. |
||
| ThreadAttachmentAddParams codexed.models.v2_protocol Parameters for creating or locating an attachment on its owning thread. |
||
| ThreadAttachmentAddRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadAttachmentAddResponse codexed.models.v2_protocol The created or existing attachment. |
||
| ThreadAttachmentListParams codexed.models.v2_protocol Parameters for listing attachments from one thread. |
||
| ThreadAttachmentListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadAttachmentListResponse codexed.models.v2_protocol One page of attachments associated with the requested thread. |
||
| ThreadAttachmentOwner codexed.models.v2_protocol A thread that currently owns an attachment with the requested identity. |
||
| ThreadAttachmentOwnerListParams codexed.models.v2_protocol Parameters for reverse lookup by attachment identity within this server's store. |
||
| ThreadAttachmentOwnerListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadAttachmentOwnerListResponse codexed.models.v2_protocol One page of matching owners, including threads without their own user messages. |
||
| ThreadAttachmentRemoveParams codexed.models.v2_protocol Parameters for deleting an attachment by its stable thread-local identity. |
||
| ThreadAttachmentRemoveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadAttachmentRemoveResponse codexed.models.v2_protocol Successful deletion does not return additional attachment data. |
||
| ThreadAttachmentUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadAttachmentUpdatedNotification codexed.models.v2_protocol Notification published after a thread attachment is created or deleted. |
||
| ThreadBackgroundTerminal codexed.models.v2_protocol |
||
| ThreadBackgroundTerminalsCleanParams codexed.models.v2_protocol |
||
| ThreadBackgroundTerminalsCleanRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadBackgroundTerminalsCleanResponse codexed.models.v2_protocol |
||
| ThreadBackgroundTerminalsListParams codexed.models.v2_protocol |
||
| ThreadBackgroundTerminalsListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadBackgroundTerminalsListResponse codexed.models.v2_protocol |
||
| ThreadBackgroundTerminalsTerminateParams codexed.models.v2_protocol |
||
| ThreadBackgroundTerminalsTerminateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadBackgroundTerminalsTerminateResponse codexed.models.v2_protocol |
||
| ThreadClosedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadClosedNotification codexed.models.v2_protocol |
||
| ThreadCompactStartParams codexed.models.v2_protocol |
||
| ThreadCompactStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadCompactStartResponse codexed.models.v2_protocol |
||
| ThreadCompactedMessage codexed.models.v2_protocol Deprecated: Use `ContextCompaction` item type instead. |
||
| ThreadDecrementElicitationParams codexed.models.v2_protocol Parameters for `thread/decrement_elicitation`. |
||
| ThreadDecrementElicitationRequest codexed.models.v2_protocol Decrement the thread-local out-of-band elicitation counter. |
||
| ThreadDecrementElicitationResponse codexed.models.v2_protocol Response for `thread/decrement_elicitation`. |
||
| ThreadDeleteParams codexed.models.v2_protocol |
||
| ThreadDeleteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadDeleteResponse codexed.models.v2_protocol |
||
| ThreadDeletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadDeletedNotification codexed.models.v2_protocol |
||
| ThreadEnvironment codexed.models.v2_protocol An environment selected by a loaded thread, independent of connection status. |
||
| ThreadEnvironmentConnectedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadEnvironmentDisconnectedNotification codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadExtra codexed.models.v2_protocol Extra app-server data for a thread. |
||
| ThreadForkParams codexed.models.v2_protocol There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread. |
||
| ThreadForkRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadForkResponse codexed.models.v2_protocol |
||
| ThreadGoal codexed.models.v2_protocol |
||
| ThreadGoalClearParams codexed.models.v2_protocol |
||
| ThreadGoalClearRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadGoalClearResponse codexed.models.v2_protocol |
||
| ThreadGoalClearedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadGoalClearedNotification codexed.models.v2_protocol |
||
| ThreadGoalGetParams codexed.models.v2_protocol |
||
| ThreadGoalGetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadGoalGetResponse codexed.models.v2_protocol |
||
| ThreadGoalSetParams codexed.models.v2_protocol |
||
| ThreadGoalSetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadGoalSetResponse codexed.models.v2_protocol |
||
| ThreadGoalUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadGoalUpdatedNotification codexed.models.v2_protocol |
||
| ThreadGuardianAssessment codexed.models.v2_protocol |
||
| ThreadGuardianReviewParams codexed.models.v2_protocol Calling `thread/guardianReview` subscribes the connection to the thread. The subscription remains after the review completes, keeping the thread loaded until the client calls `thread/unsubscribe` or disconnects. Sequential calls on the same loaded thread can reuse Guardian history across direct reviews and live approvals. The reviewer keeps a separate conversation from the actor and follows the parent thread's normal persistence settings. A retry evaluates the final call again under the current policy. |
||
| ThreadGuardianReviewRequest codexed.models.v2_protocol Review the idle thread's final injected exec_command without executing it. |
||
| ThreadGuardianReviewResponse codexed.models.v2_protocol |
||
| ThreadIncrementElicitationParams codexed.models.v2_protocol Parameters for `thread/increment_elicitation`. |
||
| ThreadIncrementElicitationRequest codexed.models.v2_protocol Increment the thread-local out-of-band elicitation counter. |
||
| ThreadIncrementElicitationResponse codexed.models.v2_protocol Response for `thread/increment_elicitation`. |
||
| ThreadInjectItemsParams codexed.models.v2_protocol |
||
| ThreadInjectItemsRequest codexed.models.v2_protocol Append raw Responses API items to the thread history without starting a user turn. |
||
| ThreadInjectItemsResponse codexed.models.v2_protocol |
||
| ThreadItemEntry codexed.models.v2_protocol |
||
| ThreadItemOutputDeferral codexed.models.v2_protocol |
||
| ThreadItemsListParams codexed.models.v2_protocol |
||
| ThreadItemsListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadItemsListResponse codexed.models.v2_protocol |
||
| ThreadItemsReadParams codexed.models.v2_protocol EXPERIMENTAL - retrieve a bounded set of persisted items from one turn. |
||
| ThreadItemsReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadItemsReadResponse codexed.models.v2_protocol EXPERIMENTAL - persisted items returned in canonical stored order. |
||
| ThreadListParams codexed.models.v2_protocol |
||
| ThreadListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadListResponse codexed.models.v2_protocol |
||
| ThreadLoadedListParams codexed.models.v2_protocol |
||
| ThreadLoadedListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadLoadedListResponse codexed.models.v2_protocol |
||
| ThreadMemoryModeSetParams codexed.models.v2_protocol |
||
| ThreadMemoryModeSetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadMemoryModeSetResponse codexed.models.v2_protocol |
||
| ThreadMemoryReadParams codexed.models.v2_protocol |
||
| ThreadMemoryReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadMemoryReadResponse codexed.models.v2_protocol |
||
| ThreadMetadataGitInfoUpdateParams codexed.models.v2_protocol |
||
| ThreadMetadataUpdateParams codexed.models.v2_protocol |
||
| ThreadMetadataUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadMetadataUpdateResponse codexed.models.v2_protocol |
||
| ThreadNameSetRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadNameUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadNameUpdatedNotification codexed.models.v2_protocol |
||
| ThreadPredictionRequestParams codexed.models.v2_protocol |
||
| ThreadPredictionRequestRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadPredictionRequestResponse codexed.models.v2_protocol |
||
| ThreadPredictionUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadPredictionUpdatedNotification codexed.models.v2_protocol |
||
| ThreadPrepareApprovedPlanParams codexed.models.v2_protocol Prepare an approved plan for the first turn of a fresh thread. |
||
| ThreadPrepareApprovedPlanRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadPrepareApprovedPlanResponse codexed.models.v2_protocol |
||
| ThreadProjectUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadProjectUpdatedNotification codexed.models.v2_protocol |
||
| ThreadQueueAddParams codexed.models.v2_protocol |
||
| ThreadQueueAddRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadQueueAddResponse codexed.models.v2_protocol |
||
| ThreadQueueChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadQueueChangedNotification codexed.models.v2_protocol |
||
| ThreadQueueDeleteParams codexed.models.v2_protocol |
||
| ThreadQueueDeleteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadQueueDeleteResponse codexed.models.v2_protocol |
||
| ThreadQueueListParams codexed.models.v2_protocol |
||
| ThreadQueueListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadQueueListResponse codexed.models.v2_protocol |
||
| ThreadQueueReorderParams codexed.models.v2_protocol |
||
| ThreadQueueReorderRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadQueueReorderResponse codexed.models.v2_protocol |
||
| ThreadQueueStartParams codexed.models.v2_protocol |
||
| ThreadQueueStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadQueueStartResponse codexed.models.v2_protocol |
||
| ThreadQueueUpdateParams codexed.models.v2_protocol |
||
| ThreadQueueUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadQueueUpdateResponse codexed.models.v2_protocol |
||
| ThreadReadParams codexed.models.v2_protocol |
||
| ThreadReadRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadReadResponse codexed.models.v2_protocol |
||
| ThreadReadState codexed.models.v2_protocol The first unread position in a durable local thread. A null position means read. The opaque revision guards edits against activity or marks the caller has not seen. |
||
| ThreadReadStateChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadReadStateChangedNotification codexed.models.v2_protocol |
||
| ThreadReadStateUpdateParams codexed.models.v2_protocol |
||
| ThreadReadStateUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadReadStateUpdateResponse codexed.models.v2_protocol |
||
| ThreadRealtimeAppendAudioParams codexed.models.v2_protocol EXPERIMENTAL - append audio input to thread realtime. |
||
| ThreadRealtimeAppendAudioRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeAppendAudioResponse codexed.models.v2_protocol EXPERIMENTAL - response for appending realtime audio input. |
||
| ThreadRealtimeAppendSpeechParams codexed.models.v2_protocol EXPERIMENTAL - append speakable text to thread realtime. |
||
| ThreadRealtimeAppendSpeechRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeAppendSpeechResponse codexed.models.v2_protocol EXPERIMENTAL - response for appending realtime speech. |
||
| ThreadRealtimeAppendTextParams codexed.models.v2_protocol EXPERIMENTAL - append text input to thread realtime. |
||
| ThreadRealtimeAppendTextRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeAppendTextResponse codexed.models.v2_protocol EXPERIMENTAL - response for appending realtime text input. |
||
| ThreadRealtimeAudioChunk codexed.models.v2_protocol EXPERIMENTAL - thread realtime audio chunk. |
||
| ThreadRealtimeClosedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeClosedNotification codexed.models.v2_protocol EXPERIMENTAL - emitted when thread realtime transport closes. |
||
| ThreadRealtimeEntry codexed.models.v2_protocol |
||
| ThreadRealtimeErrorMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeErrorNotification codexed.models.v2_protocol EXPERIMENTAL - emitted when thread realtime encounters an error. |
||
| ThreadRealtimeFrameChannels codexed.models.v2_protocol A frame holds one or more payloads, at most one per channel. They share one ID, observation time, and seal. V1 requires its only channel, `voice_transcript`. |
||
| ThreadRealtimeInitialItem codexed.models.v2_protocol EXPERIMENTAL - role-bearing text item included when a realtime V3 session starts. |
||
| ThreadRealtimeItemAddedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeItemAddedNotification codexed.models.v2_protocol EXPERIMENTAL - raw non-audio thread realtime item emitted by the backend. |
||
| ThreadRealtimeItemCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeItemCompletedNotification codexed.models.v2_protocol EXPERIMENTAL - a realtime timeline item published after canonical commit. |
||
| ThreadRealtimeItemStartedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeItemStartedNotification codexed.models.v2_protocol EXPERIMENTAL - a realtime timeline item started before its content streams. |
||
| ThreadRealtimeItemTranscriptDeltaMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeItemTranscriptDeltaNotification codexed.models.v2_protocol EXPERIMENTAL - text appended to an active realtime transcript item. |
||
| ThreadRealtimeListParams codexed.models.v2_protocol |
||
| ThreadRealtimeListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeListResponse codexed.models.v2_protocol |
||
| ThreadRealtimeListVoicesParams codexed.models.v2_protocol EXPERIMENTAL - list voices supported by thread realtime. |
||
| ThreadRealtimeListVoicesRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeListVoicesResponse codexed.models.v2_protocol EXPERIMENTAL - response for listing supported realtime voices. |
||
| ThreadRealtimeOutputAudioDeltaMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeOutputAudioDeltaNotification codexed.models.v2_protocol EXPERIMENTAL - streamed output audio emitted by thread realtime. |
||
| ThreadRealtimeSdpMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeSdpNotification codexed.models.v2_protocol EXPERIMENTAL - emitted with the remote SDP for a WebRTC realtime session. |
||
| ThreadRealtimeStartParams codexed.models.v2_protocol EXPERIMENTAL - start a thread-scoped realtime session. |
||
| ThreadRealtimeStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeStartResponse codexed.models.v2_protocol EXPERIMENTAL - response for starting thread realtime. |
||
| ThreadRealtimeStartedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeStartedNotification codexed.models.v2_protocol EXPERIMENTAL - emitted when thread realtime startup is accepted. |
||
| ThreadRealtimeStopParams codexed.models.v2_protocol EXPERIMENTAL - stop thread realtime. |
||
| ThreadRealtimeStopRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRealtimeStopResponse codexed.models.v2_protocol EXPERIMENTAL - response for stopping thread realtime. |
||
| ThreadRealtimeTranscriptDeltaMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeTranscriptDeltaNotification codexed.models.v2_protocol EXPERIMENTAL - flat transcript delta emitted whenever realtime transcript text changes. |
||
| ThreadRealtimeTranscriptDoneMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRealtimeTranscriptDoneNotification codexed.models.v2_protocol EXPERIMENTAL - final transcript text emitted when realtime completes a transcript part. |
||
| ThreadRealtimeVoiceTranscript codexed.models.v2_protocol |
||
| ThreadResumeInitialTurnsPageParams codexed.models.v2_protocol |
||
| ThreadResumeParams codexed.models.v2_protocol There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it. |
||
| ThreadResumeRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadResumeResponse codexed.models.v2_protocol |
||
| ThreadRevertParams codexed.models.v2_protocol Replace a paginated thread's durable history with the prefix before one turn. |
||
| ThreadRevertRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadRevertResponse codexed.models.v2_protocol |
||
| ThreadRevertedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadRevertedNotification codexed.models.v2_protocol |
||
| ThreadSampleCancelParams codexed.models.v2_protocol |
||
| ThreadSampleCancelRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSampleCancelResponse codexed.models.v2_protocol |
||
| ThreadSampleParams codexed.models.v2_protocol |
||
| ThreadSampleRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSampleResponse codexed.models.v2_protocol |
||
| ThreadSearchCancelParams codexed.models.v2_protocol Request cancellation on the same connection. `thread/search/cancel` targets only `thread/search`; `thread/search/stream/cancel` targets only `thread/search/stream`. Cancellation is idempotent: the cancel response acknowledges the request, and an interrupted search completes with an error after its subprocess is stopped and reaped. If completion races cancellation, the original search may still succeed. An already-completed search is unaffected. |
||
| ThreadSearchCancelRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSearchCancelResponse codexed.models.v2_protocol |
||
| ThreadSearchOccurrence codexed.models.v2_protocol One visible message occurrence returned by [`ThreadSearchOccurrencesResponse`]. |
||
| ThreadSearchOccurrencesParams codexed.models.v2_protocol Parameters for searching visible message occurrences within one paginated thread. |
||
| ThreadSearchOccurrencesRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSearchOccurrencesResponse codexed.models.v2_protocol |
||
| ThreadSearchParams codexed.models.v2_protocol |
||
| ThreadSearchPartialMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadSearchPartialNotification codexed.models.v2_protocol A best-effort incremental batch for `thread/search/stream`. Match `requestId` to the request on this connection. Only a small subset of verified matches may be emitted; rows are unique and arrive in discovery order, but may be dropped under load or fall outside the final sorted page. Thread fields use stored metadata and the current watched status; live thread settings are enriched in the final response. Replace provisional rows with the authoritative final response. No partials follow it or an error. |
||
| ThreadSearchRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSearchResponse codexed.models.v2_protocol |
||
| ThreadSearchResult codexed.models.v2_protocol |
||
| ThreadSearchStreamCancelRequest codexed.models.v2_protocol Cancel a `thread/search/stream` request on this connection. |
||
| ThreadSearchStreamRequest codexed.models.v2_protocol Search with best-effort incremental `thread/search/partial` notifications. The final response is authoritative for results, ordering, and cursors. |
||
| ThreadSearchTextRange codexed.models.v2_protocol UTF-16 code-unit range within `snippet`. |
||
| ThreadSection codexed.models.v2_protocol An independently persisted, user-visible thread section. |
||
| ThreadSectionAppearance codexed.models.v2_protocol Extensible visual presentation for a custom thread section. |
||
| ThreadSectionChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadSectionChangedNotification codexed.models.v2_protocol Broadcast after a successful move into, within, or out of a section. |
||
| ThreadSectionCreateParams codexed.models.v2_protocol Parameters for creating an independently persisted thread section. |
||
| ThreadSectionCreateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSectionCreateResponse codexed.models.v2_protocol The independently persisted section created by the server. |
||
| ThreadSectionDeleteParams codexed.models.v2_protocol Parameters for deleting an independently persisted thread section. |
||
| ThreadSectionDeleteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSectionDeleteResponse codexed.models.v2_protocol Successful deletion does not return additional section data. |
||
| ThreadSectionListParams codexed.models.v2_protocol Parameters for listing independently persisted thread sections. |
||
| ThreadSectionListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSectionListResponse codexed.models.v2_protocol One page of independently persisted thread sections. |
||
| ThreadSectionMoveParams codexed.models.v2_protocol Parameters for moving a thread within a server-owned section ordering. |
||
| ThreadSectionMoveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSectionMoveResponse codexed.models.v2_protocol |
||
| ThreadSectionUpdateParams codexed.models.v2_protocol Parameters for updating an independently persisted thread section. |
||
| ThreadSectionUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSectionUpdateResponse codexed.models.v2_protocol The independently persisted section after its name is updated. |
||
| ThreadSetNameParams codexed.models.v2_protocol |
||
| ThreadSetNameResponse codexed.models.v2_protocol |
||
| ThreadSettings codexed.models.v2_protocol |
||
| ThreadSettingsUpdateParams codexed.models.v2_protocol |
||
| ThreadSettingsUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadSettingsUpdateResponse codexed.models.v2_protocol |
||
| ThreadSettingsUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadSettingsUpdatedNotification codexed.models.v2_protocol |
||
| ThreadShellCommandParams codexed.models.v2_protocol |
||
| ThreadShellCommandRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadShellCommandResponse codexed.models.v2_protocol |
||
| ThreadSpawn codexed.models.v2_protocol |
||
| ThreadSpawnSubAgentSource codexed.models.v2_protocol |
||
| ThreadStartParams codexed.models.v2_protocol |
||
| ThreadStartRequest codexed.models.v2_protocol NEW APIs. |
||
| ThreadStartResponse codexed.models.v2_protocol |
||
| ThreadStartThreadUnreadPosition codexed.models.v2_protocol Explicitly marked unread, including when the thread has no turns. |
||
| ThreadStartedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadStartedNotification codexed.models.v2_protocol |
||
| ThreadStatusChangedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadStatusChangedNotification codexed.models.v2_protocol |
||
| ThreadTimelineListParams codexed.models.v2_protocol EXPERIMENTAL - list ordinary and realtime thread history in rollout order. |
||
| ThreadTimelineListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadTimelineListResponse codexed.models.v2_protocol EXPERIMENTAL - a bounded timeline page with its resolved opening voice state. |
||
| ThreadTokenUsage codexed.models.v2_protocol |
||
| ThreadTokenUsageUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadTokenUsageUpdatedNotification codexed.models.v2_protocol |
||
| ThreadTurnsListParams codexed.models.v2_protocol |
||
| ThreadTurnsListRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadTurnsListResponse codexed.models.v2_protocol |
||
| ThreadUnarchiveParams codexed.models.v2_protocol |
||
| ThreadUnarchiveRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadUnarchiveResponse codexed.models.v2_protocol |
||
| ThreadUnarchivedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| ThreadUnarchivedNotification codexed.models.v2_protocol |
||
| ThreadUnsubscribeParams codexed.models.v2_protocol |
||
| ThreadUnsubscribeRequest codexed.models.v2_protocol Request from the client to the server. |
||
| ThreadUnsubscribeResponse codexed.models.v2_protocol |
||
| ThreadUsage codexed.models.v2_protocol |
||
| ThreadUsageBreakdownGroup codexed.models.v2_protocol |
||
| TmpdirFileSystemSpecialPath codexed.models.v2_protocol |
||
| TokenUsageBreakdown codexed.models.v2_protocol |
||
| Tool codexed.models.v2_protocol Definition for a tool the client can call. |
||
| ToolSearchCallResponseItem codexed.models.v2_protocol |
||
| ToolSearchOutputResponseItem codexed.models.v2_protocol |
||
| ToolsV2 codexed.models.v2_protocol |
||
| TranscriptSegmentThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| Turn codexed.models.v2_protocol |
||
| TurnCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| TurnCompletedNotification codexed.models.v2_protocol |
||
| TurnCompletedThreadTimelineEntry codexed.models.v2_protocol EXPERIMENTAL - one item or turn boundary in canonical rollout order. |
||
| TurnDiffUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| TurnDiffUpdatedNotification codexed.models.v2_protocol Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn. |
||
| TurnEnvironmentParams codexed.models.v2_protocol |
||
| TurnError codexed.models.v2_protocol |
||
| TurnInputAcceptedThreadRealtimeItem codexed.models.v2_protocol EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. |
||
| TurnInterruptParams codexed.models.v2_protocol |
||
| TurnInterruptRequest codexed.models.v2_protocol Request from the client to the server. |
||
| TurnInterruptResponse codexed.models.v2_protocol |
||
| TurnModerationMetadataMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| TurnModerationMetadataNotification codexed.models.v2_protocol |
||
| TurnPlanStep codexed.models.v2_protocol |
||
| TurnPlanUpdatedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| TurnPlanUpdatedNotification codexed.models.v2_protocol |
||
| TurnSettingsUpdateParams codexed.models.v2_protocol Experimental settings changes for one running turn, not future turns. Unsupported fields are rejected rather than silently ignored. Any live task kind may accept publication. Child sessions and consumers of frozen initial settings are unchanged. |
||
| TurnSettingsUpdateRequest codexed.models.v2_protocol Request from the client to the server. |
||
| TurnSettingsUpdateResponse codexed.models.v2_protocol |
||
| TurnStartParams codexed.models.v2_protocol |
||
| TurnStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| TurnStartResponse codexed.models.v2_protocol |
||
| TurnStartedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| TurnStartedNotification codexed.models.v2_protocol |
||
| TurnStartedThreadTimelineEntry codexed.models.v2_protocol EXPERIMENTAL - one item or turn boundary in canonical rollout order. |
||
| TurnSteerParams codexed.models.v2_protocol |
||
| TurnSteerRequest codexed.models.v2_protocol Request from the client to the server. |
||
| TurnSteerResponse codexed.models.v2_protocol |
||
| TurnThreadUnreadPosition codexed.models.v2_protocol The earliest completed result needing attention. |
||
| TurnToolOutput codexed.models.v2_protocol |
||
| TurnsPage codexed.models.v2_protocol |
||
| UnavailableUserVerificationErrorDetails codexed.models.v2_protocol Closed error categories; native diagnostic payloads must not cross this boundary. |
||
| UncommittedChangesReviewTarget codexed.models.v2_protocol Review the working tree: staged, unstaged, and untracked files. |
||
| UnknownCommandAction codexed.models.v2_protocol |
||
| UnreadThreadReadStateOperation codexed.models.v2_protocol |
||
| UpdatePatchChangeKind codexed.models.v2_protocol |
||
| UrlUserInput codexed.models.v2_protocol |
||
| UrlUserInput1 codexed.models.v2_protocol |
||
| UsageLimitExceededImageGenerationFailure codexed.models.v2_protocol |
||
| UserConfigLayerSource codexed.models.v2_protocol User config layer from $CODEX_HOME/config.toml. This layer is special in that it is expected to be: - writable by the user - generally outside the workspace directory. |
||
| UserMessageThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| UserVerificationCancelParams codexed.models.v2_protocol Cancels a native verification RPC issued on this connection, not an elicitation. Use a fresh request ID for each operation and a distinct ID for this cancellation RPC. |
||
| UserVerificationCancelRequest codexed.models.v2_protocol Request from the client to the server. |
||
| UserVerificationCancelResponse codexed.models.v2_protocol Acknowledges the cancellation signal; native work may still be finishing. Unknown or finished requests are a no-op, and completed effects are not rolled back. |
||
| UserVerificationDeleteParams codexed.models.v2_protocol |
||
| UserVerificationDeleteRequest codexed.models.v2_protocol Request from the client to the server. |
||
| UserVerificationDeleteResponse codexed.models.v2_protocol |
||
| UserVerificationEnrollParams codexed.models.v2_protocol |
||
| UserVerificationEnrollRequest codexed.models.v2_protocol Request from the client to the server. |
||
| UserVerificationEnrollResponse codexed.models.v2_protocol Public metadata for a created or reused local credential. The caller completes backend registration; this response does not establish server enrollment. Older app-servers omit the metadata fields; callers must check both before registration. |
||
| UserVerificationProof codexed.models.v2_protocol A signature over the exact decoded challenge. The verifier validates and consumes it. |
||
| UserVerificationRpcError codexed.models.v2_protocol The error object inside the normal JSON-RPC envelope. |
||
| UserVerificationStatusParams codexed.models.v2_protocol |
||
| UserVerificationStatusRequest codexed.models.v2_protocol Request from the client to the server. |
||
| UserVerificationStatusResponse codexed.models.v2_protocol Local readiness only; this neither prompts nor queries server registration. |
||
| UserVerificationVerifyParams codexed.models.v2_protocol Local signing primitive, independent of any pending elicitation. |
||
| UserVerificationVerifyRequest codexed.models.v2_protocol Request from the client to the server. |
||
| UserVerificationVerifyResponse codexed.models.v2_protocol |
||
| WarningMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| WarningNotification codexed.models.v2_protocol |
||
| WebSearchCallResponseItem codexed.models.v2_protocol |
||
| WebSearchLocation codexed.models.v2_protocol |
||
| WebSearchThreadItem codexed.models.v2_protocol A thread item and its recorded lifecycle times. The payload stays flat on the wire. |
||
| WebSearchToolConfig codexed.models.v2_protocol |
||
| WebrtcThreadRealtimeStartTransport codexed.models.v2_protocol EXPERIMENTAL - transport used by thread realtime. |
||
| WebsocketThreadRealtimeStartTransport codexed.models.v2_protocol EXPERIMENTAL - transport used by thread realtime. |
||
| WeekdaysScheduledTaskSchedule codexed.models.v2_protocol |
||
| WeeklyScheduledTaskSchedule codexed.models.v2_protocol |
||
| WellbeingPromptHelplineAnswerReplacement codexed.models.v2_protocol |
||
| WholeItemThreadRealtimeBemItemPresentation codexed.models.v2_protocol EXPERIMENTAL - how an existing agent item appears in a realtime conversation. |
||
| WindowsSandboxReadinessRequest codexed.models.v2_protocol Request from the client to the server. |
||
| WindowsSandboxReadinessResponse codexed.models.v2_protocol |
||
| WindowsSandboxSetupCompletedMessage codexed.models.v2_protocol Notification sent from the server to the client. |
||
| WindowsSandboxSetupCompletedNotification codexed.models.v2_protocol |
||
| WindowsSandboxSetupStartParams codexed.models.v2_protocol |
||
| WindowsSandboxSetupStartRequest codexed.models.v2_protocol Request from the client to the server. |
||
| WindowsSandboxSetupStartResponse codexed.models.v2_protocol |
||
| WindowsWorldWritableWarningMessage codexed.models.v2_protocol Notifies the user of world-writable directories on Windows, which cannot be protected by the sandbox. |
||
| WindowsWorldWritableWarningNotification codexed.models.v2_protocol |
||
| WorkspaceMessage codexed.models.v2_protocol |
||
| WorkspaceRouting codexed.models.v2_protocol |
||
| WorkspaceWriteSandboxPolicy codexed.models.v2_protocol |
||
| WriteStdinGuardianApprovalReviewAction codexed.models.v2_protocol A child approval for input to an existing command execution item. |
🛈 DocStrings¶
AbsolutePathBuf
¶
A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).
IMPORTANT: When deserializing an AbsolutePathBuf, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.
AccountRoutingOverride
¶
Backend routing policy. Wire values match the accounts/check contract.
AgentMessageDisplay
¶
AgentMessageDisplay = AgentMessageDisplay1 | AgentMessageDisplay2 | AgentMessageDisplay3
How Chat should present a recovered answer.
ApprovalsReviewer
¶
Configures who approval requests are routed to for review. Examples include sandbox escapes, blocked network access, MCP approval prompts, and ARC escalations. Defaults to user. auto_review uses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request. The legacy value guardian_subagent is accepted for compatibility.
AuthMode
¶
AuthMode = Literal[
"apikey",
"chatgpt",
"chatgptAuthTokens",
"headers",
"agentIdentity",
"personalAccessToken",
"bedrockApiKey",
"bedrockAccessKeys",
]
Authentication mode for OpenAI-backed providers.
AutoCompactTokenLimitScope
¶
Selects which part of the active context is charged against model_auto_compact_token_limit.
AutoReviewDecisionSource
¶
[UNSTABLE] Source that produced a terminal approval auto-review decision.
CapabilityRootLocation
¶
CapabilityRootLocation = EnvironmentCapabilityRootLocation
Location used to resolve a selected capability root.
ClientRequest
¶
ClientRequest = Annotated[
InitializeRequest
| ServerDiagnosticsRequest
| UserVerificationStatusRequest
| UserVerificationEnrollRequest
| UserVerificationDeleteRequest
| UserVerificationVerifyRequest
| UserVerificationCancelRequest
| ThreadStartRequest
| ThreadResumeRequest
| ThreadForkRequest
| ThreadSampleRequest
| ThreadSampleCancelRequest
| ThreadArchiveRequest
| ThreadDeleteRequest
| ThreadUnsubscribeRequest
| ThreadIncrementElicitationRequest
| ThreadDecrementElicitationRequest
| ThreadNameSetRequest
| ThreadPredictionRequestRequest
| ThreadGoalSetRequest
| ThreadGoalGetRequest
| ThreadGoalClearRequest
| ThreadQueueAddRequest
| ThreadQueueListRequest
| ThreadQueueUpdateRequest
| ThreadQueueDeleteRequest
| ThreadQueueReorderRequest
| ThreadQueueStartRequest
| ThreadMetadataUpdateRequest
| ThreadAttachmentAddRequest
| ThreadAttachmentListRequest
| ThreadAttachmentOwnerListRequest
| ThreadAttachmentRemoveRequest
| ThreadSectionMoveRequest
| ThreadSettingsUpdateRequest
| ThreadMemoryModeSetRequest
| ThreadMemoryReadRequest
| MemoryStatusRequest
| MemoryResetRequest
| RolloutCompressRequest
| ThreadUnarchiveRequest
| ThreadCompactStartRequest
| ThreadShellCommandRequest
| ThreadApproveGuardianDeniedActionRequest
| ThreadBackgroundTerminalsCleanRequest
| ThreadBackgroundTerminalsListRequest
| ThreadBackgroundTerminalsTerminateRequest
| ThreadRevertRequest
| ThreadListRequest
| ProjectListRequest
| ProjectReadRequest
| ProjectCreateRequest
| ProjectImportRequest
| ProjectUpdateRequest
| ProjectMoveRequest
| ProjectDeleteRequest
| ThreadSectionListRequest
| ThreadSectionCreateRequest
| ThreadSectionUpdateRequest
| ThreadSectionDeleteRequest
| ThreadSearchRequest
| ThreadSearchStreamRequest
| ThreadSearchCancelRequest
| ThreadSearchStreamCancelRequest
| ThreadSearchOccurrencesRequest
| ThreadLoadedListRequest
| ThreadReadRequest
| ThreadReadStateUpdateRequest
| ThreadTurnsListRequest
| ThreadItemsListRequest
| ThreadItemsReadRequest
| ThreadGuardianReviewRequest
| ThreadInjectItemsRequest
| ThreadPrepareApprovedPlanRequest
| SkillsListRequest
| SkillsExtraRootsSetRequest
| HooksListRequest
| MarketplaceAddRequest
| MarketplaceRemoveRequest
| MarketplaceUpgradeRequest
| PluginListRequest
| PluginSearchRequest
| PluginInstalledRequest
| PluginReconcileRequest
| PluginReadRequest
| PluginSkillReadRequest
| PluginShareSaveRequest
| PluginShareUpdateTargetsRequest
| PluginShareListRequest
| PluginShareCheckoutRequest
| PluginShareDeleteRequest
| AppReadRequest
| AppListRequest
| AppInstalledRequest
| FsReadFileRequest
| FsWriteFileRequest
| FsCreateDirectoryRequest
| FsGetMetadataRequest
| FsReadDirectoryRequest
| FsRemoveRequest
| FsCopyRequest
| FsWatchRequest
| FsUnwatchRequest
| SkillsConfigWriteRequest
| PluginInstallRequest
| PluginUninstallRequest
| TurnStartRequest
| TurnSettingsUpdateRequest
| TurnSteerRequest
| TurnInterruptRequest
| ThreadRealtimeStartRequest
| ThreadRealtimeAppendAudioRequest
| ThreadRealtimeAppendTextRequest
| ThreadRealtimeAppendSpeechRequest
| ThreadRealtimeStopRequest
| ThreadTimelineListRequest
| ThreadRealtimeListRequest
| ThreadRealtimeListVoicesRequest
| ReviewStartRequest
| ModelListRequest
| AccountGatewayOAuthReadRequest
| AccountGatewayOAuthLoginRequest
| AccountGatewayOAuthCancelRequest
| ModelProviderListRequest
| ModelProviderConfigWriteRequest
| ModelProviderDefaultSetRequest
| ModelProviderCapabilitiesReadRequest
| ExperimentalFeatureListRequest
| PermissionProfileListRequest
| ExperimentalFeatureEnablementSetRequest
| RemoteControlEnableRequest
| RemoteControlDisableRequest
| RemoteControlStatusReadRequest
| RemoteControlPairingStartRequest
| RemoteControlPairingStatusRequest
| RemoteControlClientListRequest
| RemoteControlClientRevokeRequest
| CollaborationModeListRequest
| MockExperimentalMethodRequest
| EnvironmentAddRequest
| EnvironmentInfoRequest
| EnvironmentStatusRequest
| McpServerOauthLoginRequest
| ConfigMcpServerReloadRequest
| McpServerStatusListRequest
| McpServerResourceReadRequest
| McpServerEventStreamStartRequest
| McpServerEventStreamStopRequest
| McpServerToolCallRequest
| WindowsSandboxSetupStartRequest
| WindowsSandboxReadinessRequest
| AccountLoginStartRequest
| AccountBedrockDiscoverRequest
| AccountBedrockSetupRequest
| AccountGcpSetupRequest
| AccountBedrockCheckGovCloudRequirementsRequest
| AccountLoginCancelRequest
| AccountSessionListRequest
| AccountSessionSwitchRequest
| AccountLogoutRequest
| AccountSecuritySetupReadRequest
| AccountRateLimitsReadRequest
| AccountRateLimitResetCreditConsumeRequest
| AccountUsageReadRequest
| AccountWorkspaceMessagesReadRequest
| AccountSendAddCreditsNudgeEmailRequest
| FeedbackUploadRequest
| FeedbackSaveRequest
| CommandExecRequest
| CommandExecWriteRequest
| CommandExecTerminateRequest
| CommandExecResizeRequest
| ProcessSpawnRequest
| ProcessWriteStdinRequest
| ProcessKillRequest
| ProcessResizePtyRequest
| ConfigReadRequest
| ExternalAgentConfigDetectRequest
| ExternalAgentConfigImportRequest
| ExternalAgentConfigImportRecordHistoryRequest
| ExternalAgentConfigImportReadHistoriesRequest
| ConfigValueWriteRequest
| ConfigBatchWriteRequest
| ConfigRequirementsReadRequest
| AccountReadRequest
| FuzzyFileSearchRequest
| FuzzyFileSearchSessionStartRequest
| FuzzyFileSearchSessionUpdateRequest
| FuzzyFileSearchSessionStopRequest,
Field(..., title=ClientRequest),
]
Request from the client to the server.
CodexErrorInfo
¶
CodexErrorInfo = (
Literal[
"contextWindowExceeded",
"sessionBudgetExceeded",
"usageLimitExceeded",
"rateLimitExceeded",
"flexUnavailable",
"serverOverloaded",
"modelNotFound",
"policyCapacityUnavailable",
"cyberPolicy",
"bioPolicy",
"misalignmentPolicyViolation",
"tooManyDenials",
"internalServerError",
"unauthorized",
"badRequest",
"threadRollbackFailed",
"sandboxError",
"other",
"inferenceHookDenied",
]
| HttpConnectionFailedCodexErrorInfo
| ResponseStreamConnectionFailedCodexErrorInfo
| ResponseStreamDisconnectedCodexErrorInfo
| ResponseTooManyFailedAttemptsCodexErrorInfo
| ActiveTurnNotSteerableCodexErrorInfo
| str
| dict[str, Any]
)
This translation layer make sure that we expose codex error code in camel case.
When an upstream HTTP status is available (for example, from the Responses API or a provider), it is forwarded in httpStatusCode on the relevant codexErrorInfo variant.
CommandExecOutputStream
¶
Stream label for command/exec/outputDelta notifications.
CyberAccessProgram
¶
Requested cyber treatment for an OpenAI model turn. Authorization and model-tier restrictions remain server-owned.
EnvironmentStatusKind
¶
Current status observed by app-server without starting or recovering an environment.
For a currently ready remote environment, app-server asks the existing exec-server connection for environment/status without allowing recovery.
ForcedChatgptWorkspaceIds
¶
Backward-compatible API shape for ChatGPT workspace login restrictions.
FunctionCallOutputContentItem
¶
FunctionCallOutputContentItem = (
InputTextFunctionCallOutputContentItem
| InputImageFunctionCallOutputContentItem
| InputAudioFunctionCallOutputContentItem
| EncryptedContentFunctionCallOutputContentItem
)
Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.
GuardianApprovalReviewStatus
¶
[UNSTABLE] Lifecycle state for an approval auto-review.
GuardianAssessmentOutcome
¶
Final allow/deny outcome returned by the guardian reviewer.
GuardianRiskLevel
¶
[UNSTABLE] Risk level assigned by approval auto-review.
GuardianUserAuthorization
¶
[UNSTABLE] Authorization level assigned by approval auto-review.
ImageGenerationThreadItem
¶
ImageGenerationThreadItem = Annotated[
FileIdThreadItem | ResultThreadItem, Field(..., title=ImageGenerationThreadItem)
]
Either inline generated-image data or its durable attachment-store identity.
File must remain first so rollouts written during the migration, which contain both an empty result and a fileId, retain the file reference when deserialized.
InputAudioContentItem
¶
InputAudioContentItem = Annotated[
AudioUrlContentItem | FileIdContentItem1, Field(..., title=InputAudioContentItem)
]
Inline audio data or an uploaded file loaded by the Responses API.
InputAudioFunctionCallOutputContentItem
¶
InputAudioFunctionCallOutputContentItem = Annotated[
AudioUrlFunctionCallOutputContentItem | FileIdFunctionCallOutputContentItem1,
Field(..., title=InputAudioFunctionCallOutputContentItem),
]
Inline audio data or an uploaded file loaded by the Responses API.
InputImageFunctionCallOutputContentItem
¶
InputImageFunctionCallOutputContentItem = Annotated[
ImageUrlFunctionCallOutputContentItem | FileIdFunctionCallOutputContentItem,
Field(..., title=InputImageFunctionCallOutputContentItem),
]
Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.
InputModality
¶
Canonical user-input modality tags advertised by a model.
MessagePhase
¶
Classifies assistant text as commentary, a partial answer, or a terminal answer.
Providers do not emit this consistently, so callers must treat None as "phase unknown" and keep compatibility behavior for legacy models.
ModeKind
¶
Initial collaboration mode to use when the TUI starts.
ModelProviderError
¶
ModelProviderError = Annotated[
ModelProviderMismatchv2ModelProviderError
| ModelProviderNotConfiguredv2ModelProviderError
| ModelProviderPolicyConflictv2ModelProviderError,
Field(..., title=ModelProviderError),
]
Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback.
MultiAgentMode
¶
MultiAgentMode = Literal['explicitRequestOnly', 'proactive'] | CustomMultiAgentMode
Controls the effective multi-agent delegation instructions for a turn. custom means the configured mode hint defines the policy instead of a built-in policy.
MultiAgentVersion
¶
Multi-agent runtime supported by a model.
Personality
¶
Deprecated: friendly and pragmatic no longer select a style.
ProcessOutputStream
¶
Stream label for process/outputDelta notifications.
ProviderSettingsPatch
¶
ProviderSettingsPatch = (
CustomGatewayProviderSettingsPatch | BedrockProviderSettingsPatch | GcpProviderSettingsPatch
)
Omitted patch fields preserve their values. Explicit null clears a nullable field.
ReasoningEffort
¶
A non-empty reasoning effort value advertised by the model.
ReasoningSummary
¶
A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries
ResourceContent
¶
ResourceContent = ResourceContent1 | ResourceContent2
Contents returned when reading a resource from an MCP server.
ServerNotification
¶
ServerNotification = Annotated[
ErrorMessage
| ThreadStartedMessage
| ThreadStatusChangedMessage
| ThreadReadStateChangedMessage
| ThreadArchivedMessage
| ThreadDeletedMessage
| ThreadUnarchivedMessage
| ThreadClosedMessage
| ThreadRevertedMessage
| SkillsChangedMessage
| ThreadNameUpdatedMessage
| ThreadSectionChangedMessage
| ThreadAttachmentUpdatedMessage
| ThreadGoalUpdatedMessage
| ThreadPredictionUpdatedMessage
| ThreadGoalClearedMessage
| ThreadQueueChangedMessage
| ProjectChangedMessage
| ThreadProjectUpdatedMessage
| ThreadEnvironmentConnectedNotification
| ThreadEnvironmentDisconnectedNotification
| ThreadSettingsUpdatedMessage
| ThreadTokenUsageUpdatedMessage
| TurnStartedMessage
| HookStartedMessage
| TurnCompletedMessage
| HookCompletedMessage
| TurnDiffUpdatedMessage
| TurnPlanUpdatedMessage
| ItemStartedMessage
| ItemAutoApprovalReviewStartedNotification
| ItemAutoApprovalReviewCompletedNotification
| AutoApprovalReviewStrictReviewRequiredNotification
| ItemCompletedMessage
| ItemAgentMessageDeltaNotification
| ItemPlanDeltaNotification
| CommandExecOutputDeltaMessage
| ProcessOutputDeltaMessage
| ThreadSearchPartialMessage
| ProcessExitedMessage
| ItemCommandExecutionOutputDeltaNotification
| ItemCommandExecutionTerminalInteractionNotification
| ItemFileChangeOutputDeltaNotification
| ItemFileChangePatchUpdatedNotification
| ServerRequestResolvedMessage
| ItemMcpToolCallProgressNotification
| McpServerOauthLoginCompletedMessage
| McpServerStartupStatusUpdatedNotification
| McpServerEventStreamNotificationNotification
| AccountUpdatedMessage
| AccountGatewayOAuthChangedNotification
| AccountRateLimitsUpdatedMessage
| AppListUpdatedMessage
| RemoteControlStatusChangedMessage
| ExternalAgentConfigImportProgressMessage
| ExternalAgentConfigImportCompletedMessage
| FsChangedMessage
| ItemReasoningSummaryTextDeltaNotification
| ItemReasoningSummaryPartAddedNotification
| ItemReasoningTextDeltaNotification
| ThreadCompactedMessage
| ModelReroutedMessage
| ModelVerificationMessage
| ModelProviderAuthRecoveryStartedNotification
| ModelProviderAuthRecoveryCompletedNotification
| TurnModerationMetadataMessage
| ModelSafetyBufferingUpdatedMessage
| WarningMessage
| GuardianWarningMessage
| DeprecationNoticeMessage
| ConfigWarningMessage
| FuzzyFileSearchSessionUpdatedMessage
| FuzzyFileSearchSessionCompletedMessage
| ThreadRealtimeStartedMessage
| ThreadRealtimeItemAddedMessage
| ThreadRealtimeItemStartedMessage
| ThreadRealtimeItemTranscriptDeltaMessage
| ThreadRealtimeItemCompletedMessage
| ThreadRealtimeTranscriptDeltaMessage
| ThreadRealtimeTranscriptDoneMessage
| ThreadRealtimeOutputAudioDeltaMessage
| ThreadRealtimeSdpMessage
| ThreadRealtimeErrorMessage
| ThreadRealtimeClosedMessage
| WindowsWorldWritableWarningMessage
| WindowsSandboxSetupCompletedMessage
| AccountLoginCompletedMessage,
Field(..., title=ServerNotification),
]
Notification sent from the server to the client.
ThreadAttachmentAddOutcome
¶
Result of attempting to associate an attachment with a thread.
ThreadAttachmentOperation
¶
The persisted attachment change represented by a notification.
ThreadGoalMutationOrigin
¶
Distinguishes explicit user actions from automatic goal lifecycle mutations.
ThreadItem
¶
ThreadItem = (
UserMessageThreadItem
| HookPromptThreadItem
| AgentMessageThreadItem
| FunctionCallOutputThreadItem
| PlanThreadItem
| ReasoningThreadItem
| CommandExecutionThreadItem
| FileChangeThreadItem
| McpToolCallThreadItem
| DynamicToolCallThreadItem
| CollabAgentToolCallThreadItem
| SubAgentActivityThreadItem
| WebSearchThreadItem
| ImageViewThreadItem
| SleepThreadItem
| ImageGenerationThreadItem
| EnteredReviewModeThreadItem
| ExitedReviewModeThreadItem
| ContextCompactionThreadItem
)
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
ThreadItemsListAnchor
¶
ThreadItemsListAnchor = ItemThreadItemsListAnchor
An exclusive item position within the requested visible turn.
ThreadItemsListCursor
¶
ThreadItemsListCursor = str | ThreadItemsListAnchor
Starting position for an item-history page.
ThreadRealtimeBemItemPresentation
¶
ThreadRealtimeBemItemPresentation = (
WholeItemThreadRealtimeBemItemPresentation
| InlineMarkdownThreadRealtimeBemItemPresentation
| InlineVisualizationThreadRealtimeBemItemPresentation
)
EXPERIMENTAL - how an existing agent item appears in a realtime conversation.
ThreadRealtimeItem
¶
ThreadRealtimeItem = (
RealtimeSessionStartedThreadRealtimeItem
| FrameThreadRealtimeItem
| TranscriptSegmentThreadRealtimeItem
| BemItemPromotedThreadRealtimeItem
| RealtimeSessionClosedThreadRealtimeItem
| TurnInputAcceptedThreadRealtimeItem
| SessionEndInputSavedThreadRealtimeItem
)
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
ThreadRealtimeStartTransport
¶
ThreadRealtimeStartTransport = (
WebsocketThreadRealtimeStartTransport
| WebrtcThreadRealtimeStartTransport
| ExistingCallThreadRealtimeStartTransport
)
EXPERIMENTAL - transport used by thread realtime.
ThreadTimelineEntry
¶
ThreadTimelineEntry = (
ItemThreadTimelineEntry
| RealtimeThreadTimelineEntry
| TurnStartedThreadTimelineEntry
| TurnCompletedThreadTimelineEntry
)
EXPERIMENTAL - one item or turn boundary in canonical rollout order.
ToolExposureSurface
¶
A model-facing surface on which a tool can be exposed.
UserVerificationErrorDetails
¶
UserVerificationErrorDetails = (
InvalidRequestUserVerificationErrorDetails
| UnavailableUserVerificationErrorDetails
| CancelledUserVerificationErrorDetails
| FailedUserVerificationErrorDetails
)
Closed error categories; native diagnostic payloads must not cross this boundary.
Verbosity
¶
Controls output length/detail on GPT-5 models via the Responses API. Serialized with lowercase values to match the OpenAI API.
WebSearchProvider
¶
Provider preference selected by the resolved model catalog entry.
AccountBedrockCheckGovCloudRequirementsRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountBedrockDiscoverRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountBedrockSetupRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountGatewayOAuthCancelRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountGatewayOAuthChangedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
AccountGatewayOAuthLoginRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountGatewayOAuthReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountGcpSetupRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountLoginCancelRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountLoginCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
AccountLoginStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountLogoutRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountRateLimitResetCreditConsumeRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountRateLimitsReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountRateLimitsUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
AccountRateLimitsUpdatedNotification
¶
Bases: CodexBaseModel
Sparse rolling rate-limit update.
Clients should merge available values into the most recent account/rateLimits/read response or refetch that snapshot. Nullable account metadata may be unavailable in a rolling update and does not clear a previously observed value.
Source code in src/codexed/models/v2_protocol.py
AccountReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountSecuritySetupReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountSendAddCreditsNudgeEmailRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountSessionListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountSessionSwitchRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountSessionsSwitchParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
account_id
instance-attribute
¶
Workspace to select within that login; this is not a user identifier.
allow_browser_login
class-attribute
instance-attribute
¶
Allow Core to start browser sign-in if this session needs SSO for the workspace.
session_id
instance-attribute
¶
Opaque active-login identifier returned by accountSession/list.
AccountSessionsSwitchResponse1
¶
Bases: CodexBaseModel
Open the URL and await account/login/completed for this login ID.
Source code in src/codexed/models/v2_protocol.py
AccountUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
AccountUpdatedNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
reason
class-attribute
instance-attribute
¶
Set when initial routing discovery completes for the same authenticated owner.
AccountUsageReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AccountWorkspaceMessagesReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ActivePermissionProfile
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
extends
class-attribute
instance-attribute
¶
Parent profile identifier from the selected permissions profile's extends setting, when present.
id
instance-attribute
¶
Identifier from default_permissions or the implicit built-in default, such as :workspace or a user-defined [permissions.<id>] profile.
ActiveTurnNotSteerableCodexErrorInfo
¶
Bases: CodexBaseModel
Returned when turn/start or turn/steer is submitted while the current active turn cannot accept same-turn steering, for example /review or manual /compact.
Source code in src/codexed/models/v2_protocol.py
AdditionalContextEntry
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
name
class-attribute
instance-attribute
¶
Optional name for untrusted context, used to label its tool output.
AdditionalFileSystemPermissions
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
AgentHookMetadata
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
AgentMessageDisplay1
¶
Bases: CodexBaseModel
How Chat should present a recovered answer.
Source code in src/codexed/models/v2_protocol.py
AgentMessageDisplay2
¶
Bases: CodexBaseModel
How Chat should present a recovered answer.
Source code in src/codexed/models/v2_protocol.py
AgentMessageDisplay3
¶
Bases: CodexBaseModel
How Chat should present a recovered answer.
Source code in src/codexed/models/v2_protocol.py
AgentMessageThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
AmazonBedrockAccessKeysv2LoginAccountParams
¶
Bases: CodexBaseModel
[UNSTABLE] Managed Amazon Bedrock AWS access key login is experimental.
Source code in src/codexed/models/v2_protocol.py
AmazonBedrockv2LoginAccountParams
¶
Bases: CodexBaseModel
[UNSTABLE] Managed Amazon Bedrock login is experimental.
Source code in src/codexed/models/v2_protocol.py
AppBranding
¶
Bases: CodexBaseModel
EXPERIMENTAL - app metadata returned by app-list APIs.
Source code in src/codexed/models/v2_protocol.py
AppConfig
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
links
class-attribute
instance-attribute
¶
links: AppLinksConfig | None = None
Per-account approval settings keyed by link ID.
omit_tools_from
class-attribute
instance-attribute
¶
omit_tools_from: list[ToolExposureSurface] | None = None
Additional model-facing surfaces omitted for this connector's tools.
AppInfo
¶
Bases: CodexBaseModel
EXPERIMENTAL - app metadata returned by app-list APIs.
Source code in src/codexed/models/v2_protocol.py
is_enabled
class-attribute
instance-attribute
¶
Whether this app is enabled in config.toml. Example: toml [apps.bad_app] enabled = false
AppInstalledRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
AppLinkConfig
¶
Bases: CodexBaseModel
Approval settings for a connected account within an app.
Source code in src/codexed/models/v2_protocol.py
AppLinksConfig
¶
Bases: CodexBaseModel
Account settings for a single app.
Source code in src/codexed/models/v2_protocol.py
AppListRequest
¶
AppListUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
AppListUpdatedNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - notification emitted when the app list changes.
Source code in src/codexed/models/v2_protocol.py
AppReadRequest
¶
AppSummary
¶
Bases: CodexBaseModel
EXPERIMENTAL - app metadata summary for plugin responses.
Source code in src/codexed/models/v2_protocol.py
AppToolSummary
¶
Bases: CodexBaseModel
EXPERIMENTAL - metadata returned by app/read.
Source code in src/codexed/models/v2_protocol.py
ApplicationNetworkRequirements
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
enabled
instance-attribute
¶
When enabled, only explicitly allowed exact domains may be contacted.
ApplicationStorageRequirements
¶
Bases: CodexBaseModel
Managed storage settings for new Desktop workspaces, not filesystem access restrictions.
Source code in src/codexed/models/v2_protocol.py
AppsInstalledParams
¶
Bases: CodexBaseModel
Read the committed installed connector runtime snapshot.
Source code in src/codexed/models/v2_protocol.py
AppsInstalledResponse
¶
Bases: CodexBaseModel
The installed connectors in one committed runtime snapshot.
Source code in src/codexed/models/v2_protocol.py
AppsListParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - list available apps/connectors.
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
Opaque pagination cursor returned by a previous call.
force_refetch
class-attribute
instance-attribute
¶
When true, bypass app caches and fetch the latest data from sources.
limit
class-attribute
instance-attribute
¶
Optional page size; defaults to a reasonable server-side value.
thread_id
class-attribute
instance-attribute
¶
Optional thread id used to evaluate app feature gating from that thread's config.
AppsListResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - app list response.
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
AppsReadParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - read metadata for specific apps/connectors.
Source code in src/codexed/models/v2_protocol.py
app_ids
instance-attribute
¶
App ids to read. The server accepts at most 100 ids and deduplicates repeated ids while preserving their first-request order.
include_tools
class-attribute
instance-attribute
¶
When true, include display-only public tool summaries in the returned metadata.
thread_id
class-attribute
instance-attribute
¶
Optional loaded thread id used to evaluate effective app configuration.
AppsReadResponse
¶
AudioUrlContentItem
¶
Bases: CodexBaseModel
Inline audio data or an uploaded file loaded by the Responses API.
Source code in src/codexed/models/v2_protocol.py
AudioUrlFunctionCallOutputContentItem
¶
Bases: CodexBaseModel
Inline audio data or an uploaded file loaded by the Responses API.
Source code in src/codexed/models/v2_protocol.py
AutoApprovalReviewStrictReviewRequiredNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
BaseBranchReviewTarget
¶
Bases: CodexBaseModel
Review changes between the current branch and the given base branch.
Source code in src/codexed/models/v2_protocol.py
BedrockCheckGovCloudRequirementsResponse
¶
Bases: CodexBaseModel
Advisory check of the current Bedrock configuration after login or setup.
Source code in src/codexed/models/v2_protocol.py
BedrockProviderSettingsPatch
¶
Bases: CodexBaseModel
AWS configuration fields for built-in Bedrock providers.
Source code in src/codexed/models/v2_protocol.py
BemItemPromotedThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
BlockReason1
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
protection_type
instance-attribute
¶
Identifies the same moderation row that Chat writes on the live path.
CancelledUserVerificationErrorDetails
¶
Bases: CodexBaseModel
Closed error categories; native diagnostic payloads must not cross this boundary.
Source code in src/codexed/models/v2_protocol.py
ChatgptAccount
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
workspace_name
class-attribute
instance-attribute
¶
Display name of the selected ChatGPT workspace, when available.
ChatgptAuthTokensv2LoginAccountParams
¶
Bases: CodexBaseModel
[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE. The access token must contain the same scopes that Codex-managed ChatGPT auth tokens have.
Source code in src/codexed/models/v2_protocol.py
access_token
instance-attribute
¶
Access token (JWT) supplied by the client. This token is used for backend API requests and email extraction.
chatgpt_account_id
instance-attribute
¶
Workspace/account identifier supplied by the client.
chatgpt_plan_type
class-attribute
instance-attribute
¶
Optional plan type supplied by the client.
When null, Codex attempts to derive the plan type from access-token claims. If unavailable, the plan defaults to unknown.
ChatgptDeviceCodev2LoginAccountResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
Chatgptv2LoginAccountResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
auth_url
instance-attribute
¶
URL the client should open in a browser to initiate the OAuth flow.
CollabAgentToolCallThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
agents_states
instance-attribute
¶
Last known status of the target agents, when available.
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
model
class-attribute
instance-attribute
¶
Model requested for the spawned agent, when applicable.
prompt
class-attribute
instance-attribute
¶
Prompt text sent as part of the collab tool call, when available.
reasoning_effort
class-attribute
instance-attribute
¶
reasoning_effort: ReasoningEffort | None = None
Reasoning effort requested for the spawned agent, when applicable.
receiver_thread_ids
instance-attribute
¶
Thread ID of the receiving agent, when applicable. In case of spawn operation, this corresponds to the newly spawned agent.
sender_thread_id
instance-attribute
¶
Thread ID of the agent issuing the collab request.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
status
instance-attribute
¶
Current status of the collab tool call.
CollaborationMode
¶
CollaborationModeListParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - list collaboration mode presets.
Source code in src/codexed/models/v2_protocol.py
CollaborationModeListRequest
¶
Bases: CodexBaseModel
Lists collaboration mode presets.
Source code in src/codexed/models/v2_protocol.py
CollaborationModeListResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - collaboration mode presets response.
Source code in src/codexed/models/v2_protocol.py
CollaborationModeMask
¶
Bases: CodexBaseModel
EXPERIMENTAL - collaboration mode preset metadata for clients.
Source code in src/codexed/models/v2_protocol.py
CommandConfiguredHookHandler
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
additional_context_limit
class-attribute
instance-attribute
¶
Approximate token threshold for spilling this hook's additionalContext to disk. null uses 2,500 tokens; 0 disables spilling for this hook. The threshold is evaluated against the original context; a spilled preview also includes recovery metadata.
CommandExecOutputDeltaMessage
¶
Bases: CodexBaseModel
Stream base64-encoded stdout/stderr chunks for a running command/exec session.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
CommandExecOutputDeltaNotification
¶
Bases: CodexBaseModel
Base64-encoded output chunk emitted for a streaming command/exec request.
These notifications are connection-scoped. If the originating connection closes, the server terminates the process.
Source code in src/codexed/models/v2_protocol.py
CommandExecParams
¶
Bases: CodexBaseModel
Run a standalone command (argv vector) in the server sandbox without creating a thread or turn.
The final command/exec response is deferred until the process exits and is sent only after all command/exec/outputDelta notifications for that connection have been emitted.
Source code in src/codexed/models/v2_protocol.py
1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 | |
cwd
class-attribute
instance-attribute
¶
Optional working directory. Defaults to the server cwd.
disable_output_cap
class-attribute
instance-attribute
¶
Disable stdout/stderr capture truncation for this request.
Cannot be combined with outputBytesCap.
disable_timeout
class-attribute
instance-attribute
¶
Disable the timeout entirely for this request.
Cannot be combined with timeoutMs.
env
class-attribute
instance-attribute
¶
Optional environment overrides merged into the server-computed environment.
Matching names override inherited values. Set a key to null to unset an inherited variable.
output_bytes_cap
class-attribute
instance-attribute
¶
Optional per-stream stdout/stderr capture cap in bytes.
When omitted, the server default applies. Cannot be combined with disableOutputCap.
permission_profile
class-attribute
instance-attribute
¶
Optional active permissions profile id for this command.
Defaults to the user's configured permissions when omitted. Cannot be combined with sandboxPolicy.
process_id
class-attribute
instance-attribute
¶
Optional client-supplied, connection-scoped process id.
Required for tty, streamStdin, streamStdoutStderr, and follow-up command/exec/write, command/exec/resize, and command/exec/terminate calls. When omitted, buffered execution gets an internal id that is not exposed to the client.
sandbox_policy
class-attribute
instance-attribute
¶
Optional sandbox policy for this command.
Uses the same shape as thread/turn execution sandbox configuration and defaults to the user's configured policy when omitted. Cannot be combined with permissionProfile.
size
class-attribute
instance-attribute
¶
size: CommandExecTerminalSize | None = None
Optional initial PTY size in character cells. Only valid when tty is true.
stream_stdin
class-attribute
instance-attribute
¶
Allow follow-up command/exec/write requests to write stdin bytes.
Requires a client-supplied processId.
stream_stdout_stderr
class-attribute
instance-attribute
¶
Stream stdout/stderr via command/exec/outputDelta notifications.
Streamed bytes are not duplicated into the final response and require a client-supplied processId.
timeout_ms
class-attribute
instance-attribute
¶
Optional timeout in milliseconds.
When omitted, the server default applies. Cannot be combined with disableTimeout.
tty
class-attribute
instance-attribute
¶
Enable PTY mode.
This implies streamStdin and streamStdoutStderr.
CommandExecRequest
¶
Bases: CodexBaseModel
Execute a standalone command (argv vector) under the server's sandbox.
Source code in src/codexed/models/v2_protocol.py
CommandExecResizeParams
¶
Bases: CodexBaseModel
Resize a running PTY-backed command/exec session.
Source code in src/codexed/models/v2_protocol.py
process_id
instance-attribute
¶
Client-supplied, connection-scoped processId from the original command/exec request.
CommandExecResizeRequest
¶
Bases: CodexBaseModel
Resize a running PTY-backed command/exec session by client-supplied processId.
Source code in src/codexed/models/v2_protocol.py
CommandExecResizeResponse
¶
Bases: CodexBaseModel
Empty success response for command/exec/resize.
Source code in src/codexed/models/v2_protocol.py
CommandExecResponse
¶
Bases: CodexBaseModel
Final buffered result for command/exec.
Source code in src/codexed/models/v2_protocol.py
CommandExecTerminalSize
¶
Bases: CodexBaseModel
PTY size in character cells for command/exec PTY sessions.
Source code in src/codexed/models/v2_protocol.py
CommandExecTerminateParams
¶
Bases: CodexBaseModel
Terminate a running command/exec session.
Source code in src/codexed/models/v2_protocol.py
process_id
instance-attribute
¶
Client-supplied, connection-scoped processId from the original command/exec request.
CommandExecTerminateRequest
¶
Bases: CodexBaseModel
Terminate a running command/exec session by client-supplied processId.
Source code in src/codexed/models/v2_protocol.py
CommandExecTerminateResponse
¶
Bases: CodexBaseModel
Empty success response for command/exec/terminate.
Source code in src/codexed/models/v2_protocol.py
CommandExecWriteParams
¶
Bases: CodexBaseModel
Write stdin bytes to a running command/exec session, close stdin, or both.
Source code in src/codexed/models/v2_protocol.py
close_stdin
class-attribute
instance-attribute
¶
Close stdin after writing deltaBase64, if present.
delta_base64
class-attribute
instance-attribute
¶
Optional base64-encoded stdin bytes to write.
process_id
instance-attribute
¶
Client-supplied, connection-scoped processId from the original command/exec request.
CommandExecWriteRequest
¶
Bases: CodexBaseModel
Write stdin bytes to a running command/exec session or close stdin.
Source code in src/codexed/models/v2_protocol.py
CommandExecWriteResponse
¶
Bases: CodexBaseModel
Empty success response for command/exec/write.
Source code in src/codexed/models/v2_protocol.py
CommandExecutionThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
aggregated_output
class-attribute
instance-attribute
¶
The command's output, aggregated from stdout and stderr.
command_actions
instance-attribute
¶
A best-effort parsing of the command to understand the action(s) it will perform. This returns a list of CommandAction objects because a single shell command may be composed of many commands piped together.
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
duration_ms
class-attribute
instance-attribute
¶
The duration of the command execution in milliseconds.
exit_code
class-attribute
instance-attribute
¶
The command's exit code.
plugin_id
class-attribute
instance-attribute
¶
Trusted first-party plugin id when this command resolves to one plugin script.
process_id
class-attribute
instance-attribute
¶
Identifier for the underlying PTY process (when available).
script_path
class-attribute
instance-attribute
¶
Safe plugin-relative path when this command resolves to one plugin script.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
CommitReviewTarget
¶
Bases: CodexBaseModel
Review the changes introduced by a specific commit.
Source code in src/codexed/models/v2_protocol.py
title
class-attribute
instance-attribute
¶
Optional human-readable label (e.g., commit subject) for UIs.
Config
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
[UNSTABLE] Optional default for where approval requests are routed for review.
client_search_provider
class-attribute
instance-attribute
¶
client_search_provider: WebSearchProvider | None = None
Effective tools.client_search_provider hint. Model-selected providers take precedence.
ConfigBatchWriteParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
file_path
class-attribute
instance-attribute
¶
Path to the config file to write; defaults to the user's config.toml when omitted.
reload_user_config
class-attribute
instance-attribute
¶
When true, hot-reload updated runtime settings into loaded threads after writing. Session-static model, reasoning-effort, Plan-mode reasoning-effort, and service-tier defaults are not reloaded. The deprecated personality setting is also not reloaded.
ConfigBatchWriteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ConfigMcpServerReloadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ConfigReadParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cwd
class-attribute
instance-attribute
¶
Optional working directory to resolve project config layers. If specified, return the effective config as seen from that directory (i.e., including any project layers between cwd and the project/repo root).
ConfigReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ConfigRequirements
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
allowed_login_methods
class-attribute
instance-attribute
¶
Effective login methods after managed, forced-login, and workspace restrictions. An empty list permits no login method. Older servers may omit this field.
model_provider
class-attribute
instance-attribute
¶
Exact provider selection required by managed policy.
model_providers
class-attribute
instance-attribute
¶
Complete required provider definitions, using config.toml field names.
ConfigRequirementsReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ConfigRequirementsReadResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
requirements
class-attribute
instance-attribute
¶
requirements: ConfigRequirements | None = None
Null if no requirements are configured (e.g. no requirements.toml/MDM entries).
supports_independent_speed_modes
class-attribute
instance-attribute
¶
Whether Fast and Ultra Fast requirements are enforced independently. Older servers omit this field and use Fast mode as a shared speed gate.
ConfigValueWriteParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
file_path
class-attribute
instance-attribute
¶
Path to the config file to write; defaults to the user's config.toml when omitted.
ConfigValueWriteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ConfigWarningMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ConfigWarningNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ConfigWriteResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
file_path
instance-attribute
¶
file_path: AbsolutePathBuf
Canonical path to the config file that was written.
ConfigurationReasoning
¶
Bases: CodexBaseModel
Reasoning settings interpreted by the backend for the routed model.
Source code in src/codexed/models/v2_protocol.py
ConfigurationUpdateResponseItem
¶
Bases: CodexBaseModel
A durable input control interpreted by the backend at its position in history.
Source code in src/codexed/models/v2_protocol.py
ConnectorMetadata
¶
Bases: CodexBaseModel
EXPERIMENTAL - metadata returned by app/read.
Source code in src/codexed/models/v2_protocol.py
ConsumeAccountRateLimitResetCreditParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ContextCompactedNotification
¶
ContextCompactionThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
CustomGatewayProviderSettingsPatch
¶
Bases: CodexBaseModel
Omitted patch fields preserve their values. Explicit null clears a nullable field.
Source code in src/codexed/models/v2_protocol.py
provider_id
class-attribute
instance-attribute
¶
Omit or pass null to allocate a new custom provider ID.
CustomMultiAgentMode
¶
Bases: CodexBaseModel
Controls the effective multi-agent delegation instructions for a turn. custom means the configured mode hint defines the policy instead of a built-in policy.
Source code in src/codexed/models/v2_protocol.py
CustomReviewTarget
¶
Bases: CodexBaseModel
Arbitrary instructions, equivalent to the old free-form prompt.
Source code in src/codexed/models/v2_protocol.py
DeprecationNoticeMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
DeprecationNoticeNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
DynamicToolCallThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
duration_ms
class-attribute
instance-attribute
¶
The duration of the dynamic tool call in milliseconds.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
EncryptedContentFunctionCallOutputContentItem
¶
Bases: CodexBaseModel
Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.
Source code in src/codexed/models/v2_protocol.py
EnteredReviewModeThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
EnterpriseManagedConfigLayerSource
¶
Bases: CodexBaseModel
Enterprise-managed config layer delivered by the cloud config bundle.
Source code in src/codexed/models/v2_protocol.py
EnvironmentAddParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
auth_bearer_token
class-attribute
instance-attribute
¶
Optional raw bearer token for executor authentication, including reconnects. Requires a secure transport or a loopback destination.
connect_timeout_ms
class-attribute
instance-attribute
¶
Optional WebSocket connection timeout. The server default applies when omitted.
skills
class-attribute
instance-attribute
¶
skills: EnvironmentSkillsParams | None = None
Required skills supplied by this environment, checked before model inference.
websocket_request_id
class-attribute
instance-attribute
¶
Optional X-Request-ID for the direct WebSocket upgrade, including reconnects. Requires a secure transport or a loopback destination.
EnvironmentAddRequest
¶
Bases: CodexBaseModel
Adds or replaces a remote environment by id for later selection.
Source code in src/codexed/models/v2_protocol.py
EnvironmentCapabilityRootLocation
¶
Bases: CodexBaseModel
A path owned by an execution environment.
Source code in src/codexed/models/v2_protocol.py
EnvironmentInfoRequest
¶
Bases: CodexBaseModel
Reads information from a configured execution environment.
Source code in src/codexed/models/v2_protocol.py
EnvironmentInfoResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cwd
class-attribute
instance-attribute
¶
Default working directory reported by the environment, as a canonical file URI.
EnvironmentShellInfo
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
EnvironmentSkillsParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
required
class-attribute
instance-attribute
¶
Exact catalog names that must be available from this environment.
EnvironmentStatusParams
¶
Bases: CodexBaseModel
Parameters for reading the current status of one configured environment.
Source code in src/codexed/models/v2_protocol.py
EnvironmentStatusRequest
¶
Bases: CodexBaseModel
Reads the current status of a configured execution environment.
Source code in src/codexed/models/v2_protocol.py
EnvironmentStatusResponse
¶
Bases: CodexBaseModel
Current status for the requested environment.
Source code in src/codexed/models/v2_protocol.py
error
class-attribute
instance-attribute
¶
Human-readable detail for disconnected and unknown; omitted for other statuses.
status
instance-attribute
¶
status: EnvironmentStatusKind
Current status observed without starting or recovering the environment.
ErrorMessage
¶
Bases: CodexBaseModel
NEW NOTIFICATIONS.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ExistingCallThreadRealtimeStartTransport
¶
Bases: CodexBaseModel
EXPERIMENTAL - transport used by thread realtime.
Source code in src/codexed/models/v2_protocol.py
call_id
instance-attribute
¶
Identifier of a realtime call already created and negotiated by the client.
ExitedReviewModeThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
ExperimentalFeature
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
announcement
class-attribute
instance-attribute
¶
Announcement copy shown to users when the feature is introduced. Null when this feature is not in beta.
default_enabled
instance-attribute
¶
Whether this feature is enabled by default.
description
class-attribute
instance-attribute
¶
Short summary describing what the feature does. Null when this feature is not in beta.
display_name
class-attribute
instance-attribute
¶
User-facing display name shown in the experimental features UI. Null when this feature is not in beta.
enabled
instance-attribute
¶
Whether this feature is currently enabled in the loaded config.
ExperimentalFeatureEnablementSetParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
enablement
instance-attribute
¶
Process-wide runtime feature enablement keyed by canonical feature name.
Only named features are updated. Omitted features are left unchanged. Send an empty map for a no-op.
ExperimentalFeatureEnablementSetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ExperimentalFeatureEnablementSetResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
enablement
instance-attribute
¶
Feature enablement entries updated by this request.
ExperimentalFeatureListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
Opaque pagination cursor returned by a previous call.
limit
class-attribute
instance-attribute
¶
Optional page size; defaults to a reasonable server-side value.
thread_id
class-attribute
instance-attribute
¶
Optional loaded thread id. Pass this when showing feature state for an existing thread so enablement is computed from that thread's refreshed config, including project-local config for the thread's cwd.
ExperimentalFeatureListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ExperimentalFeatureListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
ExternalAgentConfigDetectParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cwds
class-attribute
instance-attribute
¶
Zero or more working directories to include for repo-scoped detection.
include_home
class-attribute
instance-attribute
¶
If true, include detection under the user's home directory.
max_session_age_days
class-attribute
instance-attribute
¶
Maximum age in days for detected sessions. Missing values use the default limit.
max_sessions
class-attribute
instance-attribute
¶
Maximum number of sessions to detect. Missing values use the default limit.
migration_source
class-attribute
instance-attribute
¶
Optional migration-source selector. Missing or unrecognized values use the default source.
source
class-attribute
instance-attribute
¶
Deprecated field retained for compatibility. This field is ignored; use migrationSource to select the migration source.
ExternalAgentConfigDetectRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ExternalAgentConfigImportCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ExternalAgentConfigImportHistoryRecordParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ExternalAgentConfigImportHistoryRecordSuccessParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
title
class-attribute
instance-attribute
¶
Original title for an imported session, when available.
ExternalAgentConfigImportItemTypeSuccess
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
title
class-attribute
instance-attribute
¶
Original title for an imported session; null for other item types.
ExternalAgentConfigImportParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
migration_source
class-attribute
instance-attribute
¶
Migration-source selector used to produce the migration items. Pass the same value to detection and import; missing or unrecognized values use the default source.
provider_id
class-attribute
instance-attribute
¶
Opaque provider identifier supplied by the caller for analytics attribution and import history display. This does not select the migration source.
source
class-attribute
instance-attribute
¶
Optional identifier for the product that initiated the import.
ExternalAgentConfigImportProgressMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ExternalAgentConfigImportReadHistoriesRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ExternalAgentConfigImportRecordHistoryRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ExternalAgentConfigImportRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ExternalAgentConfigMigrationItem
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cwd
class-attribute
instance-attribute
¶
Null or empty means home-scoped migration; non-empty means repo-scoped migration.
FailedUserVerificationErrorDetails
¶
Bases: CodexBaseModel
Closed error categories; native diagnostic payloads must not cross this boundary.
Source code in src/codexed/models/v2_protocol.py
FeedbackSaveParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
save_path
instance-attribute
¶
Absolute, previously unused ZIP path on the app-server host. The caller owns this file, including after a disconnected RPC.
FeedbackSaveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FeedbackSaveResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
prompt_hash
class-attribute
instance-attribute
¶
Same prompt hash as feedback/upload; null when prompt metadata is absent.
FeedbackUploadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FeedbackUploadResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
prompt_hash
class-attribute
instance-attribute
¶
Whitespace-normalized SHA-256 of the session base instructions, matching the uploaded prompt_hash tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.
FileChangeOutputDeltaNotification
¶
Bases: CodexBaseModel
Deprecated legacy notification for apply_patch textual output.
The server no longer emits this notification.
Source code in src/codexed/models/v2_protocol.py
FileChangeThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
FileIdContentItem1
¶
Bases: CodexBaseModel
Inline audio data or an uploaded file loaded by the Responses API.
Source code in src/codexed/models/v2_protocol.py
FileIdFunctionCallOutputContentItem
¶
Bases: CodexBaseModel
Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.
Source code in src/codexed/models/v2_protocol.py
FileIdFunctionCallOutputContentItem1
¶
Bases: CodexBaseModel
Inline audio data or an uploaded file loaded by the Responses API.
Source code in src/codexed/models/v2_protocol.py
FileIdThreadItem
¶
Bases: CodexBaseModel
Either inline generated-image data or its durable attachment-store identity.
File must remain first so rollouts written during the migration, which contain both an empty result and a fileId, retain the file reference when deserialized.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
generation_id
class-attribute
instance-attribute
¶
Image generation identifier for the generated image, when provided by the image backend.
input_images
class-attribute
instance-attribute
¶
input_images: list[ImageGenerationInputImage] | None = None
Observed local inputs for a completed generation, absent on older items.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
FrameThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
FsChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
FsChangedNotification
¶
Bases: CodexBaseModel
Filesystem watch notification emitted for fs/watch subscribers.
Source code in src/codexed/models/v2_protocol.py
changed_paths
instance-attribute
¶
changed_paths: list[AbsolutePathBuf]
File or directory paths associated with this event.
FsCopyParams
¶
Bases: CodexBaseModel
Copy a file or directory tree on the host filesystem.
Source code in src/codexed/models/v2_protocol.py
recursive
class-attribute
instance-attribute
¶
Required for directory copies; ignored for file copies.
FsCopyRequest
¶
FsCopyResponse
¶
Bases: CodexBaseModel
Successful response for fs/copy.
Source code in src/codexed/models/v2_protocol.py
FsCreateDirectoryParams
¶
Bases: CodexBaseModel
Create a directory on the host filesystem.
Source code in src/codexed/models/v2_protocol.py
recursive
class-attribute
instance-attribute
¶
Whether parent directories should also be created. Defaults to true.
FsCreateDirectoryRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsCreateDirectoryResponse
¶
Bases: CodexBaseModel
Successful response for fs/createDirectory.
Source code in src/codexed/models/v2_protocol.py
FsGetMetadataParams
¶
Bases: CodexBaseModel
Request metadata for an absolute path.
Source code in src/codexed/models/v2_protocol.py
FsGetMetadataRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsGetMetadataResponse
¶
Bases: CodexBaseModel
Metadata returned by fs/getMetadata.
Source code in src/codexed/models/v2_protocol.py
FsReadDirectoryEntry
¶
Bases: CodexBaseModel
A directory entry returned by fs/readDirectory.
Source code in src/codexed/models/v2_protocol.py
FsReadDirectoryParams
¶
Bases: CodexBaseModel
List direct child names for a directory.
Source code in src/codexed/models/v2_protocol.py
FsReadDirectoryRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsReadDirectoryResponse
¶
Bases: CodexBaseModel
Directory entries returned by fs/readDirectory.
Source code in src/codexed/models/v2_protocol.py
entries
instance-attribute
¶
entries: list[FsReadDirectoryEntry]
Direct child entries in the requested directory.
FsReadFileParams
¶
Bases: CodexBaseModel
Read a file from the host filesystem.
Source code in src/codexed/models/v2_protocol.py
FsReadFileRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsReadFileResponse
¶
Bases: CodexBaseModel
Base64-encoded file contents returned by fs/readFile.
Source code in src/codexed/models/v2_protocol.py
FsRemoveParams
¶
Bases: CodexBaseModel
Remove a file or directory tree from the host filesystem.
Source code in src/codexed/models/v2_protocol.py
FsRemoveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsRemoveResponse
¶
Bases: CodexBaseModel
Successful response for fs/remove.
Source code in src/codexed/models/v2_protocol.py
FsUnwatchParams
¶
Bases: CodexBaseModel
Stop filesystem watch notifications for a prior fs/watch.
Source code in src/codexed/models/v2_protocol.py
FsUnwatchRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsUnwatchResponse
¶
Bases: CodexBaseModel
Successful response for fs/unwatch.
Source code in src/codexed/models/v2_protocol.py
FsWatchParams
¶
Bases: CodexBaseModel
Start filesystem watch notifications for an absolute path.
Source code in src/codexed/models/v2_protocol.py
watch_id
instance-attribute
¶
Connection-scoped watch identifier used for fs/unwatch and fs/changed.
FsWatchRequest
¶
FsWatchResponse
¶
Bases: CodexBaseModel
Successful response for fs/watch.
Source code in src/codexed/models/v2_protocol.py
FsWriteFileParams
¶
Bases: CodexBaseModel
Write a file on the host filesystem.
Source code in src/codexed/models/v2_protocol.py
FsWriteFileRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FsWriteFileResponse
¶
Bases: CodexBaseModel
Successful response for fs/writeFile.
Source code in src/codexed/models/v2_protocol.py
FunctionCallOutputThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
FuzzyFileSearchRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FuzzyFileSearchResult
¶
Bases: CodexBaseModel
Superset of [codex_file_search::FileMatch].
Source code in src/codexed/models/v2_protocol.py
FuzzyFileSearchSessionCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
FuzzyFileSearchSessionStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FuzzyFileSearchSessionStopRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FuzzyFileSearchSessionUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
FuzzyFileSearchSessionUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
GatewayOAuthChangedNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
GatewayOAuthLoginParams
¶
Bases: CodexBaseModel
Authorize a configured provider without changing the default or any thread's provider.
Source code in src/codexed/models/v2_protocol.py
GatewayOAuthReadParams
¶
Bases: CodexBaseModel
Read credential readiness for a configured provider without starting browser login.
Source code in src/codexed/models/v2_protocol.py
model_provider
class-attribute
instance-attribute
¶
Defaults to the current provider when omitted.
GatewayOAuthReadResponse
¶
Bases: CodexBaseModel
Current effective gateway policy and credential readiness; never contains credentials.
Source code in src/codexed/models/v2_protocol.py
required
instance-attribute
¶
Whether the selected provider uses gateway OAuth, even when already signed in.
status
class-attribute
instance-attribute
¶
Null when the effective provider does not use gateway OAuth.
supports_device_auth
class-attribute
instance-attribute
¶
Whether the administrator configured a device authorization endpoint.
GcpAccount
¶
Bases: CodexBaseModel
Google Cloud Vertex AI with externally managed credentials.
Source code in src/codexed/models/v2_protocol.py
GcpProviderSettings
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
credential_file
class-attribute
instance-attribute
¶
Path on the app-server host, without credential-file contents.
GcpProviderSettingsPatch
¶
Bases: CodexBaseModel
GCP configuration fields. Credential-file paths refer to the app-server host.
Source code in src/codexed/models/v2_protocol.py
GcpSetupParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
credential_file
class-attribute
instance-attribute
¶
Absolute path to a credential file on the app-server host. Omit or pass null to clear the active user configuration's override and use ADC. If another configuration layer would still supply a credential file, setup fails without saving changes.
location
class-attribute
instance-attribute
¶
Vertex AI location. Omission or null selects global.
GetAccountParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
refresh_token
class-attribute
instance-attribute
¶
When true, requests a proactive token refresh before returning.
In managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call account/login/start with chatgptAuthTokens.
GetAccountRateLimitsParams
¶
Bases: CodexBaseModel
Usage-read capabilities of the requesting client, never inferred from its experiment arm.
Source code in src/codexed/models/v2_protocol.py
exclude_reset_credit_details
class-attribute
instance-attribute
¶
Skip the separate reset-credit detail lookup for background usage polls. The usage response still includes the available count; omitted/false preserves detailed reads.
supports_luna_reserve
class-attribute
instance-attribute
¶
The client supports automatic Luna Reserve fallback. For eligible ChatGPT CLI users, allow the backend to record experiment exposure after ordinary usage is blocked.
GetAccountRateLimitsResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
account_id
class-attribute
instance-attribute
¶
Account associated with this usage snapshot, when supplied by the backend.
ordinary_usage_allowed
class-attribute
instance-attribute
¶
Backend permission for ordinary included usage, validated against the active account. Null means unavailable; clients must not infer recovery from percentages or reset times.
rate_limit_upsell
class-attribute
instance-attribute
¶
Optional backend-owned banner from the same usage read. Its nested keys retain the backend's snake_case contract; an absent banner leaves the client's existing UI unchanged.
rate_limits
instance-attribute
¶
rate_limits: RateLimitSnapshot
Backward-compatible single-bucket view; mirrors the historical payload.
rate_limits_by_limit_id
class-attribute
instance-attribute
¶
Multi-bucket view keyed by metered limit_id (for example, codex).
GetAccountResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
user_id
class-attribute
instance-attribute
¶
ChatGPT user ID belonging to this account response, when available.
GetAccountSecuritySetupResponse
¶
Bases: CodexBaseModel
Optional security reminder bound to the account that fetched it. Unavailable or ineligible accounts return no notice; this read never changes account security.
Source code in src/codexed/models/v2_protocol.py
GetAccountTokenUsageParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
thread_id
class-attribute
instance-attribute
¶
When present, read estimated usage for this thread instead of account-wide token activity.
GetAccountTokenUsageResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
thread_usage
class-attribute
instance-attribute
¶
thread_usage: ThreadUsage | None = None
Estimated usage when a thread was requested and its billing route is available.
GetWorkspaceMessagesResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
feature_enabled
instance-attribute
¶
Whether the workspace-message backend route is available for this client.
messages
instance-attribute
¶
messages: list[WorkspaceMessage]
Active workspace messages returned by the backend.
GuardianApprovalReview
¶
Bases: CodexBaseModel
[UNSTABLE] Temporary approval auto-review payload used by item/autoApprovalReview/* notifications. This shape is expected to change soon.
Source code in src/codexed/models/v2_protocol.py
GuardianWarningMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
GuardianWarningNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
HookCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
HookMetadata1
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
HookMetadata2
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
HookPromptThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
HookStartedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
HooksListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
HooksListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
HttpConnectionFailedCodexErrorInfo
¶
Bases: CodexBaseModel
This translation layer make sure that we expose codex error code in camel case.
When an upstream HTTP status is available (for example, from the Responses API or a provider), it is forwarded in httpStatusCode on the relevant codexErrorInfo variant.
Source code in src/codexed/models/v2_protocol.py
ImageGenerationInputImage
¶
Bases: CodexBaseModel
A local image file successfully read for this exact image-generation request.
Source code in src/codexed/models/v2_protocol.py
sha256
instance-attribute
¶
Lowercase SHA-256 of the file bytes read before image normalization.
ImageUrlFunctionCallOutputContentItem
¶
Bases: CodexBaseModel
Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.
Source code in src/codexed/models/v2_protocol.py
ImageViewThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
InitializeCapabilities
¶
Bases: CodexBaseModel
Client-declared capabilities negotiated during initialize.
Source code in src/codexed/models/v2_protocol.py
experimental_api
class-attribute
instance-attribute
¶
Opt into receiving experimental API methods and fields.
explicit_gateway_oauth
class-attribute
instance-attribute
¶
Use explicit gateway OAuth login instead of automatic browser authorization. Applies to this app-server's gateway runtime; later connections cannot undo it.
extensions
class-attribute
instance-attribute
¶
MCP extension settings declared by the app-server client.
mcp_server_openai_form_elicitation
class-attribute
instance-attribute
¶
Legacy opt-in for the openai/form MCP extension.
New clients should declare openai/form in [Self::extensions].
opt_out_notification_methods
class-attribute
instance-attribute
¶
Exact notification method names that should be suppressed for this connection (for example thread/started).
request_attestation
class-attribute
instance-attribute
¶
Opt into attestation/generate requests for upstream x-oai-attestation.
required_human_approval
class-attribute
instance-attribute
¶
Present humanCommand approvals to a person and return only a one-time decision. Requires experimentalApi. Pending requests can be replayed to compatible clients.
InitializeRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
InlineMarkdownThreadRealtimeBemItemPresentation
¶
Bases: CodexBaseModel
EXPERIMENTAL - how an existing agent item appears in a realtime conversation.
Source code in src/codexed/models/v2_protocol.py
InlineVisualizationThreadRealtimeBemItemPresentation
¶
Bases: CodexBaseModel
EXPERIMENTAL - how an existing agent item appears in a realtime conversation.
Source code in src/codexed/models/v2_protocol.py
InputTextFunctionCallOutputContentItem
¶
Bases: CodexBaseModel
Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.
Source code in src/codexed/models/v2_protocol.py
InstalledApp
¶
Bases: CodexBaseModel
Installed connector runtime state.
Source code in src/codexed/models/v2_protocol.py
callable
instance-attribute
¶
Whether the connector is enabled and has a non-synthetic, model-visible tool allowed by effective MCP and app/tool policy in the committed runtime snapshot.
enabled
instance-attribute
¶
Effective enabled state after applying global, workspace, local, and managed configuration at read time.
runtime_name
class-attribute
instance-attribute
¶
Best-effort name carried by the runtime tool catalog. Canonical app metadata remains owned by app/read.
InternalChatMessageMetadataPassthrough
¶
Bases: CodexBaseModel
Internal Responses API passthrough metadata copied into underlying chat messages.
Responses API strongly types this payload. Do not modify it without first getting API approval and making the corresponding Responses API change.
Source code in src/codexed/models/v2_protocol.py
InvalidRequestUserVerificationErrorDetails
¶
Bases: CodexBaseModel
Closed error categories; native diagnostic payloads must not cross this boundary.
Source code in src/codexed/models/v2_protocol.py
ItemAgentMessageDeltaNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemAutoApprovalReviewCompletedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemAutoApprovalReviewStartedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemCommandExecutionOutputDeltaNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemCommandExecutionTerminalInteractionNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemCompletedNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
instance-attribute
¶
Unix timestamp (in milliseconds) when this item lifecycle completed.
content_token_count
class-attribute
instance-attribute
¶
Native content tokens for the completed assistant message, including a sampled footer. Null when unavailable. Completion telemetry is not part of the stored thread item.
ItemFileChangeOutputDeltaNotification
¶
Bases: CodexBaseModel
Deprecated legacy apply_patch output stream notification.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemFileChangePatchUpdatedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemGuardianApprovalReviewCompletedNotification
¶
Bases: CodexBaseModel
[UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
instance-attribute
¶
Unix timestamp (in milliseconds) when this review completed.
started_at_ms
instance-attribute
¶
Unix timestamp (in milliseconds) when this review started.
target_item_id
class-attribute
instance-attribute
¶
Identifier for the reviewed item or tool call when one exists.
In most cases, one review maps to one target item. The exceptions are - execve reviews, where a single command may contain multiple execve calls to review (only possible when using the shell_zsh_fork feature) - stdin reviews, which refer to the existing parent command item and have a separate approval ID in the action payload - network policy reviews, where there is no target item
A network call is triggered by a CommandExecution item, so having a target_item_id set to the CommandExecution item would be misleading because the review is about the network call, not the command execution. Therefore, target_item_id is set to None for network policy reviews.
ItemGuardianApprovalReviewStartedNotification
¶
Bases: CodexBaseModel
[UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon.
Source code in src/codexed/models/v2_protocol.py
started_at_ms
instance-attribute
¶
Unix timestamp (in milliseconds) when this review started.
target_item_id
class-attribute
instance-attribute
¶
Identifier for the reviewed item or tool call when one exists.
In most cases, one review maps to one target item. The exceptions are - execve reviews, where a single command may contain multiple execve calls to review (only possible when using the shell_zsh_fork feature) - stdin reviews, which refer to the existing parent command item and have a separate approval ID in the action payload - network policy reviews, where there is no target item
A network call is triggered by a CommandExecution item, so having a target_item_id set to the CommandExecution item would be misleading because the review is about the network call, not the command execution. Therefore, target_item_id is set to None for network policy reviews.
ItemMcpToolCallProgressNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemPlanDeltaNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - proposed plan streaming deltas for plan items.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemReasoningSummaryPartAddedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemReasoningSummaryTextDeltaNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemReasoningTextDeltaNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemStartedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ItemStartedNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
started_at_ms
instance-attribute
¶
Unix timestamp (in milliseconds) when this item lifecycle started.
ItemThreadItemsListAnchor
¶
Bases: CodexBaseModel
An exclusive item position within the requested visible turn.
Source code in src/codexed/models/v2_protocol.py
ItemThreadTimelineEntry
¶
Bases: CodexBaseModel
EXPERIMENTAL - one item or turn boundary in canonical rollout order.
Source code in src/codexed/models/v2_protocol.py
LegacyManagedConfigTomlFromFileConfigLayerSource
¶
Bases: CodexBaseModel
managed_config.toml was designed to be a config that was loaded as the last layer on top of everything else. This scheme did not quite work out as intended, but we keep this variant as a "best effort" while we phase out managed_config.toml in favor of requirements.toml.
Source code in src/codexed/models/v2_protocol.py
ListMcpServerStatusParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
Opaque pagination cursor returned by a previous call.
detail
class-attribute
instance-attribute
¶
Controls how much MCP inventory data to fetch for each server. Defaults to Full when omitted.
environment_id
class-attribute
instance-attribute
¶
Select this environment's registration. Requires serverName and threadId. When omitted, a named request uses the same server as older clients.
limit
class-attribute
instance-attribute
¶
Optional page size; defaults to a server-defined value.
server_name
class-attribute
instance-attribute
¶
Limit discovery to one server. With a thread ID, reuse that thread's MCP connection.
ListMcpServerStatusResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
LocalShellCallResponseItem
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
MarketplaceAddRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
MarketplaceRemoveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
MarketplaceUpgradeRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpAppUi
¶
Bases: CodexBaseModel
UI resource and display preference for model invocations, captured from the tool descriptor.
Source code in src/codexed/models/v2_protocol.py
McpResourceReadParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
environment_id
class-attribute
instance-attribute
¶
Exact registration scope; omission preserves legacy name-only selection.
field_meta
class-attribute
instance-attribute
¶
Additional MCP request metadata. Account and turn routing keys are reserved.
origin_call_id
class-attribute
instance-attribute
¶
Originating MCP tool call used to select the resource's app.
target
class-attribute
instance-attribute
¶
target: McpResourceReadTarget | None = None
Explicit hosted app/account. Omit to retain legacy resource discovery.
McpResourceReadResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
origin_call_id
class-attribute
instance-attribute
¶
Originating call when the server applied app-specific resource scoping.
McpResourceReadTarget
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
link_id
instance-attribute
¶
Null explicitly requests no-auth access, subject to the app's resource policy.
McpServerEventStreamNotificationNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
McpServerEventStreamStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpServerEventStreamStopRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpServerInfo
¶
Bases: CodexBaseModel
Presentation metadata advertised by an initialized MCP server.
Source code in src/codexed/models/v2_protocol.py
McpServerOauthLoginCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
McpServerOauthLoginCompletedNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
login_id
class-attribute
instance-attribute
¶
Identifies the explicit login attempt. Older servers omit this field.
McpServerOauthLoginParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
McpServerOauthLoginRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpServerOauthLoginResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
login_id
class-attribute
instance-attribute
¶
Identifies this login attempt across the response and completion notification. Older servers omit this field; current servers always return it.
McpServerResourceReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpServerStartupStatusUpdatedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
McpServerStatus
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
environment_id
class-attribute
instance-attribute
¶
Environment that contributed this registration; null for a thread-wide server. Older servers omit this field.
http_origin
class-attribute
instance-attribute
¶
HTTP origin of the effective configured endpoint, including plugin servers. Excludes credentials, path, query, and fragment; null for non-HTTP transports.
runtime_status
class-attribute
instance-attribute
¶
Current thread-runtime connection state; null when unavailable or the configuration changed.
server_capabilities
class-attribute
instance-attribute
¶
Capabilities advertised by the initialized MCP server; null when unavailable.
tool_list_meta
class-attribute
instance-attribute
¶
Opaque _meta from the first page of the corresponding MCP tool catalog. Null when unavailable.
tools_error
class-attribute
instance-attribute
¶
Tool discovery failed and no catalog was returned. Null when a catalog is returned, including cached or empty catalogs.
McpServerStatusListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpServerStatusUpdatedNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
environment_id
class-attribute
instance-attribute
¶
Registration scope, not necessarily the server's execution environment.
McpServerToolCallParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
environment_id
class-attribute
instance-attribute
¶
Exact registration scope; omission preserves legacy name-only selection.
McpServerToolCallRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
McpToolCallThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
duration_ms
class-attribute
instance-attribute
¶
The duration of the MCP tool call in milliseconds.
environment_id
class-attribute
instance-attribute
¶
Registration scope, not necessarily the server's execution environment.
mcp_app_resource_uri
class-attribute
instance-attribute
¶
Legacy compatibility field; prefer mcpAppUi.resourceUri when available.
mcp_app_ui
class-attribute
instance-attribute
¶
mcp_app_ui: McpAppUi | None = None
Presentation captured from the invoked descriptor; absent in older history.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
MdmConfigLayerSource
¶
Bases: CodexBaseModel
Managed preferences layer delivered by MDM (macOS only).
Source code in src/codexed/models/v2_protocol.py
MemoryResetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
MemoryStatusParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
min_consolidated_threads
class-attribute
instance-attribute
¶
Required distinct consolidated threads. Defaults to 20; supported range is 1..=4096.
MemoryStatusRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
MisalignmentErrorDetails
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
detailed_explanation
class-attribute
instance-attribute
¶
A substantive localized explanation is required before offering continuation.
error_type
class-attribute
instance-attribute
¶
Open-ended classification; clients must accept categories added by Responses.
review_target
class-attribute
instance-attribute
¶
Opaque server-issued block target. Presence alone does not enable target-based continuation.
steer
class-attribute
instance-attribute
¶
Instruction to submit as the next turn's user input if continuation is confirmed.
MockExperimentalMethodParams
¶
MockExperimentalMethodRequest
¶
Bases: CodexBaseModel
Test-only method used to validate experimental gating.
Source code in src/codexed/models/v2_protocol.py
MockExperimentalMethodResponse
¶
ModeGatewayAuth
¶
Bases: CodexBaseModel
Authentication is configured outside the gateway form. Preserve it on edits.
Source code in src/codexed/models/v2_protocol.py
Model
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
additional_speed_tiers
class-attribute
instance-attribute
¶
Deprecated: use serviceTiers instead.
available_access_programs
class-attribute
instance-attribute
¶
available_access_programs: ModelAccessPrograms | None = None
Null when the catalog does not provide access-program metadata.
default_service_tier
class-attribute
instance-attribute
¶
Catalog default service tier id for this model, when one is configured.
multi_agent_version
class-attribute
instance-attribute
¶
multi_agent_version: MultiAgentVersion | None = None
Multi-agent runtime declared by this model, when available.
supports_personality
class-attribute
instance-attribute
¶
@deprecated Always false; models no longer support personality selection.
ModelAccessPrograms
¶
Bases: CodexBaseModel
Caller-specific explicit access programs advertised by model discovery.
Source code in src/codexed/models/v2_protocol.py
ModelListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
Opaque pagination cursor returned by a previous call.
include_hidden
class-attribute
instance-attribute
¶
When true, include models that are hidden from the default picker list.
limit
class-attribute
instance-attribute
¶
Optional page size; defaults to a reasonable server-side value.
model_provider
class-attribute
instance-attribute
¶
List models for this configured provider instead of the app-server default.
ModelListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ModelListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
ModelProviderAuthRecoveryCompletedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ModelProviderAuthRecoveryStartedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ModelProviderCapabilitiesReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ModelProviderConfigWriteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ModelProviderDefaultSetParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
provider_id
instance-attribute
¶
Configured provider to use by default for new threads and unscoped model lists.
ModelProviderDefaultSetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ModelProviderListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ModelProviderMismatchv2ModelProviderError
¶
Bases: CodexBaseModel
Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback.
Source code in src/codexed/models/v2_protocol.py
ModelProviderNotConfiguredv2ModelProviderError
¶
Bases: CodexBaseModel
Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback.
Source code in src/codexed/models/v2_protocol.py
ModelProviderPolicyConflictv2ModelProviderError
¶
Bases: CodexBaseModel
Structured JSON-RPC error data. Unknown errors must retain the client's normal fallback.
Source code in src/codexed/models/v2_protocol.py
ModelProviderSummary
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ModelReroutedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ModelSafetyBufferingUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ModelUpgradeInfo
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
retirement_at
class-attribute
instance-attribute
¶
Informational Unix timestamp for this upgrade's scheduled retirement, if known.
ModelVerificationMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
NetworkRequirements
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
allow_unix_sockets
class-attribute
instance-attribute
¶
Legacy compatibility view derived from unix_sockets.
allowed_domains
class-attribute
instance-attribute
¶
Legacy compatibility view derived from domains.
denied_domains
class-attribute
instance-attribute
¶
Legacy compatibility view derived from domains.
domains
class-attribute
instance-attribute
¶
Canonical managed network permission map.
managed_allowed_domains_only
class-attribute
instance-attribute
¶
When true, only managed allowlist entries are respected while managed network enforcement is active.
review_domains
class-attribute
instance-attribute
¶
Host patterns routed to network approval before ordinary allow rules.
unix_sockets
class-attribute
instance-attribute
¶
Canonical managed unix socket permission map.
NpmPluginSource
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
OtlpGrpc
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
headers
instance-attribute
¶
Header names are retained; values are redacted by the server.
OtlpHttp
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
headers
instance-attribute
¶
Header names are retained; values are redacted by the server.
PackagedDefaultsConfigLayerSource
¶
Bases: CodexBaseModel
Default configuration supplied with the installed Codex package.
Source code in src/codexed/models/v2_protocol.py
PermissionProfileListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
PermissionProfileListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PermissionProfileListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
PermissionProfileSummary
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
PlanDeltaNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content.
Source code in src/codexed/models/v2_protocol.py
PlanThreadItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - proposed plan item content. The completed plan item is authoritative and may not match the concatenation of PlanDelta text.
Source code in src/codexed/models/v2_protocol.py
PluginDetail
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
onboarding_skill
class-attribute
instance-attribute
¶
The declared onboarding skill, when the plugin and visible skill are enabled.
PluginInstallParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
install_attempt_id
class-attribute
instance-attribute
¶
Client-generated identifier used to correlate one installation attempt.
PluginInstallRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginInstalledParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cwds
class-attribute
instance-attribute
¶
cwds: list[AbsolutePathBuf] | None = None
Optional working directories used to discover repo marketplaces.
install_suggestion_plugin_names
class-attribute
instance-attribute
¶
Additional uninstalled plugin names that should be returned when present locally. This is used by mention surfaces that intentionally expose install entrypoints.
PluginInstalledRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginInterface
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
composer_icon
class-attribute
instance-attribute
¶
composer_icon: AbsolutePathBuf | None = None
Local composer icon path, resolved from the installed plugin package.
composer_icon_url
class-attribute
instance-attribute
¶
Remote composer icon URL from the plugin catalog.
default_prompt
class-attribute
instance-attribute
¶
Starter prompts for the plugin. Capped at 3 entries with a maximum of 512 characters per entry.
logo
class-attribute
instance-attribute
¶
logo: AbsolutePathBuf | None = None
Local logo path, resolved from the installed plugin package.
logo_dark
class-attribute
instance-attribute
¶
logo_dark: AbsolutePathBuf | None = None
Local dark-mode logo path, resolved from the installed plugin package.
logo_url
class-attribute
instance-attribute
¶
Remote logo URL from the plugin catalog.
logo_url_dark
class-attribute
instance-attribute
¶
Remote dark-mode logo URL from the plugin catalog.
screenshot_urls
instance-attribute
¶
Remote screenshot URLs from the plugin catalog.
screenshots
instance-attribute
¶
screenshots: list[AbsolutePathBuf]
Local screenshot paths, resolved from the installed plugin package.
PluginListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cwds
class-attribute
instance-attribute
¶
cwds: list[AbsolutePathBuf] | None = None
Optional working directories used to discover repo marketplaces. When omitted, only home-scoped marketplaces and the official curated marketplace are considered.
force_refetch
class-attribute
instance-attribute
¶
Whether the client requests a fresh remote plugin catalog fetch.
marketplace_kinds
class-attribute
instance-attribute
¶
Optional marketplace kind filter. When omitted, only local marketplaces are queried, plus the default remote catalog when enabled by feature flag.
PluginListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginMarketplaceEntry
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
path
class-attribute
instance-attribute
¶
path: AbsolutePathBuf | None = None
Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path.
PluginReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginReconcileChangedPlugin
¶
Bases: CodexBaseModel
Runtime categories affected by this change, not just capabilities currently present. Flags describe declarations before runtime policy filtering. Updates OR the old and new bundle flags; enablement changes and cached reinstalls use the cached bundle; removals retain the old bundle's flags.
Source code in src/codexed/models/v2_protocol.py
PluginReconcileParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
reason
class-attribute
instance-attribute
¶
Optional client-provided reason recorded with the reconciliation attempt.
PluginReconcileRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginReconcileResponse
¶
Bases: CodexBaseModel
Bundle and installed-state changes observed by this pass, not a runtime-readiness acknowledgement or a cumulative diff since the client's last request. Other metadata-only changes are not listed.
Source code in src/codexed/models/v2_protocol.py
changed_plugins
instance-attribute
¶
changed_plugins: list[PluginReconcileChangedPlugin]
Plugins affected by bundle changes, enablement changes, or removals. Installed-state changes compare against the previous cached snapshot, including cached reinstalls. Removal hints survive cache cleanup failures; unchanged plugins are omitted.
failed_materialization_remote_plugin_ids
instance-attribute
¶
Subset of failures for which the requested bundle could not be materialized. A previously cached version may still be available.
failed_remote_plugin_ids
instance-attribute
¶
Backend remote plugin IDs whose bundle or identity update failed.
PluginSearchRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginShareCheckoutRequest
¶
PluginShareContext
¶
PluginShareDeleteRequest
¶
PluginShareListRequest
¶
PluginShareSaveRequest
¶
PluginShareUpdateTargetsRequest
¶
PluginSkillReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PluginSummary
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
availability
class-attribute
instance-attribute
¶
Availability state for installing and using the plugin.
disabled_reason
class-attribute
instance-attribute
¶
Why the remote plugin is unavailable, when provided by plugin-service.
eligible_plan_types
class-attribute
instance-attribute
¶
Raw plugin-service plan identifiers eligible to install the plugin.
installed_at
class-attribute
instance-attribute
¶
Unix timestamp in seconds when the remote plugin was installed, when available.
local_version
class-attribute
instance-attribute
¶
Version of the locally materialized plugin package when available.
remote_plugin_id
class-attribute
instance-attribute
¶
Backend remote plugin identifier when available.
share_context
class-attribute
instance-attribute
¶
share_context: PluginShareContext | None = None
Remote sharing context associated with this plugin when available.
version
class-attribute
instance-attribute
¶
Version advertised by the remote marketplace backend when available.
PluginUninstallRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProcessExitedMessage
¶
Bases: CodexBaseModel
Final exit notification for a process/spawn session.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ProcessExitedNotification
¶
Bases: CodexBaseModel
Final process exit notification for process/spawn.
Source code in src/codexed/models/v2_protocol.py
output_drain_timed_out
class-attribute
instance-attribute
¶
Whether output collection hit its post-exit deadline before seeing EOF or reaching the requested byte cap on either stream. Older servers omit this field.
process_handle
instance-attribute
¶
Client-supplied, connection-scoped processHandle from process/spawn.
stderr
instance-attribute
¶
Buffered stderr capture.
Empty when stderr was streamed via process/outputDelta.
stderr_cap_reached
instance-attribute
¶
Whether stderr reached outputBytesCap.
In streaming mode, stderr is empty and cap state is also reported on the final stderr process/outputDelta notification.
stdout
instance-attribute
¶
Buffered stdout capture.
Empty when stdout was streamed via process/outputDelta.
stdout_cap_reached
instance-attribute
¶
Whether stdout reached outputBytesCap.
In streaming mode, stdout is empty and cap state is also reported on the final stdout process/outputDelta notification.
ProcessKillParams
¶
Bases: CodexBaseModel
Terminate a running process/spawn session.
Source code in src/codexed/models/v2_protocol.py
process_handle
instance-attribute
¶
Client-supplied, connection-scoped processHandle from process/spawn.
ProcessKillRequest
¶
Bases: CodexBaseModel
Terminate a running process/spawn session by client-supplied processHandle.
Source code in src/codexed/models/v2_protocol.py
ProcessKillResponse
¶
Bases: CodexBaseModel
Empty success response for process/kill.
Source code in src/codexed/models/v2_protocol.py
ProcessOutputDeltaMessage
¶
Bases: CodexBaseModel
Stream base64-encoded stdout/stderr chunks for a running process/spawn session.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ProcessOutputDeltaNotification
¶
Bases: CodexBaseModel
Base64-encoded output chunk emitted for a streaming process/spawn request.
Source code in src/codexed/models/v2_protocol.py
ProcessResizePtyParams
¶
Bases: CodexBaseModel
Resize a running PTY-backed process/spawn session.
Source code in src/codexed/models/v2_protocol.py
process_handle
instance-attribute
¶
Client-supplied, connection-scoped processHandle from process/spawn.
ProcessResizePtyRequest
¶
Bases: CodexBaseModel
Resize a running PTY-backed process/spawn session by client-supplied processHandle.
Source code in src/codexed/models/v2_protocol.py
ProcessResizePtyResponse
¶
Bases: CodexBaseModel
Empty success response for process/resizePty.
Source code in src/codexed/models/v2_protocol.py
ProcessSpawnParams
¶
Bases: CodexBaseModel
Spawn a standalone process (argv vector) without a Codex sandbox on the host where the app server is running.
process/spawn returns after the process has started and the connection-scoped processHandle has been registered. Process output and exit are reported via process/outputDelta and process/exited notifications.
Source code in src/codexed/models/v2_protocol.py
env
class-attribute
instance-attribute
¶
Optional environment overrides merged into the app-server process environment.
Matching names override inherited values. Set a key to null to unset an inherited variable.
output_bytes_cap
class-attribute
instance-attribute
¶
Optional per-stream stdout/stderr capture cap in bytes.
When omitted, the server default applies. Set to null to disable the cap.
process_handle
instance-attribute
¶
Client-supplied, connection-scoped process handle.
Duplicate active handles are rejected on the same connection. The same handle can be reused after the prior process exits.
size
class-attribute
instance-attribute
¶
size: ProcessTerminalSize | None = None
Optional initial PTY size in character cells. Only valid when tty is true.
stream_stdin
class-attribute
instance-attribute
¶
Allow follow-up process/writeStdin requests to write stdin bytes.
stream_stdout_stderr
class-attribute
instance-attribute
¶
Stream stdout/stderr via process/outputDelta notifications.
Streamed bytes are not duplicated into the process/exited notification.
timeout_ms
class-attribute
instance-attribute
¶
Optional timeout in milliseconds.
When omitted, the server default applies. Set to null to disable the timeout.
tty
class-attribute
instance-attribute
¶
Enable PTY mode.
This implies streamStdin and streamStdoutStderr.
ProcessSpawnRequest
¶
Bases: CodexBaseModel
Spawn a standalone process (argv vector) without a Codex sandbox.
Source code in src/codexed/models/v2_protocol.py
ProcessSpawnResponse
¶
Bases: CodexBaseModel
Successful response for process/spawn.
Source code in src/codexed/models/v2_protocol.py
ProcessTerminalSize
¶
Bases: CodexBaseModel
PTY size in character cells for process/spawn PTY sessions.
Source code in src/codexed/models/v2_protocol.py
ProcessWriteStdinParams
¶
Bases: CodexBaseModel
Write stdin bytes to a running process/spawn session, close stdin, or both.
Source code in src/codexed/models/v2_protocol.py
close_stdin
class-attribute
instance-attribute
¶
Close stdin after writing deltaBase64, if present.
delta_base64
class-attribute
instance-attribute
¶
Optional base64-encoded stdin bytes to write.
process_handle
instance-attribute
¶
Client-supplied, connection-scoped processHandle from process/spawn.
ProcessWriteStdinRequest
¶
Bases: CodexBaseModel
Write stdin bytes to a running process/spawn session or close stdin.
Source code in src/codexed/models/v2_protocol.py
ProcessWriteStdinResponse
¶
Bases: CodexBaseModel
Empty success response for process/writeStdin.
Source code in src/codexed/models/v2_protocol.py
Project
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
recency_at
class-attribute
instance-attribute
¶
Newest non-archived member thread's recency, in Unix seconds; null when none exist.
ProjectChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ProjectConfigLayerSource
¶
Bases: CodexBaseModel
Path to a .codex/ folder within a project. There could be multiple of these between cwd and the project/repo root.
Source code in src/codexed/models/v2_protocol.py
ProjectCreateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProjectDeleteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProjectImportRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProjectListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
sort_direction
class-attribute
instance-attribute
¶
Requires sortKey. Defaults to asc for position and desc for recencyAt.
sort_key
class-attribute
instance-attribute
¶
Defaults to position. Recency sorting always places empty projects last. Use the returned order; numeric positions are not exposed in project responses.
ProjectListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProjectMoveParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
before_project_id
class-attribute
instance-attribute
¶
Place the project before this ID, or append it when omitted or null.
ProjectMoveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProjectReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ProjectUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
PromptHookMetadata
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
QueuedSubmission
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
responsesapi_client_metadata
class-attribute
instance-attribute
¶
Metadata retained with this input, including across reconnect and restoration.
RateLimitResetCredit
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
description
class-attribute
instance-attribute
¶
Backend-provided display description for this credit, or null when unavailable.
expires_at
class-attribute
instance-attribute
¶
Unix timestamp in seconds when the credit expires, or null if it does not expire.
granted_at
instance-attribute
¶
Unix timestamp in seconds when the credit was granted.
title
class-attribute
instance-attribute
¶
Backend-provided display title for this credit, or null when unavailable.
RateLimitResetCreditsSummary
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
credits
class-attribute
instance-attribute
¶
credits: list[RateLimitResetCredit] | None = None
Detail rows for available reset credits, when the backend provides them.
null means only availableCount is known, while an empty array means details were fetched and no available credits were returned. The backend may cap this list, so its length can be less than availableCount.
RateLimitSnapshot
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
RawResponseCompletedNotification
¶
Bases: CodexBaseModel
Internal-only notification containing the exact usage from one upstream Responses API completion.
Source code in src/codexed/models/v2_protocol.py
RealtimeSessionClosedThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
RealtimeSessionStartedThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
RealtimeThreadTimelineEntry
¶
Bases: CodexBaseModel
EXPERIMENTAL - one item or turn boundary in canonical rollout order.
Source code in src/codexed/models/v2_protocol.py
ReasoningThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
RemoteControlClientListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemoteControlClientRevokeRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemoteControlDisableRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemoteControlEnableRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemoteControlPairingStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemoteControlPairingStatusRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemoteControlStatusChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
RemoteControlStatusChangedNotification
¶
Bases: CodexBaseModel
Current remote-control connection status and remote identity exposed to clients.
Source code in src/codexed/models/v2_protocol.py
RemoteControlStatusReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
RemotePluginSource
¶
Bases: CodexBaseModel
The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API.
Source code in src/codexed/models/v2_protocol.py
Resource
¶
Bases: CodexBaseModel
A known resource that the server is capable of reading.
Source code in src/codexed/models/v2_protocol.py
ResourceContent1
¶
Bases: CodexBaseModel
Contents returned when reading a resource from an MCP server.
Source code in src/codexed/models/v2_protocol.py
ResourceContent2
¶
Bases: CodexBaseModel
Contents returned when reading a resource from an MCP server.
Source code in src/codexed/models/v2_protocol.py
ResourceTemplate
¶
Bases: CodexBaseModel
A template description for resources available on the server.
Source code in src/codexed/models/v2_protocol.py
ResponseStreamConnectionFailedCodexErrorInfo
¶
Bases: CodexBaseModel
Failed to connect to the response SSE stream.
Source code in src/codexed/models/v2_protocol.py
ResponseStreamDisconnectedCodexErrorInfo
¶
Bases: CodexBaseModel
The response SSE stream disconnected in the middle of a turn before completion.
Source code in src/codexed/models/v2_protocol.py
ResponseTooManyFailedAttemptsCodexErrorInfo
¶
Bases: CodexBaseModel
Reached the retry limit for responses.
Source code in src/codexed/models/v2_protocol.py
ResponseUsageMetadata
¶
Bases: CodexBaseModel
Usage metadata reported for one upstream response.
Source code in src/codexed/models/v2_protocol.py
ResultThreadItem
¶
Bases: CodexBaseModel
Either inline generated-image data or its durable attachment-store identity.
File must remain first so rollouts written during the migration, which contain both an empty result and a fileId, retain the file reference when deserialized.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
generation_id
class-attribute
instance-attribute
¶
Image generation identifier for the generated image, when provided by the image backend.
input_images
class-attribute
instance-attribute
¶
input_images: list[ImageGenerationInputImage] | None = None
Observed local inputs for a completed generation, absent on older items.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
ReviewStartParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
delivery
class-attribute
instance-attribute
¶
Reviews run inline on the supplied thread. Omit this field or pass inline. To review on a separate thread, start a thread first and use its id.
ReviewStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ReviewStartResponse
¶
RolloutCompressRequest
¶
Bases: CodexBaseModel
Start a best-effort background compression pass for cold local rollouts.
Source code in src/codexed/models/v2_protocol.py
RolloutCompressResponse
¶
Bases: CodexBaseModel
Acknowledges the compression trigger, not completion. Existing maintenance locks and cooldowns can cause the background pass to skip without doing work.
Source code in src/codexed/models/v2_protocol.py
SelectedCapabilityRoot
¶
Bases: CodexBaseModel
A user-selected root that can expose one or more runtime capabilities.
Source code in src/codexed/models/v2_protocol.py
location
instance-attribute
¶
location: CapabilityRootLocation
Where the selected root can be resolved.
ServerDiagnosticsRequest
¶
Bases: CodexBaseModel
Read content-free, process-local diagnostics.
Source code in src/codexed/models/v2_protocol.py
ServerRequestResolvedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
SessionEndInputSavedThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
SessionFlagsConfigLayerSource
¶
Bases: CodexBaseModel
Session-layer overrides supplied via -c/--config.
Source code in src/codexed/models/v2_protocol.py
Settings
¶
Bases: CodexBaseModel
Settings for a collaboration mode.
Source code in src/codexed/models/v2_protocol.py
SkillInterface
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
SkillMetadata
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
SkillsChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
SkillsChangedNotification
¶
Bases: CodexBaseModel
Notification emitted when watched local skill files change.
Treat this as an invalidation signal and re-run skills/list with the client's current parameters when refreshed skill metadata is needed.
Source code in src/codexed/models/v2_protocol.py
SkillsConfigWriteParams
¶
SkillsConfigWriteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
SkillsExtraRootsSetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
SkillsListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
SkillsListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
SleepThreadItem
¶
Bases: CodexBaseModel
Display item emitted by the interruptible clock.sleep tool.
Source code in src/codexed/models/v2_protocol.py
StrictReviewRequiredNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
started_at_ms
instance-attribute
¶
Unix timestamp (in milliseconds) when this review started.
SubAgentActivityThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
model
class-attribute
instance-attribute
¶
Resolved model at sub-agent creation; absent from older records and other activities.
reasoning_effort
class-attribute
instance-attribute
¶
reasoning_effort: ReasoningEffort | None = None
Resolved reasoning effort at sub-agent creation, when known.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
SystemConfigLayerSource
¶
Bases: CodexBaseModel
Managed config layer from a file (usually managed_config.toml).
Source code in src/codexed/models/v2_protocol.py
file
instance-attribute
¶
file: AbsolutePathBuf
This is the path to the system config.toml file, though it is not guaranteed to exist.
TextElement
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
TextPosition
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
TextUserInput
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
text_elements
class-attribute
instance-attribute
¶
text_elements: list[TextElement] | None = Field([], validate_default=True)
UI-defined spans within text used to render or persist special elements.
Thread
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 | |
agent_nickname
class-attribute
instance-attribute
¶
Optional random unique nickname assigned to an AgentControl-spawned sub-agent.
agent_role
class-attribute
instance-attribute
¶
Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.
attached_to_thread_id
class-attribute
instance-attribute
¶
Parent that owns this persisted attached thread, independent of fork or spawn lineage.
can_accept_direct_input
class-attribute
instance-attribute
¶
Whether the app server accepts direct turn input for this loaded thread. None means the capability is unavailable, such as for an unloaded stored thread.
created_at
instance-attribute
¶
Unix timestamp (in seconds) when the thread was created.
daybreak_enabled
class-attribute
instance-attribute
¶
Saved Daybreak choice, independent of turn execution. Null if unset.
environments
class-attribute
instance-attribute
¶
environments: list[ThreadEnvironment] | None = None
Current environments for a loaded thread, in priority order, primary first. null means the thread is not loaded or the server does not expose its selection. An empty list means no environments are selected. This does not report connection status.
ephemeral
instance-attribute
¶
Whether the thread is ephemeral and should not be materialized on disk.
extra
class-attribute
instance-attribute
¶
extra: ThreadExtra | None = None
Optional implementation-specific thread data.
forked_from_id
class-attribute
instance-attribute
¶
Source thread id when this thread was created by forking another thread.
git_info
class-attribute
instance-attribute
¶
Optional Git metadata captured when the thread was created.
history_mode
class-attribute
instance-attribute
¶
Persisted thread history contract selected when this thread was created.
model
class-attribute
instance-attribute
¶
Current configured model when loaded, otherwise the latest persisted model. Null when unavailable. This is not per-turn execution telemetry.
model_provider
instance-attribute
¶
Model provider used for this thread (for example, 'openai').
name
class-attribute
instance-attribute
¶
Optional user-facing thread title.
originator
class-attribute
instance-attribute
¶
Originator recorded when the thread was created, independent of its current client or executor. Null when the recorded originator is unavailable.
parent_thread_id
class-attribute
instance-attribute
¶
The ID of the parent thread. This will only be set if this thread is a subagent.
path
class-attribute
instance-attribute
¶
[UNSTABLE] Path to the thread on disk.
preview
instance-attribute
¶
Usually the first user message in the thread, if available.
project_id
instance-attribute
¶
Canonical project assignment owned by app-server, if any.
reasoning_effort
class-attribute
instance-attribute
¶
reasoning_effort: ReasoningEffort | None = None
Current configured reasoning effort when loaded, otherwise the latest persisted effort. Null when unset or unavailable. This is not per-turn execution telemetry.
recency_at
class-attribute
instance-attribute
¶
Unix timestamp (in seconds) used for thread recency ordering.
section
class-attribute
instance-attribute
¶
section: ThreadSection | None = None
The independently persisted section selected for this thread, if any.
section_entered_at
class-attribute
instance-attribute
¶
Unix timestamp in seconds when the thread entered its current section.
session_id
instance-attribute
¶
Session id shared by threads that belong to the same session tree.
source
instance-attribute
¶
Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.).
thread_source
class-attribute
instance-attribute
¶
Optional analytics source classification for this thread.
turns
instance-attribute
¶
turns: list[Turn]
Only populated on thread/resume, thread/fork, and thread/read (when includeTurns is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.
updated_at
instance-attribute
¶
Unix timestamp (in seconds) when the thread was last updated.
ThreadApproveGuardianDeniedActionParams
¶
ThreadApproveGuardianDeniedActionRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadArchiveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadArchivedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadAttachment
¶
Bases: CodexBaseModel
An independently persisted attachment associated with a thread.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentAddParams
¶
Bases: CodexBaseModel
Parameters for creating or locating an attachment on its owning thread.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentAddRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentAddResponse
¶
ThreadAttachmentListParams
¶
Bases: CodexBaseModel
Parameters for listing attachments from one thread.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentListResponse
¶
Bases: CodexBaseModel
One page of attachments associated with the requested thread.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentOwner
¶
Bases: CodexBaseModel
A thread that currently owns an attachment with the requested identity.
Source code in src/codexed/models/v2_protocol.py
archived
instance-attribute
¶
Whether the owning thread is archived, not whether it is currently executing a turn.
ThreadAttachmentOwnerListParams
¶
Bases: CodexBaseModel
Parameters for reverse lookup by attachment identity within this server's store.
Source code in src/codexed/models/v2_protocol.py
archived
class-attribute
instance-attribute
¶
Omitted or null returns all matches; false returns non-archived threads only.
ThreadAttachmentOwnerListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentOwnerListResponse
¶
Bases: CodexBaseModel
One page of matching owners, including threads without their own user messages.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentRemoveParams
¶
Bases: CodexBaseModel
Parameters for deleting an attachment by its stable thread-local identity.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentRemoveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentRemoveResponse
¶
Bases: CodexBaseModel
Successful deletion does not return additional attachment data.
Source code in src/codexed/models/v2_protocol.py
ThreadAttachmentUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadAttachmentUpdatedNotification
¶
Bases: CodexBaseModel
Notification published after a thread attachment is created or deleted.
Source code in src/codexed/models/v2_protocol.py
ThreadBackgroundTerminalsCleanRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadBackgroundTerminalsListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ThreadBackgroundTerminalsListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadBackgroundTerminalsListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.
ThreadBackgroundTerminalsTerminateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadClosedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadCompactStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadCompactedMessage
¶
Bases: CodexBaseModel
Deprecated: Use ContextCompaction item type instead.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadDecrementElicitationParams
¶
Bases: CodexBaseModel
Parameters for thread/decrement_elicitation.
Source code in src/codexed/models/v2_protocol.py
thread_id
instance-attribute
¶
Thread whose out-of-band elicitation counter should be decremented.
ThreadDecrementElicitationRequest
¶
Bases: CodexBaseModel
Decrement the thread-local out-of-band elicitation counter.
When the count reaches zero, timeout accounting resumes for the thread.
Source code in src/codexed/models/v2_protocol.py
ThreadDecrementElicitationResponse
¶
Bases: CodexBaseModel
Response for thread/decrement_elicitation.
Source code in src/codexed/models/v2_protocol.py
ThreadDeleteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadDeletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadEnvironment
¶
Bases: CodexBaseModel
An environment selected by a loaded thread, independent of connection status.
Source code in src/codexed/models/v2_protocol.py
ThreadEnvironmentConnectedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadEnvironmentDisconnectedNotification
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadExtra
¶
Bases: CodexBaseModel
Extra app-server data for a thread.
Source code in src/codexed/models/v2_protocol.py
ThreadForkParams
¶
Bases: CodexBaseModel
There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.
If using a non-empty path, the thread_id param will be ignored. Empty string path values are treated as absent.
Prefer using thread_id whenever possible.
Source code in src/codexed/models/v2_protocol.py
9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 | |
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
Override where approval requests are routed for review on this thread and subsequent turns.
attach_to_source
class-attribute
instance-attribute
¶
Persist the fork as an attached thread of its resolved source, hidden from ordinary lists. The source cannot be deleted while attached threads exist. Requires a paginated source and local storage; incompatible with ephemeral and deferGoalContinuation. Omitted or false creates an ordinary fork.
before_turn_id
class-attribute
instance-attribute
¶
Optional turn id to fork before, excluding that turn and all later turns. Cannot be combined with last_turn_id.
defer_goal_continuation
class-attribute
instance-attribute
¶
When true, carry the source thread's current goal into the fork without starting its initial automatic continuation. The next explicit turn owns the goal lifecycle, and normal automatic continuation resumes after it.
exclude_turns
class-attribute
instance-attribute
¶
When true, return only thread metadata and live fork state without populating thread.turns. This is useful when the client plans to call thread/turns/list immediately after forking. Full-history hydration is deprecated for paginated threads; use this with thread/turns/list and thread/items/list instead.
experimental_disable_prediction_mcp
class-attribute
instance-attribute
¶
Disable MCP servers in prediction mode when the inherited window uses incremental tools on Responses Lite. Requires experimentalPredictionMode: true.
experimental_prediction_mode
class-attribute
instance-attribute
¶
Start from the loaded parent's effective config, tools, environments, and persisted history to maximize prompt-cache reuse. Requires a loaded, persisted parent and ephemeral: true. Enables features.reasoning_effort_override on the fork. Only config.thread_unload_delay_secs may override the inherited config. Cannot be combined with path, lastTurnId, or beforeTurnId.
last_turn_id
class-attribute
instance-attribute
¶
Optional last turn id to fork through, inclusive.
When specified, turns after last_turn_id are omitted from the fork. The referenced turn cannot be in progress.
model
class-attribute
instance-attribute
¶
Configuration overrides for the forked thread, if any.
path
class-attribute
instance-attribute
¶
[UNSTABLE] Specify the rollout path to fork from. If specified, the thread_id param will be ignored.
permissions
class-attribute
instance-attribute
¶
Named profile id for the forked thread. Cannot be combined with sandbox.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = None
Replace the thread's runtime workspace roots. Paths must be absolute.
thread_source
class-attribute
instance-attribute
¶
Optional client-supplied analytics source classification for this forked thread.
ThreadForkRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadForkResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
active_permission_profile
class-attribute
instance-attribute
¶
active_permission_profile: ActivePermissionProfile | None = None
Named or implicit built-in profile that produced the active permissions, when known.
approvals_reviewer
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer
Reviewer currently used for approval requests on this thread.
disabled_plugin_ids
class-attribute
instance-attribute
¶
Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.
instruction_sources
class-attribute
instance-attribute
¶
Environment-native paths to instruction source files currently loaded for this thread.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = Field('explicitRequestOnly', validate_default=True)
@deprecated Always explicitRequestOnly. Use reasoningEffort for Ultra behavior.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = []
Thread-scoped runtime workspace roots used to materialize :workspace_roots.
sandbox
instance-attribute
¶
Legacy sandbox policy retained for compatibility. Experimental clients should prefer activePermissionProfile for profile provenance.
ThreadGoalClearParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
origin
class-attribute
instance-attribute
¶
origin: ThreadGoalMutationOrigin | None = None
Missing provenance does not supply user authorization.
ThreadGoalClearRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadGoalClearedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadGoalGetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadGoalSetParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
origin
class-attribute
instance-attribute
¶
origin: ThreadGoalMutationOrigin | None = None
Missing provenance does not supply user authorization.
ThreadGoalSetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadGoalUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadGuardianReviewParams
¶
Bases: CodexBaseModel
Calling thread/guardianReview subscribes the connection to the thread. The subscription remains after the review completes, keeping the thread loaded until the client calls thread/unsubscribe or disconnects. Sequential calls on the same loaded thread can reuse Guardian history across direct reviews and live approvals. The reviewer keeps a separate conversation from the actor and follows the parent thread's normal persistence settings. A retry evaluates the final call again under the current policy.
Source code in src/codexed/models/v2_protocol.py
ThreadGuardianReviewRequest
¶
Bases: CodexBaseModel
Review the idle thread's final injected exec_command without executing it.
Source code in src/codexed/models/v2_protocol.py
ThreadGuardianReviewResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
assessment
class-attribute
instance-attribute
¶
Null when current policy or a remembered approval skips review.
ThreadIncrementElicitationParams
¶
Bases: CodexBaseModel
Parameters for thread/increment_elicitation.
Source code in src/codexed/models/v2_protocol.py
thread_id
instance-attribute
¶
Thread whose out-of-band elicitation counter should be incremented.
ThreadIncrementElicitationRequest
¶
Bases: CodexBaseModel
Increment the thread-local out-of-band elicitation counter.
This is used by external helpers to pause timeout accounting while a user approval or other elicitation is pending outside the app-server request flow.
Source code in src/codexed/models/v2_protocol.py
ThreadIncrementElicitationResponse
¶
Bases: CodexBaseModel
Response for thread/increment_elicitation.
Source code in src/codexed/models/v2_protocol.py
ThreadInjectItemsParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
items
instance-attribute
¶
Raw Responses API items to append to the thread's model-visible history.
ThreadInjectItemsRequest
¶
Bases: CodexBaseModel
Append raw Responses API items to the thread history without starting a user turn.
Source code in src/codexed/models/v2_protocol.py
ThreadItemEntry
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (milliseconds) when the item completed, if recorded by the producer.
output_deferred
class-attribute
instance-attribute
¶
The saved output was omitted. Fetch the complete item with thread/items/read.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (milliseconds) when the item started, if recorded by the producer.
ThreadItemOutputDeferral
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ThreadItemsListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
cursor: ThreadItemsListCursor | None = None
Opaque continuation cursor or an exclusive item anchor in the requested visible turn. An item anchor requires a non-empty turnId; ascending (the default) returns items after it, and descending returns items before it. Continue with the returned string cursor.
defer_output
class-attribute
instance-attribute
¶
defer_output: ThreadItemOutputDeferral | None = None
For a single turn, choose which saved outputs to fetch separately by item ID.
limit
class-attribute
instance-attribute
¶
Optional item page size.
sort_direction
class-attribute
instance-attribute
¶
Optional item pagination direction; defaults to ascending.
turn_id
class-attribute
instance-attribute
¶
Optional turn id to filter by. When omitted, returns items across the thread.
ThreadItemsListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadItemsListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass as cursor when reversing sortDirection. This is only populated when the page contains at least one item.
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.
ThreadItemsReadParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - retrieve a bounded set of persisted items from one turn.
Source code in src/codexed/models/v2_protocol.py
ThreadItemsReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadItemsReadResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - persisted items returned in canonical stored order.
Source code in src/codexed/models/v2_protocol.py
ThreadListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 | |
ancestor_thread_id
class-attribute
instance-attribute
¶
Optional ancestor thread filter. Returns spawned descendants at any depth, excluding the ancestor itself. Mutually exclusive with parentThreadId.
archived
class-attribute
instance-attribute
¶
Optional archived filter; when set to true, only archived threads are returned. If false or null, only non-archived threads are returned.
attached_to_thread_id
class-attribute
instance-attribute
¶
Return only persistent threads attached to this thread, including empty threads. Mutually exclusive with parentThreadId and ancestorThreadId. Omitting this filter keeps attached threads hidden from ordinary listings.
current_account_only
class-attribute
instance-attribute
¶
Show local history visible to the current ChatGPT account. Defaults to false.
cursor
class-attribute
instance-attribute
¶
Opaque pagination cursor returned by a previous call.
cwd
class-attribute
instance-attribute
¶
Optional cwd filter or filters; when set, only threads whose session cwd exactly matches one of these paths are returned.
excluded_thread_ids
class-attribute
instance-attribute
¶
Thread IDs to exclude before applying the result limit. Up to 100 entries; invalid IDs or a larger list are rejected, never truncated. Send the same exclusions on each page. Omitted, null, or empty means no exclusions.
include_attached_threads
class-attribute
instance-attribute
¶
Include persistent threads attached to a parent when searching by title.
included_thread_ids
class-attribute
instance-attribute
¶
Restrict results to up to 100 thread IDs before pagination. Omit or send null for unrestricted results. An empty list matches nothing. Exclusions still apply. Repeat the same IDs on each page. The local store uses indexed metadata for this filter.
limit
class-attribute
instance-attribute
¶
Optional page size; defaults to a reasonable server-side value.
model_providers
class-attribute
instance-attribute
¶
Optional provider filter; when set, only sessions recorded under these providers are returned. When present but empty, includes all providers.
originators
class-attribute
instance-attribute
¶
Optional originator allowlist, matching any supplied value exactly. Supported by hosted backends only; the local app-server rejects a nonempty list. Omitted or empty lists leave originators unrestricted.
parent_thread_id
class-attribute
instance-attribute
¶
Optional direct parent thread filter. Mutually exclusive with ancestorThreadId.
project_id
class-attribute
instance-attribute
¶
Omit to include every project, set to null for unassigned threads, or provide a project ID to return only threads in that project.
search_term
class-attribute
instance-attribute
¶
Optional substring filter for the extracted thread title.
section_id
class-attribute
instance-attribute
¶
Omit to include every section, set to null for unsectioned threads, or provide a section ID to return only threads in that section.
sort_direction
class-attribute
instance-attribute
¶
Optional sort direction; defaults to descending (newest first).
sort_key
class-attribute
instance-attribute
¶
Optional sort key; defaults to created_at.
source_kinds
class-attribute
instance-attribute
¶
Optional source filter; when set, only sessions from these source kinds are returned. When omitted or empty, defaults to interactive sources.
use_state_db_only
class-attribute
instance-attribute
¶
If true, the local store returns indexed metadata without scanning JSONL rollouts for repairs. Requests with includedThreadIds always use indexed metadata.
ThreadListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass as cursor when reversing sortDirection. This is only populated when the page contains at least one thread. Use it with the opposite sortDirection; for timestamp sorts it anchors at the start of the page timestamp so same-second updates are not skipped.
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.
read_states
class-attribute
instance-attribute
¶
Local receipts for eligible threads on this page, keyed by thread ID. Null means durable read state is unavailable; an absent key means that row is ineligible.
ThreadLoadedListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ThreadLoadedListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadLoadedListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ThreadMemoryModeSetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadMemoryReadParams
¶
ThreadMemoryReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadMemoryReadResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
summary
class-attribute
instance-attribute
¶
Summary from the thread's selected memory version. Null when memory use is disabled or the selected summary is missing, unreadable, or blank.
ThreadMetadataGitInfoUpdateParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
branch
class-attribute
instance-attribute
¶
Omit to leave the stored branch unchanged, set to null to clear it, or provide a non-empty string to replace it.
origin_url
class-attribute
instance-attribute
¶
Omit to leave the stored origin URL unchanged, set to null to clear it, or provide a non-empty string to replace it.
sha
class-attribute
instance-attribute
¶
Omit to leave the stored commit unchanged, set to null to clear it, or provide a non-empty string to replace it.
ThreadMetadataUpdateParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
daybreak_enabled
class-attribute
instance-attribute
¶
Save the client's Daybreak choice for this persistent thread. Omitted or null leaves it unchanged. This does not select a turn's cyberAccessProgram or grant access.
git_info
class-attribute
instance-attribute
¶
git_info: ThreadMetadataGitInfoUpdateParams | None = None
Patch the stored Git metadata for this thread. Omit a field to leave it unchanged, set it to null to clear it, or provide a string to replace the stored value.
project_id
class-attribute
instance-attribute
¶
Omit to leave the project unchanged, use an empty string to clear it, or provide an existing project ID to assign it.
ThreadMetadataUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadNameSetRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadNameUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadPredictionRequestRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadPredictionUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadPrepareApprovedPlanParams
¶
Bases: CodexBaseModel
Prepare an approved plan for the first turn of a fresh thread.
Source code in src/codexed/models/v2_protocol.py
attachment_path
class-attribute
instance-attribute
¶
Absolute path to the optional app-server copy of the plan.
ThreadPrepareApprovedPlanRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadPrepareApprovedPlanResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
prompt
instance-attribute
¶
Initial user prompt. If no attachment is readable, the plan is already in the thread's context.
ThreadProjectUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadQueueAddParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
responsesapi_client_metadata
class-attribute
instance-attribute
¶
ResponsesAPI metadata captured from the client submitting this input.
ThreadQueueAddRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadQueueChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadQueueDeleteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadQueueListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
ThreadQueueListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadQueueListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor for the next page, or null when no submissions remain.
ThreadQueueReorderRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadQueueStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadQueueUpdateParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
responsesapi_client_metadata
class-attribute
instance-attribute
¶
Non-empty metadata replaces the input's metadata; omission or an empty map preserves it.
ThreadQueueUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadReadParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
include_turns
class-attribute
instance-attribute
¶
When true, include turns and their items from rollout history. Full-history hydration is deprecated for paginated threads; prefer a metadata-only read and page with thread/turns/list and thread/items/list.
ThreadReadRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadReadResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
read_state
class-attribute
instance-attribute
¶
read_state: ThreadReadState | None = None
Local receipt. Null means this thread's durable read state is unavailable.
ThreadReadState
¶
Bases: CodexBaseModel
The first unread position in a durable local thread. A null position means read. The opaque revision guards edits against activity or marks the caller has not seen.
Source code in src/codexed/models/v2_protocol.py
ThreadReadStateChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadReadStateUpdateParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
expected_revision
instance-attribute
¶
Revision of the row or transcript actually seen. Conflicts require a fresh user action.
ThreadReadStateUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendAudioParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - append audio input to thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendAudioRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendAudioResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - response for appending realtime audio input.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendSpeechParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - append speakable text to thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendSpeechRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendSpeechResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - response for appending realtime speech.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendTextParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - append text input to thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendTextRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAppendTextResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - response for appending realtime text input.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeAudioChunk
¶
Bases: CodexBaseModel
EXPERIMENTAL - thread realtime audio chunk.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeClosedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeClosedNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - emitted when thread realtime transport closes.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeErrorMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeErrorNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - emitted when thread realtime encounters an error.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeFrameChannels
¶
Bases: CodexBaseModel
A frame holds one or more payloads, at most one per channel. They share one ID, observation time, and seal. V1 requires its only channel, voice_transcript.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeInitialItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - role-bearing text item included when a realtime V3 session starts.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeItemAddedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeItemAddedNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - raw non-audio thread realtime item emitted by the backend.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeItemCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeItemCompletedNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - a realtime timeline item published after canonical commit.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeItemStartedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeItemStartedNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - a realtime timeline item started before its content streams.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeItemTranscriptDeltaMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeItemTranscriptDeltaNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - text appended to an active realtime transcript item.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
event_id
class-attribute
instance-attribute
¶
A required exact event ID, such as a completed item's acknowledgement. Returns pending until projected. Explicit filters can exclude a known event.
from_observed_at_ms
class-attribute
instance-attribute
¶
Inclusive canonical observation time lower bound.
order
class-attribute
instance-attribute
¶
Defaults to canonical observation time.
required_through_position
class-attribute
instance-attribute
¶
Return pending until the projection includes this committed position.
snapshot_end
class-attribute
instance-attribute
¶
Exclusive committed position delimiting an immutable snapshot.
to_observed_at_ms
class-attribute
instance-attribute
¶
Exclusive canonical observation time upper bound.
ThreadRealtimeListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
projected_through_item_index
class-attribute
instance-attribute
¶
Exclusive position through which the projection has processed canonical history.
ThreadRealtimeListVoicesParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - list voices supported by thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeListVoicesRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeListVoicesResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - response for listing supported realtime voices.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeOutputAudioDeltaMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeOutputAudioDeltaNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - streamed output audio emitted by thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeSdpMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeSdpNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - emitted with the remote SDP for a WebRTC realtime session.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeStartParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - start a thread-scoped realtime session.
Source code in src/codexed/models/v2_protocol.py
10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 | |
backend_reasoning_status
class-attribute
instance-attribute
¶
Relays public reasoning summaries as quiet context for realtime V3 delegations. Defaults to false.
client_managed_handoffs
class-attribute
instance-attribute
¶
Leaves Codex response handoffs to the client's explicit append calls instead of forwarding them automatically. Defaults to false.
codex_response_handoff_channel_prefixes
class-attribute
instance-attribute
¶
Overrides BEM channel prefixes by analysis, commentary, or final. Omitted channels retain their default uppercase bracketed prefixes.
codex_response_handoff_mode
class-attribute
instance-attribute
¶
Selects how automatic Codex responses are routed in Frameless Bidi sessions. Omitted values default to thinking. Realtime V1 and V2 ignore this setting.
codex_response_item_prefix
class-attribute
instance-attribute
¶
Optional prefix added to automatic Codex response items when codexResponsesAsItems is true.
codex_responses_as_items
class-attribute
instance-attribute
¶
Sends automatic Codex responses as realtime conversation items instead of handoff appends.
delegation_ack_filler
class-attribute
instance-attribute
¶
Controls whether a realtime V3 delegation produces an acknowledgement filler. Omitted values preserve the Realtime API's default behavior.
flush_transcript_tail_on_session_end
class-attribute
instance-attribute
¶
Routes any transcript tail remaining at session end through Codex. Defaults to false. TODO: Remove this rollout knob once transcript-tail flushing is always enabled.
include_startup_context
class-attribute
instance-attribute
¶
Set to false to start without Codex's startup context. Omitted or null includes it.
initial_items
class-attribute
instance-attribute
¶
initial_items: list[ThreadRealtimeInitialItem] | None = None
Adds complete role-bearing text items to the initial Frameless Bidi session history. This is only supported by realtime V3 and is sent during session startup. Requests are limited to 128 items and 8,192 estimated text tokens in total.
model
class-attribute
instance-attribute
¶
Overrides the configured realtime model for this session only.
output_modality
instance-attribute
¶
Selects text or audio output for the realtime session. Transport and voice stay independent so clients can choose how they connect separately from what the model emits.
realtime_end_instructions
class-attribute
instance-attribute
¶
Developer instructions given to the backing Codex model when this realtime session ends.
realtime_start_instructions
class-attribute
instance-attribute
¶
Developer instructions given to the backing Codex model when this realtime session starts.
version
class-attribute
instance-attribute
¶
Overrides the configured realtime protocol version for this session only.
voice_session_id
class-attribute
instance-attribute
¶
Client-generated identifier for the product voice session. This is distinct from realtimeSessionId.
ThreadRealtimeStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeStartResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - response for starting thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeStartedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeStartedNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - emitted when thread realtime startup is accepted.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeStopParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - stop thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeStopRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeStopResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - response for stopping thread realtime.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeTranscriptDeltaMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeTranscriptDeltaNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - flat transcript delta emitted whenever realtime transcript text changes.
Source code in src/codexed/models/v2_protocol.py
ThreadRealtimeTranscriptDoneMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadRealtimeTranscriptDoneNotification
¶
Bases: CodexBaseModel
EXPERIMENTAL - final transcript text emitted when realtime completes a transcript part.
Source code in src/codexed/models/v2_protocol.py
ThreadResumeInitialTurnsPageParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
items_view
class-attribute
instance-attribute
¶
How much item detail to include for each returned turn; defaults to summary.
limit
class-attribute
instance-attribute
¶
Optional turn page size.
sort_direction
class-attribute
instance-attribute
¶
Optional turn pagination direction; defaults to descending.
ThreadResumeParams
¶
Bases: CodexBaseModel
There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it.
For non-running threads, the precedence is: history > non-empty path > thread_id. If using history or a non-empty path for a non-running thread, the thread_id param will be ignored.
If thread_id identifies a running thread, app-server rejoins that thread and treats a non-empty path as a consistency check against the active rollout path. Empty string path values are treated as absent.
Prefer using thread_id whenever possible.
Source code in src/codexed/models/v2_protocol.py
10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 | |
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
Override where approval requests are routed for review on this thread and subsequent turns.
exclude_turns
class-attribute
instance-attribute
¶
When true, return only thread metadata and live-resume state without populating thread.turns. This is useful when the client plans to call thread/turns/list immediately after resuming. Full-history hydration is deprecated for paginated threads; use this with thread/turns/list and thread/items/list instead.
history
class-attribute
instance-attribute
¶
[UNSTABLE] FOR CODEX CLOUD - DO NOT USE. If specified, the thread will be resumed with the provided history instead of loaded from disk.
initial_turns_page
class-attribute
instance-attribute
¶
initial_turns_page: ThreadResumeInitialTurnsPageParams | None = None
When present, include a thread/turns/list page in the resume response so clients can bootstrap recent turns without a second request.
model
class-attribute
instance-attribute
¶
Configuration overrides for the resumed thread, if any.
path
class-attribute
instance-attribute
¶
[UNSTABLE] Specify the rollout path to resume from. If specified for a non-running thread, the thread_id param will be ignored. If thread_id identifies a running thread, the path must match the active rollout path.
permissions
class-attribute
instance-attribute
¶
Named profile id for the resumed thread. Cannot be combined with sandbox.
personality
class-attribute
instance-attribute
¶
personality: Personality | None = None
@deprecated friendly and pragmatic no longer select a style. Changing this does not rewrite the thread's existing instructions.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = None
Replace the thread's runtime workspace roots. Paths must be absolute.
ThreadResumeRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadResumeResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 | |
active_permission_profile
class-attribute
instance-attribute
¶
active_permission_profile: ActivePermissionProfile | None = None
Named or implicit built-in profile that produced the active permissions, when known.
approvals_reviewer
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer
Reviewer currently used for approval requests on this thread.
collaboration_mode
class-attribute
instance-attribute
¶
collaboration_mode: CollaborationMode | None = None
Effective collaboration mode. Absent when resuming from an older server.
disabled_plugin_ids
class-attribute
instance-attribute
¶
Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.
initial_turns_page
class-attribute
instance-attribute
¶
thread/turns/list page returned when requested by initialTurnsPage.
instruction_sources
class-attribute
instance-attribute
¶
Environment-native paths to instruction source files currently loaded for this thread.
items_backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor for hydrating paginated items backwards.
Pass this as cursor to thread/items/list with sortDirection: "desc". The first page includes the item identified by the cursor.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = Field('explicitRequestOnly', validate_default=True)
@deprecated Always explicitRequestOnly. Use reasoningEffort for Ultra behavior.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = []
Thread-scoped runtime workspace roots used to materialize :workspace_roots.
sandbox
instance-attribute
¶
Legacy sandbox policy retained for compatibility. Experimental clients should prefer activePermissionProfile for profile provenance.
turns_backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor for hydrating paginated turns backwards.
Pass this as cursor to thread/turns/list with sortDirection: "desc". The first page includes the turn identified by the cursor.
ThreadRevertParams
¶
Bases: CodexBaseModel
Replace a paginated thread's durable history with the prefix before one turn.
This only changes persisted conversation history. It does not revert local file changes.
Source code in src/codexed/models/v2_protocol.py
before_turn_id
instance-attribute
¶
Turn excluded from the replacement history, together with every later turn.
ThreadRevertRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadRevertResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
items_backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor for hydrating paginated items backwards.
Pass this as cursor to thread/items/list with sortDirection: "desc". The first page includes the item identified by the cursor.
thread
instance-attribute
¶
thread: Thread
Updated loaded thread metadata. turns is always empty; hydrate retained history through thread/turns/list.
turns_backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor for hydrating paginated turns backwards.
Pass this as cursor to thread/turns/list with sortDirection: "desc". The first page includes the turn identified by the cursor.
ThreadRevertedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadSampleCancelRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSampleParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
allow_in_progress_turn
class-attribute
instance-attribute
¶
Allow sampling the latest turn before it finishes.
disable_mcp
class-attribute
instance-attribute
¶
Disable MCP servers when the inherited window uses incremental tools on Responses Lite.
effort
class-attribute
instance-attribute
¶
effort: ReasoningEffort | None = None
Applied only when the provider and model support cache-preserving reasoning-effort updates.
expected_turn_id
instance-attribute
¶
The loaded source's latest turn, which must be finished (completed, failed, or interrupted) unless allowInProgressTurn is true.
interrupt_on_cancel
class-attribute
instance-attribute
¶
Override upstream interruption on cancellation for this sample; otherwise inherit the parent.
responsesapi_client_metadata
class-attribute
instance-attribute
¶
Optional metadata to enrich Codex's ResponsesAPI turn metadata.
ThreadSampleRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSampleResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
text
class-attribute
instance-attribute
¶
Assistant text from the response, or null if it attempted a tool call or completed without text.
ThreadSearchCancelParams
¶
Bases: CodexBaseModel
Request cancellation on the same connection. thread/search/cancel targets only thread/search; thread/search/stream/cancel targets only thread/search/stream. Cancellation is idempotent: the cancel response acknowledges the request, and an interrupted search completes with an error after its subprocess is stopped and reaped. If completion races cancellation, the original search may still succeed. An already-completed search is unaffected.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchCancelRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchOccurrence
¶
Bases: CodexBaseModel
One visible message occurrence returned by [ThreadSearchOccurrencesResponse].
Source code in src/codexed/models/v2_protocol.py
snippet_match_range
instance-attribute
¶
snippet_match_range: ThreadSearchTextRange
Match range within snippet, in UTF-16 code units.
turn_cursor
instance-attribute
¶
Opaque inclusive cursor accepted by thread/turns/list for this turn.
ThreadSearchOccurrencesParams
¶
Bases: CodexBaseModel
Parameters for searching visible message occurrences within one paginated thread.
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
Opaque cursor returned by a previous call for the same thread and search term.
limit
class-attribute
instance-attribute
¶
Optional occurrence page size.
search_term
instance-attribute
¶
Case-insensitive literal substring to find in visible user messages and both partial and final assistant answers.
ThreadSearchOccurrencesRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchOccurrencesResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
data
instance-attribute
¶
data: list[ThreadSearchOccurrence]
Occurrences in chronological message order.
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to continue after the last returned occurrence.
ThreadSearchParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
archived
class-attribute
instance-attribute
¶
Optional archived filter; when set to true, only archived threads are returned. If false or null, only non-archived threads are returned.
current_account_only
class-attribute
instance-attribute
¶
Show local history visible to the current ChatGPT account. Defaults to false.
cursor
class-attribute
instance-attribute
¶
Opaque pagination cursor returned by a previous call.
include_attached_threads
class-attribute
instance-attribute
¶
Include persistent threads attached to a parent in search results.
limit
class-attribute
instance-attribute
¶
Optional page size; defaults to a reasonable server-side value.
search_term
instance-attribute
¶
Required substring/full-text query. thread/search/stream limits this to 65,536 UTF-8 bytes after trimming surrounding whitespace.
sort_direction
class-attribute
instance-attribute
¶
Optional sort direction; defaults to descending (newest first).
sort_key
class-attribute
instance-attribute
¶
Optional sort key; defaults to created_at.
source_kinds
class-attribute
instance-attribute
¶
Optional source filter; when set, only sessions from these source kinds are returned. When omitted or empty, defaults to interactive sources.
ThreadSearchPartialMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadSearchPartialNotification
¶
Bases: CodexBaseModel
A best-effort incremental batch for thread/search/stream. Match requestId to the request on this connection. Only a small subset of verified matches may be emitted; rows are unique and arrive in discovery order, but may be dropped under load or fall outside the final sorted page. Thread fields use stored metadata and the current watched status; live thread settings are enriched in the final response. Replace provisional rows with the authoritative final response. No partials follow it or an error.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass as cursor when reversing sortDirection. This is only populated when the page contains at least one thread. Use it with the opposite sortDirection; for timestamp sorts it anchors at the start of the page timestamp so same-second updates are not skipped.
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.
ThreadSearchStreamCancelRequest
¶
Bases: CodexBaseModel
Cancel a thread/search/stream request on this connection.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchStreamRequest
¶
Bases: CodexBaseModel
Search with best-effort incremental thread/search/partial notifications. The final response is authoritative for results, ordering, and cursors.
Source code in src/codexed/models/v2_protocol.py
ThreadSearchTextRange
¶
Bases: CodexBaseModel
UTF-16 code-unit range within snippet.
Source code in src/codexed/models/v2_protocol.py
ThreadSection
¶
Bases: CodexBaseModel
An independently persisted, user-visible thread section.
Source code in src/codexed/models/v2_protocol.py
appearance
class-attribute
instance-attribute
¶
appearance: ThreadSectionAppearance | None = None
Optional appearance synchronized across clients.
id
instance-attribute
¶
Opaque UUIDv7 identity that remains stable when the section is renamed.
ThreadSectionAppearance
¶
Bases: CodexBaseModel
Extensible visual presentation for a custom thread section.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadSectionChangedNotification
¶
Bases: CodexBaseModel
Broadcast after a successful move into, within, or out of a section.
Source code in src/codexed/models/v2_protocol.py
section_id
instance-attribute
¶
Destination section, or null when the thread was removed from its section.
ThreadSectionCreateParams
¶
Bases: CodexBaseModel
Parameters for creating an independently persisted thread section.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionCreateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionCreateResponse
¶
Bases: CodexBaseModel
The independently persisted section created by the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionDeleteParams
¶
Bases: CodexBaseModel
Parameters for deleting an independently persisted thread section.
Source code in src/codexed/models/v2_protocol.py
section_id
instance-attribute
¶
The stable, server-generated identity of the section to delete.
ThreadSectionDeleteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionDeleteResponse
¶
Bases: CodexBaseModel
Successful deletion does not return additional section data.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionListParams
¶
Bases: CodexBaseModel
Parameters for listing independently persisted thread sections.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionListResponse
¶
Bases: CodexBaseModel
One page of independently persisted thread sections.
Source code in src/codexed/models/v2_protocol.py
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor for the next page, or null when no sections remain.
ThreadSectionMoveParams
¶
Bases: CodexBaseModel
Parameters for moving a thread within a server-owned section ordering.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionMoveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionUpdateParams
¶
Bases: CodexBaseModel
Parameters for updating an independently persisted thread section.
Source code in src/codexed/models/v2_protocol.py
appearance
class-attribute
instance-attribute
¶
appearance: ThreadSectionAppearance | None = None
Omit to preserve appearance, use null to clear it, or provide a replacement.
section_id
instance-attribute
¶
The stable, server-generated identity of the section to update.
ThreadSectionUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSectionUpdateResponse
¶
Bases: CodexBaseModel
The independently persisted section after its name is updated.
Source code in src/codexed/models/v2_protocol.py
ThreadSettings
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
disabled_plugin_ids
class-attribute
instance-attribute
¶
Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.
environments
class-attribute
instance-attribute
¶
environments: list[ThreadEnvironment] | None = None
Environments configured for future turns, in priority order, primary first. null means the server does not expose the selection; [] means none are selected.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = Field('explicitRequestOnly', validate_default=True)
@deprecated Always explicitRequestOnly. Use effort for Ultra behavior.
personality
class-attribute
instance-attribute
¶
personality: Personality | None = None
@deprecated Reports the saved setting; friendly and pragmatic no longer select a style.
ThreadSettingsUpdateParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 | |
approval_policy
class-attribute
instance-attribute
¶
Override the approval policy for subsequent turns.
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
Override where approval requests are routed for subsequent turns.
collaboration_mode
class-attribute
instance-attribute
¶
collaboration_mode: CollaborationMode | None = None
EXPERIMENTAL - Set a pre-set collaboration mode for subsequent turns.
For collaboration_mode.settings.developer_instructions, null means "use the built-in instructions for the selected mode".
cwd
class-attribute
instance-attribute
¶
Override the working directory for subsequent turns.
disabled_plugin_ids
class-attribute
instance-attribute
¶
Replace this thread's disabled plugin IDs. Omitted/null preserves the list; [] clears it.
effort
class-attribute
instance-attribute
¶
effort: ReasoningEffort | None = None
Override the reasoning effort for subsequent turns.
environments
class-attribute
instance-attribute
¶
environments: list[TurnEnvironmentParams] | None = None
Replace the environments for future turns without changing the running turn. Omitted/null preserves the selection unless cwd is also provided, which selects the default environments for that directory. [] clears the selection.
model
class-attribute
instance-attribute
¶
Override the model for subsequent turns.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = None
@deprecated Ignored. Use effort: "ultra" for proactive multi-agent behavior.
permissions
class-attribute
instance-attribute
¶
Select a named permissions profile id for subsequent turns. Cannot be combined with sandboxPolicy.
personality
class-attribute
instance-attribute
¶
personality: Personality | None = None
@deprecated friendly and pragmatic no longer select a style. Changing this does not rewrite the thread's existing instructions.
sandbox_policy
class-attribute
instance-attribute
¶
Override the sandbox policy for subsequent turns.
service_tier
class-attribute
instance-attribute
¶
Override the service tier for subsequent turns. null clears the current service tier; omission leaves it unchanged.
summary
class-attribute
instance-attribute
¶
summary: ReasoningSummary | None = None
Override the reasoning summary for subsequent turns.
ThreadSettingsUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadSettingsUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadShellCommandParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
command
instance-attribute
¶
Shell command string evaluated by the thread's configured shell. Unlike command/exec, this intentionally preserves shell syntax such as pipes, redirects, and quoting. This runs unsandboxed with full access rather than inheriting the thread sandbox policy.
timeout_ms
class-attribute
instance-attribute
¶
Maximum execution time in milliseconds. Defaults to one hour when omitted or null. Must be non-negative; zero requests an immediate timeout, not unlimited execution. Does not affect the immediate RPC acknowledgement.
ThreadShellCommandRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadStartParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 | |
allow_provider_model_fallback
class-attribute
instance-attribute
¶
Allow a provider with an authoritative static model catalog to replace an unavailable requested model with its default.
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
Override where approval requests are routed for review on this thread and subsequent turns.
daybreak_enabled
class-attribute
instance-attribute
¶
Initial Daybreak choice for this persistent thread. Omitted or null leaves it unset. This does not select a turn's cyberAccessProgram or grant access. Not supported for ephemeral threads.
environments
class-attribute
instance-attribute
¶
environments: list[TurnEnvironmentParams] | None = None
Optional sticky environments for this thread.
Omitted selects the default environment when environment access is enabled. Empty disables environment access for turns that do not provide a turn override. Non-empty selects the first environment as the current turn environment.
experimental_raw_events
class-attribute
instance-attribute
¶
If true, opt into emitting raw Responses API items on the event stream. This is for internal use only (e.g. Codex Cloud).
history_mode
class-attribute
instance-attribute
¶
Persisted thread history contract to use for this new thread.
mock_experimental_field
class-attribute
instance-attribute
¶
Test-only experimental field used to validate experimental gating and schema filtering behavior in a stable way.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = None
@deprecated Ignored. Use Ultra reasoning effort for proactive multi-agent behavior.
permissions
class-attribute
instance-attribute
¶
Named profile id for this thread. Cannot be combined with sandbox.
personality
class-attribute
instance-attribute
¶
personality: Personality | None = None
@deprecated friendly and pragmatic no longer select a style.
project_id
class-attribute
instance-attribute
¶
Optional project identity for this new thread. Durable threads persist the assignment; ephemeral threads expose it only in live responses.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = None
Replace the thread's runtime workspace roots. Paths must be absolute.
selected_capability_roots
class-attribute
instance-attribute
¶
selected_capability_roots: list[SelectedCapabilityRoot] | None = None
Capability roots selected for this thread by the hosting platform.
thread_source
class-attribute
instance-attribute
¶
Optional client-supplied analytics source classification for this thread.
ThreadStartRequest
¶
ThreadStartResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
active_permission_profile
class-attribute
instance-attribute
¶
active_permission_profile: ActivePermissionProfile | None = None
Named or implicit built-in profile that produced the active permissions, when known.
approvals_reviewer
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer
Reviewer currently used for approval requests on this thread.
disabled_plugin_ids
class-attribute
instance-attribute
¶
Saved list of disabled plugin IDs. Does not yet filter plugin capabilities.
instruction_sources
class-attribute
instance-attribute
¶
Environment-native paths to instruction source files currently loaded for this thread.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = Field('explicitRequestOnly', validate_default=True)
@deprecated Always explicitRequestOnly. Use reasoningEffort for Ultra behavior.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = []
Thread-scoped runtime workspace roots used to materialize :workspace_roots.
sandbox
instance-attribute
¶
Legacy sandbox policy retained for compatibility. Experimental clients should prefer activePermissionProfile for profile provenance.
ThreadStartThreadUnreadPosition
¶
Bases: CodexBaseModel
Explicitly marked unread, including when the thread has no turns.
Source code in src/codexed/models/v2_protocol.py
ThreadStartedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadStatusChangedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadTimelineListParams
¶
Bases: CodexBaseModel
EXPERIMENTAL - list ordinary and realtime thread history in rollout order.
Source code in src/codexed/models/v2_protocol.py
ThreadTimelineListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadTimelineListResponse
¶
Bases: CodexBaseModel
EXPERIMENTAL - a bounded timeline page with its resolved opening voice state.
Source code in src/codexed/models/v2_protocol.py
ThreadTokenUsageUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadTurnsListParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last turn.
items_view
class-attribute
instance-attribute
¶
How much item detail to include for each returned turn; defaults to summary.
limit
class-attribute
instance-attribute
¶
Optional turn page size.
sort_direction
class-attribute
instance-attribute
¶
Optional turn pagination direction; defaults to descending.
ThreadTurnsListRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadTurnsListResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
backwards_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass as cursor when reversing sortDirection. This is only populated when the page contains at least one turn. Use it with the opposite sortDirection to include the anchor turn again and catch updates to that turn.
next_cursor
class-attribute
instance-attribute
¶
Opaque cursor to pass to the next call to continue after the last turn. if None, there are no more turns to return.
ThreadUnarchiveRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadUnarchivedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
ThreadUnsubscribeRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
ThreadUsage
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
native_usage_usd_micros
class-attribute
instance-attribute
¶
Native dollar usage, independent of credit estimates. None means unknown, not zero.
Tool
¶
Bases: CodexBaseModel
Definition for a tool the client can call.
Source code in src/codexed/models/v2_protocol.py
TranscriptSegmentThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
Turn
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
completed_at
class-attribute
instance-attribute
¶
Unix timestamp (in seconds) when the turn completed.
duration_ms
class-attribute
instance-attribute
¶
Duration between turn start and completion in milliseconds, if known.
error
class-attribute
instance-attribute
¶
error: TurnError | None = None
Error associated with a failed or interrupted turn.
items
instance-attribute
¶
items: list[ThreadItem]
Thread items currently included in this turn payload.
items_view
class-attribute
instance-attribute
¶
Describes how much of items has been loaded for this turn.
root_turn_id
class-attribute
instance-attribute
¶
ID of the first turn in the chain of work that led to this turn. Pass this as rootTurnId when starting work on behalf of this turn. May be null in older history or a review/start response.
started_at
class-attribute
instance-attribute
¶
Unix timestamp (in seconds) when the turn started.
TurnCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
TurnCompletedThreadTimelineEntry
¶
Bases: CodexBaseModel
EXPERIMENTAL - one item or turn boundary in canonical rollout order.
Source code in src/codexed/models/v2_protocol.py
TurnDiffUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
TurnDiffUpdatedNotification
¶
Bases: CodexBaseModel
Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.
Source code in src/codexed/models/v2_protocol.py
TurnEnvironmentParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
runtime_workspace_roots
class-attribute
instance-attribute
¶
Environment-native runtime workspace roots. Omitted defaults to cwd.
TurnError
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
misalignment
class-attribute
instance-attribute
¶
misalignment: MisalignmentErrorDetails | None = None
Optional public explanation and continuation instruction for a misalignment block.
TurnInputAcceptedThreadRealtimeItem
¶
Bases: CodexBaseModel
EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline.
Source code in src/codexed/models/v2_protocol.py
observed_at_ms
class-attribute
instance-attribute
¶
Canonical observation time in Unix milliseconds for eligible voice calls.
TurnInterruptRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
TurnModerationMetadataMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
TurnPlanUpdatedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
TurnSettingsUpdateParams
¶
Bases: CodexBaseModel
Experimental settings changes for one running turn, not future turns. Unsupported fields are rejected rather than silently ignored. Any live task kind may accept publication. Child sessions and consumers of frozen initial settings are unchanged.
Source code in src/codexed/models/v2_protocol.py
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
Changes the active turn's reviewer without changing future thread settings. Already captured steps and pending approvals retain their original reviewer.
effort
class-attribute
instance-attribute
¶
effort: ReasoningEffort | None = None
Omission or null leaves the effort unchanged.
environments
class-attribute
instance-attribute
¶
environments: list[TurnEnvironmentParams] | None = None
Replace the environments for subsequent steps of this turn, not future turns. Omitted/null preserves the selection; [] clears it. An already-started step is unchanged.
model
class-attribute
instance-attribute
¶
Omission or null leaves the model unchanged.
service_tier
class-attribute
instance-attribute
¶
null clears the requested tier; omission leaves it unchanged.
summary
class-attribute
instance-attribute
¶
summary: ReasoningSummary | None = None
Omission or null leaves the summary preference unchanged.
TurnSettingsUpdateRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
TurnStartParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 | |
additional_context
class-attribute
instance-attribute
¶
Optional client-provided context fragments keyed by an opaque source identifier.
approval_policy
class-attribute
instance-attribute
¶
Override the approval policy for this turn and subsequent turns.
approvals_reviewer
class-attribute
instance-attribute
¶
approvals_reviewer: ApprovalsReviewer | None = None
Override where approval requests are routed for review on this turn and subsequent turns.
collaboration_mode
class-attribute
instance-attribute
¶
collaboration_mode: CollaborationMode | None = None
EXPERIMENTAL - Set a pre-set collaboration mode. Takes precedence over model, reasoning_effort, and developer instructions if set.
For collaboration_mode.settings.developer_instructions, null means "use the built-in instructions for the selected mode".
cwd
class-attribute
instance-attribute
¶
Override the working directory for this turn and subsequent turns.
cyber_access_program
class-attribute
instance-attribute
¶
cyber_access_program: CyberAccessProgram | None = None
EXPERIMENTAL - Request an authorized cyber program for this turn. Omission preserves automatic behavior. This does not grant access.
disabled_plugin_ids
class-attribute
instance-attribute
¶
Replace this thread's disabled plugin IDs. Omitted/null preserves the list; [] clears it.
effort
class-attribute
instance-attribute
¶
effort: ReasoningEffort | None = None
Override the reasoning effort for this turn and subsequent turns.
environments
class-attribute
instance-attribute
¶
environments: list[TurnEnvironmentParams] | None = None
Optional environments for this turn and subsequent turns.
Omitted uses the thread sticky environments. Empty disables environment access for this turn. Non-empty selects the first environment as the current turn environment for this turn.
model
class-attribute
instance-attribute
¶
Override the model for this turn and subsequent turns.
multi_agent_mode
class-attribute
instance-attribute
¶
multi_agent_mode: MultiAgentMode | None = None
@deprecated Ignored. Use effort: "ultra" for proactive multi-agent behavior.
output_schema
class-attribute
instance-attribute
¶
Optional JSON Schema used to constrain the final assistant message for this turn.
parent_turn_id
class-attribute
instance-attribute
¶
ID of the turn that caused this new turn to start.
Set this when starting work on behalf of another turn, such as delegated work in a different thread. Leave unset for work started directly by the user. Ignored when this request adds input to an active turn.
permissions
class-attribute
instance-attribute
¶
Select a named permissions profile id for this turn and subsequent turns. Cannot be combined with sandboxPolicy.
personality
class-attribute
instance-attribute
¶
personality: Personality | None = None
@deprecated friendly and pragmatic no longer select a style. Changing this does not rewrite the thread's existing instructions.
responsesapi_client_metadata
class-attribute
instance-attribute
¶
Optional metadata to enrich Codex's ResponsesAPI turn metadata. Replaces unprotected client-provided entries when supplied; an empty map clears them.
Entries are flattened into the JSON string sent as client_metadata["x-codex-turn-metadata"] on ResponsesAPI HTTP and websocket requests.
They are not sent as top-level ResponsesAPI client_metadata keys, and reserved keys such as session_id, thread_id, turn_id, and window_id cannot be overridden.
responsesapi_client_metadata_patch
class-attribute
instance-attribute
¶
Merge entries into the ResponsesAPI turn metadata without removing existing entries. Applied after responsesapiClientMetadata if both are provided; reserved keys remain protected.
root_turn_id
class-attribute
instance-attribute
¶
ID of the first turn in the chain of work that led to this new turn.
When setting parentTurnId, set this to the parent turn's rootTurnId when known. This keeps descendant work attributed to the original turn. If omitted, the new turn becomes its own root. Ignored when this request adds input to an active turn.
runtime_workspace_roots
class-attribute
instance-attribute
¶
runtime_workspace_roots: list[AbsolutePathBuf] | None = None
Replace the thread's runtime workspace roots for this turn and subsequent turns. Paths must be absolute.
sandbox_policy
class-attribute
instance-attribute
¶
Override the sandbox policy for this turn and subsequent turns.
service_tier
class-attribute
instance-attribute
¶
Override the service tier for this turn and subsequent turns.
service_tier_for_turn
class-attribute
instance-attribute
¶
Override the service tier only when this request starts a new turn. Use "default" for standard speed. Omitted or null inherits the thread's tier. Does not change the thread's tier or a turn being steered.
summary
class-attribute
instance-attribute
¶
summary: ReasoningSummary | None = None
Override the reasoning summary for this turn and subsequent turns.
turn_trigger
class-attribute
instance-attribute
¶
Optional source classification for the caller that starts this turn. Ignored when this request steers an already-active turn.
TurnStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
TurnStartedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
TurnStartedThreadTimelineEntry
¶
Bases: CodexBaseModel
EXPERIMENTAL - one item or turn boundary in canonical rollout order.
Source code in src/codexed/models/v2_protocol.py
TurnSteerParams
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
additional_context
class-attribute
instance-attribute
¶
Optional client-provided context fragments keyed by an opaque source identifier.
expected_turn_id
instance-attribute
¶
Required active turn id precondition. The request fails when it does not match the currently active turn.
responsesapi_client_metadata
class-attribute
instance-attribute
¶
Optional metadata to enrich Codex's ResponsesAPI turn metadata. Replaces unprotected client-provided entries when supplied; an empty map clears them.
Entries are flattened into the JSON string sent as client_metadata["x-codex-turn-metadata"] on ResponsesAPI HTTP and websocket requests.
They are not sent as top-level ResponsesAPI client_metadata keys, and reserved keys such as session_id, thread_id, turn_id, and window_id cannot be overridden.
responsesapi_client_metadata_patch
class-attribute
instance-attribute
¶
Merge entries into the ResponsesAPI turn metadata without removing existing entries. Applied after responsesapiClientMetadata if both are provided; reserved keys remain protected.
TurnSteerRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
TurnThreadUnreadPosition
¶
TurnToolOutput
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
retain
class-attribute
instance-attribute
¶
Requests retention of this output in the thread's model history.
UnavailableUserVerificationErrorDetails
¶
UncommittedChangesReviewTarget
¶
Bases: CodexBaseModel
Review the working tree: staged, unstaged, and untracked files.
Source code in src/codexed/models/v2_protocol.py
UserConfigLayerSource
¶
Bases: CodexBaseModel
User config layer from $CODEX_HOME/config.toml. This layer is special in that it is expected to be: - writable by the user - generally outside the workspace directory.
Source code in src/codexed/models/v2_protocol.py
file
instance-attribute
¶
file: AbsolutePathBuf
This is the path to the user's config.toml file, though it is not guaranteed to exist.
profile
class-attribute
instance-attribute
¶
Name of the selected profile-v2 config layered on top of the base user config, when this layer represents one.
UserMessageThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
UserVerificationCancelParams
¶
Bases: CodexBaseModel
Cancels a native verification RPC issued on this connection, not an elicitation. Use a fresh request ID for each operation and a distinct ID for this cancellation RPC.
Source code in src/codexed/models/v2_protocol.py
UserVerificationCancelRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
UserVerificationCancelResponse
¶
Bases: CodexBaseModel
Acknowledges the cancellation signal; native work may still be finishing. Unknown or finished requests are a no-op, and completed effects are not rolled back.
Source code in src/codexed/models/v2_protocol.py
UserVerificationDeleteRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
UserVerificationEnrollRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
UserVerificationEnrollResponse
¶
Bases: CodexBaseModel
Public metadata for a created or reused local credential. The caller completes backend registration; this response does not establish server enrollment. Older app-servers omit the metadata fields; callers must check both before registration.
Source code in src/codexed/models/v2_protocol.py
public_key
class-attribute
instance-attribute
¶
Unpadded base64url of the SubjectPublicKeyInfo DER encoding.
UserVerificationProof
¶
Bases: CodexBaseModel
A signature over the exact decoded challenge. The verifier validates and consumes it.
Source code in src/codexed/models/v2_protocol.py
signature
instance-attribute
¶
Unpadded base64url DER ECDSA signature using P-256 and SHA-256.
UserVerificationRpcError
¶
Bases: CodexBaseModel
The error object inside the normal JSON-RPC envelope.
Source code in src/codexed/models/v2_protocol.py
UserVerificationStatusRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
UserVerificationStatusResponse
¶
Bases: CodexBaseModel
Local readiness only; this neither prompts nor queries server registration.
Source code in src/codexed/models/v2_protocol.py
UserVerificationVerifyParams
¶
Bases: CodexBaseModel
Local signing primitive, independent of any pending elicitation.
Source code in src/codexed/models/v2_protocol.py
UserVerificationVerifyRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
UserVerificationVerifyResponse
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
biometric_type
class-attribute
instance-attribute
¶
Native-reported authentication method for this signature. Older servers omit it. This is approval context, not part of the signed proof.
WarningMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
WarningNotification
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
WebSearchThreadItem
¶
Bases: CodexBaseModel
A thread item and its recorded lifecycle times. The payload stays flat on the wire.
Source code in src/codexed/models/v2_protocol.py
completed_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item completed, if recorded.
results
class-attribute
instance-attribute
¶
Structured search results returned out-of-band by standalone web search.
These stay as opaque JSON at the extension/app-server boundary so new result fields and result types can pass through without a Codex release.
started_at_ms
class-attribute
instance-attribute
¶
Unix timestamp in milliseconds when the item started, if recorded.
WebrtcThreadRealtimeStartTransport
¶
Bases: CodexBaseModel
EXPERIMENTAL - transport used by thread realtime.
Source code in src/codexed/models/v2_protocol.py
sdp
instance-attribute
¶
SDP offer generated by a WebRTC RTCPeerConnection after configuring audio and the realtime events data channel.
WebsocketThreadRealtimeStartTransport
¶
Bases: CodexBaseModel
EXPERIMENTAL - transport used by thread realtime.
Source code in src/codexed/models/v2_protocol.py
WholeItemThreadRealtimeBemItemPresentation
¶
Bases: CodexBaseModel
EXPERIMENTAL - how an existing agent item appears in a realtime conversation.
Source code in src/codexed/models/v2_protocol.py
WindowsSandboxReadinessRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
WindowsSandboxSetupCompletedMessage
¶
Bases: CodexBaseModel
Notification sent from the server to the client.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
WindowsSandboxSetupStartRequest
¶
Bases: CodexBaseModel
Request from the client to the server.
Source code in src/codexed/models/v2_protocol.py
WindowsWorldWritableWarningMessage
¶
Bases: CodexBaseModel
Notifies the user of world-writable directories on Windows, which cannot be protected by the sandbox.
Source code in src/codexed/models/v2_protocol.py
emitted_at_ms
class-attribute
instance-attribute
¶
Unix timestamp (in milliseconds) when app-server emitted this notification.
WorkspaceMessage
¶
Bases: CodexBaseModel
Source code in src/codexed/models/v2_protocol.py
WriteStdinGuardianApprovalReviewAction
¶
Bases: CodexBaseModel
A child approval for input to an existing command execution item.