Semaphor
Discovery

List domain datasets

Returns the datasets defined inside a semantic domain.

Call this after selecting a domain from the Domains API. Each dataset includes its connection, dialect, and physical location (database, schema, table) so you can use the information to build queries.

This endpoint is for browsing and query planning. To manage domain templates, relationships, and field definitions, use the Domains API and Domain Templates API instead.

GET
/api/v1/datasets

Authorization

BearerAuth
AuthorizationBearer <token>

A project-scoped access token. Generate one via the Token API.

In: header

Query Parameters

domainId*string

Semantic domain ID. Use the Domains API to list available domains.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X get "https://semaphor.cloud/api/v1/datasets?domainId=string"
{
  "datasets": [
    {
      "domainId": "string",
      "id": "string",
      "name": "string",
      "label": "string",
      "description": "string",
      "type": "string",
      "connectionId": "string",
      "connectionType": "string",
      "dialect": "string",
      "database": "string",
      "schema": "string",
      "table": "string"
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}