Add Agent Session Step
POST/api/v1/agent_session/steps/append/:agent_session_id
Append a step to an agent session.
Args
response (Response): The response object. agent_session_id (str): The ID of the agent session to add the step to. agent_session_step (AgentSessionStep): The step to add to the agent session. org_member: The organizational member making the request. db (AsyncSession): The database session.
Returns
AgentSessionInDBSchema: Full Agent Session after update
Important observations
- The workspace membership is validated based on the session's workspace.
Request
Responses
- 201
- 422
Successful Response
Validation Error