https://api.honeydew.cloud/api/public/v1/graphql
.
If your organization uses a custom hostname for the API connection,
you can locate it in the Honeydew UI, under the API section in Settings.
X-Honeydew-Client
: A string that identifies the client making the request.
Use it to identify the client in Honeydew logs and query history, for audit, debugging and support purposes.X-Honeydew-Workspace
: The name of the workspace to use for the request.
This is required for most queries and mutations that operate on a specific workspace.X-Honeydew-Branch
: The name of the branch to use for the request.
This is required for most queries and mutations that operate on a specific branch.requests
library to make HTTP requests to the Honeydew API.
To install it, run:List Workspaces
Create Workspace Branch
Reload Workspace
Reload All Workspaces
Reload Workspace for All Users
Reload All Workspaces for All Users
List Entities
Get Entity By Name
entity_name
: The name of the entity to retrieveGet Entity Field By Name
entity_name
: The name of the entity to retrieve the field fromname
: The name of the field to retrieveList Domains
Get Domain By Name
name
: The name of the domain to retrieveList Global Parameters
Get Global Parameter By Name
name
: The name of the global parameter to retrieveList Dynamic Datasets
Get Dynamic Dataset By Name
name
: The name of the dynamic dataset to retrieveCreate Object
yaml
: The YAML definition of the object to create. See references for YAML schema here.force_with_error
:
name
, error
, etc.Update Object
yaml
: The YAML definition of the object to update. See references for YAML schema here.object_key
: The key of the object to update. This is the object_key
field that can be retrieved in any query on objects.force_with_error
:
name
, error
, etc.Delete Object
object_key
: The key of the object to delete.force_with_error
:
Get SQL for adhoc query
yaml_text
: YAML definition of a dynamic dataset, which represents a query.
For more information on the YAML format, see Dynamic Dataset YAML.domain
: The name of the domain to use for the query.domain
: The domain to use for the query (if applicable), as extracted from the SQL query.dwh_role
: The Snowflake role to use for the query, based on the definitions in the workspace, branch and the domain.dwh_warehouse
: The Snowflake warehouse to use for the query, based on the definitions in the workspace, branch and the domain.sql
: A list of the actual Snowflake SQL queries to run, translated from the provided SQL query by the Honeydew semantic layer.
Note that there can be multiple sql statements to run, for example - there might be a SET
statement to set values for parameters used in the sql query.Translate SQL interface query to Snowflake SQL
sql
: The SQL query to translate. This should be a valid SQL query in Trino dialect.
For more information, see SQL Interface documentation.domain
: The domain to use for the query (if applicable), as extracted from the SQL query.dwh_role
: The Snowflake role to use for the query, based on the definitions in the workspace, branch and the domain.dwh_warehouse
: The Snowflake warehouse to use for the query, based on the definitions in the workspace, branch and the domain.sql
: A list of the actual Snowflake SQL queries to run, translated from the provided SQL query by the Honeydew semantic layer.
Note that there can be multiple sql statements to run, for example - there might be a SET
statement to set values for parameters used in the sql query.Plaintext To Data Using AI
question
: The data question to ask the AIdomain_name
: The name of the domain to use for the questioncortex_llm_name
: The name of the LLM to use for the question,
or null
to use the default LLM configured in the domain.default_results_limit
: The default limit for the number of results to returntemperature
: The temperature to use for the LLM response.
Pass null
to use the default temperature configured.max_tokens
: The maximum number of tokens to return in the LLM response.
Pass null
to use the default max tokens configured.conversation_id
: The ID of the conversation to use for the question.
Can be used in subsequent questions to continue the conversation with follow-up questions.
Subsequent questions with same conversation_id
will use the context of the entire thread.
If null
is provided, a new conversation will be created.include_judge
:
If true
, the response will include an explanation and correctness evaluation of the LLM response.error
: An error message if the question failed, or null
if the question succeeded.input_tokens
: The number of input tokens used by the LLM.judge
: An object containing the explanation and correctness evaluation of the LLM response, if include_judge
is true
.
explanation
: The explanation of the LLM response.is_correct
: A status indicating whether the LLM response is correct.
Can be yes
, no
, partially
or unknown
.runtime_ms
: The runtime of the LLM response in milliseconds.llm_response
: The raw LLM response as a string.llm_response_json
: The LLM response as a JSON object, if applicable.output_tokens
: The number of output tokens generated by the LLM.dynamic_dataset
: The dynamic dataset generated by the LLM response, if applicable.question_id
: The ID of the question.runtime_ms
: The runtime of the question in milliseconds.sql
: The SQL query generated by the LLM response, if applicable.Get Looker LookML For Domain
domain
: The domain to retrieve the Looker LookML forGet ThoughtSpot TML For Domain
domain
: The domain to retrieve the ThoughtSpot TML forconnection_name
: The name of the Honeydew connection in ThoughtSpot to useGet Lightdash Model For Domain
domain
: The domain to retrieve the Lightdash model for