ConnectionAppsClient
Methods
Section titled “Methods”create()
Section titled “create()”create(input, options?): Promise<ConnectionApp>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
CreateConnectionAppBody |
options? |
MutationOptions$1 |
Returns
Section titled “Returns”Promise<ConnectionApp>
POST /v1/connection-apps — clientSecret and the like name secrets you stored
first. A token entry (texts) takes token instead: the provider, its API key
(a secret no tool, MCP endpoint, webhook or other registration uses, else
connection-key-in-use) and its public key. Only this registration names that key
afterwards: anything else that names it is refused with connection-key-refused.
get(appId): Promise<ConnectionApp>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
appId |
string |
Returns
Section titled “Returns”Promise<ConnectionApp>
GET /v1/connection-apps/:appId
list()
Section titled “list()”list(filter?): Promise<ConnectionAppPage>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
filter? |
ListConnectionAppsFilter |
Returns
Section titled “Returns”Promise<ConnectionAppPage>
GET /v1/connection-apps
remove()
Section titled “remove()”remove(appId, options?): Promise<ConnectionAppRemoved>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
appId |
string |
options? |
RemoveConnectionAppOptions |
Returns
Section titled “Returns”Promise<ConnectionAppRemoved>
DELETE /v1/connection-apps/:appId
update()
Section titled “update()”update( appId, input, options?): Promise<ConnectionApp>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
appId |
string |
input |
UpdateConnectionAppInput |
options? |
MutationOptions$1 |
Returns
Section titled “Returns”Promise<ConnectionApp>
PATCH /v1/connection-apps/:appId