Logz.io · Arazzo Workflow

Logz.io Provision a Sub Account

Version 1.0.0

Create a time-based log sub account, read it back, and adjust its retention.

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

Provider

logz-io

Workflows

provision-subaccount
Create a time-based sub account, confirm it, and update its retention.
Creates a time-based sub account, retrieves it by id, and updates its retention days.
3 steps inputs: accountName, apiToken, email, maxDailyGB, retentionDays outputs: accountId
1
createSubAccount
Create a new time-based log sub account using the main account token. The sharingObjectsAccounts array is required and is sent empty.
2
getSubAccount
Retrieve the created sub account settings by id to confirm the account exists and capture its retention.
3
updateSubAccount
Update the sub account to apply the requested retention and daily volume now that it has been confirmed.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Logz.io Provision a Sub Account
  summary: Create a time-based log sub account, read it back, and adjust its retention.
  description: >-
    Onboards a new logging sub account in a single pass. The workflow creates a
    time-based sub account from the main account token, captures the new account
    id, reads the account settings back to confirm creation, then updates the
    account to tune its retention. 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: provision-subaccount
  summary: Create a time-based sub account, confirm it, and update its retention.
  description: >-
    Creates a time-based sub account, retrieves it by id, and updates its
    retention days.
  inputs:
    type: object
    required:
    - apiToken
    - accountName
    - email
    - retentionDays
    - maxDailyGB
    properties:
      apiToken:
        type: string
        description: Logz.io main-account API token sent in the X-API-TOKEN header.
      accountName:
        type: string
        description: Name of the new sub account.
      email:
        type: string
        description: Administrator email address for the sub account.
      retentionDays:
        type: integer
        description: Number of days log data is retained and searchable.
      maxDailyGB:
        type: number
        description: Maximum volume of data indexed per calendar day, in GB.
  steps:
  - stepId: createSubAccount
    description: >-
      Create a new time-based log sub account using the main account token. The
      sharingObjectsAccounts array is required and is sent empty.
    operationId: createTimeBasedAccount
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        accountName: $inputs.accountName
        email: $inputs.email
        retentionDays: $inputs.retentionDays
        maxDailyGB: $inputs.maxDailyGB
        sharingObjectsAccounts: []
        searchable: false
        accessible: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accountId: $response.body#/accountId
  - stepId: getSubAccount
    description: >-
      Retrieve the created sub account settings by id to confirm the account
      exists and capture its retention.
    operationId: get
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    - name: id
      in: path
      value: $steps.createSubAccount.outputs.accountId
    successCriteria:
    - condition: $statusCode == 200
  - stepId: updateSubAccount
    description: >-
      Update the sub account to apply the requested retention and daily volume
      now that it has been confirmed.
    operationId: updateTimeBasedAccount
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    - name: id
      in: path
      value: $steps.createSubAccount.outputs.accountId
    requestBody:
      contentType: application/json
      payload:
        accountName: $inputs.accountName
        retentionDays: $inputs.retentionDays
        maxDailyGB: $inputs.maxDailyGB
        sharingObjectsAccounts: []
        searchable: false
        accessible: false
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    accountId: $steps.createSubAccount.outputs.accountId

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-subaccount-provision-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.