Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (40 loc) · 2.35 KB

RunStepObject.md

File metadata and controls

46 lines (40 loc) · 2.35 KB

OpenapiClient::RunStepObject

Properties

Name Type Description Notes
id String The identifier of the run step, which can be referenced in API endpoints.
object String The object type, which is always `assistant.run.step``.
created_at Integer The Unix timestamp (in seconds) for when the run step was created.
assistant_id String The ID of the assistant associated with the run step.
thread_id String The ID of the thread that was run.
run_id String The ID of the run that this run step is a part of.
type String The type of run step, which can be either `message_creation` or `tool_calls`.
status String The status of the run, which can be either `in_progress`, `cancelled`, `failed`, `completed`, or `expired`.
step_details RunStepObjectStepDetails
last_error RunStepObjectLastError
expired_at Integer The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.
cancelled_at Integer The Unix timestamp (in seconds) for when the run step was cancelled.
failed_at Integer The Unix timestamp (in seconds) for when the run step failed.
completed_at Integer The Unix timestamp (in seconds) for when the run step completed.
metadata Object 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.

Example

require 'openapi_client'

instance = OpenapiClient::RunStepObject.new(
  id: null,
  object: null,
  created_at: null,
  assistant_id: null,
  thread_id: null,
  run_id: null,
  type: null,
  status: null,
  step_details: null,
  last_error: null,
  expired_at: null,
  cancelled_at: null,
  failed_at: null,
  completed_at: null,
  metadata: null
)