Delete a session
DELETE/v1/projects/:project_id/sessions/:session_id
Deletes the session and its underlying conversation and messages. The session's actor is not deleted. Generations and traces produced by the session are not deleted either, since they are not linked to the session or conversation.
Request
Responses
- 204
- 401
- 403
- 404
Session deleted
Missing or invalid credentials.
The credential is scoped to a different project, or the caller's role in the project does not carry this action.
The resource does not exist (existence is not leaked).