SolarWinds · Capability

SolarWinds Papertrail API — Events

SolarWinds Papertrail API — Events. 1 operations. Lead operation: Solarwinds Search Log Events. Self-contained Naftiko capability covering one Solarwinds business surface.

Run with Naftiko SolarwindsEvents

What You Can Do

GET
Searchevents — Solarwinds Search Log Events
/v1/events/search-json

MCP Tools

solarwinds-search-log-events

Solarwinds Search Log Events

read-only idempotent

Capability Spec

papertrail-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SolarWinds Papertrail API — Events
  description: 'SolarWinds Papertrail API — Events. 1 operations. Lead operation: Solarwinds Search Log Events. Self-contained
    Naftiko capability covering one Solarwinds business surface.'
  tags:
  - Solarwinds
  - Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SOLARWINDS_API_KEY: SOLARWINDS_API_KEY
capability:
  consumes:
  - type: http
    namespace: papertrail-events
    baseUri: https://papertrailapp.com/api/v1
    description: SolarWinds Papertrail API — Events business capability. Self-contained, no shared references.
    resources:
    - name: events-search.json
      path: /events/search.json
      operations:
      - name: searchevents
        method: GET
        description: Solarwinds Search Log Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Search query string
        - name: system_id
          in: query
          type: integer
          description: Limit results to a specific system
        - name: group_id
          in: query
          type: integer
          description: Limit results to a specific group
        - name: min_id
          in: query
          type: string
          description: Return events after this event ID
        - name: max_id
          in: query
          type: string
          description: Return events before this event ID
        - name: min_time
          in: query
          type: integer
          description: Start time (Unix timestamp)
        - name: max_time
          in: query
          type: integer
          description: End time (Unix timestamp)
        - name: limit
          in: query
          type: integer
          description: Maximum number of events to return
    authentication:
      type: apikey
      key: X-Papertrail-Token
      value: '{{env.SOLARWINDS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: papertrail-events-rest
    port: 8080
    description: REST adapter for SolarWinds Papertrail API — Events. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/events/search-json
      name: events-search-json
      description: REST surface for events-search.json.
      operations:
      - method: GET
        name: searchevents
        description: Solarwinds Search Log Events
        call: papertrail-events.searchevents
        with:
          q: rest.q
          system_id: rest.system_id
          group_id: rest.group_id
          min_id: rest.min_id
          max_id: rest.max_id
          min_time: rest.min_time
          max_time: rest.max_time
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: papertrail-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for SolarWinds Papertrail API — Events. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: solarwinds-search-log-events
      description: Solarwinds Search Log Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: papertrail-events.searchevents
      with:
        q: tools.q
        system_id: tools.system_id
        group_id: tools.group_id
        min_id: tools.min_id
        max_id: tools.max_id
        min_time: tools.min_time
        max_time: tools.max_time
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.