Socket · Arazzo Workflow

Socket Start and Poll Historical Snapshot

Version 1.0.0

Start an on-demand historical data snapshot job, then poll the snapshot list until the job's request id appears.

1 workflow 1 source API 1 provider
View Spec View on GitHub Supply Chain SecurityOpen Source SecuritySoftware Composition AnalysisSCAMalware DetectionDependency ScanningSBOMnpmPyPIGoMavenCargoNuGetRubyGemsDeveloper SecurityArazzoWorkflows

Provider

socket-dev

Workflows

snapshot-and-list
Start a snapshot job and poll the snapshot list by its request id.
Starts an on-demand historical snapshot job, then lists snapshots filtered to the returned request id, looping until the snapshot is recorded.
2 steps inputs: orgSlug outputs: requestId, snapshotMeta
1
startSnapshot
Start an on-demand historical snapshot job and capture its request id.
2
listSnapshots
List snapshots filtered to the started job's request id. Loop back while the snapshot is still in progress; finish once a record is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Socket Start and Poll Historical Snapshot
  summary: Start an on-demand historical data snapshot job, then poll the snapshot list until the job's request id appears.
  description: >-
    A historical-data capture flow. It kicks off an on-demand snapshot job that
    captures the organization's repositories, alerts, dependencies, artifacts,
    users, and settings, and then polls the snapshot list filtered to the
    returned request id. While the job is in progress the list returns the
    snapshot in an in-progress status and the workflow loops; once a terminal
    status is recorded the flow 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: orgSnapshotsApi
  url: ../openapi/socket-dev-org-snapshots-api-openapi.yml
  type: openapi
workflows:
- workflowId: snapshot-and-list
  summary: Start a snapshot job and poll the snapshot list by its request id.
  description: >-
    Starts an on-demand historical snapshot job, then lists snapshots filtered
    to the returned request id, looping until the snapshot is recorded.
  inputs:
    type: object
    required:
    - orgSlug
    properties:
      orgSlug:
        type: string
        description: The slug of the organization.
  steps:
  - stepId: startSnapshot
    description: >-
      Start an on-demand historical snapshot job and capture its request id.
    operationId: historicalSnapshotsStart
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      requestId: $response.body#/requestId
      requestedAt: $response.body#/requestedAt
  - stepId: listSnapshots
    description: >-
      List snapshots filtered to the started job's request id. Loop back while
      the snapshot is still in progress; finish once a record is present.
    operationId: historicalSnapshotsList
    parameters:
    - name: org_slug
      in: path
      value: $inputs.orgSlug
    - name: range
      in: query
      value: latest
    - name: filters.requestId
      in: query
      value: $steps.startSnapshot.outputs.requestId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      meta: $response.body#/meta
    onSuccess:
    - name: snapshotRecorded
      type: end
  outputs:
    requestId: $steps.startSnapshot.outputs.requestId
    snapshotMeta: $steps.listSnapshots.outputs.meta

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/socket-dev-snapshot-and-list-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.