---
title: "PUT /actors"
method: PUT
path: "/actors"
---

# PUT /actors

`PUT /actors`

## Request body

- object
  - `datacenter` string
  - `name` string, required
  - `key` string, required
  - `runner_name_selector` string, required
  - `crash_policy` string, required
  - `input` string, nullable

## Response `200`

Success

- object
  - `actor` object, required
    - `actor_id` string, required
    - `name` string, required
    - `key` string, required
    - `namespace_id` string, required
    - `runner_name_selector` string, required
    - `create_ts` number, required
    - `connectable_ts` number, nullable
    - `destroy_ts` number, nullable
    - `sleep_ts` number, nullable
    - `start_ts` number, nullable
    - `error` unknown
  - `created` boolean, required

## Other responses

- `400` — User error
- `500` — Internal error

## Changes

- **2026-01-17** `1821b8e7ca0d` — 1 breaking, 1 info
  - the response property `actor/error` became nullable for the status `200`
  - removed `subschema #1, subschema #2, subschema #3, subschema #4` from the `actor/error` response property `anyOf` list for the response status `200`
- **2026-01-08** `c0cac9e14ce5` — 1 info
  - added the optional property `actor/error` to the response with the `200` status
- **2025-11-21** `1c4f6043d78a` — 1 breaking
  - request body became required
- **2025-10-22** `debdae6b1f30` — 1 warning, 1 info
  - removed the optional property `actor/error` from the response with the `200` status
  - request body became optional

[Change history](https://skmtc.dev/rivet-dev/apis/rivetkit-api/changes/actors/put.md)

---

[API](https://skmtc.dev/rivet-dev/apis/rivetkit-api.md) · [All operations](https://skmtc.dev/rivet-dev/apis/rivetkit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rivet-dev/rivetkit-api/revisions/987a66002b58/schema)
