def get_logs(
    *,
    project: Optional[str] = None,
    filter: Optional[str] = None,
    limit: Optional[int] = None,
    offset: int = 0,
    api_key: Optional[str] = None,
) -> List[unify.Log]:

source code

Returns a list of filtered logs from a project.

Arguments:

  • project - Name of the project to get logs from.
  • filter - Boolean string to filter logs, for example:
  • limit - The maximum number of logs to return. Default is None (unlimited).
  • offset - The starting index of the logs to return. Default is 0.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

The list of logs for the project, after optionally applying filtering.