> For the complete documentation index, see [llms.txt](https://deepmode.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deepmode.gitbook.io/docs/api-endpoints/handling-models/extend-model.md).

# 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

<table><thead><tr><th width="224">Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td>string</td><td>Yes</td><td>The unique identifier of the model to be extended.</td></tr></tbody></table>

#### Request Example

```bash
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:

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

```
