Skip to main content

get_sessions

Queries for sessions in a project. Arguments
  • project_id: The unique identifier of the project.
  • experiment_id: Filter records by a specific experiment ID.
  • log_stream_id: Filter records by a specific run ID.
  • filters: A list of filters to apply to the query.
  • sort: A sort clause to order the query results.
  • limit: The maximum number of records to return.
  • starting_token: The token for the next page of results.
Returns
  • A LogRecordsQueryResponse object containing the query results.:

get_spans

Queries for spans in a project. Arguments
  • project_id: The unique identifier of the project.
  • experiment_id: Filter records by a specific experiment ID.
  • log_stream_id: Filter records by a specific run ID.
  • filters: A list of filters to apply to the query.
  • sort: A sort clause to order the query results.
  • limit: The maximum number of records to return.
  • starting_token: The token for the next page of results.
Returns
  • A LogRecordsQueryResponse object containing the query results.:

get_traces

Queries for traces in a project. Arguments
  • project_id: The unique identifier of the project.
  • experiment_id: Filter records by a specific experiment ID.
  • log_stream_id: Filter records by a specific run ID.
  • filters: A list of filters to apply to the query.
  • sort: A sort clause to order the query results.
  • limit: The maximum number of records to return.
  • starting_token: The token for the next page of results.
Returns
  • A LogRecordsQueryResponse object containing the query results.: