---
title: "Read one durable Codex account switch"
method: GET
path: "/api/v1/agents/codex/account-switches/{switchId}"
tags: ["agents"]
---

# Read one durable Codex account switch

`GET /api/v1/agents/codex/account-switches/{switchId}`

## Path parameters

- `switchId` string, required — Durable Codex account switch identifier.

## Response `200`

OK

- CodexAccountSwitchResponse
  - `completedAt` string, date-time, nullable
  - `createdAt` string, date-time, required
  - `credentialsCommittedAt` string, date-time, nullable
  - `failureCode` string
  - `id` string, required
  - `phase` 'requested' | 'checkpointing_source' | 'activating_target' | 'recovery_required' | 'completed' | 'failed', required
  - `sourceAccountId` string
  - `sourceKind` 'managed' | 'device' | 'none', required
  - `targetAccountId` string, required
  - `updatedAt` string, date-time, required

## Other responses

- `404` — Not Found
- `501` — Not Implemented
- `503` — Service Unavailable

## Changes

- **2026-09-15** `7f5cb1f3ca16` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/agents/codex/account-switches/:switchId/get.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/1e9e4bbb67f1?raw)
