Datadog · Arazzo Workflow

Datadog Create a Service Account and Application Key

Version 1.0.0

Create a service account, mint an application key for it, then read the key back.

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

Provider

datadog

Workflows

create-service-account-key
Create a service account, create an application key, then get the key.
Creates a service-account user with the supplied email, mints an application key owned by that service account, and reads the key back by id.
3 steps inputs: email, keyName, title outputs: appKeyId, appKeyName, serviceAccountId
1
createServiceAccount
Create a service-account user with the supplied email.
2
createApplicationKey
Mint an application key owned by the new service account.
3
getApplicationKey
Fetch the minted application key by id to confirm it exists.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Create a Service Account and Application Key
  summary: Create a service account, mint an application key for it, then read the key back.
  description: >-
    An automation-provisioning pattern on the Datadog v2 Service Accounts API,
    substituted for a v1-only mute-host flow that this v2 specification does not
    expose. The workflow creates a service-account user, mints an application key
    owned by that service account, and reads the key back by id to confirm it
    exists. 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: accountApi
  url: ../openapi/datadog-account-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-service-account-key
  summary: Create a service account, create an application key, then get the key.
  description: >-
    Creates a service-account user with the supplied email, mints an application
    key owned by that service account, and reads the key back by id.
  inputs:
    type: object
    required:
    - email
    - keyName
    properties:
      email:
        type: string
        description: The email address of the service account to create.
      title:
        type: string
        description: Optional title of the service account.
      keyName:
        type: string
        description: Name of the application key to mint for the service account.
  steps:
  - stepId: createServiceAccount
    description: Create a service-account user with the supplied email.
    operationId: CreateServiceAccount
    requestBody:
      contentType: application/json
      payload:
        data:
          type: users
          attributes:
            email: $inputs.email
            title: $inputs.title
            service_account: true
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      serviceAccountId: $response.body#/data/id
  - stepId: createApplicationKey
    description: Mint an application key owned by the new service account.
    operationId: CreateServiceAccountApplicationKey
    parameters:
    - name: service_account_id
      in: path
      value: $steps.createServiceAccount.outputs.serviceAccountId
    requestBody:
      contentType: application/json
      payload:
        data:
          type: application_keys
          attributes:
            name: $inputs.keyName
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      appKeyId: $response.body#/data/id
      appKeyValue: $response.body#/data/attributes/key
  - stepId: getApplicationKey
    description: Fetch the minted application key by id to confirm it exists.
    operationId: GetServiceAccountApplicationKey
    parameters:
    - name: service_account_id
      in: path
      value: $steps.createServiceAccount.outputs.serviceAccountId
    - name: app_key_id
      in: path
      value: $steps.createApplicationKey.outputs.appKeyId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      appKeyName: $response.body#/data/attributes/name
  outputs:
    serviceAccountId: $steps.createServiceAccount.outputs.serviceAccountId
    appKeyId: $steps.createApplicationKey.outputs.appKeyId
    appKeyName: $steps.getApplicationKey.outputs.appKeyName

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-service-account-key-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.