Skip to main content
Inspector

Query Database Rows

Read a page of rows from an actor database table or view.

The inspector API is subject to change without notice. Do not build production integrations on it.

GET https://rivet.example.com/gateway/{actor}/inspector/database/rows

Examples

Authentication

Inspector endpoints do not accept namespace tokens. Send the actor’s inspector token as a bearer token in the Authorization header.

Path Parameters

NameTypeRequiredDescription
actorstringYesActor ID, actor ID with an inline token ({actor_id}@{token}), or actor name combined with the rvt-* query parameters.

Query Parameters

NameTypeRequiredDescription
tablestringYesTable or view to read.
limitintegerNoMaximum rows to return.
offsetintegerNoRows to skip.

Headers

NameTypeRequiredDescription
AuthorizationstringNoBearer token for inspector authentication. Required in production, optional in development.

Responses

200

The selected rows.

FieldTypeDescription
rowsobject[]
{
  "rows": [
    {}
  ]
}

401

The inspector token is missing or invalid.