GitHub Copilot · Arazzo Workflow

GitHub Copilot Audit Seat Assignments

Version 1.0.0

List all Copilot seat assignments for an organization and drill into the first seat's details.

1 workflow 1 source API 1 provider
View Spec View on GitHub AgentsArtificial IntelligenceCode GenerationCode ReviewCoding AgentsCustom InstructionsDeveloper ToolsExtensionsIDEMachine-LearningMCPMetricsProductivityArazzoWorkflows

Provider

github-copilot

Workflows

audit-seats
List Copilot seats and inspect the first assignee's seat details.
Lists all Copilot seat assignments for the organization, branches on whether any seats were returned, and reads the seat detail for the supplied inspection username when seats are present.
2 steps inputs: inspectUsername, org, page, perPage outputs: inspectedLastActivityAt, inspectedPlanType, totalSeats
1
listSeats
Enumerate all active Copilot seats billed to the organization, including each user's last activity date, editor, and authentication timestamp.
2
inspectSeat
Read the comprehensive Copilot seat assignment details for the inspection user, including usage patterns, last activity, and assignment origin.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: GitHub Copilot Audit Seat Assignments
  summary: List all Copilot seat assignments for an organization and drill into the first seat's details.
  description: >-
    An auditing flow for GitHub Copilot seats. The workflow enumerates all
    active Copilot seats billed to the organization, then branches: when at
    least one seat exists it fetches the detailed seat assignment for the first
    assignee, and when no seats exist it ends. 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: copilotSeatsApi
  url: ../openapi/github-copilot-copilot-seats-api-openapi.yml
  type: openapi
workflows:
- workflowId: audit-seats
  summary: List Copilot seats and inspect the first assignee's seat details.
  description: >-
    Lists all Copilot seat assignments for the organization, branches on whether
    any seats were returned, and reads the seat detail for the supplied
    inspection username when seats are present.
  inputs:
    type: object
    required:
    - org
    - inspectUsername
    properties:
      org:
        type: string
        description: The organization name (case-insensitive).
      inspectUsername:
        type: string
        description: A seated username whose seat detail is read when seats exist.
      perPage:
        type: integer
        description: Number of seats to return per page (max 100).
        default: 50
      page:
        type: integer
        description: The page number of results to fetch.
        default: 1
  steps:
  - stepId: listSeats
    description: >-
      Enumerate all active Copilot seats billed to the organization, including
      each user's last activity date, editor, and authentication timestamp.
    operationId: listCopilotSeats
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: per_page
      in: query
      value: $inputs.perPage
    - name: page
      in: query
      value: $inputs.page
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      totalSeats: $response.body#/total_seats
      seats: $response.body#/seats
    onSuccess:
    - name: seatsPresent
      type: goto
      stepId: inspectSeat
      criteria:
      - context: $response.body
        condition: $.total_seats > 0
        type: jsonpath
    - name: noSeats
      type: end
      criteria:
      - context: $response.body
        condition: $.total_seats == 0
        type: jsonpath
  - stepId: inspectSeat
    description: >-
      Read the comprehensive Copilot seat assignment details for the inspection
      user, including usage patterns, last activity, and assignment origin.
    operationId: getCopilotSeatForUser
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: username
      in: path
      value: $inputs.inspectUsername
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      planType: $response.body#/plan_type
      lastActivityAt: $response.body#/last_activity_at
      lastActivityEditor: $response.body#/last_activity_editor
      pendingCancellationDate: $response.body#/pending_cancellation_date
  outputs:
    totalSeats: $steps.listSeats.outputs.totalSeats
    inspectedPlanType: $steps.inspectSeat.outputs.planType
    inspectedLastActivityAt: $steps.inspectSeat.outputs.lastActivityAt

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/github-copilot-audit-seats-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.