Skip to content

/v1 reference: AI systems

The operations of this resource. They share the pagination and error vocabulary described in Overview and Errors. Example values on this page are fictitious. The other operations are in the complete reference.

Operations

List AI systems

GET /v1/ai-systems

The tenant's register of AI systems: AI Act risk class, lifecycle status, kind, owning unit, provider and the categories of data each one processes. Read only; free text (purpose, rationale) and people are not published. The register records no AI Act role (provider or deployer) and no review date per system, so neither is published. Served while the tenant has the ai_governance module.

Required scope: ai_systems:read

Parameters:

Parameter In Required Type Description
page query no integer 1-based page number. Defaults to 1.
per_page query no integer Items per page, 1..200. Defaults to 50.
sort query no enum(created_at, updated_at, name) Field to order by. One of: created_at, updated_at, name.
order query no enum(asc, desc) Sort direction. Defaults to desc.
risk_class query no string Exact risk class match. Known values: prohibited, high_risk, transparency, minimal. Open vocabulary: any other value is matched exactly and matches nothing, and the answer then carries a meta.warnings entry and the X-HS-Unknown-Filter header.
lifecycle_status query no string Exact lifecycle status match. Known values: planned, pilot, in_use, retired. Open vocabulary: any other value is matched exactly and matches nothing, and the answer then carries a meta.warnings entry and the X-HS-Unknown-Filter header.
vendor_id query no string Only systems provided by this vendor.
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": [
    {
      "id": "55555555-5555-4555-8555-555555555555",
      "name": "Asistente de atención al cliente",
      "risk_class": "transparency",
      "lifecycle_status": "in_use",
      "system_type": "llm",
      "department": "Atención al cliente",
      "vendor_id": "66666666-6666-4666-8666-666666666666",
      "data_categories": [
        "customer",
        "personal"
      ],
      "created_at": "2026-09-30T10:00:00Z",
      "updated_at": "2026-10-21T08:45:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 50,
    "total": 4,
    "total_pages": 1
  }
}

Fetch one AI system

GET /v1/ai-systems/{id}

The same object as the collection, for a single system by id. Another tenant's id answers 404, like one that does not exist.

Required scope: ai_systems:read

Parameters:

Parameter In Required Type Description
id path yes string AI system identifier.
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": {
    "id": "55555555-5555-4555-8555-555555555555",
    "name": "Asistente de atención al cliente",
    "risk_class": "transparency",
    "lifecycle_status": "in_use",
    "system_type": "llm",
    "department": "Atención al cliente",
    "vendor_id": "66666666-6666-4666-8666-666666666666",
    "data_categories": [
      "customer",
      "personal"
    ],
    "created_at": "2026-09-30T10:00:00Z",
    "updated_at": "2026-10-21T08:45:00Z"
  }
}