launchdarkly · Capability

LaunchDarkly REST API — Audit Log

LaunchDarkly REST API — Audit Log. 2 operations. Lead operation: List audit log entries. Self-contained Naftiko capability covering one Launchdarkly business surface.

Run with Naftiko LaunchdarklyAudit Log

What You Can Do

GET
Listauditlogentries — List audit log entries
/v1/auditlog
GET
Getauditlogentry — Get an audit log entry
/v1/auditlog/{auditlogid}

MCP Tools

list-audit-log-entries

List audit log entries

read-only idempotent
get-audit-log-entry

Get an audit log entry

read-only idempotent

Capability Spec

rest-audit-log.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LaunchDarkly REST API — Audit Log
  description: 'LaunchDarkly REST API — Audit Log. 2 operations. Lead operation: List audit log entries. Self-contained Naftiko
    capability covering one Launchdarkly business surface.'
  tags:
  - Launchdarkly
  - Audit Log
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LAUNCHDARKLY_API_KEY: LAUNCHDARKLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-audit-log
    baseUri: https://app.launchdarkly.com/api/v2
    description: LaunchDarkly REST API — Audit Log business capability. Self-contained, no shared references.
    resources:
    - name: auditlog
      path: /auditlog
      operations:
      - name: listauditlogentries
        method: GET
        description: List audit log entries
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: before
          in: query
          type: integer
          description: A timestamp filter returning entries before this time (Unix epoch milliseconds).
        - name: after
          in: query
          type: integer
          description: A timestamp filter returning entries after this time (Unix epoch milliseconds).
        - name: limit
          in: query
          type: integer
          description: Maximum number of entries to return.
        - name: q
          in: query
          type: string
          description: A text filter for searching audit log entries.
        - name: spec
          in: query
          type: string
          description: A resource specifier filter for narrowing entries to specific resource types.
    - name: auditlog-auditLogId
      path: /auditlog/{auditLogId}
      operations:
      - name: getauditlogentry
        method: GET
        description: Get an audit log entry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: auditLogId
          in: path
          type: string
          description: The unique identifier of the audit log entry.
          required: true
    authentication:
      type: bearer
      token: '{{env.LAUNCHDARKLY_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-audit-log-rest
    port: 8080
    description: REST adapter for LaunchDarkly REST API — Audit Log. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/auditlog
      name: auditlog
      description: REST surface for auditlog.
      operations:
      - method: GET
        name: listauditlogentries
        description: List audit log entries
        call: rest-audit-log.listauditlogentries
        with:
          before: rest.before
          after: rest.after
          limit: rest.limit
          q: rest.q
          spec: rest.spec
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/auditlog/{auditlogid}
      name: auditlog-auditlogid
      description: REST surface for auditlog-auditLogId.
      operations:
      - method: GET
        name: getauditlogentry
        description: Get an audit log entry
        call: rest-audit-log.getauditlogentry
        with:
          auditLogId: rest.auditLogId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-audit-log-mcp
    port: 9090
    transport: http
    description: MCP adapter for LaunchDarkly REST API — Audit Log. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-audit-log-entries
      description: List audit log entries
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-audit-log.listauditlogentries
      with:
        before: tools.before
        after: tools.after
        limit: tools.limit
        q: tools.q
        spec: tools.spec
      outputParameters:
      - type: object
        mapping: $.
    - name: get-audit-log-entry
      description: Get an audit log entry
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-audit-log.getauditlogentry
      with:
        auditLogId: tools.auditLogId
      outputParameters:
      - type: object
        mapping: $.