Zum Inhalt springen
SoulFire LogoSoulFire

List instances

Diese Anleitung gibt es nur auf Englisch.

GET
/v1/instances

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.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Response Body

Response containing a list of instances the current user has permission to view.

application/json
  1. 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.

Example Request
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
      }
    }
  ]
}

War diese Seite hilfreich?