Imentiv AI · Capability

Welcome to Imentiv AI — Report API

Welcome to Imentiv AI — Report API. 1 operations. Lead operation: Generate Pdf Report. Self-contained Naftiko capability covering one Imentiv Ai business surface.

Run with Naftiko Imentiv AiReport API

What You Can Do

GET
Generatepdfreportv2reportspdfmediaidget — Generate Pdf Report
/v1/v2/reports/pdf/{media-id}

MCP Tools

generate-pdf-report

Generate Pdf Report

read-only idempotent

Capability Spec

imentiv-ai-report-api.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Welcome to Imentiv AI — Report API
  description: 'Welcome to Imentiv AI — Report API. 1 operations. Lead operation: Generate Pdf Report. Self-contained Naftiko
    capability covering one Imentiv Ai business surface.'
  tags:
  - Imentiv Ai
  - Report API
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    IMENTIV_AI_API_KEY: IMENTIV_AI_API_KEY
capability:
  consumes:
  - type: http
    namespace: imentiv-ai-report-api
    baseUri: ''
    description: Welcome to Imentiv AI — Report API business capability. Self-contained, no shared references.
    resources:
    - name: v2-reports-pdf-media_id
      path: /v2/reports/pdf/{media_id}
      operations:
      - name: generatepdfreportv2reportspdfmediaidget
        method: GET
        description: Generate Pdf Report
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: media_id
          in: path
          type: string
          description: Unique identifier of the media
          required: true
        - name: media_type
          in: query
          type: string
          description: 'Type: Only ''video'' is allowed at present'
          required: true
        - name: callback_url
          in: query
          type: string
          description: Callback URL for completion notification
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.IMENTIV_AI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: imentiv-ai-report-api-rest
    port: 8080
    description: REST adapter for Welcome to Imentiv AI — Report API. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/reports/pdf/{media-id}
      name: v2-reports-pdf-media-id
      description: REST surface for v2-reports-pdf-media_id.
      operations:
      - method: GET
        name: generatepdfreportv2reportspdfmediaidget
        description: Generate Pdf Report
        call: imentiv-ai-report-api.generatepdfreportv2reportspdfmediaidget
        with:
          media_id: rest.media_id
          media_type: rest.media_type
          callback_url: rest.callback_url
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: imentiv-ai-report-api-mcp
    port: 9090
    transport: http
    description: MCP adapter for Welcome to Imentiv AI — Report API. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: generate-pdf-report
      description: Generate Pdf Report
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: imentiv-ai-report-api.generatepdfreportv2reportspdfmediaidget
      with:
        media_id: tools.media_id
        media_type: tools.media_type
        callback_url: tools.callback_url
      outputParameters:
      - type: object
        mapping: $.