Gravitee · Capability
Gravitee.io - Access Management API — audit
Gravitee.io - Access Management API — audit. 4 operations. Lead operation: List audit logs for the organization. Self-contained Naftiko capability covering one Gravitee business surface.
What You Can Do
GET
Listorganizationaudits
— List audit logs for the organization
/v1/organizations/{organizationid}/audits
GET
Getorganizationaudit
— Get an audit log
/v1/organizations/{organizationid}/audits/{audit}
GET
Listdomainaudits
— List audit logs for a security domain
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/audits
GET
Getdomainaudit
— Get an audit log
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/audits/{audit}
MCP Tools
list-audit-logs-organization
List audit logs for the organization
read-only
idempotent
get-audit-log
Get an audit log
read-only
idempotent
list-audit-logs-security-domain
List audit logs for a security domain
read-only
idempotent
get-audit-log-2
Get an audit log
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Gravitee.io - Access Management API — audit
description: 'Gravitee.io - Access Management API — audit. 4 operations. Lead operation: List audit logs for the organization.
Self-contained Naftiko capability covering one Gravitee business surface.'
tags:
- Gravitee
- audit
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
consumes:
- type: http
namespace: am-audit
baseUri: ''
description: Gravitee.io - Access Management API — audit business capability. Self-contained, no shared references.
resources:
- name: organizations-organizationId-audits
path: /organizations/{organizationId}/audits
operations:
- name: listorganizationaudits
method: GET
description: List audit logs for the organization
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: organizationId
in: path
type: string
required: true
- name: type
in: query
type: string
- name: status
in: query
type: string
- name: user
in: query
type: string
- name: from
in: query
type: integer
- name: to
in: query
type: integer
- name: size
in: query
type: integer
- name: page
in: query
type: integer
- name: organizations-organizationId-audits-audit
path: /organizations/{organizationId}/audits/{audit}
operations:
- name: getorganizationaudit
method: GET
description: Get an audit log
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: organizationId
in: path
type: string
required: true
- name: audit
in: path
type: string
required: true
- name: organizations-organizationId-environments-environmentId-domains-domain-audits
path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/audits
operations:
- name: listdomainaudits
method: GET
description: List audit logs for a security domain
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: organizationId
in: path
type: string
required: true
- name: environmentId
in: path
type: string
required: true
- name: domain
in: path
type: string
required: true
- name: type
in: query
type: string
- name: status
in: query
type: string
- name: user
in: query
type: string
- name: from
in: query
type: integer
- name: to
in: query
type: integer
- name: size
in: query
type: integer
- name: page
in: query
type: integer
- name: organizations-organizationId-environments-environmentId-domains-domain-audits-au
path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/audits/{audit}
operations:
- name: getdomainaudit
method: GET
description: Get an audit log
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: organizationId
in: path
type: string
required: true
- name: environmentId
in: path
type: string
required: true
- name: domain
in: path
type: string
required: true
- name: audit
in: path
type: string
required: true
authentication:
type: bearer
token: '{{env.GRAVITEE_API_KEY}}'
exposes:
- type: rest
namespace: am-audit-rest
port: 8080
description: REST adapter for Gravitee.io - Access Management API — audit. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1/organizations/{organizationid}/audits
name: organizations-organizationid-audits
description: REST surface for organizations-organizationId-audits.
operations:
- method: GET
name: listorganizationaudits
description: List audit logs for the organization
call: am-audit.listorganizationaudits
with:
organizationId: rest.organizationId
type: rest.type
status: rest.status
user: rest.user
from: rest.from
to: rest.to
size: rest.size
page: rest.page
outputParameters:
- type: object
mapping: $.
- path: /v1/organizations/{organizationid}/audits/{audit}
name: organizations-organizationid-audits-audit
description: REST surface for organizations-organizationId-audits-audit.
operations:
- method: GET
name: getorganizationaudit
description: Get an audit log
call: am-audit.getorganizationaudit
with:
organizationId: rest.organizationId
audit: rest.audit
outputParameters:
- type: object
mapping: $.
- path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/audits
name: organizations-organizationid-environments-environmentid-domains-domain-audits
description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-audits.
operations:
- method: GET
name: listdomainaudits
description: List audit logs for a security domain
call: am-audit.listdomainaudits
with:
organizationId: rest.organizationId
environmentId: rest.environmentId
domain: rest.domain
type: rest.type
status: rest.status
user: rest.user
from: rest.from
to: rest.to
size: rest.size
page: rest.page
outputParameters:
- type: object
mapping: $.
- path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/audits/{audit}
name: organizations-organizationid-environments-environmentid-domains-domain-audits-au
description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-audits-au.
operations:
- method: GET
name: getdomainaudit
description: Get an audit log
call: am-audit.getdomainaudit
with:
organizationId: rest.organizationId
environmentId: rest.environmentId
domain: rest.domain
audit: rest.audit
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: am-audit-mcp
port: 9090
transport: http
description: MCP adapter for Gravitee.io - Access Management API — audit. One tool per consumed operation, routed inline
through this capability's consumes block.
tools:
- name: list-audit-logs-organization
description: List audit logs for the organization
hints:
readOnly: true
destructive: false
idempotent: true
call: am-audit.listorganizationaudits
with:
organizationId: tools.organizationId
type: tools.type
status: tools.status
user: tools.user
from: tools.from
to: tools.to
size: tools.size
page: tools.page
outputParameters:
- type: object
mapping: $.
- name: get-audit-log
description: Get an audit log
hints:
readOnly: true
destructive: false
idempotent: true
call: am-audit.getorganizationaudit
with:
organizationId: tools.organizationId
audit: tools.audit
outputParameters:
- type: object
mapping: $.
- name: list-audit-logs-security-domain
description: List audit logs for a security domain
hints:
readOnly: true
destructive: false
idempotent: true
call: am-audit.listdomainaudits
with:
organizationId: tools.organizationId
environmentId: tools.environmentId
domain: tools.domain
type: tools.type
status: tools.status
user: tools.user
from: tools.from
to: tools.to
size: tools.size
page: tools.page
outputParameters:
- type: object
mapping: $.
- name: get-audit-log-2
description: Get an audit log
hints:
readOnly: true
destructive: false
idempotent: true
call: am-audit.getdomainaudit
with:
organizationId: tools.organizationId
environmentId: tools.environmentId
domain: tools.domain
audit: tools.audit
outputParameters:
- type: object
mapping: $.