| _idId —  OPTIONALMongoDB document ObjectID | 
| idIdThe identifier, which can be referenced in API endpoints. | 
| objectObject22Possible values: [thread.run]The object type, which is always thread.run. | 
| created_atCreated AtThe Unix timestamp (in seconds) for when the run was created. | 
| thread_idThread IdThe ID of the thread that was executed on as a part of this run. | 
| assistant_idAssistant IdThe ID of the assistant used for execution of this run. | 
| statusStatus2Possible values: [queued,in_progress,requires_action,cancelling,cancelled,failed,completed,expired]The status of the run, which can be either queued,in_progress,requires_action,cancelling,cancelled,failed,completed, orexpired. | 
| required_actionobject —  OPTIONALDetails on the action required to continue the run. Will be nullif no action is required.| typeType10Possible values: [submit_tool_outputs]For now, this is always submit_tool_outputs. |  | submit_tool_outputsobjectDetails on the tool outputs needed for this run to continue.| tool_callsobject[]A list of the relevant tool calls.| idIdThe 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. |  | typeType11Possible values: [function]The type of tool call the output is required for. For now, this is always function. |  | functionobject| nameNameThe name of the function. |  | argumentsArgumentsThe arguments that the model expects you to pass to the function. | 
 | 
 | 
 | 
 | 
| last_errorobject —  OPTIONALThe last error associated with this run. Will be nullif there are no errors.| codeCodePossible values: [server_error,rate_limit_exceeded]One of server_errororrate_limit_exceeded. |  | messageMessageA human-readable description of the error. | 
 | 
| expires_atExpires At —  OPTIONALThe Unix timestamp (in seconds) for when the run will expire. | 
| started_atStarted At —  OPTIONALThe Unix timestamp (in seconds) for when the run was started. | 
| cancelled_atCancelled At —  OPTIONALThe Unix timestamp (in seconds) for when the run was cancelled. | 
| failed_atFailed At —  OPTIONALThe Unix timestamp (in seconds) for when the run failed. | 
| completed_atCompleted At —  OPTIONALThe Unix timestamp (in seconds) for when the run was completed. | 
| modelModelThe model that the assistant used for this run. | 
| instructionsInstructionsThe instructions that the assistant used for this run. | 
| toolsundefined[]The list of tools that the assistant used for this run. | 
| file_idsstring[] | 
| metadataobjectSet 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. |