← 返回证据方法
CAPTURE · CODEX
Codex 请求结构
这是固定版本、固定配置经过本地捕获网关留下的脱敏请求摘要。页面展示协议边界与 prompt segment,不把一次 capture 扩大成永久产品事实。
版本差异已标注捕获时间
2026/8/30 23:23:00组合哈希7d6ebda655fa6fa4a29ea815554c3ff73d793c1ce53d1f614cb769733b395236协议入口
POST /v1/responses
Prompt segments
2 个 role-aware segment
运行时总字符 27,957Body fields
13 个请求字段
工具与消息结构单独记录Prompt segments
只显示 role、字符数与哈希;完整英文/中文阅读请进入提示词原文模块。
| 序号 | Role | 字符数 | SHA-256 | 阅读 |
|---|---|---|---|---|
| 01 | instructions | 21,544 | 由组合 capture 绑定 | 打开分段 |
| 02 | developer | 6,384 | 由组合 capture 绑定 | 打开分段 |
Request body fields
字段名和数据形状来自网关收到的 body,动态值与认证值不在页面展示。
| 字段 | 形状 | 说明 |
|---|---|---|
model | string | 请求元数据或运行参数 |
instructions | string | Responses 顶层指令 |
input | array · 3 | 有序输入消息或 item |
tools | array · 8 | 模型可见的工具 contract |
tool_choice | string | 请求元数据或运行参数 |
parallel_tool_calls | boolean | 请求元数据或运行参数 |
reasoning | object | 请求元数据或运行参数 |
store | boolean | 请求元数据或运行参数 |
stream | boolean | 请求元数据或运行参数 |
include | array · 1 | 请求元数据或运行参数 |
prompt_cache_key | string | 请求元数据或运行参数 |
text | object | 请求元数据或运行参数 |
client_metadata | object | 请求元数据或运行参数 |
脱敏 headers
header 名保留用于识别 SDK、协议和版本;敏感值统一显示为 `[REDACTED]`。
| Header | 值 |
|---|---|
x-capture-agent | codex |
x-codex-beta-features | remote_compaction_v2 |
x-codex-window-id | 01a05344-4cf0-7d42-b193-35fd266ed9b6:0 |
x-codex-turn-metadata | [REDACTED] |
x-client-request-id | [REDACTED] |
session-id | [REDACTED] |
thread-id | [REDACTED] |
accept | text/event-stream |
content-type | application/json |
authorization | [REDACTED] |
originator | codex_exec |
user-agent | codex_exec/0.151.0 (Ubuntu 24.4.0; x86_64) dumb (codex_exec; 0.151.0) |
host | 127.0.0.1:4318 |
content-length | 37225 |