Run steps
objectRepresents a step in execution of a run.
The identifier of the run step, which can be referenced in API endpoints.
The object type, which is always thread.run.step.
Allowed values:thread.run.step
The Unix timestamp (in seconds) for when the run step was created.
The ID of the assistant associated with the run step.
The ID of the thread that was run.
The ID of the run that this run step is a part of.
The type of run step, which can be either message_creation or tool_calls.
Allowed values:message_creationtool_calls
The status of the run step, which can be either in_progress, cancelled, failed, completed, or expired.
Allowed values:in_progresscancelledfailedcompletedexpired
One OfThe details of the run step.
Details of the message creation by the run step.
Show Child Parameters
The last error associated with this run step. Will be null if there are no errors.
Show Child Parameters
The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.
The Unix timestamp (in seconds) for when the run step was cancelled.
The Unix timestamp (in seconds) for when the run step failed.
The Unix timestamp (in seconds) for when the run step completed.
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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings
with a maximum length of 512 characters.
Usage statistics related to the run step. This value will be null while the run step’s status is in_progress.
Show Child Parameters
RunStepStreamEvent
One OfAllowed values:thread.run.step.created
Represents a step in execution of a run.
Show Child Parameters
RunStreamEvent
One OfAllowed values:thread.run.created
Represents an execution run on a thread.
Show Child Parameters
RunToolCallObject
objectTool call objects
The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the Submit tool outputs to run endpoint.
The type of tool call the output is required for. For now, this is always function.
Allowed values:function
The function definition.
Show Child Parameters
StaticChunkingStrategy
objectThe maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.
>= 100<= 4096
The number of tokens that overlap between chunks. The default value is 400.
Note that the overlap must not exceed half of max_chunk_size_tokens.