---
title: "My Requests"
method: GET
path: "/myapi/requests"
---

# My Requests

`GET /myapi/requests`

## Request

- Base URL: `https://api.twtapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.twtapi.com/myapi/requests`
- Auth: none declared

Return the current user's request log with sanitized parameters.

中文：当前用户的调用日志分页列表（/requests），参数已脱敏。

参数:
    page/size: 分页。
    endpoint: 可选，按接口标识精确过滤（会先 strip，空串视为不过滤）。
    status: 状态筛选，all / success / error，由 Query 的 pattern 约束取值。

返回:
    total/page/size/items；每项的 params 是 _sanitize_request_params 清洗后的结构。

注意:
    本接口没有 lang 参数（与 /orders 不同），且不返回本地化文案，只回原始字段，
    因此不涉及语言判定。

副作用:
    只读数据库。

## Query parameters

- `page` integer
- `size` integer
- `endpoint` string, nullable
- `status` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twtapi/apis/twtapi-backend.md) · [All operations](https://skmtc.dev/twtapi/apis/twtapi-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/twtapi/apis/twtapi-backend/revisions/5295976febaf?raw)
