Skip to content
SoulFire LogoSoulFire

Get instance plugin stats

GET
/v1/instances/{instance_id}/plugin-stats

Returns runtime stats for every plugin that has reported in the instance.

Authorization

headerAuthorizationBearer <JWT>

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

Path Parameters

instance_id*string

The UUID of the SoulFire instance to get plugin stats for.

Formatuuid

Response Body

Response containing runtime stats for all reporting plugins in an instance.

application/json
  1. response

Response containing runtime stats for all reporting plugins in an instance.

stats*array<>

One entry per plugin that has reported runtime stats this session.

Example Request
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/plugin-stats'
Example Response
{
  "stats": [
    {
      "pluginId": "string",
      "enabled": true,
      "activeBotCount": 0,
      "runningSince": "2019-08-24T14:15:22Z",
      "metrics": [
        {
          "key": "string",
          "displayName": "string",
          "value": 0.1,
          "unit": "string",
          "icon": "string"
        }
      ]
    }
  ]
}

Was this page helpful?