Rivet Actors API

The Actors API from Rivet — 3 operation(s) for actors.

Operations 5

GET /actors
PUT /actors
POST /actors
GET /actors/names
GET /actors/{actor_id}/kv/keys/{key}

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rivet-actors-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rivet-actors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.2.0
  title: RivetKit Actors API
servers:
- url: https://api.rivet.dev
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Actors
paths:
  /actors:
    get:
      parameters:
      - schema:
          type: string
        required: false
        name: name
        in: query
      - schema:
          type: string
        required: false
        name: actor_ids
        in: query
      - schema:
          type: string
        required: false
        name: key
        in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  actors:
                    type: array
                    items:
                      type: object
                      properties:
                        actor_id:
                          type: string
                        name:
                          type: string
                        key:
                          type: string
                        namespace_id:
                          type: string
                        runner_name_selector:
                          type: string
                        create_ts:
                          type: number
                        connectable_ts:
                          type:
                          - number
                          - 'null'
                        destroy_ts:
                          type:
                          - number
                          - 'null'
                        sleep_ts:
                          type:
                          - number
                          - 'null'
                        start_ts:
                          type:
                          - number
                          - 'null'
                        error: {}
                      required:
                      - actor_id
                      - name
                      - key
                      - namespace_id
                      - runner_name_selector
                      - create_ts
                required:
                - actors
        '400':
          description: User error
        '500':
          description: Internal error
      tags:
      - Actors
    put:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                datacenter:
                  type: string
                name:
                  type: string
                key:
                  type: string
                runner_name_selector:
                  type: string
                crash_policy:
                  type: string
                input:
                  type:
                  - string
                  - 'null'
              required:
              - name
              - key
              - runner_name_selector
              - crash_policy
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  actor:
                    type: object
                    properties:
                      actor_id:
                        type: string
                      name:
                        type: string
                      key:
                        type: string
                      namespace_id:
                        type: string
                      runner_name_selector:
                        type: string
                      create_ts:
                        type: number
                      connectable_ts:
                        type:
                        - number
                        - 'null'
                      destroy_ts:
                        type:
                        - number
                        - 'null'
                      sleep_ts:
                        type:
                        - number
                        - 'null'
                      start_ts:
                        type:
                        - number
                        - 'null'
                      error: {}
                    required:
                    - actor_id
                    - name
                    - key
                    - namespace_id
                    - runner_name_selector
                    - create_ts
                  created:
                    type: boolean
                required:
                - actor
                - created
        '400':
          description: User error
        '500':
          description: Internal error
      tags:
      - Actors
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                datacenter:
                  type: string
                name:
                  type: string
                runner_name_selector:
                  type: string
                crash_policy:
                  type: string
                key:
                  type:
                  - string
                  - 'null'
                input:
                  type:
                  - string
                  - 'null'
              required:
              - name
              - runner_name_selector
              - crash_policy
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  actor:
                    type: object
                    properties:
                      actor_id:
                        type: string
                      name:
                        type: string
                      key:
                        type: string
                      namespace_id:
                        type: string
                      runner_name_selector:
                        type: string
                      create_ts:
                        type: number
                      connectable_ts:
                        type:
                        - number
                        - 'null'
                      destroy_ts:
                        type:
                        - number
                        - 'null'
                      sleep_ts:
                        type:
                        - number
                        - 'null'
                      start_ts:
                        type:
                        - number
                        - 'null'
                      error: {}
                    required:
                    - actor_id
                    - name
                    - key
                    - namespace_id
                    - runner_name_selector
                    - create_ts
                required:
                - actor
        '400':
          description: User error
        '500':
          description: Internal error
      tags:
      - Actors
  /actors/names:
    get:
      parameters:
      - schema:
          type: string
        required: true
        name: namespace
        in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  names:
                    type: object
                    additionalProperties:
                      type: object
                      properties:
                        metadata:
                          type: object
                          additionalProperties: {}
                      required:
                      - metadata
                required:
                - names
        '400':
          description: User error
        '500':
          description: Internal error
      tags:
      - Actors
  /actors/{actor_id}/kv/keys/{key}:
    get:
      parameters:
      - schema:
          type: string
        required: true
        name: actor_id
        in: path
      - schema:
          type: string
        required: true
        name: key
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type:
                    - string
                    - 'null'
                required:
                - value
        '400':
          description: User error
        '500':
          description: Internal error
      tags:
      - Actors