Tenants

Tenant view and update operations. More info about compliance can be found from from Agreements & Compliance documentation.

Get active tenant

GET
https://api.prompteasy.eu/v1/tenant

Response

200OKTenant

Tenant object

Response fields application/json
idstring<uuid>
Example
a81d4a03-7cf5-4cf0-9dc8-f5e1823793df
namestring
Example
Acme Inc.
emailstring
Example
foo@bar.invalid
countrystring
Example
FI
postal_codestring
Example
12345
vat_idstring
Example
FI12345678
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
pm_typestring
Example
visa
pm_last_fourstring
Example
4242
planobject
Show child attributes
idinteger
Example
1
namestring
Example
Enterprise Plan
slugstring
Example
enterprise
paymentstring
Example
post-paid
seatsinteger
Example
10
durationstring
Example
month
price_vat0integer
Example
4900
vatinteger
Example
24
price_with_vatinteger
Example
6076
currencystring
Example
EUR
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
tax_exemptboolean
Example
false
quantityinteger
Example
10
ends_atstring<date-time>
Example
2025-12-25T13:12:29+00:00
billing_portalstring
Example
https://billing.prompteasy.eu/...
high_risk_aiboolean
Example
false
cfo_board_enabledboolean

Indicates whether the CFO Board telemetry pipeline is enabled for the tenant

Example
true
compliance_monthsinteger
Example
6
contractsobject
Show child attributes
Show child attributes
signedboolean
Example
true
signed_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
signatorystring
Example
John Doe
Show child attributes
signedboolean
Example
true
signed_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
signatorystring
Example
John Doe
Show child attributes
signedboolean
Example
true
signed_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
signatorystring
Example
John Doe
Show child attributes
is_individualboolean
Example
false
ai_enabledboolean
Example
false
suggestion_auto_approveboolean
Example
false
pagination_per_pageinteger
Example
50
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Update a tenant

PUT
https://api.prompteasy.eu/v1/tenant

Body

application/json
is_individualboolean
Example
false
ai_enabledboolean
Example
true
suggestion_auto_approveboolean
Example
true
pagination_per_pageinteger
Example
20
high_risk_aiboolean

Whether high risk AI features are enabled

Example
true

Response

200OKTenant

Tenant object

Response fields application/json
idstring<uuid>
Example
a81d4a03-7cf5-4cf0-9dc8-f5e1823793df
namestring
Example
Acme Inc.
emailstring
Example
foo@bar.invalid
countrystring
Example
FI
postal_codestring
Example
12345
vat_idstring
Example
FI12345678
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
pm_typestring
Example
visa
pm_last_fourstring
Example
4242
planobject
Show child attributes
idinteger
Example
1
namestring
Example
Enterprise Plan
slugstring
Example
enterprise
paymentstring
Example
post-paid
seatsinteger
Example
10
durationstring
Example
month
price_vat0integer
Example
4900
vatinteger
Example
24
price_with_vatinteger
Example
6076
currencystring
Example
EUR
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
tax_exemptboolean
Example
false
quantityinteger
Example
10
ends_atstring<date-time>
Example
2025-12-25T13:12:29+00:00
billing_portalstring
Example
https://billing.prompteasy.eu/...
high_risk_aiboolean
Example
false
cfo_board_enabledboolean

Indicates whether the CFO Board telemetry pipeline is enabled for the tenant

Example
true
compliance_monthsinteger
Example
6
contractsobject
Show child attributes
Show child attributes
signedboolean
Example
true
signed_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
signatorystring
Example
John Doe
Show child attributes
signedboolean
Example
true
signed_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
signatorystring
Example
John Doe
Show child attributes
signedboolean
Example
true
signed_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
signatorystring
Example
John Doe
Show child attributes
is_individualboolean
Example
false
ai_enabledboolean
Example
false
suggestion_auto_approveboolean
Example
false
pagination_per_pageinteger
Example
50
403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Download unencrypted compliance data

GET
https://api.prompteasy.eu/v1/tenant/custody

Response

200OKstring<binary>

A raw, unencrypted JSONL file containing the compliance details of the tenant.

Response fields application/x-jsonlines
string<binary>
401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)