Returns the live actor with the given name and key, or creates it. Waking a sleeping actor is part of the lookup. Without a key, a new actor is always created.
Changed onRequest
- Base URLhttps://api.rivet.dev
- URLhttps://api.rivet.dev/actors
- Auth
- HTTP bearer
- or API key in header x-rivet-token
Query parameters
Name of the namespace to operate in. Defaults to default.
Request body
Response
The existing or created actor.
Example response
{
"actor": {
"actor_id": "d97pbq1nyqxw1w5qdwz0iirbqiblh2"
}
}Changes
- breaking
added the pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$to thequeryrequest parameternamespace - breaking
the
request property's minLength was increased from0to1 - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
for the
queryrequest parameternamespace, the maxLength was set to63 - warning
the
request property's maxLength was set to1024 - warning
the
request property's maxLength was set to64 - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
/from the response with the status - info
the endpoint scheme security
rivet_token_headerwas added to the API - info
added the new optional request property
- info
the
queryrequest parameternamespacebecame optional - info
the request property
became nullable - info
the request property
became optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- info
the endpoint scheme security
bearer_authwas added to the API
- info