Update Agent Session
PATCH/api/v1/agent_session/update/:agent_session_id
Update an agent session using the repository.
Args
response (Response): The response object. agent_session_id (str): The ID of the agent session to update. agent_session_changes (RepoUpdateSchema): The changes to apply to the agent session. org_member: The organizational member making the request. db (AsyncSession): The database session.
Returns
AgentSessionInDBSchema: The updated agent session with HTTP status of status.HTTP_200_OK.
Important observations
- The workspace membership is validated based on the session's workspace.
Request
Responses
- 200
- 422
Successful Response
Validation Error