SpecCheck · Arazzo Workflow

SpecCheck — List recent orders for a lab

Version 1.0.0

Authenticate, resolve the user's lab, then page recent orders (most recent first) with cursor pagination and an optional created-date filter. Every operationId is verified against openapi/speccheck-openapi.yml.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub CompanyEnterprise SaasOpticalEyewearEye CareOptical LabsPrescriptionsOrderingHealthcareArazzoWorkflows

Provider

speccheck

Workflows

list-recent-orders
Authenticate, resolve the lab, and list its recent orders.
3 steps inputs: client_id, client_secret, created_gte, limit, user_email outputs: has_more, orders
1
authenticate
Exchange client credentials for a 24-hour bearer token.
2
list-labs
Resolve the labs associated with the acting user.
3
list-orders
List recent orders for the lab, newest first.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SpecCheck — List recent orders for a lab
  version: 1.0.0
  summary: >-
    Authenticate, resolve the user's lab, then page recent orders (most recent
    first) with cursor pagination and an optional created-date filter. Every
    operationId is verified against openapi/speccheck-openapi.yml.
x-generated-by: api-evangelist enrichment pipeline (derived from openapi/speccheck-openapi.yml)
x-method: derived
sourceDescriptions:
- name: authenticationApi
  url: ../openapi/speccheck-authentication-api-openapi.yml
  type: openapi
- name: labsApi
  url: ../openapi/speccheck-labs-api-openapi.yml
  type: openapi
- name: ordersApi
  url: ../openapi/speccheck-orders-api-openapi.yml
  type: openapi
workflows:
- workflowId: list-recent-orders
  summary: Authenticate, resolve the lab, and list its recent orders.
  inputs:
    type: object
    required: [client_id, client_secret, user_email]
    properties:
      client_id: {type: string}
      client_secret: {type: string}
      user_email: {type: string, format: email}
      limit: {type: integer, minimum: 1, maximum: 100, default: 10}
      created_gte: {type: integer, description: Return orders created at or after this Unix timestamp.}
  steps:
  - stepId: authenticate
    description: Exchange client credentials for a 24-hour bearer token.
    operationId: createAccessToken
    requestBody:
      contentType: application/json
      payload:
        client_id: $inputs.client_id
        client_secret: $inputs.client_secret
    outputs:
      token: $response.body#/token
  - stepId: list-labs
    description: Resolve the labs associated with the acting user.
    operationId: listLabs
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.token
    - name: User-Email
      in: header
      value: $inputs.user_email
    outputs:
      lab_id: $response.body#/data/0/id
      account_number: $response.body#/data/0/account_number
  - stepId: list-orders
    description: List recent orders for the lab, newest first.
    operationId: listOrders
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.token
    - name: User-Email
      in: header
      value: $inputs.user_email
    - name: lab
      in: query
      value: $steps.list-labs.outputs.lab_id
    - name: account_number
      in: query
      value: $steps.list-labs.outputs.account_number
    - name: limit
      in: query
      value: $inputs.limit
    - name: created[gte]
      in: query
      value: $inputs.created_gte
    outputs:
      orders: $response.body#/data
      has_more: $response.body#/has_more
  outputs:
    orders: $steps.list-orders.outputs.orders
    has_more: $steps.list-orders.outputs.has_more

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/speccheck-list-recent-orders"
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.