Skip to main content
POST
Reconnect a connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connectionID
string<uuid>
required

The connection's id.

Body

application/json
option
enum<string>
required
Available options:
claude_plan
token
string
required

The setup token claude setup-token prints.

Minimum string length: 20
Pattern: ^\s*sk-ant-oat\S{10,}\s*$

Response

OK

One connection you hold, a variant per option: which credential it holds, qualified by its vendor. reauth is null while the stored credential works.

id
string<uuid>
required
name
string
required

The name you gave the connection, unique among your connections of its option.

Minimum string length: 1
option
enum<string>
required
Available options:
claude_plan
reauth
object | null
required
limits
object[]

The vendor limits this connection has spent, excluding markers whose reset time has passed.

profiles
object[]

The agent profiles that run on the connection.