---
title: "POST /gateway/{actor}/action/{action}"
method: POST
path: "/gateway/{actor}/action/{action}"
---

# POST /gateway/{actor}/action/{action}

`POST /gateway/{actor}/action/{action}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `actor` string, required
- `action` string, required

## Query parameters

- `rvt-namespace` string
- `rvt-method` 'get' | 'getOrCreate'
- `rvt-key` string
- `rvt-pool` string
- `rvt-runner` string
- `rvt-input` string
- `rvt-region` string
- `rvt-crash-policy` 'restart' | 'sleep' | 'destroy'
- `rvt-skip-ready-wait` boolean
- `rvt-token` string

## Request body

- object
  - `args` unknown, required

## Response `200`

Action executed successfully

- object
  - `output` unknown, required

## Other responses

- `400`: Invalid action
- `500`: Internal error

---

[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.dev/rivet-dev/apis/rivetkit-api/revisions/0130d6e7eada?raw)
