AIRA APIREST v1

AIRA REST v1

Programmatic access to a tenant's compliance state: frameworks, canonical controls, evidence, risks, findings, and audit log. Every endpoint is tenant-scoped at the database layer; a leaked key cannot read another organization's data.

https://airagov.com/api/v1v1.0.0

Authentication

Bearer-token auth. Every request must carry Authorization: Bearer aira_<prefix>_<secret>. Keys are SHA-256 hashed at rest, scoped to a tenant, and rate-limited (default 600 rpm). Every request is logged with a request_id for forensic joins against your audit log.

curl -sS https://airagov.com/api/v1/frameworks \
  -H "Authorization: Bearer aira_abc12345_9f4c..." \
  -H "Accept: application/json"

Endpoints

/frameworks
  • get

    List frameworks available to the tenant (built-in + custom)

    200
/controls
  • get

    List the tenant's canonical controls with status

    200
/evidence
  • get

    List evidence items in the tenant vault

    200
/risks
  • get

    List risk register entries

    200
/findings
  • get

    List audit findings

    200
/audit-log
  • get

    Export audit-log events (JSON or NDJSON via Accept header)

    Parameters

    NameInTypeRequired
    sincequerystringno
    limitqueryintegerno
    200

Schemas

Framework

type: object

  • idstring
  • namestring
  • versionstring
  • publisherstring
  • jurisdictionstring
  • is_customboolean

TenantControl

type: object

  • idstring · uuid
  • canonical_control_idstring
  • statusstring
  • maturitystring
  • last_tested_atstring · date-time

Evidence

type: object

  • idstring · uuid
  • namestring
  • evidence_typestring
  • sha256_hexstring
  • size_bytesinteger
  • collected_atstring · date-time
  • valid_untilstring · date-time

Risk

type: object

  • idstring · uuid
  • titlestring
  • categorystring
  • statusstring
  • inherent_likelihoodinteger
  • inherent_impactinteger

Finding

type: object

  • idstring · uuid
  • titlestring
  • severitystring
  • statusstring
  • due_datestring · date

AuditEvent

type: object

  • idstring · uuid
  • actionstring
  • resource_typestring
  • resource_idstring · uuid
  • created_atstring · date-time

Error

type: object

  • errorobject
  • request_idstring · uuid