API reference
Health check
Check if our API is up with an unauthenticated request.
On this page
You can use this to monitor if your storefront is able to reach our API. If you are using an uptime monitor, you can point it at our health check and know within a minute if something goes wrong. It needs no key and there is no rate limit group for this endpoint, so you can poll as often as you like. It will only tell you that our API is up, though. Check the table below to see where to look for the rest of your integration.
Check the API
Answers 200 while the API is up. No key needed. The same check is also served at https://ottla.ai/api/health.
Headers and parameters
| Field | Description |
|---|---|
X-Ottla-Request-Id
|
Your own id for this request, returned in the response header. Ottla creates one when you send none. Servers only. |
Responses
-
200 OK
The API is up.
curl https://ottla.ai/api/v1/health
const res = await fetch('https://ottla.ai/api/v1/health');
const { status, time } = await res.json();
if (!res.ok || status !== 'ok') alertTeam('Ottla API unreachable');
<?php
use GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://ottla.ai/api/v1/', 'timeout' => 5]);
$health = json_decode((string) $client->get('health')->getBody(), true);
$up = ($health['status'] ?? null) === 'ok';
{
"status": "ok",
"time": "2026-10-21T10:15:00+01:00"
}
Monitor your integration
| What you want to know | Where to look |
|---|---|
| Is the API up? | GET /health from your uptime monitor, every minute or so. |
| Is there an incident or planned maintenance? | The status page at ottla.ai/status. |
| Is my catalogue syncing? | Catalogue → Sync history in the console, the product.ingested webhook, and failed_ids from /ingest/acks. |
| Is my Magento store healthy? | Run bin/magento ottla:doctor on the server, and check Setup status in the module’s settings. |
| Are my webhooks arriving? | Each webhook’s Deliveries list in the console. A webhook that fails 10 times in a row is paused and retried later. |
| Has Ottla paused something? | A 503 with feature_disabled and a help_url to the status page. Retry after Retry-After. |
FAQ
Questions developers ask
Does the health check need a key?
No. Send a plain GET with no headers.
Does ok mean my workspace is working?
This only tells you that our API is up. Your keys, plan and catalogue sync each have their own checks, listed in the table above.
Where are incidents posted?
Check our status page, which also covers planned maintenance.
Related
Status
Incidents and planned maintenance.
Errors
View what each error means and what to do.
Receive and verify webhooks
Handle deliveries, retries and paused webhooks.
Magento module troubleshooting
Troubleshoot your Magento store if it stops syncing.