APIs.io Engineering Platform Cloudflare API — Stream Videos

APIs.io Engineering Platform Cloudflare API — Stream Videos. 10 operations. Lead operation: APIs.io Engineering Platform List videos. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformStream Videos

What You Can Do

GET
Streamvideoslistvideos — APIs.io Engineering Platform List videos
/v1/accounts/{account-id}/stream
POST
Streamvideosinitiatevideouploadsusingtus — APIs.io Engineering Platform Initiate video uploads using TUS
/v1/accounts/{account-id}/stream
POST
Streamvideosuploadvideosfromaurl — APIs.io Engineering Platform Upload videos from a URL
/v1/accounts/{account-id}/stream/copy
POST
Streamvideosuploadvideosviadirectuploadurls — APIs.io Engineering Platform Upload videos via direct upload URLs
/v1/accounts/{account-id}/stream/direct-upload
GET
Streamvideosstorageusage — APIs.io Engineering Platform Storage use
/v1/accounts/{account-id}/stream/storage-usage
DELETE
Streamvideosdeletevideo — APIs.io Engineering Platform Delete video
/v1/accounts/{account-id}/stream/{identifier}
GET
Streamvideosretrievevideodetails — APIs.io Engineering Platform Retrieve video details
/v1/accounts/{account-id}/stream/{identifier}
POST
Streamvideosupdatevideodetails — APIs.io Engineering Platform Edit video details
/v1/accounts/{account-id}/stream/{identifier}
GET
Streamvideosretreieveembedcodehtml — APIs.io Engineering Platform Retrieve embed Code HTML
/v1/accounts/{account-id}/stream/{identifier}/embed
POST
Streamvideoscreatesignedurltokensforvideos — APIs.io Engineering Platform Create signed URL tokens for videos
/v1/accounts/{account-id}/stream/{identifier}/token

MCP Tools

apis-io-engineering-platform-list-videos

APIs.io Engineering Platform List videos

read-only idempotent
apis-io-engineering-platform-initiate-video

APIs.io Engineering Platform Initiate video uploads using TUS

apis-io-engineering-platform-upload-videos

APIs.io Engineering Platform Upload videos from a URL

apis-io-engineering-platform-upload-videos-2

APIs.io Engineering Platform Upload videos via direct upload URLs

apis-io-engineering-platform-storage-use

APIs.io Engineering Platform Storage use

read-only idempotent
apis-io-engineering-platform-delete-video

APIs.io Engineering Platform Delete video

idempotent
apis-io-engineering-platform-retrieve-video

APIs.io Engineering Platform Retrieve video details

read-only idempotent
apis-io-engineering-platform-edit-video

APIs.io Engineering Platform Edit video details

apis-io-engineering-platform-retrieve-embed

APIs.io Engineering Platform Retrieve embed Code HTML

read-only idempotent
apis-io-engineering-platform-create-signed

APIs.io Engineering Platform Create signed URL tokens for videos

Capability Spec

