Macroscope · OpenAPI Overlay 1.0.0

Macroscope Agent Webhook API - API Evangelist enrichment overlay

3 actions 3 updates update extends ../openapi/macroscope-webhook-api.json
Generated by API Evangelist Written by API Evangelist tooling for Macroscope's API. It is a proposal applied on top of the contract, not a document Macroscope publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelistx-prerequisitex-asyncx-token-ttl

Targets 3

$.info
$.paths['/api/v1/workspaces/{workspaceType}/{workspaceId}/query-agent-webhook-trigger'].post
$.paths['/api/v1/workspaces/{workspaceType}/{workspaceId}/query-agent-jobs'].get

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: Macroscope Agent Webhook API - API Evangelist enrichment overlay
  version: 1.0.0
x-provenance:
  generated: '2026-07-20'
  method: generated
  source: >-
    Enhancements over openapi/macroscope-webhook-api.json, itself generated from
    https://docs.macroscope.com/api.md
extends: ../openapi/macroscope-webhook-api.json
actions:
  - target: $.info
    description: Tag the spec with API Evangelist enrichment metadata.
    update:
      x-apievangelist:
        provider: macroscope
        enriched: '2026-07-20'
        notes: >-
          The vendor-published /api-reference/openapi.json is a Mintlify sample
          template; this spec was reconstructed from the prose API docs.
  - target: "$.paths['/api/v1/workspaces/{workspaceType}/{workspaceId}/query-agent-webhook-trigger'].post"
    description: Annotate the trigger operation with prerequisite and async-pattern notes.
    update:
      x-prerequisite: Status must be configured and backfill finished before the API will run.
      x-async: Returns 202 with a jobToken and pollUrl; results are pushed to Slack/webhook or pulled via polling.
  - target: "$.paths['/api/v1/workspaces/{workspaceType}/{workspaceId}/query-agent-jobs'].get"
    description: Annotate the poll operation with token lifetime.
    update:
      x-token-ttl: Job token is valid ~1 hour; expired tokens return 403.