The organization's connector policy
const url = 'https://api.asklucy.eu/v1/org/connectors';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.asklucy.eu/v1/org/connectors \ --header 'Authorization: Bearer <token>'Which connectors are on and which apps are allowed, with how many people connected.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
object
object
This Lucy has credentials for the connector.
The organization turned it on.
object
What the app lets Lucy do. Each of its tools has its own permission (ToolPermission).
The organization allows this app.
object
object
The apps Lucy can use now, what the person consented to and the organization allows.
reauth: the person has to sign in at the service again.
For admins (/org/connectors).
Example
{ "data": [ { "id": "m365", "name": "Microsoft 365", "apps": [ { "id": "calendar", "name": "Calendar", "access": "read" } ], "connection": { "connected_by": { "kind": "person" }, "id": "con_8Qk2LmN4Rt7Wx1Yz3Aa5", "status": "active" } } ]}Missing, expired or invalid token.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.
The token is valid but lacks the role this needs.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.