List a project's gap controls

GET /iso/projects/{projectId}/gap

Scope iso:read Plan Growth+

Requires the iso:read scope. Needs the iso27001 plan feature.

Example

curl "https://api.autociso.io/api/v1/iso/projects/<projectId>/gap" \
  -H "Authorization: Bearer <your-api-token>"

Response 200

{
  "data": [
    {
      "controlId": "A.5.1",
      "gapCount": 0,
      "isBlocking": false,
      "lastAssessedAt": "2026-10-12T03:00:00Z",
      "status": "COMPLIANT",
      "updatedAt": "2026-10-12T03:00:00Z"
    },
    {
      "controlId": "A.8.13",
      "gapCount": 2,
      "isBlocking": true,
      "lastAssessedAt": "2026-10-12T03:00:00Z",
      "status": "PARTIAL",
      "updatedAt": "2026-10-12T03:00:00Z"
    }
  ],
  "error": null,
  "meta": {
    "limit": 25,
    "offset": 0,
    "total": 93
  }
}

Path parameters

  • projectId string required

Query parameters

  • limit integer
    Page size. minimum 1, maximum 100, default 25
  • offset integer
    Rows to skip (offset mode). Cannot be combined with cursor. minimum 0, maximum 10000, default 0
  • cursor string
    An opaque cursor taken from meta.nextCursor of the previous page (cursor mode). Valid for 24 hours and bound to the token and the query; do not parse or construct it.
  • sort[controlId] string
    Sort direction for controlId.
    "asc" | "desc"
  • sort[updatedAt] string
    Sort direction for updatedAt.
    "asc" | "desc"
  • filter[controlId][eq] string
    Filter controlId (eq).
  • filter[controlId][in] string
    Filter controlId (in). Comma-separated, at most 50 values.
  • filter[status][eq] string
    Filter status (eq).
  • filter[status][in] string
    Filter status (in). Comma-separated, at most 50 values.
  • filter[updatedAt][gte] string (date-time)
    Filter updatedAt (gte).
  • filter[updatedAt][lt] string (date-time)
    Filter updatedAt (lt).

Returns

The data field of the standard { data, error, meta } envelope:

An array of object:

  • controlId string required
    Annex A control id, for example A.5.1.
  • gapCount integer required
    Number of open gaps.
  • isBlocking boolean required
    At least one blocking gap.
  • lastAssessedAt string (date-time) or null
    Last scan time (UTC), when scanned.
  • status string required
    COMPLIANT, PARTIAL, MISSING, NA or UNKNOWN.
  • updatedAt string (date-time) required
    Last update time (UTC).
  • No other fields.

Errors

Status Code Retry Meaning
400 - no The request is invalid.
401 - no The token is missing, malformed, expired or revoked.
402 - no The organisation’s plan does not include the feature this route needs.
403 - no The token may not use this route.
404 - no The resource does not exist in this organisation.
429 - yes Rate limit or row budget exceeded; retry after the time in Retry-After.
500 - no Unexpected server error.
503 - yes A dependency is temporarily unavailable; retry later.
Last reviewed: 2026-10-13

Was this page helpful?

Esc