Represents an execution run on a thread
Value parameters
- assistantId
-
The ID of the assistant used for execution of this run.
- cancelledAt
-
The Unix timestamp (in seconds) for when the run was cancelled.
- completedAt
-
The Unix timestamp (in seconds) for when the run was completed.
- createdAt
-
The Unix timestamp (in seconds) for when the run was created.
- expiresAt
-
The Unix timestamp (in seconds) for when the run will expire.
- failedAt
-
The Unix timestamp (in seconds) for when the run failed.
- fileIds
-
The list of File IDs the assistant used for this run.
- id
-
The identifier, which can be referenced in API endpoints.
- instructions
-
The instructions that the assistant used for this run.
- lastError
-
The last error associated with this run. Will be null if there are no errors.
- metadata
-
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.
- model
-
The model that the assistant used for this run.
- object
-
The object type, which is always thread.run.
- requiredAction
-
Details on the action required to continue the run. Will be null if no action is required.
- startedAt
-
The Unix timestamp (in seconds) for when the run was started.
- status
-
The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, or expired.
- threadId
-
The ID of the thread that was executed on as a part of this run.
- tools
-
The list of tools that the assistant used for this run.
- usage
-
Usage statistics related to the run. This value will be null if the run is not in a terminal state (i.e. in_progress, queued, etc.). For more information please visit: https://platform.openai.com/docs/api-reference/runs/object
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any