Skip to main content

Elastic Data Tools

Query custom elastic datasets — user-defined data structures with flexible schemas for tracking any type of sustainability data.

list_datasets

List all elastic datasets for the organization. Parameters:
ParameterTypeRequiredDescription
organization_idstringNoOrganization UUID (uses default if not set)
Example prompt: “List our custom datasets”

get_dataset

Get an elastic dataset by ID with its field definitions and schema. Parameters:
ParameterTypeRequiredDescription
dataset_idstringYesUUID of the dataset
organization_idstringNoOrganization UUID (uses default if not set)
Example prompt: “Show the schema for dataset ds-123”

query_dataset

Query records from an elastic dataset with pagination. Parameters:
ParameterTypeRequiredDescription
dataset_idstringYesUUID of the dataset
organization_idstringNoOrganization UUID (uses default if not set)
pageintegerNoPage number (default: 1)
sizeintegerNoResults per page (default: 50)
Example prompt: “Show records from our energy tracking dataset”

Workflow

  1. Call list_datasets to discover available datasets
  2. Use get_dataset to understand the schema and fields
  3. Use query_dataset to retrieve records

Example Prompts

  • “What custom datasets do we have?”
  • “Show me the fields in our water consumption dataset”
  • “Query the first 20 records from dataset ds-123”