跳到主要内容

aiGateway-logs

aiGateway-logs

Query Parameters
workspaceId string REQUIRED
gatewayId string REQUIRED
cursor string
limit integer

Possible values: 1 ≤ value ≤ 100

Responses
200

Successful response

Schema OPTIONAL
items object[]
id string
workspaceId string
gatewayId string
inputToken integer
outputToken integer
stream boolean
modelName string
status string

Possible values: [Pending, Success, Failed]

duration integer
ttft integer
price number
userId string OPTIONAL
createdAt string
updatedAt string
requestPayload OPTIONAL
responsePayload OPTIONAL
nextCursor string OPTIONAL
400

Invalid input data

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
404

Not found

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string