capabilities.work

Discover Spaces and Data Sources

A 2-step recipe with Dust. We can help you get access.

Recipe · 2 steps

Discover Spaces and Data Sources

with Dust

List accessible spaces and the data sources within the first one.

  1. List the spaces accessible to the authenticated workspace and capture the first space id.
  2. List the data sources within the first accessible space.
What you'll need to have ready
  • apiToken: Dust API key used as the Bearer token.
  • wId: The workspace identifier.
For your developer

Arazzo workflow dust-tt:discover-spaces-and-data-sources, 2 operations: {$sourceDescriptions.spacesApi.url}#/paths/~1api~1v1~1w~1{wId}~1spaces/get → {$sourceDescriptions.datasourcesApi.url}#/paths/~1api~1v1~1w~1{wId}~1spaces~1{spaceId}~1data_sources/get. Specs on APIs.io.