OpenAIOpenAI API
POST/threads/{thread_id}/runs/{run_id}
Manage modify Run.
Contract-preserving POST Endpoint for modify Run in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.
All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
modifyRun- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
thread_id
pathstringrequired
thread id value in the OpenAI API contract.
run_id
pathstringrequired
run id value in the OpenAI API contract.
Request body
ModifyRunRequestrequired
Content-Type: application/json
Properties: metadata
Responses
200
RunObjectapplication/json
Successful supplier response.
Properties: assistant_idcancelled_atcompleted_atcreated_atexpires_atfailed_atidincomplete_detailsinstructionslast_errormax_completion_tokensmax_prompt_tokensmetadatamodelobjectparallel_tool_callsrequired_actionresponse_formatstarted_atstatustemperaturethread_idtool_choicetoolstop_ptruncation_strategyusage
429
ErrorResponseapplication/json
Supplier response with HTTP status 429.
Properties: error
{
"cancelled_at": 0,
"completed_at": 0,
"created_at": 0,
"expires_at": 0,
"failed_at": 0,
"incomplete_details": {
"reason": "max_completion_tokens"
}
}