code: def request_logs(self, instance_id: Union[str, int]) -> dict:
      resp = self.s.put(
          self._url(f"/instances/request_logs/{instance_id}/"),
          json={"tail": "1000"},
      )
      resp.raise_for_status()
      data = resp.json()
      if not data["success"]:
          raise requests.HTTPError(data)
      return data
  
file_path: dstack/src/dstack/_internal/core/backends/vastai/api_client.py
imports: import shlex
  import threading
  import time
  from typing import List, Optional, Union
  import requests
  from requests.adapters import HTTPAdapter, Retry
  import dstack._internal.server.services.docker
  from dstack._internal.core.errors import NoCapacityError
  from dstack._internal.core.models.configurations import RegistryAuth
label_desc: Use image node_id 7 for calling the VastAIAPIClient obj's underlying member method code with example usage: obj.request_logs(instance_id) and returns: data