Youtube · Capability

YouTube Reporting API — ReportTypes

YouTube Reporting API — ReportTypes. 1 operations. Lead operation: Youtube List Report Types. Self-contained Naftiko capability covering one Youtube business surface.

Run with Naftiko YoutubeReportTypes

What You Can Do

GET
Youtubereportingreporttypeslist — Youtube List Report Types
/v1/reporttypes

MCP Tools

youtube-list-report-types

Youtube List Report Types

read-only idempotent

Capability Spec

reporting-reporttypes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: YouTube Reporting API — ReportTypes
  description: 'YouTube Reporting API — ReportTypes. 1 operations. Lead operation: Youtube List Report Types. Self-contained
    Naftiko capability covering one Youtube business surface.'
  tags:
  - Youtube
  - ReportTypes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    YOUTUBE_API_KEY: YOUTUBE_API_KEY
capability:
  consumes:
  - type: http
    namespace: reporting-reporttypes
    baseUri: https://youtubereporting.googleapis.com/v1
    description: YouTube Reporting API — ReportTypes business capability. Self-contained, no shared references.
    resources:
    - name: reportTypes
      path: /reportTypes
      operations:
      - name: youtubereportingreporttypeslist
        method: GET
        description: Youtube List Report Types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: onBehalfOfContentOwner
          in: query
          type: string
          description: The content owner's external ID on which behalf the user is acting on.
        - name: includeSystemManaged
          in: query
          type: boolean
          description: If set to true, also returns system-managed report types.
        - name: pageToken
          in: query
          type: string
          description: A token identifying a page of results to return.
        - name: pageSize
          in: query
          type: integer
          description: The maximum number of items to return in the response.
    authentication:
      type: bearer
      token: '{{env.YOUTUBE_API_KEY}}'
  exposes:
  - type: rest
    namespace: reporting-reporttypes-rest
    port: 8080
    description: REST adapter for YouTube Reporting API — ReportTypes. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reporttypes
      name: reporttypes
      description: REST surface for reportTypes.
      operations:
      - method: GET
        name: youtubereportingreporttypeslist
        description: Youtube List Report Types
        call: reporting-reporttypes.youtubereportingreporttypeslist
        with:
          onBehalfOfContentOwner: rest.onBehalfOfContentOwner
          includeSystemManaged: rest.includeSystemManaged
          pageToken: rest.pageToken
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: reporting-reporttypes-mcp
    port: 9090
    transport: http
    description: MCP adapter for YouTube Reporting API — ReportTypes. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: youtube-list-report-types
      description: Youtube List Report Types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reporting-reporttypes.youtubereportingreporttypeslist
      with:
        onBehalfOfContentOwner: tools.onBehalfOfContentOwner
        includeSystemManaged: tools.includeSystemManaged
        pageToken: tools.pageToken
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.