Extend Model

Extends the expiration date of a specific model by 30 days.

This operation costs 20 credits.

Endpoint

POST /api/models/{id}/extend

Parameters

Parameter
Type
Required
Description

id

string

Yes

The unique identifier of the model to be extended.

Request Example

curl -X POST "https://api.deepmode.ai/api/models/f7e5d1c3a2f91e3d5c6b8/extend" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY" 

Response

Upon successful extension, the API returns the following response:

{
  "updated_expire_at": "2024-05-01T12:00:00Z"
}

Last updated