Dust · Arazzo Workflow

Dust Discover Spaces and Data Sources

Version 1.0.0

List the workspace's accessible spaces, then enumerate the data sources within a chosen space.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AgentsArtificial IntelligenceCustom WorkflowsData SourcesDustEnterprise AIKnowledge-ManagementLLMMCPMulti-ModelRAGArazzoWorkflows

Provider

dust-tt

Workflows

discover-spaces-and-data-sources
List accessible spaces and the data sources within the first one.
Retrieves the accessible spaces for the workspace and, when at least one exists, lists the data sources contained in the first space.
2 steps inputs: apiToken, wId outputs: dataSources, firstSpaceId
1
listSpaces
{$sourceDescriptions.spacesApi.url}#/paths/~1api~1v1~1w~1{wId}~1spaces/get
List the spaces accessible to the authenticated workspace and capture the first space id.
2
listDataSources
{$sourceDescriptions.datasourcesApi.url}#/paths/~1api~1v1~1w~1{wId}~1spaces~1{spaceId}~1data_sources/get
List the data sources within the first accessible space.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Dust Discover Spaces and Data Sources
  summary: List the workspace's accessible spaces, then enumerate the data sources within a chosen space.
  description: >-
    Bootstraps any data-source automation by resolving the identifiers it needs.
    The workflow lists the spaces the API key can access, branches when none are
    available, otherwise selects the first space and lists its data sources so a
    caller can target a data source by id. Each 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: datasourcesApi
  url: ../openapi/dust-tt-datasources-api-openapi.yml
  type: openapi
- name: spacesApi
  url: ../openapi/dust-tt-spaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: discover-spaces-and-data-sources
  summary: List accessible spaces and the data sources within the first one.
  description: >-
    Retrieves the accessible spaces for the workspace and, when at least one
    exists, lists the data sources contained in the first space.
  inputs:
    type: object
    required:
    - apiToken
    - wId
    properties:
      apiToken:
        type: string
        description: Dust API key used as the Bearer token.
      wId:
        type: string
        description: The workspace identifier.
  steps:
  - stepId: listSpaces
    description: >-
      List the spaces accessible to the authenticated workspace and capture the
      first space id.
    operationPath: '{$sourceDescriptions.spacesApi.url}#/paths/~1api~1v1~1w~1{wId}~1spaces/get'
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: wId
      in: path
      value: $inputs.wId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstSpaceId: $response.body#/spaces/0/sId
    onSuccess:
    - name: hasSpaces
      type: goto
      stepId: listDataSources
      criteria:
      - context: $response.body
        condition: $.spaces.length > 0
        type: jsonpath
    - name: noSpaces
      type: end
      criteria:
      - context: $response.body
        condition: $.spaces.length == 0
        type: jsonpath
  - stepId: listDataSources
    description: >-
      List the data sources within the first accessible space.
    operationPath: '{$sourceDescriptions.datasourcesApi.url}#/paths/~1api~1v1~1w~1{wId}~1spaces~1{spaceId}~1data_sources/get'
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: wId
      in: path
      value: $inputs.wId
    - name: spaceId
      in: path
      value: $steps.listSpaces.outputs.firstSpaceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      dataSources: $response.body#/data_sources
  outputs:
    firstSpaceId: $steps.listSpaces.outputs.firstSpaceId
    dataSources: $steps.listDataSources.outputs.dataSources

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/dust-tt-discover-spaces-and-data-sources-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.