Skip to Content
webagent docs
API reference

Tenant

The tenant behind the caller.

Open as .md
GET
/v1/tenant

Authorization

headerAuthorizationBearer <token>

An API key (wa_<region>_…) or a dashboard access token.

Response Body

OK

application/json
  1. response
tenant*
role*string
Value in"owner""admin""member"
quotas*
usage*
securityTerms*
Example Request
curl -X GET 'https://api.us.webagent.lookover.ai/v1/tenant'
Example Response
{  "tenant": {    "id": "string",    "name": "string",    "plan": "string",    "homeRegion": "us"  },  "role": "owner",  "quotas": {    "concurrency": 0,    "actionsPerDay": 0,    "memoryMb": 0,    "sessionMemoryMb": 0  },  "usage": {    "sessionsActive": 0,    "actionsToday": 0,    "memoryInUseMb": 0  },  "securityTerms": {    "required": true,    "acceptedAt": 0  }}
POST
/v1/tenant/accept-security-terms

Authorization

headerAuthorizationBearer <token>

An API key (wa_<region>_…) or a dashboard access token.

Response Body

OK

application/json
  1. response
acceptedSecurityTermsAt*integer
Range0 <= value <= 9007199254740991
Example Request
curl -X POST 'https://api.us.webagent.lookover.ai/v1/tenant/accept-security-terms'
Example Response
{  "acceptedSecurityTermsAt": 0}
DELETE
/v1/tenant/data

Authorization

headerAuthorizationBearer <token>

An API key (wa_<region>_…) or a dashboard access token.

Response Body

OK

application/json
  1. response
sessionsClosed*integer
Range0 <= value <= 9007199254740991
runsDeleted*integer
Range0 <= value <= 9007199254740991
objectsDeleted*integer
Range0 <= value <= 9007199254740991
Example Request
curl -X DELETE 'https://api.us.webagent.lookover.ai/v1/tenant/data'
Example Response
{  "sessionsClosed": 0,  "runsDeleted": 0,  "objectsDeleted": 0}
GET
/v1/tenant/export

Authorization

headerAuthorizationBearer <token>

An API key (wa_<region>_…) or a dashboard access token.

Response Body

OK

application/json
  1. response
exportedAt*string
tenant*
apiKeys*array<>
usageDaily*array<>
alerts*array<>
skillRuns*array<>
ledgerRows*array<>
Example Request
curl -X GET 'https://api.us.webagent.lookover.ai/v1/tenant/export'
Example Response
{  "exportedAt": "string",  "tenant": {    "property1": null,    "property2": null  },  "apiKeys": [    {      "property1": null,      "property2": null    }  ],  "usageDaily": [    {      "property1": null,      "property2": null    }  ],  "alerts": [    {      "property1": null,      "property2": null    }  ],  "skillRuns": [    {      "property1": null,      "property2": null    }  ],  "ledgerRows": [    {      "property1": null,      "property2": null    }  ]}