{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/context-link-ai/json-schema/context-link-ai-get-api-v1-api-accounts-uid-connections-connectionuid-response-schema.json",
  "title": "GetApiV1ApiAccountsUidConnectionsConnectionuidResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/context-link-ai-openapi-generated.yml#/components/schemas/GetApiV1ApiAccountsUidConnectionsConnectionuidResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Connection internal ID."
    },
    "uid": {
      "type": "string",
      "description": "UID chosen at connection time."
    },
    "connection_type": {
      "type": "string",
      "description": "Type of the connection."
    },
    "name": {
      "type": "string",
      "description": "Display name."
    },
    "status": {
      "type": "string",
      "description": "One of redirect_required, selection_required, pending, connected."
    },
    "auth_status": {
      "type": "string",
      "description": "Auth state (pending_auth, pending_selection, authorised, auth_failed, disconnected)."
    },
    "sync_status": {
      "type": "string",
      "description": "Sync state (unsynced, syncing, synced, error_syncing)."
    },
    "post_count": {
      "type": "integer",
      "description": "Number of indexed documents."
    },
    "last_synced_at": {
      "type": "string",
      "description": "Timestamp of last sync."
    }
  }
}