Skip to main content
GET
/
v2
/
session
/
apps
/
{appID}
/
mode
Get application mode
curl --request GET \
  --url https://api.prelude.dev/v2/session/apps/{appID}/mode \
  --header 'Authorization: Bearer <token>'
{
  "mode": "dev"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

The id of the app the request refers to. An application's unique identifier.

Examples:

"54e9ujn"

"fvua38g"

Response

OK

mode
enum<string>
required
Available options:
dev,
prod
Example:

"dev"