async def METHOD_NAME(
    engine: ProtocolEngine = Depends(get_default_engine),
    cursor: Optional[int] = Query(
        None,
        description=(
            "The starting index of the desired first command in the list."
            " If unspecified, a cursor will be selected automatically"
            " based on the next queued or more recently executed command."
        ),
    ),
    pageLength: int = Query(
        _DEFAULT_COMMAND_LIST_LENGTH,
        description="The maximum number of commands in the list to return.",
    ),