Consent

List Consent policies and available presets

Last updated 5 December 2026

get/v1/projects/{projectId}/consent/policies

Returns the project policy engine (legacy or inth), plan capabilities, each active policy or region in a uniform summary, and the built-in presets available to apply. Requires consent.read and projects.read. Organization API keys cannot call this operation.

Authentication

  • bearerAuth
  • bearerAuth: http / bearer — Use an Inth API key or OAuth access token in the Authorization header. Product operations need a capability. Feedback intake only requires authentication. An OAuth access token carries the capabilities it was granted as scopes; an organization API key carries a fixed set (`organizations.read`, `projects.read`, `projects.write`, `api-keys.read`, `inbox.read`, `billing.read`), so writes that name the person who made them, such as `inbox.write` and `vendors.write`, need a user token. A credential without the capability an operation needs is answered with `403 INSUFFICIENT_SCOPE`. `GET /v1/me` reports the capabilities of the calling credential. OAuth scopes: - `organizations.read`: List the organizations you belong to. - `organizations.write`: Create organizations you will own. - `projects.read`: Read projects, their consent configuration, and the vendors seen on them. - `projects.write`: Create, update, and delete projects and their consent configuration. - `members.read`: Read member names, email addresses, profile images, roles, and pending invitation email addresses. - `members.write`: Invite members, change member roles, remove members, and cancel invitations. - `api-keys.read`: List organization API keys. - `api-keys.write`: Create, roll, and delete organization API keys. - `code-audit.read`: Read Code Audit scans, their findings, and connected repositories. - `code-audit.write`: Start Code Audit scans and unlock their reports. - `inbox.read`: Read Inbox findings. - `inbox.write`: Change Inbox status or assignment and open GitHub issues for findings. - `vendors.write`: Approve or ignore vendors detected on your projects, which resolves their Inbox findings. - `billing.read`: Read the plan and credit balance of an organization. - `billing.details.read`: Read invoices, billing profiles, and payment method summaries for organizations you own. - `consent.read`: Read consent records, analytics, configuration, and runtime status. - `consent.write`: Update consent settings, translations, IAB configuration, and policies. - `consent.keys.read`: Read consent runtime key metadata. Secret values are never returned. - `website-audit.read`: Read website audit targets, scans, reports, cookies, and evidence. - `website-audit.write`: Manage website audit targets, verify domains, review findings, and start scans. - `account.read`: Read your account profile. - `notifications.read`: Read your notification preferences and organization routing. - `organization-retention.read`: Read organization provider data retention policy. - `support.read`: Read support conversations you own or can access through sharing. - `support.write`: Create support conversations, send messages, share or close them, and upload support attachments. - `consent.lifecycle.write`: Update, upgrade or delete Consent runtimes. - `consent.keys.write`: Create, rotate and revoke Consent runtime keys. - `billing.write`: Preview and change plans, buy credits, manage billing details and subscriptions, and open hosted payment flows. - `account.security.read`: Read your active browser sessions and connected device grants. - `account.security.write`: Revoke your browser sessions and connected device grants. - `integrations.read`: Read connected integration accounts, repositories, provider properties and project links. - `integrations.write`: Connect and sync providers, manage repository settings, project links and pull request monitoring. - `account.write`: Update your name, avatar and PII masking preference. - `account.delete`: Permanently delete your account after ownership checks and confirmation. - `notifications.write`: Update your notification preferences. - `notifications.routing.write`: Manage organization notification routing. - `organization-retention.write`: Change organization provider data retention policy. - `organizations.settings.write`: Update organization name, logo and slug. - `organizations.delete`: Permanently delete organizations you own after confirmation. - `agents.read`: Read your Inth Agent chats and chats shared with your organization. - `agents.write`: Start Inth Agent chats, send messages, share your chats with the organization, and delete your chats. Agent replies use organization credits. - `consent.subjects.read`: Read what one of your users consented to, by your own user ID. - `consent.subjects.write`: Link a visitor to one of your users, and issue identity tokens for them. - `documents.read`: Read the legal documents a project has published, and who accepted them. - `documents.write`: Publish a legal document for a project, and record that a user accepted it. - `webhooks.read`: Read webhook endpoints, the event types they can receive, and their delivery log. - `webhooks.write`: Create, change, verify, test, disable, and delete webhook endpoints, rotate their signing secrets, and retry deliveries. Endpoints receive events from every project they cover.

