Platform API

actor.logs.get


Description

Returns the logs for a given actor.


Code Examples

curl -X GET 'https://api.rivet.gg/actors/{actor}/logs'

Schema

Request Parameters

  • actor
    string path parameter
  • project
    nullable string query parameter
  • environment
    nullable string query parameter
  • stream
    string
    • std_out
    • std_err
  • watch_index
    nullable string query parameter

Response

  • lines
    array of strings

    Sorted old to new.

  • timestamps
    array of strings

    Sorted old to new.

  • watch
    object

    Provided by watchable endpoints used in blocking loops.

    • watch.index
      string

      Index indicating the version of the data responded. Pass this to WatchQuery to block and wait for the next response.