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
Tenant object
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update a tenant
PUT
https://api.prompteasy.eu/v1/tenant
Body
application/json
is_ individualbooleanExample
falseai_ enabledbooleanExample
truesuggestion_ auto_ approvebooleanExample
truepagination_ per_ pageintegerExample
20high_ risk_ aibooleanWhether high risk AI features are enabled
Example
trueResponse
Tenant object
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (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.
401Unauthorized
Unauthorized
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)