---
title: "Extend Trial Endpoint"
method: POST
path: "/infra/trials/{trial_id}:extend"
tags: ["trials"]
---

# Extend Trial Endpoint

`POST /infra/trials/{trial_id}:extend`

## Request

- Base URL: `https://api.4chems.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.4chems.com/infra/trials/{trial_id}:extend`
- Auth: HTTP bearer

Extend a trial once by 1 to 30 days with a written reason (ops-realm
`sales` or `infra-admin`; the provisioner credential is refused). Also
works during the grace period, when it restarts the trial. Returns the
updated trial.

## Path parameters

- `trial_id` string, uuid, required

## Request body

- TrialExtendIn: Operator extension (UC-098); the upper bound is a 409 (`trials_extension_max_days`).
  - `days` integer, required
  - `reason` string, required

## Response `200`

Successful Response

- TrialOut
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `email_domain` string, required
  - `seed` string, required
  - `status` string, required
  - `subscription_state` string, required
  - `expires_at` string, date-time, required
  - `products` string[], required
  - `extensions_count` integer, required
  - `erasure_attestation` object, nullable, required
  - `import_ref` string, nullable, required
  - `data_loaded` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/4chems/apis/platform-api.md) · [All operations](https://skmtc.dev/4chems/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/4chems/apis/platform-api/revisions/65e4f7b4dba0?raw)
