Agent SwarmAgent Swarm

Script Connections

Script Connections API endpoints

GET
/api/credential-bindings

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/credential-bindings"
Empty
POST
/api/credential-bindings

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/credential-bindings" \  -H "Content-Type: application/json" \  -d '{    "configKey": "string",    "allowedHosts": [      "string"    ]  }'
Empty
Empty
Empty
GET
/api/integrations-catalog

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/integrations-catalog"
Empty
Empty
GET
/api/integrations-catalog/{domain}/surface

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

domain*string
Match^[a-z0-9.-]+$/i
Length1 <= length <= 255

Response Body

curl -X GET "http://localhost:3013/api/integrations-catalog/string/surface"
Empty
Empty
Empty
GET
/api/oauth-apps

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/oauth-apps"
Empty
POST
/api/oauth-apps

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/oauth-apps" \  -H "Content-Type: application/json" \  -d '{    "provider": "string",    "clientId": "string",    "authorizeUrl": "http://example.com",    "tokenUrl": "http://example.com"  }'
Empty
Empty
Empty
DELETE
/api/oauth-apps/{provider}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

provider*string
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 255

Response Body

curl -X DELETE "http://localhost:3013/api/oauth-apps/string"
Empty
Empty
Empty
POST
/api/oauth-apps/{provider}/authorize-url

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

provider*string
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 255

Response Body

curl -X POST "http://localhost:3013/api/oauth-apps/string/authorize-url"
Empty
Empty
Empty
POST
/api/oauth-apps/{provider}/refresh

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

provider*string
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 255

Response Body

curl -X POST "http://localhost:3013/api/oauth-apps/string/refresh"
Empty
Empty
Empty
Empty
Empty
DELETE
/api/oauth-apps/{provider}/tokens

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

provider*string
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 255

Response Body

curl -X DELETE "http://localhost:3013/api/oauth-apps/string/tokens"
Empty
Empty
Empty
POST
/api/oauth-apps/discover

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/oauth-apps/discover" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
Empty
Empty
Empty
GET
/api/script-connections

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Query Parameters

kind?string
Value in"openapi" | "graphql" | "mcp"
scope?string
Value in"global" | "agent" | "repo"
scopeId?string

Response Body

curl -X GET "http://localhost:3013/api/script-connections"
Empty
Empty
POST
/api/script-connections

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/script-connections" \  -H "Content-Type: application/json" \  -d '{    "slug": "string",    "kind": "openapi",    "baseUrl": "http://example.com"  }'
Empty
Empty
Empty
GET
/api/script-connections/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Formatuuid

Response Body

curl -X GET "http://localhost:3013/api/script-connections/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
Empty
POST
/api/script-connections/{id}/disable

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

enabled*boolean

Response Body

curl -X POST "http://localhost:3013/api/script-connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/disable" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
Empty
Empty
Empty
POST
/api/script-connections/{id}/mcp-call

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/script-connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp-call" \  -H "Content-Type: application/json" \  -d '{    "tool": "string"  }'
Empty
Empty
Empty
Empty
POST
/api/script-connections/{id}/refresh

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Formatuuid

Response Body

curl -X POST "http://localhost:3013/api/script-connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/refresh"
Empty
Empty
Empty
Empty