get__health

GET /health

Health Check

Comprehensive health check of the API and its dependencies.

Returns detailed status information about:

  • Database connectivity

  • External service dependencies

  • System resources

Use this endpoint for monitoring and alerting systems.

TypeScript Client Library

// Using the Flashback TypeScript client
import { FlashbackClient } from '@flashback/client';

const client = new FlashbackClient({
  accessToken: 'your-access-token'
});

// Check API health
try {
  const result = await client.health.check();
  console.log('Health status:', result);
} catch (error) {
  console.error('Health check failed:', error);
}

Code Samples

# You can also use wget
curl -X GET https://backend.flashback.tech/health \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response

{
  "status": "ok",
  "timestamp": "2019-08-24T14:15:22Z",
  "error": "string"
}

Responses

Status
Meaning
Description
Schema

200

Health status

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» status

string

false

none

Overall health status

» timestamp

string(date-time)

false

none

When the health check was performed

» error

string

false

none

Error message if status is error

Enumerated Values

Property
Value

status

ok

status

error

Last updated

Was this helpful?