Skip to main content
POST
/
v1
/
doctor
Run diagnostic checks.
curl --request POST \
  --url https://api.airfold.co/v1/doctor \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "description": "<string>",
    "severity": "error"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

fix
boolean
default:false

Fix issues if possible

checks
string

Checks to run

Response

OK

  • Option 1
  • Option 2
id
string

Issue id

description
string

Issue description

severity
enum<string>
default:error

Severity of the issue

Available options:
error,
warning
I