Request

Path Parameters

NameTypeRequiredDescription
projectIdstringRequiredProject ID returned by list_projects. Scoped to the caller's current memberships.

Responses

200

Success

Content type application/json

PropertyTypeRequiredDescription
successunknownRequired—
dataobjectRequired—
data.projectIdstringRequired—
data.organizationIdstringRequired—
data.engine"legacy" | "inth"Required—
data.usingUnconfiguredDefaultbooleanRequired—
data.hasUnpublishedDraftbooleanRequired—
data.liveVersionIdstring | nullRequired—
data.capabilitiesobjectRequired—
data.capabilities.selectPresetsbooleanRequired—
data.capabilities.iabbooleanRequired—
data.capabilities.customPoliciesbooleanRequired—
data.policiesobject[]Required—
data.policies[].idstringRequired—
data.policies[].kind"preset" | "custom" | "override"Required—
data.policies[].presetIdstring | nullRequired—
data.policies[].parentIdstring | nullRequired—
data.policies[].coverageobjectRequired—
data.policies[].coverage.countriesstring[]Required—
data.policies[].coverage.regionsobject[]Required—
data.policies[].coverage.regions[].countrystringRequired—
data.policies[].coverage.regions[].regionstringRequired—
data.policies[].coverage.regionFallbacksstring[]Required—
data.policies[].coverage.everywhereElsebooleanRequired—
data.policies[].coverage.unknownLocationbooleanRequired—
data.policies[].coverage.usesPresetCoveragebooleanRequired—
data.policies[].model"opt-in" | "opt-out" | "none" | "iab"Required—
data.policies[].prompt"choice" | "notice" | "none"Required—
data.policies[].categoriesstring[]Required—
data.policies[].scopeMode"strict" | "permissive" | nullRequired—
data.policies[].preselectedCategoriesstring[]Required—
data.policies[].actions"accept" | "reject" | "customize"[]Required—
data.policies[].rightsstring[]Required—
data.policies[].optOutRights"sale" | "share" | "targeted_ads" | "limit_sensitive"[]Required—
data.policies[].gpcobjectRequired—
data.policies[].gpc.enabledbooleanRequired—
data.policies[].gpc.denyCategoriesstring[]Required—
data.policies[].validityobjectRequired—
data.policies[].validity.choiceDaysnumber | nullRequired—
data.policies[].validity.noticeDaysnumber | nullRequired—
data.policies[].validity.consentPeriodstring | nullRequired—
data.policies[].validity.refusalPeriodstring | nullRequired—
data.policies[].validity.noticeRepeatPeriodstring | nullRequired—
data.policies[].proofobjectRequired—
data.policies[].proof.storeIpboolean | nullRequired—
data.policies[].proof.storeUserAgentboolean | nullRequired—
data.policies[].proof.storeLanguageboolean | nullRequired—
data.policies[].languagestring | nullRequired—
data.policies[].messageProfilestring | nullRequired—
data.policies[].scrollLockboolean | nullRequired—
data.policies[].copyRevisionstring | nullRequired—
data.availablePresetsobject[]Required—
data.availablePresets[].idstringRequired—
data.availablePresets[].namestringRequired—
data.availablePresets[].descriptionstringRequired—
data.availablePresets[].model"opt-in" | "opt-out" | "none" | "iab"Required—
data.availablePresets[].prompt"choice" | "notice" | "none"Required—
data.availablePresets[].allowedbooleanRequired—
data.availablePresets[].requiresPlanstring | nullRequired—
data.availablePresets[].coverageSummarystringRequired—
data.availablePresets[].everywhereElsebooleanRequired—
data.availablePresets[].unknownLocationbooleanRequired—
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "data"
  ],
  "properties": {
    "success": {
      "const": true
    },
    "data": {
      "type": "object",
      "properties": {
        "projectId": {
          "type": "string"
        },
        "organizationId": {
          "type": "string"
        },
        "engine": {
          "type": "string",
          "enum": [
            "legacy",
            "inth"
          ]
        },
        "usingUnconfiguredDefault": {
          "type": "boolean"
        },
        "hasUnpublishedDraft": {
          "type": "boolean"
        },
        "liveVersionId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "capabilities": {
          "type": "object",
          "properties": {
            "selectPresets": {
              "type": "boolean"
            },
            "iab": {
              "type": "boolean"
            },
            "customPolicies": {
              "type": "boolean"
            }
          },
          "required": [
            "selectPresets",
            "iab",
            "customPolicies"
          ],
          "additionalProperties": false
        },
        "policies": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "kind": {
                "type": "string",
                "enum": [
                  "preset",
                  "custom",
                  "override"
                ]
              },
              "presetId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parentId": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "coverage": {
                "type": "object",
                "properties": {
                  "countries": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "regions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "country": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "country",
                        "region"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "regionFallbacks": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "everywhereElse": {
                    "type": "boolean"
                  },
                  "unknownLocation": {
                    "type": "boolean"
                  },
                  "usesPresetCoverage": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "countries",
                  "regions",
                  "regionFallbacks",
                  "everywhereElse",
                  "unknownLocation",
                  "usesPresetCoverage"
                ],
                "additionalProperties": false
              },
              "model": {
                "type": "string",
                "enum": [
                  "opt-in",
                  "opt-out",
                  "none",
                  "iab"
                ]
              },
              "prompt": {
                "type": "string",
                "enum": [
                  "choice",
                  "notice",
                  "none"
                ]
              },
              "categories": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "scopeMode": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "strict",
                      "permissive"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "preselectedCategories": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "actions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "accept",
                    "reject",
                    "customize"
                  ]
                }
              },
              "rights": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "optOutRights": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "sale",
                    "share",
                    "targeted_ads",
                    "limit_sensitive"
                  ]
                }
              },
              "gpc": {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "denyCategories": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "enabled",
                  "denyCategories"
                ],
                "additionalProperties": false
              },
              "validity": {
                "type": "object",
                "properties": {
                  "choiceDays": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "noticeDays": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "consentPeriod": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "refusalPeriod": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "noticeRepeatPeriod": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "choiceDays",
                  "noticeDays",
                  "consentPeriod",
                  "refusalPeriod",
                  "noticeRepeatPeriod"
                ],
                "additionalProperties": false
              },
              "proof": {
                "type": "object",
                "properties": {
                  "storeIp": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "storeUserAgent": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "storeLanguage": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "storeIp",
                  "storeUserAgent",
                  "storeLanguage"
                ],
                "additionalProperties": false
              },
              "language": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "messageProfile": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "scrollLock": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "copyRevision": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "kind",
              "presetId",
              "parentId",
              "coverage",
              "model",
              "prompt",
              "categories",
              "scopeMode",
              "preselectedCategories",
              "actions",
              "rights",
              "optOutRights",
              "gpc",
              "validity",
              "proof",
              "language",
              "messageProfile",
              "scrollLock",
              "copyRevision"
            ],
            "additionalProperties": false
          }
        },
        "availablePresets": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "model": {
                "type": "string",
                "enum": [
                  "opt-in",
                  "opt-out",
                  "none",
                  "iab"
                ]
              },
              "prompt": {
                "type": "string",
                "enum": [
                  "choice",
                  "notice",
                  "none"
                ]
              },
              "allowed": {
                "type": "boolean"
              },
              "requiresPlan": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "coverageSummary": {
                "type": "string"
              },
              "everywhereElse": {
                "type": "boolean"
              },
              "unknownLocation": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "name",
              "description",
              "model",
              "prompt",
              "allowed",
              "requiresPlan",
              "coverageSummary",
              "everywhereElse",
              "unknownLocation"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "projectId",
        "organizationId",
        "engine",
        "usingUnconfiguredDefault",
        "hasUnpublishedDraft",
        "liveVersionId",
        "capabilities",
        "policies",
        "availablePresets"
      ],
      "additionalProperties": false
    }
  }
}

