GET
/
serverinfo
curl --request GET \
  --url https://use.hoop.dev/api/serverinfo
{
  "admin_username": "admin",
  "api_url": "https://api.johnwick.org",
  "auth_method": "local",
  "commit_sha": "e6b94e86352e934b66d9c7ab2821a267dc18dfee",
  "disable_sessions_download": true,
  "go_debug": "http2debug=2",
  "grpc_url": "127.0.0.1:8009",
  "has_ask_ai_credentials": true,
  "has_idp_audience": true,
  "has_idp_custom_scopes": true,
  "has_postgrest_role": true,
  "has_redact_credentials": true,
  "has_webhook_app_key": true,
  "license_info": {
    "allowed_hosts": [
      "johnwick.org",
      "homolog.johnwick.org"
    ],
    "expire_at": 1722261422,
    "is_valid": true,
    "issued_at": 1722261321,
    "key_id": "f2fb0c3143822b08be26f8fc5b703e0a6689e675",
    "type": "enterprise",
    "verified_host": "homolog.johnwick.org",
    "verify_error": "unable to verify license"
  },
  "log_level": "INFO",
  "tenancy_type": "selfhosted",
  "version": "1.23.15"
}

Response

200
application/json
OK
admin_username
string

The role name of the admin group

Example:

"admin"

api_url
string

API URL advertise to clients

Example:

"https://api.johnwick.org"

auth_method
enum<string>

Auth method used by the server

Available options:
oidc,
local
Example:

"local"

commit_sha
string

Commit SHA of the version

Example:

"e6b94e86352e934b66d9c7ab2821a267dc18dfee"

disable_sessions_download
boolean

Indicates if session download functionality is disabled

  • true - Session download is disabled and not available to users
  • false - Session download is enabled and available to users
go_debug
string

Expose GODEBUG flags enabled

Example:

"http2debug=2"

grpc_url
string

The GRPC_URL advertise to clients

Example:

"127.0.0.1:8009"

has_ask_ai_credentials
boolean

Report if ASK_AI_CREDENTIALS is set (openapi credentials)

has_idp_audience
boolean

Report if IDP_AUDIENCE env is set

has_idp_custom_scopes
boolean

Report if IDP_CUSTOM_SCOPES env is set

has_postgrest_role
boolean

Report if IDP_CUSTOM_SCOPES env is set

has_redact_credentials
boolean

Report if GOOGLE_APPLICATION_CREDENTIALS_JSON is set

has_webhook_app_key
boolean

Report if WEBHOOK_APPKEY is set

license_info
object
log_level
enum<string>

Log level of the server

Available options:
INFO,
WARN,
DEBUG,
ERROR
Example:

"INFO"

tenancy_type
enum<string>

The tenancy type

Available options:
selfhosted,
multitenant
version
string

Version of the server

Example:

"1.23.15"