Data as API
Data as API
Data as API lets you expose a Data Set as a secure, reusable REST service so external systems (or other BDB modules) can consume your curated data without caring about storage or implementation details.
Prerequisites:
You have a Data Set created and (ideally) validated.
You have permission to create Data as API services.
(Recommended) Know the parameters you want to expose and any record limits.
Navigation: Data Center > My Connectors > Standard Connectors > Data Set list for a Data Connector > Options > Create Data As API
Open the Wizard
Select a data connector from the Standard Connectors list.
Navigate to the Data Set list for the selected data connector.
Click the Options icon for the selected Data Set.
Click the Create Data As API from the data set context menu.

The “Publish as a Data Service” form allows you to expose a dataset or query as an API endpoint from within the BDB Platform. Follow the steps below:
Configuring the Publish as a Data Service Wizard
Provide Template JSON
The templateJson field is where you define the JSON template structure of your API response.
This can also be pre-loaded from a Data Node selection.
This helps API consumers understand the expected output.
Examples:
{ "customer_id": "", "order_id": "", "order_amount": "", "order_date": "" }
Choose a Node (Select a Data Node Source)
The right-side panel contains a dropdown: Select a node.
This allows you to link the API to a dataset, table, view, or query output.
The JSON tree below will display the selected data structure.
Steps:
Click Select a node.
Choose a dataset, pipeline output, sandbox table, or query node.
Verify that the object structure appears correctly in the preview below (fields & types).
After Publishing
Your service is visible under Data as API with action icons (see Manage an API Service below).
To consume the API externally, register a new client (Client ID/secret or equivalent) and use the issued credentials.
Inside the platform, you can ingest your API via the Data Pipeline → API Ingestion component.
Manage an API Service (Actions)
Message Configuration
Define the message returned when the API yields no data.
Push to VCS
Push the current API definition to Git with a commit message (versioning & rollback).
Pull from VCS
Restore a prior API definition/version from Git.
Edit
Reopen Publish As Data Service to modify Service Name/Category/Description/Parameters/Limit/Filters.
Delete
Remove the API service from the list.
Best Practices
Name & categorize clearly (e.g.,
sales-orders-read, Category:SalesOps).Limit & paginate where appropriate to protect performance.
Document parameters and default values in the Description for quick adoption.
Use VCS after meaningful changes; include actionable commit messages.
Add a no-data message to improve client UX.
Troubleshooting
Service not listed after save: Refresh the Data as API list; verify you have publish rights.
Client cannot access: Ensure the client is registered and mapped; check credentials/scopes.
Empty responses: Review Filters/Parameters and Limit; validate the backing Data Set query.
Wrong version: Use Pull from VCS to revert, then Save and retest.
Last updated