400

The request payload or parameters are invalid.

Content type application/json

PropertyTypeRequiredDescription
successbooleanRequired—
errorobjectRequired—
error.code"UNAUTHORIZED" | "FORBIDDEN" | "ORGANIZATION_SESSION_REQUIRED" | "INSUFFICIENT_SCOPE" | "PLAN_LIMIT_REACHED" | "PLAN_REQUIRED" | "INVALID_ORIGIN" | "INVALID_REGION" | "INVALID_PAYLOAD" | "NOT_FOUND" | "CONFLICT" | "GONE" | "KEY_LIMIT_REACHED" | "INSUFFICIENT_CREDITS" | "SCAN_IN_PROGRESS" | "UNLOCK_REQUIRED" | "REPOSITORY_NOT_LINKED" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR"Required—
error.messagestringRequired—
error.detailsunknownOptionalOptional structured error details.
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "UNAUTHORIZED",
            "FORBIDDEN",
            "ORGANIZATION_SESSION_REQUIRED",
            "INSUFFICIENT_SCOPE",
            "PLAN_LIMIT_REACHED",
            "PLAN_REQUIRED",
            "INVALID_ORIGIN",
            "INVALID_REGION",
            "INVALID_PAYLOAD",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "KEY_LIMIT_REACHED",
            "INSUFFICIENT_CREDITS",
            "SCAN_IN_PROGRESS",
            "UNLOCK_REQUIRED",
            "REPOSITORY_NOT_LINKED",
            "PAYLOAD_TOO_LARGE",
            "RATE_LIMITED",
            "SERVICE_UNAVAILABLE",
            "INTERNAL_ERROR"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "description": "Optional structured error details."
        }
      }
    }
  }
}

