Get instance plugin stats
GET
Returns runtime stats for every plugin that has reported in the instance.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringThe UUID of the SoulFire instance to get plugin stats for.
Format
uuidResponse containing runtime stats for all reporting plugins in an instance.
application/json- 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.
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?
