Agent

Get Agent Session

Changed on

Read the current status, latest assistant text, and deliverables of a session owned by the caller in the authenticated workspace. Does not wait for completion.

get/agent/session/{sessionId}

Request

  • Base URL: https://api.krea.ai
  • URL: https://api.krea.ai/agent/session/{sessionId}
  • Auth: HTTP bearer

Path parameters

sessionIdstring uuid required

Session id returned by send_agent_message

Response

The Agent session result.

sessionIdstring required
threadIdstring required
runIdstring
status'not_started' | 'running' | 'completed' | 'failed' | 'cancelled' required
finishedboolean required

True once status is completed, failed, or cancelled

textstring required

Latest assistant message text

errorstring
urlstring required

The session in the Krea app

Changes