List instances
GET
Lists all instances the current user has permission to view. Only instances where the user has READ_INSTANCE permission are returned. Returns summary information for each instance.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
Response containing a list of instances the current user has permission to view.
application/json- response
Response containing a list of instances the current user has permission to view.
instances*array<>List of instances the user has READ_INSTANCE permission for.
curl -X GET 'http://127.0.0.1:38765/v1/instances'Example Response
{
"instances": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"friendlyName": "string",
"icon": "string",
"instancePermissions": [
{
"instancePermission": "INSTANCE_COMMAND_EXECUTION",
"granted": true
}
],
"botSummary": {
"totalBots": 0,
"desiredBots": 0,
"onlineBots": 0,
"startingBots": 0,
"retryingBots": 0,
"failedBots": 0
}
}
]
}Was this page helpful?
