> ## Documentation Index
> Fetch the complete documentation index at: https://docs.watchdog.no/llms.txt
> Use this file to discover all available pages before exploring further.

# Health check

> Returns 200 when the API process is up. No dependency checks.



## OpenAPI

````yaml https://api.watchdog.no/doc get /health
openapi: 3.1.0
info:
  title: Watchdog API
  version: 0.0.0
  description: >-
    Watchdog public API. Server-to-server document upload and related
    operations.


    ## Authentication


    All `/v1/*` endpoints require a bearer token in the `Authorization` header
    (e.g. `Authorization: Bearer wdg_<your-token>`).


    **Generate a token:** sign in at [app.watchdog.no](https://app.watchdog.no),
    open **Settings → API keys**, and click **Create new key** (admins only).
    The plaintext token is shown **once** at creation and cannot be recovered —
    copy it into a secrets manager immediately. If lost, revoke and replace.


    Tokens carry one or more scopes: `invoices:write` for uploads and
    `invoices:read` for polling. New integration keys receive both
    automatically. The required scope per endpoint is listed under
    "Authorizations" below.
servers: []
security: []
paths:
  /health:
    get:
      tags:
        - operations
      summary: Health check
      description: Returns 200 when the API process is up. No dependency checks.
      responses:
        '200':
          description: Service is up
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
components:
  schemas:
    Health:
      type: object
      properties:
        status:
          type: string
          enum:
            - ok
        commit:
          type: string
      required:
        - status
        - commit

````