Brume · Docs
API

Connecteurs

Référence OpenAPI générée pour le domaine « Connecteurs ».

GET
/api/tenants/{path_tenant_id}/connectors/catalog

Path Parameters

path_tenant_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tenants/string/connectors/catalog"
[  {}]
POST
/api/tenants/{path_tenant_id}/connectors/catalog

Add an available connector with tenant connector edit permission.

Path Parameters

path_tenant_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/tenants/string/connectors/catalog" \  -H "Content-Type: application/json" \  -d '{    "connector_slug": "string"  }'
{}
DELETE
/api/tenants/{path_tenant_id}/connectors/catalog/{slug}

Remove a catalog entry with tenant connector edit permission.

Path Parameters

slug*string
path_tenant_id*string

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/tenants/string/connectors/catalog/string"
{}
POST
/api/tenants/{path_tenant_id}/connectors/connect

Return an OAuth redirect after checking tenant connector edit permission.

Path Parameters

path_tenant_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/tenants/string/connectors/connect" \  -H "Content-Type: application/json" \  -d '{    "connector_slug": "string"  }'
{}
POST
/api/tenants/{path_tenant_id}/connectors/connect/native

Validate and audit storage of a tenant-level native connector API key.

Path Parameters

path_tenant_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/tenants/string/connectors/connect/native" \  -H "Content-Type: application/json" \  -d '{    "connector_slug": "string",    "key": "string"  }'
{}
DELETE
/api/tenants/{path_tenant_id}/connectors/connect/{slug}

Remove a native key or matching OAuth connection, returning whether one existed.

Path Parameters

slug*string
path_tenant_id*string

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/tenants/string/connectors/connect/string"
{}
GET
/api/tenants/{path_tenant_id}/connectors/connections

Return native and OAuth connections with tenant connector edit permission.

Path Parameters

path_tenant_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tenants/string/connectors/connections"
[  {}]
POST
/api/tenants/{path_tenant_id}/connectors/refresh-cache

Refresh cached OAuth connections after a callback; requires edit permission.

Path Parameters

path_tenant_id*string

Response Body

application/json

application/json

curl -X POST "https://example.com/api/tenants/string/connectors/refresh-cache"
{}
GET
/api/tenants/{path_tenant_id}/connectors/usage

Return usage to tenant admins or referents of the requested workspace.

Path Parameters

path_tenant_id*string

Query Parameters

workspace_id?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tenants/string/connectors/usage"
[  {}]