Light Logo
JavaScript SDK (v0.34.0)Reference

PredictionWithIO

Represents a prediction with I/O details.

Interface: PredictionWithIO

Represents a prediction with I/O details.

Extends

Properties

created_at

created_at: string

Timestamp when the prediction was created.

Inherited from

Prediction.created_at


error

error: null | TaskError

Error details if the prediction failed.


execution_time

execution_time: null | string

Time taken to execute the prediction.

Inherited from

Prediction.execution_time


id

id: string

Unique identifier for the prediction.

Inherited from

Prediction.id


input

input: JsonValue

Input data provided for the prediction.


logs

logs: null | string[]

Logs generated during prediction execution.


model

model: PredictionModel

The model of the prediction.

Inherited from

Prediction.model


output

output: JsonValue

Output generated by the prediction.


setup_logs

setup_logs: null | string[]

Logs generated during setup.


setup_time

setup_time: null | string

Time taken to set up the prediction environment.

Inherited from

Prediction.setup_time


status

status: Status

Current status of the prediction.

Inherited from

Prediction.status


updated_at

updated_at: string

Timestamp of the last update to the prediction.

Inherited from

Prediction.updated_at


url

url: string

URL to access the prediction resource.

Inherited from

Prediction.url