Hub REST API
Users
The Users operations of the Hub REST API (1 operation).
For BuildersOpen-source podSynap Cloud
Generated from Synap-core/backend main at 24fabe7, which can be newer than the stable release self-hosters install.
GET
bearerAuthheader
AuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
Identity
application/json- response
id*stringscopes*array<string>isAgent*booleanprincipal*|nullcurl -X GET 'https://pod.example.com/api/hub/users/me'Example Response
{ "id": "string", "scopes": [ "string" ], "isAgent": true, "principal": { "id": "string", "kind": "human", "name": "string", "hostUserId": "string", "hostName": "string" }}