---
title: "CI gate for a domain the key covers: 200 pass, 412 fail when a crawler path open at the last sealed scan closed, a file broke, or a declared path is violated at critical/high"
method: GET
path: "/api/flow/gate"
---

# CI gate for a domain the key covers: 200 pass, 412 fail when a crawler path open at the last sealed scan closed, a file broke, or a declared path is violated at critical/high

`GET /api/flow/gate`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/flow/gate`
- Auth: none required

## Query parameters

- `domain` string, required
- `fresh` '1'
- `since` string, date

## Headers

- `x-crawlcheck-key` string, required

## Response `200`

pass (or no baseline yet, stated in summary)

- object, nullable
  - `pass` boolean, nullable
  - `domain` string, nullable
  - `scanned_at` string, nullable
  - `report_url` string, nullable
  - `baseline` unknown
  - `broke` unknown[], nullable
    - unknown
  - `declared_violations` unknown[], nullable
    - unknown
  - `declared` boolean, nullable
  - `summary` string, nullable

## Other responses

- `404`: No licence covering the domain
- `409`: No scan on record
- `412`: fail: broke[] and declared_violations[]

---

[API](https://skmtc.dev/crawlcheck/apis/crawlcheck-api.md) · [All operations](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/revisions/57acbd6d4489?raw)
