DataStax · Arazzo Workflow

Provision an Astra database and issue a scoped token

Version 1.0.0

Creates a serverless Astra DB database, waits for it to become active, adds a keyspace, downloads the secure-connect bundle, and issues an application token scoped to the org roles — all against the Astra DevOps API.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CompanyEnterpriseDatabaseVector DatabaseCassandraArtificial IntelligenceRAGServerlessStreamingDeveloper ToolsArazzoWorkflows

Provider

datastax

Workflows

provisionDatabaseAndToken
Create a database, add a keyspace, get its bundle, and issue a token.
5 steps inputs: cloudProvider, databaseName, keyspace, region, roleId outputs: bundleURL, clientId, databaseID
1
createDatabase
2
waitForActive
3
addKeyspace
4
getSecureBundle
5
issueToken

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Provision an Astra database and issue a scoped token
  version: 1.0.0
  description: >-
    Creates a serverless Astra DB database, waits for it to become active, adds a
    keyspace, downloads the secure-connect bundle, and issues an application token
    scoped to the org roles — all against the Astra DevOps API.
sourceDescriptions:
- name: authenticationApi
  url: ../openapi/datastax-authentication-api-openapi.yml
  type: openapi
- name: databaseOperationsApi
  url: ../openapi/datastax-database-operations-api-openapi.yml
  type: openapi
workflows:
- workflowId: provisionDatabaseAndToken
  summary: Create a database, add a keyspace, get its bundle, and issue a token.
  inputs:
    type: object
    properties:
      databaseName: {type: string}
      keyspace: {type: string}
      cloudProvider: {type: string}
      region: {type: string}
      roleId: {type: string}
    required: [databaseName, keyspace, cloudProvider, region]
  steps:
  - stepId: createDatabase
    operationId: createDatabase
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.databaseName
        keyspace: $inputs.keyspace
        cloudProvider: $inputs.cloudProvider
        region: $inputs.region
        tier: serverless
        capacityUnits: 1
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      databaseID: $response.header.Location
  - stepId: waitForActive
    operationId: getDatabase
    parameters:
    - name: databaseID
      in: path
      value: $steps.createDatabase.outputs.databaseID
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: addKeyspace
    operationId: addKeyspace
    parameters:
    - name: databaseID
      in: path
      value: $steps.createDatabase.outputs.databaseID
    - name: keyspaceName
      in: path
      value: $inputs.keyspace
    successCriteria:
    - condition: $statusCode == 201
  - stepId: getSecureBundle
    operationId: generateSecureBundleURL
    parameters:
    - name: databaseID
      in: path
      value: $steps.createDatabase.outputs.databaseID
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      downloadURL: $response.body#/downloadURL
  - stepId: issueToken
    operationId: createToken
    requestBody:
      contentType: application/json
      payload:
        roles:
        - $inputs.roleId
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      token: $response.body#/token
      clientId: $response.body#/clientId
  outputs:
    databaseID: $steps.createDatabase.outputs.databaseID
    bundleURL: $steps.getSecureBundle.outputs.downloadURL
    clientId: $steps.issueToken.outputs.clientId

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/datastax-provision-database"
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.