Replica

Wait for replica

Waits until the replica finishes starting and its agents finish their work, including background tasks they will wake up for, then returns its chats and activity. Without chat_id, background tasks count as work. Returns done: false after timeout_seconds (max 50) if work is still running, or as soon as the agent waits for input; call it again to keep waiting. Use Stream events for live updates.

get/v1/replica/{id}/wait

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/replica/{id}/wait
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Replica ID

Query parameters

chat_idstring

Wait for only this chat

timeout_secondsinteger

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Response

Result

doneboolean required
statusstring required
deletedboolean

The replica was deleted once its agents finished (delete_when_done).

Changes

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