Logz.io · Arazzo Workflow

Logz.io Verify Token And Discover Accounts

Version 1.0.0

Confirm which account a token belongs to, then list its associated accounts.

1 workflow 1 source API 1 provider
View Spec View on GitHub ObservabilityLoggingMetricsTracingSIEMELKElasticsearchOpenSearchPrometheusGrafanaOpenTelemetryAIOpsCloud ObservabilityManaged ELKCost ManagementArazzoWorkflows

Provider

logz-io

Workflows

verify-account
Confirm the token's account and list its related accounts.
Calls whoami to confirm the token's account, then retrieves all related accounts, branching on whether more than one account was returned.
2 steps inputs: apiToken outputs: accountId, accountName
1
whoAmI
Confirm which account the token belongs to by reading the account name and id.
2
relatedAccounts
List all accounts derived from the token's account. If the token belongs to an owner account, all sub accounts are returned.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Logz.io Verify Token And Discover Accounts
  summary: Confirm which account a token belongs to, then list its associated accounts.
  description: >-
    Validates an API token and discovers the accounts it can reach. The
    workflow calls whoami to confirm the token's account name and id, then
    fetches all accounts derived from that account and branches on whether any
    associated sub accounts were returned. 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: logzioApi
  url: ../openapi/logz-io-api-openapi.yml
  type: openapi
workflows:
- workflowId: verify-account
  summary: Confirm the token's account and list its related accounts.
  description: >-
    Calls whoami to confirm the token's account, then retrieves all related
    accounts, branching on whether more than one account was returned.
  inputs:
    type: object
    required:
    - apiToken
    properties:
      apiToken:
        type: string
        description: Logz.io API token sent in the X-API-TOKEN header.
  steps:
  - stepId: whoAmI
    description: >-
      Confirm which account the token belongs to by reading the account name and
      id.
    operationId: whoAmI
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accountName: $response.body#/accountName
      accountId: $response.body#/accountId
  - stepId: relatedAccounts
    description: >-
      List all accounts derived from the token's account. If the token belongs
      to an owner account, all sub accounts are returned.
    operationId: getRelatedAccounts
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstAccountId: $response.body#/0/accountId
    onSuccess:
    - name: hasSubAccounts
      type: end
      criteria:
      - context: $response.body
        condition: $.length > 1
        type: jsonpath
    - name: standaloneAccount
      type: end
      criteria:
      - context: $response.body
        condition: $.length == 1
        type: jsonpath
  outputs:
    accountId: $steps.whoAmI.outputs.accountId
    accountName: $steps.whoAmI.outputs.accountName

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/logz-io-account-verify-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.