# What replacing this commitment costs today

> Priced from the current offering rather than from the expiring term, whose price is as old as the term. error_message carries a lookup that failed, so an unpriced renewal reads as unpriced rather than as zero.

Source: https://docs.levelfour.ai/api-reference/commitments/get-commitments-renewal-quote-by-id


## GET /api/v1/commitments/renewal-quote/{commitment_id}

Priced from the current offering rather than from the expiring term, whose price is as old as the term. error_message carries a lookup that failed, so an unpriced renewal reads as unpriced rather than as zero.

### Authentication

Send `Authorization: Bearer <token>`.

### Parameters

- `commitment_id` (path, string, required)

### Responses

#### 200: Successful Response

- `success` (boolean, default `true`)
- `timestamp` (date-time string)
- `data` (object, required)
  - `commitment_id` (string, required)
  - `offering_id` (string, nullable)
  - `term_months` (integer, nullable)
  - `payment_option` (string, nullable)
  - `qty` (integer, nullable)
  - `currency` (string, nullable)
  - `fixed_price` (number, nullable)
  - `recurring_hourly` (number, nullable)
  - `usage_hourly` (number, nullable)
  - `upfront` (number, nullable)
  - `commitment_hourly` (number, nullable)
  - `error_message` (string, nullable)
  - `quoted_at` (string, nullable)
  - `term` (object, nullable)
    - `currency` (string, required)
    - `term_hours` (integer, required)
    - `upfront_total` (number, required)
    - `recurring_hourly_total` (number, required)
    - `term_total` (number, required)

#### Errors

- `400`: Bad Request
- `401`: Authentication Error
- `403`: Authorization Error
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `429`: Rate Limit Exceeded
- `500`: Internal Server Error

Body of `400`, `401`, `403`, `404`, `409`, `422`, `429`, `500`:

- `success` (`false`, required)
- `error` (object, required)
  - `code` (string, required)
  - `message` (string, required)
  - `details` (any)
- `timestamp` (date-time string, required)
