Get Agent Session
GET/api/v1/agent_session/:agent_session_id
Retrieve an agent session by its ID.
Args
response (Response): The response object. agent_session_id (str): The ID of the agent session to retrieve. org_member: The organizational member making the request. db (AsyncSession): The database session.
Returns
AgentSessionInDBSchema: The 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