Codevisor Docs
Api reference

POST First Run Claude Code Login

POST/v1/first-run/claude-code-login

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

choice*string

Value in

  • "transfer"
  • "signIn"
  • "notNow"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/first-run/claude-code-login" \  -H "Content-Type: application/json" \  -d '{    "choice": "transfer"  }'
{  "state": "notApplicable",  "harnesses": [    {      "id": "string",      "name": "string"    }  ],  "projects": [    {      "id": "string",      "name": "string"    }  ],  "folders": [    {      "id": "string",      "name": "string",      "path": "string",      "projects": [        "string"      ]    }  ],  "claudeCodeLogin": {    "email": "string"  }}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}