# Health and OpenAPI

Health, the API status and the OpenAPI file. No API key needed, and free.

## Health and OpenAPI

No API key needed, and free. `/health` (outside `/v1`) answers fast for your own monitoring. `/v1/status` says whether the API is answering normally or slowly. `/v1/openapi.json` describes everything, and imports into Postman, Insomnia, Bruno, Hoppscotch, Swagger UI and code generators such as openapi-generator.

### Health and data freshness

`GET /health` · No API key

#### What you get back

Up, and when the newest job was seen.

| Field | Type | What it is |
|---|---|---|
| `status` | string | Always ok. When the API is down, this does not answer. |
| `newest_job_seen_at` | date-time or null | When we first saw the newest open job we hold. null when we hold none. |

#### Errors

500 `internal_error`

Request

```bash
curl https://api.careeramplifier.com/health
```

### Is the API answering

`GET /v1/status` · No API key

No key needed. status is ok, or slow when the API is answering more slowly than usual. as_of is when that was measured. There is no outage value. If this endpoint does not answer, that is the outage. The answer is refreshed every 30 seconds.

#### What you get back

How the API is answering.

| Field | Type | What it is |
|---|---|---|
| `status` | string | ok, or slow when the API is answering more slowly than usual. There is no "outage" value. An outage is when this endpoint does not answer. |
| `as_of` | date-time | When this was measured (about a minute behind now). |

#### Errors

500 `internal_error`

Request

```bash
curl https://api.careeramplifier.com/v1/status
```

### This document

`GET /v1/openapi.json` · No API key

#### What you get back

OpenAPI 3.1.

Request

```bash
curl https://api.careeramplifier.com/v1/openapi.json
```

From https://careeramplifier.com/api/docs/endpoints/health. Every page: https://careeramplifier.com/llms-full.txt
