Create Run
This API endpoint creates a Run on a specific Thread using the POST
method.
Body
ID of the Assistant (Mind) that will be used to run the Thread.
Stream Mind’s thoughts by setting this parameter to true.
Response
Unique identifier for the run.
ID of the Assistant associated with the run.
Timestamp when the run was cancelled.
Timestamp when the run was completed.
Timestamp when the run was created.
Expiration time for the run.
Timestamp when the run failed.
Details about why the run was incomplete, if applicable.
Instructions sent to the Assistant.
Details about the last error, if any.
Maximum number of tokens for the completion.
Maximum number of tokens for the prompt.
Additional metadata for the run.
Model name used for the run.
Type of the returned object (e.g., “thread.run”).
Actions required before proceeding.
Format of the response.
Timestamp when the run started.
Current status of the run (e.g., “queued”, “in_progress”).
ID of the thread associated with the run.
Chosen tool for the run.
List of tools used during the run.
Strategy used to truncate input.
Usage statistics for the run.
Sampling temperature for randomness.
Top-p sampling parameter.
Authorization
A valid API key must be passed in the Authorization
header:
Generate your API key here.
Path Parameters
ID of the Thread to run.