401

Authentication is missing, invalid, or expired.

Content type application/json

PropertyTypeRequiredDescription
successbooleanRequired—
errorobjectRequired—
error.code"UNAUTHORIZED" | "FORBIDDEN" | "ORGANIZATION_SESSION_REQUIRED" | "INSUFFICIENT_SCOPE" | "PLAN_LIMIT_REACHED" | "PLAN_REQUIRED" | "INVALID_ORIGIN" | "INVALID_REGION" | "INVALID_PAYLOAD" | "NOT_FOUND" | "CONFLICT" | "GONE" | "KEY_LIMIT_REACHED" | "INSUFFICIENT_CREDITS" | "SCAN_IN_PROGRESS" | "UNLOCK_REQUIRED" | "REPOSITORY_NOT_LINKED" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR"Required—
error.messagestringRequired—
error.detailsunknownOptionalOptional structured error details.
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "UNAUTHORIZED",
            "FORBIDDEN",
            "ORGANIZATION_SESSION_REQUIRED",
            "INSUFFICIENT_SCOPE",
            "PLAN_LIMIT_REACHED",
            "PLAN_REQUIRED",
            "INVALID_ORIGIN",
            "INVALID_REGION",
            "INVALID_PAYLOAD",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "KEY_LIMIT_REACHED",
            "INSUFFICIENT_CREDITS",
            "SCAN_IN_PROGRESS",
            "UNLOCK_REQUIRED",
            "REPOSITORY_NOT_LINKED",
            "PAYLOAD_TOO_LARGE",
            "RATE_LIMITED",
            "SERVICE_UNAVAILABLE",
            "INTERNAL_ERROR"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "description": "Optional structured error details."
        }
      }
    }
  }
}

