Datadog · Arazzo Workflow

Datadog Create a Role

Version 1.0.0

Create a role, read it back, then list roles.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub AnalyticsDashboardsMonitoringPlatformT1VisualizationsArazzoWorkflows

Provider

datadog

Workflows

create-role
Create a Datadog role, get it, then list roles.
Creates a role with the supplied name, reads it back by id, and lists roles in the organization.
3 steps inputs: name outputs: roleId, roleName, roles
1
createRole
Create a new role with the supplied name.
2
getRole
Fetch the created role by id to confirm it exists.
3
listRoles
List roles in the organization so the new role can be located.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Create a Role
  summary: Create a role, read it back, then list roles.
  description: >-
    An access-control provisioning pattern on the Datadog v2 Roles API,
    substituted for a v1-only synthetics flow that this v2 specification does not
    expose. The workflow creates a named role, fetches the created role by id to
    confirm it exists, and then lists roles so the new role can be located among
    them. 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: createApi
  url: ../openapi/datadog-create-api-openapi.yml
  type: openapi
- name: getApi
  url: ../openapi/datadog-get-api-openapi.yml
  type: openapi
- name: listsApi
  url: ../openapi/datadog-lists-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-role
  summary: Create a Datadog role, get it, then list roles.
  description: >-
    Creates a role with the supplied name, reads it back by id, and lists roles
    in the organization.
  inputs:
    type: object
    required:
    - name
    properties:
      name:
        type: string
        description: Name of the role to create (e.g. "developers").
  steps:
  - stepId: createRole
    description: Create a new role with the supplied name.
    operationId: CreateRole
    requestBody:
      contentType: application/json
      payload:
        data:
          type: roles
          attributes:
            name: $inputs.name
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      roleId: $response.body#/data/id
  - stepId: getRole
    description: Fetch the created role by id to confirm it exists.
    operationId: GetRole
    parameters:
    - name: role_id
      in: path
      value: $steps.createRole.outputs.roleId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      roleName: $response.body#/data/attributes/name
  - stepId: listRoles
    description: List roles in the organization so the new role can be located.
    operationId: ListRoles
    parameters:
    - name: filter
      in: query
      value: $inputs.name
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      roles: $response.body#/data
  outputs:
    roleId: $steps.createRole.outputs.roleId
    roleName: $steps.getRole.outputs.roleName
    roles: $steps.listRoles.outputs.roles

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-create-role-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.