Inspector
Get Summary
Get an overview of an actor's state, connections, actions, queue, database, and workflow.
The inspector API is subject to change without notice. Do not build production integrations on it.
GET https://rivet.example.com/gateway/{actor}/inspector/summary
Examples
curl "https://rivet.example.com/gateway/$ACTOR_ID/inspector/summary" \
-H "Authorization: Bearer $INSPECTOR_TOKEN"
Authentication
Inspector endpoints do not accept namespace tokens. Send the actor’s inspector token as a bearer token in the Authorization header.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
actor | string | Yes | Actor ID, actor ID with an inline token ({actor_id}@{token}), or actor name combined with the rvt-* query parameters. |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | No | Bearer token for inspector authentication. Required in production, optional in development. |
Actor Selector
{actor} accepts an actor ID, an actor ID with an inline routing token ({actor_id}@{token}), or an actor name combined with the rvt-* query parameters below. See Actor Routing for the full rules.
Responses
200
The actor inspector summary.
| Field | Type | Description |
|---|---|---|
state | any | |
connections | object[] | |
rpcs | object | |
queueSize | integer | |
isStateEnabled | boolean | |
isDatabaseEnabled | boolean | |
isWorkflowEnabled | boolean | |
workflowHistory | any |
{
"state": "<state>",
"connections": [
{}
],
"rpcs": {},
"queueSize": 0,
"isStateEnabled": false,
"isDatabaseEnabled": false,
"isWorkflowEnabled": false,
"workflowHistory": "<workflowHistory>"
}
401
The inspector token is missing or invalid.