---
title: "Get the account Codex Cloud connector"
method: GET
path: "/v1/codex/connector"
tags: ["Codex Cloud"]
---

# Get the account Codex Cloud connector

`GET /v1/codex/connector`

## Request

- Base URL: `https://api.shardflux.dev`
- URL: `https://api.shardflux.dev/v1/codex/connector`
- Auth: HTTP bearer

## Query parameters

- `project_id` string, uuid

## Response `200`

Default Response

- CodexConnector
  - `organization_id` string, uuid, required: UUIDv7, lowercase canonical form.
  - `project_id` string, uuid, required: UUIDv7, lowercase canonical form.
  - `workspace_id` string, uuid, required: UUIDv7, lowercase canonical form.
  - `generation` string, uuid, required: UUIDv7, lowercase canonical form.
  - `enabled` boolean, required
  - `state` 'starting' | 'ready' | 'attention' | 'disabling' | 'disabled', required
  - `environment_id` string, nullable, required
  - `last_error` string, nullable, required
  - `last_seen_at` string, date-time, nullable, required: RFC 3339 UTC timestamp with Z.
  - `reason` string, nullable, required: Why the connector needs the person, or null. codex_sign_in_required: Codex Cloud refused the account’s ChatGPT sign-in (state attention). Sign in to Codex again and copy the login (shard agents credentials sync); a new login, or enabling the connector, starts it again.

## Other responses

- `4XX`: Default Response
- `5XX`: Default Response

---

[API](https://skmtc.dev/shardflux/apis/shardflux-api.md) · [All operations](https://skmtc.dev/shardflux/apis/shardflux-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shardflux/apis/shardflux-api/revisions/ea685f7b39c4?raw)
