Create a run.
API Reference: https://platform.openai.com/docs/api-reference/runs/createRun
Successful Response
const response = await fetch('/v1/threads/{thread_id}/runs', { method: 'POST', headers: {}, }); const data = await response.json();
{ "detail": [ { "loc": [ "text" ], "msg": "text", "type": "text" } ] }
const response = await fetch('/threads/{thread_id}/runs', { method: 'POST', headers: {}, }); const data = await response.json();