跳转到主要内容
GET
GET /admin/api/logs/upstream

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

查询参数

apiKeyId
string | null
credentialId
string | null
cursor
integer<int64> | null

next_cursor of the previous page.

cursorId
string | null

next_cursor_id of the previous page. Without it a cursor is only a timestamp, and records sharing a millisecond would repeat.

fromMs
integer<int64> | null
limit
integer<uint64> | null

Clamped to 1..=500; absent means 50.

必填范围: x >= 0
model
string | null
operation
string | null
providerId
string | null
reason
string | null

Exact normalized upstream reason (for example refusal).

requestId
string | null

One request by id, which for a downstream record is its own id.

status
integer<int32> | null

Exact HTTP response status.

toMs
integer<int64> | null
userId
string | null

响应

Success

One page of the request list, plus where the next one starts.

items
object[]
必填
nextCursor
integer<int64> | null
必填

The started_at_ms of the last item, or None at the end of the list. Hand both cursor halves back unchanged to get the next page.

nextCursorId
string | null
必填

The id of the same item. Two requests can share a millisecond, and a timestamp-only cursor would either repeat them forever or skip them; the pair is unique because ids are.