Skip to content

Run

Runs the agent over a message and handles the requires_action state.

Updated on Aug 09, 2026

The run returns completed when the agent answered on its own, or stops at requires_action when it asked for a tool — then it is your turn: run the actual function and return the result so the run can continue.

POSThttps://api.hinow.ai/v1/agents/{id}/runsBearer

Runs the agent over a message.

Parâmetros

  • idstring· pathobrigatório
  • inputstring· bodyobrigatório

Respostas

200Run completed or stopped waiting for tools
POSThttps://api.hinow.ai/v1/agents/{id}/runs/{runId}/tool-resultsBearer

Returns the results of the requested tools and resumes the run.

Parâmetros

  • idstring· pathobrigatório
  • runIdstring· pathobrigatório
  • resultsarray· bodyobrigatório

    One item per pending call: `{ call_id, output }`.

Respostas

200Run resumed
Was this page helpful?