cloudflare-stream-videos.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Stream Videos
  description: 'APIs.io Engineering Platform Cloudflare API — Stream Videos. 10 operations. Lead operation: APIs.io Engineering
    Platform List videos. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Stream Videos
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudflare-stream-videos
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Stream Videos business capability. Self-contained, no shared
      references.
    resources:
    - name: accounts-account_id-stream
      path: /accounts/{account_id}/stream
      operations:
      - name: streamvideoslistvideos
        method: GET
        description: APIs.io Engineering Platform List videos
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: status
          in: query
          type: string
        - name: creator
          in: query
          type: string
        - name: type
          in: query
          type: string
        - name: asc
          in: query
          type: string
        - name: search
          in: query
          type: string
        - name: start
          in: query
          type: string
        - name: end
          in: query
          type: string
        - name: include_counts
          in: query
          type: string
      - name: streamvideosinitiatevideouploadsusingtus
        method: POST
        description: APIs.io Engineering Platform Initiate video uploads using TUS
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Tus-Resumable
          in: header
          type: string
          required: true
        - name: Upload-Creator
          in: header
          type: string
        - name: Upload-Length
          in: header
          type: string
          required: true
        - name: Upload-Metadata
          in: header
          type: string
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-stream-copy
      path: /accounts/{account_id}/stream/copy
      operations:
      - name: streamvideosuploadvideosfromaurl
        method: POST
        description: APIs.io Engineering Platform Upload videos from a URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: Upload-Creator
          in: header
          type: string
        - name: Upload-Metadata
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-stream-direct_upload
      path: /accounts/{account_id}/stream/direct_upload
      operations:
      - name: streamvideosuploadvideosviadirectuploadurls
        method: POST
        description: APIs.io Engineering Platform Upload videos via direct upload URLs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: Upload-Creator
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-stream-storage-usage
      path: /accounts/{account_id}/stream/storage-usage
      operations:
      - name: streamvideosstorageusage
        method: GET
        description: APIs.io Engineering Platform Storage use
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: creator
          in: query
          type: string
    - name: accounts-account_id-stream-identifier
      path: /accounts/{account_id}/stream/{identifier}
      operations:
      - name: streamvideosdeletevideo
        method: DELETE
        description: APIs.io Engineering Platform Delete video
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identifier
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: streamvideosretrievevideodetails
        method: GET
        description: APIs.io Engineering Platform Retrieve video details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identifier
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
      - name: streamvideosupdatevideodetails
        method: POST
        description: APIs.io Engineering Platform Edit video details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identifier
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-stream-identifier-embed
      path: /accounts/{account_id}/stream/{identifier}/embed
      operations:
      - name: streamvideosretreieveembedcodehtml
        method: GET
        description: APIs.io Engineering Platform Retrieve embed Code HTML
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identifier
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
    - name: accounts-account_id-stream-identifier-token
      path: /accounts/{account_id}/stream/{identifier}/token
      operations:
      - name: streamvideoscreatesignedurltokensforvideos
        method: POST
        description: APIs.io Engineering Platform Create signed URL tokens for videos
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identifier
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-stream-videos-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Stream Videos. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/stream
      name: accounts-account-id-stream
      description: REST surface for accounts-account_id-stream.
      operations:
      - method: GET
        name: streamvideoslistvideos
        description: APIs.io Engineering Platform List videos
        call: cloudflare-stream-videos.streamvideoslistvideos
        with:
          account_id: rest.account_id
          status: rest.status
          creator: rest.creator
          type: rest.type
          asc: rest.asc
          search: rest.search
          start: rest.start
          end: rest.end
          include_counts: rest.include_counts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: streamvideosinitiatevideouploadsusingtus
        description: APIs.io Engineering Platform Initiate video uploads using TUS
        call: cloudflare-stream-videos.streamvideosinitiatevideouploadsusingtus
        with:
          Tus-Resumable: rest.Tus-Resumable
          Upload-Creator: rest.Upload-Creator
          Upload-Length: rest.Upload-Length
          Upload-Metadata: rest.Upload-Metadata
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/stream/copy
      name: accounts-account-id-stream-copy
      description: REST surface for accounts-account_id-stream-copy.
      operations:
      - method: POST
        name: streamvideosuploadvideosfromaurl
        description: APIs.io Engineering Platform Upload videos from a URL
        call: cloudflare-stream-videos.streamvideosuploadvideosfromaurl
        with:
          account_id: rest.account_id
          Upload-Creator: rest.Upload-Creator
          Upload-Metadata: rest.Upload-Metadata
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/stream/direct-upload
      name: accounts-account-id-stream-direct-upload
      description: REST surface for accounts-account_id-stream-direct_upload.
      operations:
      - method: POST
        name: streamvideosuploadvideosviadirectuploadurls
        description: APIs.io Engineering Platform Upload videos via direct upload URLs
        call: cloudflare-stream-videos.streamvideosuploadvideosviadirectuploadurls
        with:
          account_id: rest.account_id
          Upload-Creator: rest.Upload-Creator
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/stream/storage-usage
      name: accounts-account-id-stream-storage-usage
      description: REST surface for accounts-account_id-stream-storage-usage.
      operations:
      - method: GET
        name: streamvideosstorageusage
        description: APIs.io Engineering Platform Storage use
        call: cloudflare-stream-videos.streamvideosstorageusage
        with:
          account_id: rest.account_id
          creator: rest.creator
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/stream/{identifier}
      name: accounts-account-id-stream-identifier
      description: REST surface for accounts-account_id-stream-identifier.
      operations:
      - method: DELETE
        name: streamvideosdeletevideo
        description: APIs.io Engineering Platform Delete video
        call: cloudflare-stream-videos.streamvideosdeletevideo
        with:
          identifier: rest.identifier
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: streamvideosretrievevideodetails
        description: APIs.io Engineering Platform Retrieve video details
        call: cloudflare-stream-videos.streamvideosretrievevideodetails
        with:
          identifier: rest.identifier
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: streamvideosupdatevideodetails
        description: APIs.io Engineering Platform Edit video details
        call: cloudflare-stream-videos.streamvideosupdatevideodetails
        with:
          identifier: rest.identifier
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/stream/{identifier}/embed
      name: accounts-account-id-stream-identifier-embed
      description: REST surface for accounts-account_id-stream-identifier-embed.
      operations:
      - method: GET
        name: streamvideosretreieveembedcodehtml
        description: APIs.io Engineering Platform Retrieve embed Code HTML
        call: cloudflare-stream-videos.streamvideosretreieveembedcodehtml
        with:
          identifier: rest.identifier
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/stream/{identifier}/token
      name: accounts-account-id-stream-identifier-token
      description: REST surface for accounts-account_id-stream-identifier-token.
      operations:
      - method: POST
        name: streamvideoscreatesignedurltokensforvideos
        description: APIs.io Engineering Platform Create signed URL tokens for videos
        call: cloudflare-stream-videos.streamvideoscreatesignedurltokensforvideos
        with:
          identifier: rest.identifier
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-stream-videos-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Stream Videos. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-videos
      description: APIs.io Engineering Platform List videos
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-stream-videos.streamvideoslistvideos
      with:
        account_id: tools.account_id
        status: tools.status
        creator: tools.creator
        type: tools.type
        asc: tools.asc
        search: tools.search
        start: tools.start
        end: tools.end
        include_counts: tools.include_counts
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-initiate-video
      description: APIs.io Engineering Platform Initiate video uploads using TUS
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-stream-videos.streamvideosinitiatevideouploadsusingtus
      with:
        Tus-Resumable: tools.Tus-Resumable
        Upload-Creator: tools.Upload-Creator
        Upload-Length: tools.Upload-Length
        Upload-Metadata: tools.Upload-Metadata
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-upload-videos
      description: APIs.io Engineering Platform Upload videos from a URL
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-stream-videos.streamvideosuploadvideosfromaurl
      with:
        account_id: tools.account_id
        Upload-Creator: tools.Upload-Creator
        Upload-Metadata: tools.Upload-Metadata
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-upload-videos-2
      description: APIs.io Engineering Platform Upload videos via direct upload URLs
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-stream-videos.streamvideosuploadvideosviadirectuploadurls
      with:
        account_id: tools.account_id
        Upload-Creator: tools.Upload-Creator
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-storage-use
      description: APIs.io Engineering Platform Storage use
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-stream-videos.streamvideosstorageusage
      with:
        account_id: tools.account_id
        creator: tools.creator
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-video
      description: APIs.io Engineering Platform Delete video
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-stream-videos.streamvideosdeletevideo
      with:
        identifier: tools.identifier
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-retrieve-video
      description: APIs.io Engineering Platform Retrieve video details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-stream-videos.streamvideosretrievevideodetails
      with:
        identifier: tools.identifier
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-edit-video
      description: APIs.io Engineering Platform Edit video details
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-stream-videos.streamvideosupdatevideodetails
      with:
        identifier: tools.identifier
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-retrieve-embed
      description: APIs.io Engineering Platform Retrieve embed Code HTML
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-stream-videos.streamvideosretreieveembedcodehtml
      with:
        identifier: tools.identifier
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-signed
      description: APIs.io Engineering Platform Create signed URL tokens for videos
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-stream-videos.streamvideoscreatesignedurltokensforvideos
      with:
        identifier: tools.identifier
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.