Skip to main content

Delete Agent Session

DELETE 

/api/v1/agent_session/delete/:agent_session_id

Delete an agent session using the repository.

Args

response (Response): The response object. agent_session_id (str): The ID of the agent session to delete. org_member: The organizational member making the request. db (AsyncSession): The database session.

Returns

None: HTTP status of status.HTTP_204_NO_CONTENT.

Important observations

  • The workspace membership is validated based on the session's workspace.

Request

Responses

Successful Response