> For the complete documentation index, see [llms.txt](https://smallso.gitbook.io/tencent-cloud-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smallso.gitbook.io/tencent-cloud-sdk/python-docs/serverless-functions/class-and-method/function-result-future/get-request-id.md).

# get\_request\_id 方法

## 简要

获取无服务器云函数异步调用的唯一标识符（Request ID）字符串。

```python
def get_request_id(self) -> str
```

## 参数

该方法没有参数。

## 返回值

该方法返回无服务器云函数异步调用的 Request ID 字符串。

## 异常

该方法通常情况下不会引发任何异常。

## 适用于

#### Tencent Cloud SDK for Python

产品软件包：tencent-cloud-sdk-serverless-functions >= 0.1.1
