account

Get Auth Status

Returns the authentications state of the caller. Will read their API Key or JWT and then determine if a OneGrep account exists. If yes, then it will be considered authenticated.

! NOTE: The User may have a valid JWT but if they do not have a OneGrep account, they will not be considered authenticated.

get/api/v1/account/auth/status

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/account/auth/status
  • Auth: one of:
    • HTTP bearer
    • API key in header X-ONEGREP-API-KEY

Response

Successful Response

credentials_providedboolean required
is_authenticatedboolean required
method'propelauth' | 'api_key'
user_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.