Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: looot Whoami API
version: 0.1.0
description: Discover, inspect, run, and pay for real (or fixture) provider operations through one bearer token.
servers:
- url: https://api.looot.ai
description: Public API (default)
- url: https://coset-gateway.onrender.com
description: Legacy host -- still live, for tokens issued before the public domain existed
- url: http://127.0.0.1:8787
description: Local development
security:
- bearerAuth: []
tags:
- name: Whoami
paths:
/v1/whoami:
get:
summary: Current principal's membership, organization, tool grants and machine sessions
responses:
'200':
description: Organization, membership, active tool grants and active machine sessions; never includes a tokenHash
'403':
description: organizations:read scope required
'404':
description: No membership in the token's organization
'503':
description: Control plane unavailable
tags:
- Whoami
operationId: getV1Whoami
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer