Skip to main content
POST
Add a connection: Claude plan

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

The connection's name: unique among your connections of its option, without leading or trailing spaces.

Required string length: 1 - 100
Pattern: ^\S(.*\S)?$
token
string
required

The setup token claude setup-token prints.

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

Response

Created

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.