Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Beta.Threads.Runs.Steps.RunStep

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: RunStep

Runs.Steps.RunStep

Represents a step in execution of a run.

Table of contents

Properties

Properties

assistant_id

assistant_id: string

The ID of the assistant associated with the run step.

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:166


cancelled_at

cancelled_at: null | number

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:170


completed_at

completed_at: null | number

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:174


created_at

created_at: number

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:178


expired_at

expired_at: null | number

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:183


failed_at

failed_at: null | number

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:187


id

id: string

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:160


last_error

last_error: null | LastError

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:192


metadata

metadata: unknown

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.

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:199


object

object: "thread.run.step"

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:203


run_id

run_id: string

The ID of the run that this run step is a part of.

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:208


status

status: "in_progress" | "cancelled" | "failed" | "completed" | "expired"

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:213


step_details

step_details: MessageCreationStepDetails | ToolCallsStepDetails

The details of the run step.

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:217


thread_id

thread_id: string

The ID of the thread that was run.

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:222


type

type: "tool_calls" | "message_creation"

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

Defined in

node_modules/openai/resources/beta/threads/runs/steps.d.ts:226

Typescript Libraries

Modules

Namespaces

Clone this wiki locally