403

The credential is valid but may not perform the operation. `INSUFFICIENT_SCOPE`: the credential was never granted the capability the operation needs. `details.requiredScope` names it, and the `WWW-Authenticate` header carries `Bearer error="insufficient_scope"`. An OAuth client fixes this by requesting the scope; an organization API key cannot gain it. `FORBIDDEN`: the capability is present but the membership behind the credential lacks the role, or the resource belongs to another organization.

Content type application/json

PropertyTypeRequiredDescription
successbooleanRequired—
errorobjectRequired—
error.code"UNAUTHORIZED" | "FORBIDDEN" | "ORGANIZATION_SESSION_REQUIRED" | "INSUFFICIENT_SCOPE" | "PLAN_LIMIT_REACHED" | "PLAN_REQUIRED" | "INVALID_ORIGIN" | "INVALID_REGION" | "INVALID_PAYLOAD" | "NOT_FOUND" | "CONFLICT" | "GONE" | "KEY_LIMIT_REACHED" | "INSUFFICIENT_CREDITS" | "SCAN_IN_PROGRESS" | "UNLOCK_REQUIRED" | "REPOSITORY_NOT_LINKED" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR"Required—
error.messagestringRequired—
error.detailsunknownOptionalOptional structured error details.
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "UNAUTHORIZED",
            "FORBIDDEN",
            "ORGANIZATION_SESSION_REQUIRED",
            "INSUFFICIENT_SCOPE",
            "PLAN_LIMIT_REACHED",
            "PLAN_REQUIRED",
            "INVALID_ORIGIN",
            "INVALID_REGION",
            "INVALID_PAYLOAD",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "KEY_LIMIT_REACHED",
            "INSUFFICIENT_CREDITS",
            "SCAN_IN_PROGRESS",
            "UNLOCK_REQUIRED",
            "REPOSITORY_NOT_LINKED",
            "PAYLOAD_TOO_LARGE",
            "RATE_LIMITED",
            "SERVICE_UNAVAILABLE",
            "INTERNAL_ERROR"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "description": "Optional structured error details."
        }
      }
    }
  }
}

Headers

NameTypeDescription
WWW-AuthenticatestringPresent on `INSUFFICIENT_SCOPE`: `Bearer error="insufficient_scope", scope="<required scope>"`.

404

The requested resource was not found.

Content type application/json

PropertyTypeRequiredDescription
successbooleanRequired—
errorobjectRequired—
error.code"UNAUTHORIZED" | "FORBIDDEN" | "ORGANIZATION_SESSION_REQUIRED" | "INSUFFICIENT_SCOPE" | "PLAN_LIMIT_REACHED" | "PLAN_REQUIRED" | "INVALID_ORIGIN" | "INVALID_REGION" | "INVALID_PAYLOAD" | "NOT_FOUND" | "CONFLICT" | "GONE" | "KEY_LIMIT_REACHED" | "INSUFFICIENT_CREDITS" | "SCAN_IN_PROGRESS" | "UNLOCK_REQUIRED" | "REPOSITORY_NOT_LINKED" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR"Required—
error.messagestringRequired—
error.detailsunknownOptionalOptional structured error details.
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "UNAUTHORIZED",
            "FORBIDDEN",
            "ORGANIZATION_SESSION_REQUIRED",
            "INSUFFICIENT_SCOPE",
            "PLAN_LIMIT_REACHED",
            "PLAN_REQUIRED",
            "INVALID_ORIGIN",
            "INVALID_REGION",
            "INVALID_PAYLOAD",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "KEY_LIMIT_REACHED",
            "INSUFFICIENT_CREDITS",
            "SCAN_IN_PROGRESS",
            "UNLOCK_REQUIRED",
            "REPOSITORY_NOT_LINKED",
            "PAYLOAD_TOO_LARGE",
            "RATE_LIMITED",
            "SERVICE_UNAVAILABLE",
            "INTERNAL_ERROR"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "description": "Optional structured error details."
        }
      }
    }
  }
}

