Figma · Arazzo Workflow

Figma Report Library Usage

Version 1.0.0

Open a library file, then pull its component or style usage analytics.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UXArazzoWorkflows

Provider

figma

Workflows

report-library-usage
Open a library file and report its usage analytics.
Retrieves a library file and then pulls its usage analytics grouped by the requested dimension.
2 steps inputs: fileKey, groupBy, order outputs: components, fileName, files
1
getFile
Open the library file to confirm it is accessible before pulling its usage analytics.
2
getUsage
Retrieve the library analytics usage data grouped by the requested dimension.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Figma Report Library Usage
  summary: Open a library file, then pull its component or style usage analytics.
  description: >-
    A library-health flow that quantifies how widely a published library is
    adopted. The workflow opens the library file to confirm access and capture
    its metadata, then retrieves the library analytics usage data grouped by
    component or by file so adoption across teams and files can be reported.
    The file lookup comes from the Figma REST description while the analytics
    query comes from the dedicated analytics description, so both are
    referenced as distinct source descriptions. Every step spells out its
    request inline so the flow can be read and executed without opening the
    underlying OpenAPI description. Authentication is carried by the Figma
    personal access token bearer credential declared on each operation's
    security requirement.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4200.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4200.30
      capability_name: Software Design Management
      spec: figma-files-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: filesApi
  url: ../openapi/figma-files-api-openapi.yml
  type: openapi
- name: libraryAnalyticsApi
  url: ../openapi/figma-library-analytics-api-openapi.yml
  type: openapi
workflows:
- workflowId: report-library-usage
  summary: Open a library file and report its usage analytics.
  description: >-
    Retrieves a library file and then pulls its usage analytics grouped by the
    requested dimension.
  inputs:
    type: object
    required:
    - fileKey
    - groupBy
    properties:
      fileKey:
        type: string
        description: The file key of the published library to report on.
      groupBy:
        type: string
        description: The dimension to group usage data by (component or file).
      order:
        type: string
        description: Sort order of the returned rows (asc or desc).
  steps:
  - stepId: getFile
    description: >-
      Open the library file to confirm it is accessible before pulling its
      usage analytics.
    operationId: getFile
    parameters:
    - name: file_key
      in: path
      value: $inputs.fileKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      fileName: $response.body#/name
  - stepId: getUsage
    description: >-
      Retrieve the library analytics usage data grouped by the requested
      dimension.
    operationId: getLibraryAnalyticsUsages
    parameters:
    - name: file_key
      in: path
      value: $inputs.fileKey
    - name: group_by
      in: query
      value: $inputs.groupBy
    - name: order
      in: query
      value: $inputs.order
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      components: $response.body#/components
      files: $response.body#/files
      nextPage: $response.body#/nextPage
      cursor: $response.body#/cursor
  outputs:
    fileName: $steps.getFile.outputs.fileName
    components: $steps.getUsage.outputs.components
    files: $steps.getUsage.outputs.files

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/figma-report-library-usage-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.