Call Actors
Get Runtime Metadata
Identify the RivetKit runtime serving an actor.
GET https://api.rivet.dev/gateway/{actor}/metadata
Examples
curl "https://api.rivet.dev/gateway/$ACTOR_ID/metadata" \
-H "x-rivet-token: $RIVET_TOKEN"
Authentication
Send a token in the x-rivet-token header, inline in the path as {actor_id}@{token}, or in the rvt-token query parameter. Use a public token (pk_) from browsers and a secret token (sk_) from trusted backends. See Authentication.
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. |
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
Runtime name, version, and runtime type.
| Field | Type | Description |
|---|---|---|
runtime | string | Always rivetkit. |
version | string | RivetKit version. |
type | string | Runtime flavor, such as native or wasm. |
{
"runtime": "rivetkit",
"version": "1.0.0",
"type": "native"
}