Lifecycle

Returns restorable trash, or previews affected models and permanently deleted deployments when id and type are provided. Trash expires after 30 days.

get/api/trash

Request

  • Base URL
    https://platform.ultralytics.com
  • Auth
    HTTP bearer

Query parameters

idstring
Example:507f1f77bcf86cd799439011

Preview resources affected by deleting this model or project

'all'
OR
'project' | 'dataset' | 'model'
pageinteger
limitinteger

Response

Trashed items or deletion preview

OR

Changes

    • breaking

      the response's body type changed from object to no type 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 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 required property from the response with the status

    • info

      added the new optional query request parameter id

    • info

      added to the response body anyOf list for the response status

    • info

      added the non-success response with the status