Connections
Get Connection Requirements
Path Parameters
Query Parameters
App ID to scan for tool connection requirements
Header Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/v1/orgs/string/workspaces/string/namespaces/string/connections/requirements?app_id=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Initiate Namespace Oauth
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/v1/orgs/string/workspaces/string/namespaces/string/connections/oauth/initiate" \ -H "Content-Type: application/json" \ -d '{ "tool_instance_id": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List Connections
Path Parameters
Header Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/v1/orgs/string/workspaces/string/namespaces/string/connections"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Api Key Connection
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/v1/orgs/string/workspaces/string/namespaces/string/connections" \ -H "Content-Type: application/json" \ -d '{ "tool_instance_id": "string", "api_key": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Revoke Connection
Path Parameters
Header Parameters
Response Body
application/json
application/json
curl -X DELETE "https://loading/v1/orgs/string/workspaces/string/namespaces/string/connections/string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Initiate Workspace Oauth
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/v1/orgs/string/workspaces/string/connections/oauth/initiate" \ -H "Content-Type: application/json" \ -d '{ "tool_instance_id": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Workspace Api Key Connection
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/v1/orgs/string/workspaces/string/connections/api-key" \ -H "Content-Type: application/json" \ -d '{ "tool_instance_id": "string", "api_key": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Revoke Workspace Connection
Path Parameters
Header Parameters
Response Body
application/json
application/json
curl -X DELETE "https://loading/v1/orgs/string/workspaces/string/connections/string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Oauth Token Exchange
Query Parameters
Authorization code from OAuth provider
State token for CSRF protection
Response Body
application/json
application/json
curl -X POST "https://loading/v1/connections/oauth/exchange?code=string&state=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}