def METHOD_NAME(
    days_old: int, client: Client = None, skip_running: bool = True
) -> List[Dict[str, str]]:
    """
    Fetches old flow runs from the API.
    Args:
        days_old (int): The age of the flow runs (in days) to fetch.
        client (Client, optional): The prefect client. Defaults to None.
        skip_running (bool, optional): Whether to skip running flow runs. Defaults to True.
    Returns:
        A list containing one dictionary for every flow we got. The format for the
        dictionary is the following:
    ```py
    {
        "id": "some-uuid4",
        "state": "the-final-state-for-this-flow",
        "start_time": "2022-01-01T00:00:00.000000+00:00
    }
    ```
    """
    maximum_start_time = (
        pendulum.now(tz="America/Sao_Paulo").subtract(days=days_old).to_iso8601_string()
    )
    if not client:
        client = Client()
    query = """
        query($maximum_start_time: timestamptz) {
            flow_run (
                where: {
                    _and: [
                        {start_time: {_lte: $maximum_start_time}},
    """
    if skip_running:
        query += """
                        {state: {_neq: "Running"}},
        """
    query += """
                    ]
                }
            ) {
                id
                state
                start_time
            }
        }
    """
    response = client.graphql(
        query=query, variables=dict(maximum_start_time=maximum_start_time)
    )
    return response["data"]["flow_run"]