OpenAI Codex Integration
Update an OpenAI Codex integration account
Changed onUpdate an OpenAI Codex integration account. Only the fields provided are changed.
patch/api/v2/integration-interfaces/openai-codex/accounts/{account_id}
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
Path parameters
account_idstring required
Unique identifier of the integration account.
Request body
Example request
{
"data": {
"attributes": {
"authentication": {
"auth_type": "bearer_token",
"token": "your-token"
},
"dataflows": {
"openai-codex-dora": {
"enabled": true
},
"openai-codex-turn-metrics": {
"enabled": true
}
},
"name": "openai-codex-acme",
"settings": {
"codex_workspace_id": "your-workspace-id"
}
},
"id": "7d2f9c4e-3a1b-4c8e-9f6d-2b5a8e1c0d47",
"type": "integration-account"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"authentication": {
"auth_type": "bearer_token"
},
"dataflows": {
"openai-codex-dora": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
},
"openai-codex-metrics": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
},
"openai-codex-turn-metrics": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
}
},
"name": "openai-codex-acme",
"settings": {
"codex_workspace_id": "your-workspace-id"
}
},
"id": "7d2f9c4e-3a1b-4c8e-9f6d-2b5a8e1c0d47",
"type": "integration-account"
}
}Changes
- warning
the optional response header
X-RateLimit-Limitremoved for the status429 - warning
the optional response header
X-RateLimit-Periodremoved for the status429 - warning
the optional response header
X-RateLimit-Remainingremoved for the status429
1 more change in this revision
- warning