Sign In
API

actors.logs.get


Description

Returns the logs for a given actor.


Code Examples

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

Schema

Request Parameters

  • project
    nullable string query parameter
  • environment
    nullable string query parameter
  • stream
    string
    • std_out
    • std_err
    • all
  • actor_ids_json
    string query parameter
  • search_text
    nullable string query parameter
  • search_case_sensitive
    nullable boolean query parameter
  • search_enable_regex
    nullable boolean query parameter
  • watch_index
    nullable string query parameter

Response

  • actor_ids
    array of strings

    List of actor IDs in these logs. The order of these correspond to the index in the log entry.

  • lines
    array of strings

    Sorted old to new.

  • timestamps
    array of strings

    Sorted old to new.

  • streams
    array of integers

    Streams the logs came from.

    0 = stdout 1 = stderr

  • actor_indices
    array of integers

    Index of the actor that this log was for. Use this index to look the full ID in actor_ids.

  • 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.

Suggest changes to this page