Affinda · Arazzo Workflow

Affinda Workspace Usage Report

Version 1.0.0

List an organization's workspaces, then pull a daily credit-consumption report scoped to the first workspace.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceDocument ProcessingIntelligent Document ProcessingIDPOCRResume ParsingInvoice ParsingReceipt ParsingDocument ExtractionDocument ClassificationDocument SplittingRecruitmentBankingInsuranceLogisticsHealthcareGovernmentArazzoWorkflows

Provider

affinda

Workflows

workspace-usage-report
List workspaces then report usage for the first one.
Lists the organization's workspaces and reports daily credit consumption scoped to the organization and first workspace over a date range.
2 steps inputs: end, organization, start outputs: firstWorkspaceIdentifier, usage
1
listWorkspaces
List the workspaces belonging to the organization.
2
getUsage
Pull daily credit consumption scoped to the organization and the first workspace over the supplied date range.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Affinda Workspace Usage Report
  summary: List an organization's workspaces, then pull a daily credit-consumption report scoped to the first workspace.
  description: >-
    Produces a billing-style usage report. The organization's workspaces are
    listed, and then the unified usage endpoint is called scoped to both the
    organization and the first workspace, returning daily credit consumption over a
    date range. 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: usageApi
  url: ../openapi/affinda-usage-api-openapi.yml
  type: openapi
- name: workspacesApi
  url: ../openapi/affinda-workspaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: workspace-usage-report
  summary: List workspaces then report usage for the first one.
  description: >-
    Lists the organization's workspaces and reports daily credit consumption
    scoped to the organization and first workspace over a date range.
  inputs:
    type: object
    required:
    - organization
    properties:
      organization:
        type: string
        description: The organization identifier to report usage for.
      start:
        type: string
        description: Inclusive start date of the report (YYYY-MM-DD).
      end:
        type: string
        description: Inclusive end date of the report (YYYY-MM-DD).
  steps:
  - stepId: listWorkspaces
    description: List the workspaces belonging to the organization.
    operationId: getAllWorkspaces
    parameters:
    - name: organization
      in: query
      value: $inputs.organization
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstWorkspaceIdentifier: $response.body#/0/identifier
  - stepId: getUsage
    description: >-
      Pull daily credit consumption scoped to the organization and the first
      workspace over the supplied date range.
    operationId: getUsage
    parameters:
    - name: organization
      in: query
      value: $inputs.organization
    - name: workspace
      in: query
      value: $steps.listWorkspaces.outputs.firstWorkspaceIdentifier
    - name: start
      in: query
      value: $inputs.start
    - name: end
      in: query
      value: $inputs.end
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      usage: $response.body
  outputs:
    firstWorkspaceIdentifier: $steps.listWorkspaces.outputs.firstWorkspaceIdentifier
    usage: $steps.getUsage.outputs.usage

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/affinda-workspace-usage-report-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.