Skip to main content
The rationale is that we are likely to change the AgentStepResponse in the future and we want to be able to handle the legacy response. This is a temporary solution to avoid breaking changes

Fields

agent_id
str
required
The ID of the agent
created_at
datetime
required
The creation time of the agent
session_id
str
required
The ID of the session
status
AgentStatus
required
The status of the agent (active or closed)
closed_at
UnionType[datetime, None]
The closing time of the agent
saved
bool
default:"False"
Whether the agent is saved as a workflow
task
str
required
The task that the agent is currently running
url
UnionType[str, None]
The URL that the agent started on
success
UnionType[bool, None]
Whether the agent task was successful. None if the agent is still running
answer
UnionType[str, None]
The answer to the agent task. None if the agent is still running
steps
list[Dict[str, Any]]
required

Module

notte_sdk.endpoints.agents