Caura / docs
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.

GET
/api/v1/whoami

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/v1/whoami"
{}
{
  "detail": "string",
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
{
  "detail": "string",
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}