Get license state
GET
/v1/license
const url = 'http://localhost:8080/v1/license';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/licenseReturns whether a license is installed, valid or expired, the licensed institution, tier, expiry and any validation error. Once the license has expired intake goes read-only; creating packages and uploading documents answer 422; while everything already in the system stays reachable. Any staff role or an API key with status:read.
Responses
Section titled “Responses”OK
Media typeapplication/json
What the installed license currently allows.
object
installed
required
boolean
valid
required
boolean
expired
required
boolean
license
required
error
required
null | string
checkedAt
required
string format: date-time
intakeWritable
Intake is read-only once the license has expired; everything already in the system stays reachable.
boolean
Examplegenerated
{ "installed": true, "valid": true, "expired": true, "license": { "institution": "example", "tier": "example", "airGapped": true, "expiresAt": "2026-04-15T12:00:00Z", "installId": "example" }, "error": "example", "checkedAt": "2026-04-15T12:00:00Z", "intakeWritable": true}