FailedInferenceResponse
extends BaseResponse
in package
Webhook payload returned when an inference fails before producing a result.
Table of Contents
Properties
- $createdAt : DateTimeImmutable
- $error : ErrorResponse
- $fileAlias : string
- $fileName : string
- $inferenceId : string
- $modelId : string
Methods
- __construct() : mixed
- getRawHttp() : string
Properties
$createdAt
public
DateTimeImmutable
$createdAt
Date and time when the inference was started.
$error
public
ErrorResponse
$error
Problem details for the failure, if available.
$fileAlias
public
string
$fileAlias
Alias sent for the file, if any.
$fileName
public
string
$fileName
Name of the input file.
$inferenceId
public
string
$inferenceId
UUID of the failed inference.
$modelId
public
string
$modelId
UUID of the model used.
Methods
__construct()
public
__construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
- $rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Raw server response array.
Tags
getRawHttp()
public
getRawHttp() : string
Return values
string —Raw dump of the JSON response.