409

The request conflicts with the current resource state.

Content type application/json

PropertyTypeRequiredDescription
successbooleanRequired—
errorobjectRequired—
error.code"UNAUTHORIZED" | "FORBIDDEN" | "ORGANIZATION_SESSION_REQUIRED" | "INSUFFICIENT_SCOPE" | "PLAN_LIMIT_REACHED" | "PLAN_REQUIRED" | "INVALID_ORIGIN" | "INVALID_REGION" | "INVALID_PAYLOAD" | "NOT_FOUND" | "CONFLICT" | "GONE" | "KEY_LIMIT_REACHED" | "INSUFFICIENT_CREDITS" | "SCAN_IN_PROGRESS" | "UNLOCK_REQUIRED" | "REPOSITORY_NOT_LINKED" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR"Required—
error.messagestringRequired—
error.detailsunknownOptionalOptional structured error details.
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "UNAUTHORIZED",
            "FORBIDDEN",
            "ORGANIZATION_SESSION_REQUIRED",
            "INSUFFICIENT_SCOPE",
            "PLAN_LIMIT_REACHED",
            "PLAN_REQUIRED",
            "INVALID_ORIGIN",
            "INVALID_REGION",
            "INVALID_PAYLOAD",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "KEY_LIMIT_REACHED",
            "INSUFFICIENT_CREDITS",
            "SCAN_IN_PROGRESS",
            "UNLOCK_REQUIRED",
            "REPOSITORY_NOT_LINKED",
            "PAYLOAD_TOO_LARGE",
            "RATE_LIMITED",
            "SERVICE_UNAVAILABLE",
            "INTERNAL_ERROR"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "description": "Optional structured error details."
        }
      }
    }
  }
}

503

The capability is temporarily paused by an operator. Retry later.

Content type application/json

PropertyTypeRequiredDescription
successbooleanRequired—
errorobjectRequired—
error.code"UNAUTHORIZED" | "FORBIDDEN" | "ORGANIZATION_SESSION_REQUIRED" | "INSUFFICIENT_SCOPE" | "PLAN_LIMIT_REACHED" | "PLAN_REQUIRED" | "INVALID_ORIGIN" | "INVALID_REGION" | "INVALID_PAYLOAD" | "NOT_FOUND" | "CONFLICT" | "GONE" | "KEY_LIMIT_REACHED" | "INSUFFICIENT_CREDITS" | "SCAN_IN_PROGRESS" | "UNLOCK_REQUIRED" | "REPOSITORY_NOT_LINKED" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR"Required—
error.messagestringRequired—
error.detailsunknownOptionalOptional structured error details.
View JSON schema
{
  "type": "object",
  "required": [
    "success",
    "error"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "UNAUTHORIZED",
            "FORBIDDEN",
            "ORGANIZATION_SESSION_REQUIRED",
            "INSUFFICIENT_SCOPE",
            "PLAN_LIMIT_REACHED",
            "PLAN_REQUIRED",
            "INVALID_ORIGIN",
            "INVALID_REGION",
            "INVALID_PAYLOAD",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "KEY_LIMIT_REACHED",
            "INSUFFICIENT_CREDITS",
            "SCAN_IN_PROGRESS",
            "UNLOCK_REQUIRED",
            "REPOSITORY_NOT_LINKED",
            "PAYLOAD_TOO_LARGE",
            "RATE_LIMITED",
            "SERVICE_UNAVAILABLE",
            "INTERNAL_ERROR"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "description": "Optional structured error details."
        }
      }
    }
  }
}