tracer-sessions

Delete Tracer Session

Changed on

Delete a specific project.

Returns 202 when deletion is accepted. Cleanup runs asynchronously. Location identifies the affected project, not a cleanup-status endpoint. For a caller with read access, GET at that URL returns 200 with the project while it is still available, or 404 after the project is removed. A 404 does not confirm that background trace cleanup has finished. Polling for cleanup completion is not supported.

delete/api/v1/sessions/{session_id}

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/sessions/{session_id}
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

session_idstring uuid required

Response

Deletion accepted; background cleanup may still be running.

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status