id |
String |
The identifier, which can be referenced in API endpoints. |
|
_object |
ObjectEnum |
The object type, which is always `thread.run`. |
|
createdAt |
Integer |
The Unix timestamp (in seconds) for when the run was created. |
|
threadId |
String |
The ID of the thread that was executed on as a part of this run. |
|
assistantId |
String |
The ID of the assistant used for execution of this run. |
|
status |
StatusEnum |
The status of the run, which can be either `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`, or `expired`. |
[optional] |
requiredAction |
RunObjectRequiredAction |
|
[optional] |
lastError |
RunObjectLastError |
|
[optional] |
expiresAt |
Integer |
The Unix timestamp (in seconds) for when the run will expire. |
[optional] |
startedAt |
Integer |
The Unix timestamp (in seconds) for when the run was started. |
[optional] |
cancelledAt |
Integer |
The Unix timestamp (in seconds) for when the run was cancelled. |
[optional] |
failedAt |
Integer |
The Unix timestamp (in seconds) for when the run failed. |
[optional] |
completedAt |
Integer |
The Unix timestamp (in seconds) for when the run was completed. |
[optional] |
incompleteDetails |
RunObjectIncompleteDetails |
|
[optional] |
model |
String |
The model that the assistant used for this run. |
|
instructions |
String |
The instructions that the assistant used for this run. |
|
tools |
List<AssistantObjectToolsInner> |
The list of tools that the assistant used for this run. |
|
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 maximum of 512 characters long. |
|
usage |
RunCompletionUsage |
|
[optional] |
temperature |
BigDecimal |
The sampling temperature used for this run. If not set, defaults to 1. |
[optional] |
topP |
BigDecimal |
The nucleus sampling value used for this run. If not set, defaults to 1. |
[optional] |
maxPromptTokens |
Integer |
The maximum number of prompt tokens specified to have been used over the course of the run. |
|
maxCompletionTokens |
Integer |
The maximum number of completion tokens specified to have been used over the course of the run. |
|
truncationStrategy |
TruncationObject |
|
|
toolChoice |
AssistantsApiToolChoiceOption |
|
[optional] |
parallelToolCalls |
Boolean |
Whether to enable parallel function calling during tool use. |
[optional] |
responseFormat |
AssistantsApiResponseFormatOption |
|
|