GET /api/v202609/workbench/schema

Retrieves the catalog of tables and columns the Workbench Data Explorer can query

GetWorkbenchSchemaV202609
Use this endpoint to discover which tables and columns are available before writing a query for POST workbench/query. The Data Explorer uses it for editor auto-complete. Each column reports a logical data type (string, int, double, decimal, currency, billingperiod, bool, or datetime). Restricted to ENC staff.

Request Headers

Header Value Required Description
ECI-ApiKey string Yes Your API key. See Authentication.
Content-Type application/json Yes All requests must specify JSON content type.

Responses

200 OK The request succeeded and the response body contains the requested data.

Response Body Parameters

EdxSchemaV202606
Property Description Type
tables EdxSchemaTableV202606[]
EdxSchemaTableV202606 properties
Property Description Type
columns EdxColumnV202606[]
EdxColumnV202606 properties
Property Description Type
dataType The logical value type used by clients for formatting and data behavior. string
description Human-readable description of the column, when documented in the schema. string
name The result alias or schema field name displayed for this column. string
presentation EdxPresentationV202606
EdxPresentationV202606 properties
Property Description Type
entityType Entity addressed by an entityLink, such as place or meter. Null for presentation formats that do not address an entity. string
format Presentation strategy. Currently the only supported value is entityLink. string
relatedFields Unit fields needed to display this field. EdxRelatedFieldV202606[]
EdxRelatedFieldV202606 properties
Property Description Type
name Name of the related unit field. string
type Display role: unit or unitCode. string
description Human-readable description of what the table represents, when documented. string
name string
Example Response application/json
{  "tables": [
    {    "columns": [
      {      "dataType": "string",      "description": "string",      "name": "string",      "presentation": {},      "relatedFields": []
    }
    ],    "description": "string",    "name": "string"
  }
  ]
}