# Logs Client

Bases: `BaseRestClient`

The logs client is a client for interacting with Hatchet's logs API.

Methods:

Name, Description

`aio_list`, List log lines for a given task run.
`list`, List log lines for a given task run.

### Functions

#### `aio_list`

List log lines for a given task run.

Parameters:

Name, Type, Description, Default

`task_run_id`, `str`, The ID of the task run to list logs for., _required_
`limit`, `int`, Maximum number of log lines to return (default: 1000)., `1000`
`since`, `datetime \, None`, The start time to get logs for., `None`
`until`, `datetime \, None`, The end time to get logs for., `None`

Returns:

Type, Description

`V1LogLineList`, A list of log lines for the specified task run.

#### `list`

List log lines for a given task run.

Parameters:

Name, Type, Description, Default

`task_run_id`, `str`, The ID of the task run to list logs for., _required_
`limit`, `int`, Maximum number of log lines to return (default: 1000)., `1000`
`since`, `datetime \, None`, The start time to get logs for., `None`
`until`, `datetime \, None`, The end time to get logs for., `None`

Returns:

Type, Description

`V1LogLineList`, A list of log lines for the specified task run.
