Datadog · Arazzo Workflow

Datadog Search Incidents

Version 1.0.0

Search incidents by a facet query then fetch the first match by id.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsDashboardsMonitoringPlatformT1VisualizationsArazzoWorkflows

Provider

datadog

Workflows

search-incidents
Search incidents then get the first matching incident by id.
Runs a faceted incident search bounded by page size, then fetches the first matched incident by id to retrieve its full details.
2 steps inputs: query, sort outputs: attributes, incidentId, incidents
1
searchIncidents
SearchIncidents
Search for incidents matching the supplied facet query, returning the first page of matches.
2
getIncident
GetIncident
Retrieve the full details of the first incident returned by the search to inspect its current state and attributes.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Search Incidents
  summary: Search incidents by a facet query then fetch the first match by id.
  description: >-
    Finds Datadog incidents that match a faceted search query — for example
    active incidents at a given severity — and then retrieves the full details
    of the first matching incident by its identifier so its current state and
    attributes can be inspected. 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: datadogApi
  url: ../openapi/datadog-api-openapi.yml
  type: openapi
workflows:
- workflowId: search-incidents
  summary: Search incidents then get the first matching incident by id.
  description: >-
    Runs a faceted incident search bounded by page size, then fetches the
    first matched incident by id to retrieve its full details.
  inputs:
    type: object
    required:
    - query
    properties:
      query:
        type: string
        description: The incident search query (e.g. "state:active AND severity:(SEV-2 OR SEV-1)").
      sort:
        type: string
        description: The order of returned incidents (e.g. created, -created).
  steps:
  - stepId: searchIncidents
    description: >-
      Search for incidents matching the supplied facet query, returning the
      first page of matches.
    operationId: SearchIncidents
    parameters:
    - name: query
      in: query
      value: $inputs.query
    - name: sort
      in: query
      value: $inputs.sort
    - name: page[size]
      in: query
      value: 25
    - name: page[offset]
      in: query
      value: 0
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      incidents: $response.body#/data/attributes/incidents
      total: $response.body#/data/attributes/total
      firstIncidentId: $response.body#/data/attributes/incidents/0/data/id
  - stepId: getIncident
    description: >-
      Retrieve the full details of the first incident returned by the search
      to inspect its current state and attributes.
    operationId: GetIncident
    parameters:
    - name: incident_id
      in: path
      value: $steps.searchIncidents.outputs.firstIncidentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      incidentId: $response.body#/data/id
      attributes: $response.body#/data/attributes
  outputs:
    incidents: $steps.searchIncidents.outputs.incidents
    incidentId: $steps.getIncident.outputs.incidentId
    attributes: $steps.getIncident.outputs.attributes

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/datadog-search-incidents-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 email required.

A second provider on the same verified email joins the account you already have.