ThingSpeak · Arazzo Workflow

ThingSpeak Inspect Channel and Aggregate Feed

Version 1.0.0

Read a channel's settings, then pull an averaged feed over a recent window.

1 workflow 1 source API 1 provider
View Spec View on GitHub IoTInternet of ThingsAnalyticsTime SeriesMQTTMATLABSensorsTelemetryArazzoWorkflows

Provider

thingspeak

Workflows

inspect-channel-and-aggregate-feed
Read channel settings, then read an averaged feed over a day window.
Reads channel metadata, then reads its feed for the last N days with an averaging interval applied server-side.
2 steps inputs: average, channelId, days, readApiKey, userApiKey outputs: channelName, feeds, lastEntryId
1
readChannel
Read the channel metadata to confirm it exists and capture its last entry id.
2
readAggregatedFeed
Read the channel feed over the recent window with averaging applied.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ThingSpeak Inspect Channel and Aggregate Feed
  summary: Read a channel's settings, then pull an averaged feed over a recent window.
  description: >-
    A reporting flow that first reads a channel's metadata to confirm it exists and
    capture its last entry id, then reads its feed over a recent day window with
    server-side averaging applied so a dashboard can plot a smoothed series. Every
    step spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: channelsApi
  url: ../openapi/thingspeak-channels-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-channel-and-aggregate-feed
  summary: Read channel settings, then read an averaged feed over a day window.
  description: >-
    Reads channel metadata, then reads its feed for the last N days with an
    averaging interval applied server-side.
  inputs:
    type: object
    required:
    - userApiKey
    - channelId
    properties:
      userApiKey:
        type: string
        description: User API Key on the THINGSPEAKAPIKEY header to read channel settings.
      channelId:
        type: integer
        description: Numeric id of the channel to inspect and aggregate.
      readApiKey:
        type: string
        description: Optional Channel Read API Key for reading a private feed.
      days:
        type: integer
        description: Number of days of history to include.
      average:
        type: string
        description: Averaging interval in minutes (10, 15, 20, 30, 60, 240, 1440, daily).
  steps:
  - stepId: readChannel
    description: >-
      Read the channel metadata to confirm it exists and capture its last entry id.
    operationId: readChannel
    parameters:
    - name: channel_id
      in: path
      value: $inputs.channelId
    - name: THINGSPEAKAPIKEY
      in: header
      value: $inputs.userApiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      channelName: $response.body#/name
      lastEntryId: $response.body#/last_entry_id
  - stepId: readAggregatedFeed
    description: >-
      Read the channel feed over the recent window with averaging applied.
    operationId: readChannelFeed
    parameters:
    - name: channel_id
      in: path
      value: $inputs.channelId
    - name: api_key
      in: query
      value: $inputs.readApiKey
    - name: days
      in: query
      value: $inputs.days
    - name: average
      in: query
      value: $inputs.average
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      channel: $response.body#/channel
      feeds: $response.body#/feeds
  outputs:
    channelName: $steps.readChannel.outputs.channelName
    lastEntryId: $steps.readChannel.outputs.lastEntryId
    feeds: $steps.readAggregatedFeed.outputs.feeds

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/thingspeak-inspect-channel-and-aggregate-feed-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.