English

Admin guide Operations

Monitoring

Check that the server is healthy, read its logs, and see whether canvases are in use.

On this page

Archipelego gives you a health endpoint, a few readable log lines and two light API calls. That is enough for most monitoring tools.

Health check

GET /health answers 200 with this body:

json
{"ok":true}

Check it with curl:

bash
curl -fsS http://localhost:1234/health

-f makes curl fail on an error status, so the command also works in a script or a cron job.

The endpoint does not read the data folder and does not call any AI provider. It tells you that the process runs and answers HTTP.

Docker health check

The Docker image has a built-in HEALTHCHECK:

  • It calls /health every 30 seconds.
  • It waits 15 seconds after the start before it counts failures.
  • Each check times out after 5 seconds.
  • After 3 failures in a row, Docker marks the container as unhealthy.

See the status with:

bash
docker ps --filter name=archipelego
docker inspect --format '{{.State.Health.Status}}' archipelego

Logs

The server writes to standard output and standard error. With Docker, read them with:

bash
docker logs -f archipelego

On start, the server prints one line with its port and data folder:

text
[archipelego] server on http://localhost:1234  (canvases saved in /data)

Check that the data folder in that line is the one you back up.

Lines that start with [yjs] report a canvas that could not load or save, or a malformed sync message. A failed save is retried with the next change. Investigate repeated save errors: they usually mean the data folder is full or not writable.

Unexpected request errors are printed with their stack trace and answered with status 500.

The server never logs AI keys, questions or canvas content.

Activity

To see whether canvases are in use, list them:

bash
curl -s http://localhost:1234/api/canvases

Each entry has an updatedAt date, newest first. The list holds at most 50 non-empty canvases.

AI readiness

To see whether the server has its own Anthropic credentials, read the catalog:

bash
curl -s http://localhost:1234/api/ai/catalog

The platform field is ["anthropic"] when the server can answer with its own credentials, and [] when every request needs a key from a person. The checkedAt field shows the date of the model catalog.