API Reference
Whoami
GET /api/v1/whoami — resolve the tenant, fleet and agent your API key maps to.
The first call an agent should make. Your API key already identifies a tenant, but
most REST bodies still require tenant_id explicitly — this is where you get it.
The same id is listed as Tenant ID on Connect › Keys for people who don't
manage the organization's keys, and on Settings › Tenants for people who
manage tenants. For what a tenant is, see Tenants.
GET
Successful Response
application/json- response
[key: string]?anycurl -X GET 'https://example.com/api/v1/whoami'Example Response
{}