Runs

Wait for run (long-poll)

Block until the run reaches a terminal state or the timeout expires. Simpler alternative to SSE for agents that cannot consume event streams. Returns timeout: true in the response if the deadline was reached.

get/runs/{runId}/wait

Request

  • Base URL: https://app.uselamina.ai/v1
  • URL: https://app.uselamina.ai/v1/runs/{runId}/wait
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

runIdstring uuid required

Query parameters

timeoutinteger

Max seconds to wait (default 60, max 120)

Response

Run status (may include timeout: true)

timeoutboolean

Changes

No recorded changes to this operation across all 1 revision of this API.