fauna · Capability

Fauna Core HTTP API — EventFeeds

Fauna Core HTTP API — EventFeeds. 1 operations. Lead operation: Poll an event feed. Self-contained Naftiko capability covering one Fauna business surface.

Run with Naftiko FaunaEventFeeds

What You Can Do

POST
Polleventfeed — Poll an event feed
/v1/feed/1

MCP Tools

poll-event-feed

Poll an event feed

Capability Spec

core-http-eventfeeds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fauna Core HTTP API — EventFeeds
  description: 'Fauna Core HTTP API — EventFeeds. 1 operations. Lead operation: Poll an event feed. Self-contained Naftiko
    capability covering one Fauna business surface.'
  tags:
  - Fauna
  - EventFeeds
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FAUNA_API_KEY: FAUNA_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-http-eventfeeds
    baseUri: https://db.fauna.com
    description: Fauna Core HTTP API — EventFeeds business capability. Self-contained, no shared references.
    resources:
    - name: feed-1
      path: /feed/1
      operations:
      - name: polleventfeed
        method: POST
        description: Poll an event feed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.FAUNA_API_KEY}}'
  exposes:
  - type: rest
    namespace: core-http-eventfeeds-rest
    port: 8080
    description: REST adapter for Fauna Core HTTP API — EventFeeds. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/feed/1
      name: feed-1
      description: REST surface for feed-1.
      operations:
      - method: POST
        name: polleventfeed
        description: Poll an event feed
        call: core-http-eventfeeds.polleventfeed
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-http-eventfeeds-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fauna Core HTTP API — EventFeeds. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: poll-event-feed
      description: Poll an event feed
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-http-eventfeeds.polleventfeed
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.