Wait For Agent Session
Changed onWait until the Agent turn finishes or timeoutSeconds elapses (default 60, maximum 300). Pass the runId returned by send-message so an earlier turn is not mistaken for this one. Call again when timedOut is true until finished is true. A timeout does not stop the turn.
Request
- Base URLhttps://api.krea.ai
- AuthHTTP bearer
Request body
Session id returned by send_agent_message
runId from send_agent_message, so a previous turn's finished status is not mistaken for this one
Response
The Agent session result.
True once status is completed, failed, or cancelled
Latest assistant message text
Media the session produced — the deliverables the agent presented, plus its other generations while a turn is running. Order is not significant. Each item is {jobId, mediaKind?} for a generation (fetch it with get_job), {url} for rehosted media, or {uri, name, mimeType} for a Krea file (read it with read_files)
The session in the Krea app
Changes
- info
added the optional property
required_planto the response with the status - info
added the optional property
required_planto the response with the status - info
added the optional property
required_planto the response with the status
4 more changes in this revision
- info