Run agent
Runs
Run agent
Run an agent on a thread and return the completed response.
POST
Run agent
Authorizations
Authorization Bearer Token
Headers
Path Parameters
Body
application/json
Request model for creating a run.
Settings to use when calling an LLM.
This class holds optional model configuration parameters (e.g. temperature, top_p, penalties, truncation, etc.).
Not all models/providers support all of these parameters, so please check the API documentation for the specific model and provider you are using.
Specifies a JSON schema for structured output.
When provided, the LLM will be constrained to return a JSON response that matches the specified schema.
Last modified on June 18, 2026