Cloudflare · Capability
Cloudflare API — Organizations
Cloudflare API — Organizations. 1 operations. Lead operation: Cloudflare Get organization audit logs. Self-contained Naftiko capability covering one Cloudflare business surface.
What You Can Do
GET
Auditlogsgetorganizationauditlogs
— Cloudflare Get organization audit logs
/v1/organizations/{organization-id}/audit-logs
MCP Tools
cloudflare-get-organization-audit-logs
Cloudflare Get organization audit logs
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Cloudflare API — Organizations
description: 'Cloudflare API — Organizations. 1 operations. Lead operation: Cloudflare Get organization audit logs. Self-contained
Naftiko capability covering one Cloudflare business surface.'
tags:
- Cloudflare
- Organizations
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
CLOUDFLARE_API_KEY: CLOUDFLARE_API_KEY
capability:
consumes:
- type: http
namespace: cloudflare-organizations
baseUri: https://api.cloudflare.com/client/v4
description: Cloudflare API — Organizations business capability. Self-contained, no shared references.
resources:
- name: organizations-organization_id-audit_logs
path: /organizations/{organization_id}/audit_logs
operations:
- name: auditlogsgetorganizationauditlogs
method: GET
description: Cloudflare Get organization audit logs
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: organization_id
in: path
type: string
required: true
- name: id
in: query
type: string
- name: export
in: query
type: boolean
- name: action.type
in: query
type: string
- name: actor.ip
in: query
type: string
- name: actor.email
in: query
type: string
- name: since
in: query
type: string
- name: before
in: query
type: string
- name: zone.name
in: query
type: string
- name: direction
in: query
type: string
- name: per_page
in: query
type: number
- name: page
in: query
type: number
- name: hide_user_logs
in: query
type: boolean
authentication:
type: bearer
token: '{{env.CLOUDFLARE_API_KEY}}'
exposes:
- type: rest
namespace: cloudflare-organizations-rest
port: 8080
description: REST adapter for Cloudflare API — Organizations. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/organizations/{organization-id}/audit-logs
name: organizations-organization-id-audit-logs
description: REST surface for organizations-organization_id-audit_logs.
operations:
- method: GET
name: auditlogsgetorganizationauditlogs
description: Cloudflare Get organization audit logs
call: cloudflare-organizations.auditlogsgetorganizationauditlogs
with:
organization_id: rest.organization_id
id: rest.id
export: rest.export
action.type: rest.action.type
actor.ip: rest.actor.ip
actor.email: rest.actor.email
since: rest.since
before: rest.before
zone.name: rest.zone.name
direction: rest.direction
per_page: rest.per_page
page: rest.page
hide_user_logs: rest.hide_user_logs
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: cloudflare-organizations-mcp
port: 9090
transport: http
description: MCP adapter for Cloudflare API — Organizations. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: cloudflare-get-organization-audit-logs
description: Cloudflare Get organization audit logs
hints:
readOnly: true
destructive: false
idempotent: true
call: cloudflare-organizations.auditlogsgetorganizationauditlogs
with:
organization_id: tools.organization_id
id: tools.id
export: tools.export
action.type: tools.action.type
actor.ip: tools.actor.ip
actor.email: tools.actor.email
since: tools.since
before: tools.before
zone.name: tools.zone.name
direction: tools.direction
per_page: tools.per_page
page: tools.page
hide_user_logs: tools.hide_user_logs
outputParameters:
- type: object
mapping: $.