Packages

final case class RunStepObject(id: String, object: RunStepObject.Object, createdAt: Int, assistantId: String, threadId: String, runId: String, type: RunStepObject.Type, status: Status, stepDetails: StepDetails, lastError: Optional[LastError], expiredAt: Optional[Int], cancelledAt: Optional[Int], failedAt: Optional[Int], completedAt: Optional[Int], metadata: Optional[Metadata]) extends Product with Serializable

RunStepObject model

Represents a step in execution of a run.

id

The identifier of the run step, which can be referenced in API endpoints.

object

The object type, which is always thread.run.step.

createdAt

The Unix timestamp (in seconds) for when the run step was created.

assistantId

The ID of the [assistant](/docs/api-reference/assistants) associated with the run step.

threadId

The ID of the [thread](/docs/api-reference/threads) that was run.

runId

The ID of the [run](/docs/api-reference/runs) that this run step is a part of.

type

The type of run step, which can be either message_creation or tool_calls.

status

The status of the run step, which can be either in_progress, cancelled, failed, completed, or expired.

stepDetails

The details of the run step.

lastError

The last error associated with this run step. Will be null if there are no errors.

expiredAt

The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.

cancelledAt

The Unix timestamp (in seconds) for when the run step was cancelled.

failedAt

The Unix timestamp (in seconds) for when the run step failed.

completedAt

The Unix timestamp (in seconds) for when the run step completed.

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunStepObject
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RunStepObject(id: String, object: RunStepObject.Object, createdAt: Int, assistantId: String, threadId: String, runId: String, type: RunStepObject.Type, status: Status, stepDetails: StepDetails, lastError: Optional[LastError], expiredAt: Optional[Int], cancelledAt: Optional[Int], failedAt: Optional[Int], completedAt: Optional[Int], metadata: Optional[Metadata])

    id

    The identifier of the run step, which can be referenced in API endpoints.

    object

    The object type, which is always thread.run.step.

    createdAt

    The Unix timestamp (in seconds) for when the run step was created.

    assistantId

    The ID of the [assistant](/docs/api-reference/assistants) associated with the run step.

    threadId

    The ID of the [thread](/docs/api-reference/threads) that was run.

    runId

    The ID of the [run](/docs/api-reference/runs) that this run step is a part of.

    type

    The type of run step, which can be either message_creation or tool_calls.

    status

    The status of the run step, which can be either in_progress, cancelled, failed, completed, or expired.

    stepDetails

    The details of the run step.

    lastError

    The last error associated with this run step. Will be null if there are no errors.

    expiredAt

    The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.

    cancelledAt

    The Unix timestamp (in seconds) for when the run step was cancelled.

    failedAt

    The Unix timestamp (in seconds) for when the run step failed.

    completedAt

    The Unix timestamp (in seconds) for when the run step completed.

    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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val assistantId: String
  6. val cancelledAt: Optional[Int]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val completedAt: Optional[Int]
  9. val createdAt: Int
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val expiredAt: Optional[Int]
  12. val failedAt: Optional[Int]
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val id: String
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val lastError: Optional[LastError]
  18. val metadata: Optional[Metadata]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val object: RunStepObject.Object
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val runId: String
  25. val status: Status
  26. val stepDetails: StepDetails
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. val threadId: String
  29. val type: RunStepObject.Type
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped