final case class RunObject(id: String, object: Object, createdAt: Int, threadId: String, assistantId: String, status: Status, requiredAction: Optional[RequiredAction], lastError: Optional[LastError], expiresAt: Int, startedAt: Optional[Int], cancelledAt: Optional[Int], failedAt: Optional[Int], completedAt: Optional[Int], model: String, instructions: String, tools: Chunk[ToolsItem], fileIds: Chunk[String], metadata: Optional[Metadata], usage: RunCompletionUsage) extends Product with Serializable
RunObject model
Represents an execution run on a [thread](/docs/api-reference/threads).
- id
The identifier, which can be referenced in API endpoints.
- object
The object type, which is always
thread.run.- createdAt
The Unix timestamp (in seconds) for when the run was created.
- threadId
The ID of the [thread](/docs/api-reference/threads) that was executed on as a part of this run.
- assistantId
The ID of the [assistant](/docs/api-reference/assistants) used for execution of this run.
- status
The status of the run, which can be either
queued,in_progress,requires_action,cancelling,cancelled,failed,completed, orexpired.- requiredAction
Details on the action required to continue the run. Will be
nullif no action is required.- lastError
The last error associated with this run. Will be
nullif there are no errors.- expiresAt
The Unix timestamp (in seconds) for when the run will expire.
- startedAt
The Unix timestamp (in seconds) for when the run was started.
- cancelledAt
The Unix timestamp (in seconds) for when the run was cancelled.
- failedAt
The Unix timestamp (in seconds) for when the run failed.
- completedAt
The Unix timestamp (in seconds) for when the run was completed.
- model
The model that the [assistant](/docs/api-reference/assistants) used for this run.
- instructions
The instructions that the [assistant](/docs/api-reference/assistants) used for this run.
- tools
The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.
- fileIds
The list of [File](/docs/api-reference/files) IDs the [assistant](/docs/api-reference/assistants) used for this run.
- 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.
- Alphabetic
- By Inheritance
- RunObject
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RunObject(id: String, object: Object, createdAt: Int, threadId: String, assistantId: String, status: Status, requiredAction: Optional[RequiredAction], lastError: Optional[LastError], expiresAt: Int, startedAt: Optional[Int], cancelledAt: Optional[Int], failedAt: Optional[Int], completedAt: Optional[Int], model: String, instructions: String, tools: Chunk[ToolsItem], fileIds: Chunk[String], metadata: Optional[Metadata], usage: RunCompletionUsage)
- id
The identifier, which can be referenced in API endpoints.
- object
The object type, which is always
thread.run.- createdAt
The Unix timestamp (in seconds) for when the run was created.
- threadId
The ID of the [thread](/docs/api-reference/threads) that was executed on as a part of this run.
- assistantId
The ID of the [assistant](/docs/api-reference/assistants) used for execution of this run.
- status
The status of the run, which can be either
queued,in_progress,requires_action,cancelling,cancelled,failed,completed, orexpired.- requiredAction
Details on the action required to continue the run. Will be
nullif no action is required.- lastError
The last error associated with this run. Will be
nullif there are no errors.- expiresAt
The Unix timestamp (in seconds) for when the run will expire.
- startedAt
The Unix timestamp (in seconds) for when the run was started.
- cancelledAt
The Unix timestamp (in seconds) for when the run was cancelled.
- failedAt
The Unix timestamp (in seconds) for when the run failed.
- completedAt
The Unix timestamp (in seconds) for when the run was completed.
- model
The model that the [assistant](/docs/api-reference/assistants) used for this run.
- instructions
The instructions that the [assistant](/docs/api-reference/assistants) used for this run.
- tools
The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.
- fileIds
The list of [File](/docs/api-reference/files) IDs the [assistant](/docs/api-reference/assistants) used for this run.
- 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.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val assistantId: String
- val cancelledAt: Optional[Int]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val completedAt: Optional[Int]
- val createdAt: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expiresAt: Int
- val failedAt: Optional[Int]
- val fileIds: Chunk[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val id: String
- val instructions: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastError: Optional[LastError]
- val metadata: Optional[Metadata]
- val model: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val object: Object
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requiredAction: Optional[RequiredAction]
- val startedAt: Optional[Int]
- val status: Status
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val threadId: String
- val tools: Chunk[ToolsItem]
- val usage: RunCompletionUsage
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])