AiRequestLog
extends BaseModel
Table of Contents
Properties
-
$aiProviderId
: int
-
$createdAt
: string
-
$durationMs
: int|null
-
$error
: string|null
-
$httpStatus
: int|null
-
$id
: int
-
$inputTokens
: int|null
-
$ip
: string|null
-
$isAutoTriggered
: bool
-
$model
: string
-
$oauthClientId
: string|null
-
$oauthClientName
: string|null
-
$outputTokens
: int|null
-
$projectId
: int|null
-
$promptAction
: string|null
-
$promptId
: int|null
-
$requestId
: string
-
$sourceAction
: string
-
$status
: string
-
$systemCredentials
: bool
-
$tokenName
: string|null
-
$totalCost
: float|null
-
$userAgent
: string|null
-
$userId
: int|null
Methods
-
__construct()
: mixed
-
getAiProviderId()
: int
-
getCreatedAt()
: string
-
getDurationMs()
: int|null
-
getError()
: string|null
-
getHttpStatus()
: int|null
-
getId()
: int
-
getInputTokens()
: int|null
-
getIp()
: string|null
-
getModel()
: string
-
getOauthClientId()
: string|null
-
getOauthClientName()
: string|null
-
getOutputTokens()
: int|null
-
getProjectId()
: int|null
-
getPromptAction()
: string|null
-
getPromptId()
: int|null
-
getRequestId()
: string
-
getSourceAction()
: string
-
getStatus()
: string
-
getTokenName()
: string|null
-
getTotalCost()
: float|null
-
getUserAgent()
: string|null
-
getUserId()
: int|null
-
isAutoTriggered()
: bool
-
isSystemCredentials()
: bool
$aiProviderId
protected
int
$aiProviderId
$createdAt
protected
string
$createdAt
$durationMs
protected
int|null
$durationMs
$error
protected
string|null
$error
$httpStatus
protected
int|null
$httpStatus
$id
protected
int
$id
protected
int|null
$inputTokens
$ip
protected
string|null
$ip
$isAutoTriggered
protected
bool
$isAutoTriggered
$model
protected
string
$model
$oauthClientId
protected
string|null
$oauthClientId
$oauthClientName
protected
string|null
$oauthClientName
$outputTokens
protected
int|null
$outputTokens
$projectId
protected
int|null
$projectId
$promptAction
protected
string|null
$promptAction
$promptId
protected
int|null
$promptId
$requestId
protected
string
$requestId
$sourceAction
protected
string
$sourceAction
$status
protected
string
$status
$systemCredentials
protected
bool
$systemCredentials
$tokenName
protected
string|null
$tokenName
$totalCost
protected
float|null
$totalCost
$userAgent
protected
string|null
$userAgent
$userId
protected
int|null
$userId
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
= []
-
getAiProviderId()
public
getAiProviderId() : int
getCreatedAt()
public
getCreatedAt() : string
getDurationMs()
public
getDurationMs() : int|null
getError()
public
getError() : string|null
Return values
string|null
getHttpStatus()
public
getHttpStatus() : int|null
getId()
public
getId() : int
public
getInputTokens() : int|null
getIp()
public
getIp() : string|null
Return values
string|null
getModel()
public
getModel() : string
getOauthClientId()
public
getOauthClientId() : string|null
Return values
string|null
getOauthClientName()
public
getOauthClientName() : string|null
Return values
string|null
getOutputTokens()
public
getOutputTokens() : int|null
getProjectId()
public
getProjectId() : int|null
getPromptAction()
public
getPromptAction() : string|null
Return values
string|null
getPromptId()
public
getPromptId() : int|null
getRequestId()
public
getRequestId() : string
getSourceAction()
public
getSourceAction() : string
getStatus()
public
getStatus() : string
getTokenName()
public
getTokenName() : string|null
Return values
string|null
getTotalCost()
public
getTotalCost() : float|null
getUserAgent()
public
getUserAgent() : string|null
Return values
string|null
getUserId()
public
getUserId() : int|null
isAutoTriggered()
public
isAutoTriggered() : bool
isSystemCredentials()
public
isSystemCredentials() : bool