ListCode retrieves all code artifacts associated with a specific entity. This includes SQL queries, Python scripts, dbt models, and other code configurations that define or are part of the entity’s functionality.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
SYNQ integration_id that identifies the dbt Core project
Dbt node_id that identifies one of dbt DAG nodes (model, test, etc)
Your dbt Cloud project id
Your dbt Cloud account id
Dbt node_id that identifies one of dbt DAG nodes (model, test, etc)
BigQuery project
BigQuery dataset id
BigQuery table name
Snowflake account
Snowflake database
Snowflake schema
Snowflake table
Redshift cluster
Redshift database
Redshift schema
Redshift table
Postgres hostname without port
Postgres database
Postgres schema
Postgres table
Mysql hostname without port
Mysql database
Mysql table
Clickhouse hostname without port
Clickhouse database
Clickhouse table
SYNQ integration_id that identifies the Airflow instance
Airflow dag_id that identifies the DAG
SYNQ integration_id that identifies the Airflow instance
Airflow dag_id that identifies the DAG
Airflow task_id that identifies the task within the DAG
Id that identifies the custom entity The Id should be unique within the custom entity Identifier.
Dataproduct id that identifies the Dataproduct
SYNQ path that identifies the SYNQ entity, needs to be one of supported paths
URL of Databricks workspace
Databricks catalog
Databricks schema
Databricks table or view
Hostname of the Trino instance
Trino catalog
Trino schema
Trino table or view
SYNQ integration_id that identifies the dbt Core project
SQLMesh model fully qualified name
SYNQ integration_id that identifies the dbt Core project
SQLMesh model fully qualified name
Identifier of the audit
Identifier of the monitor
Optional monitor segmentation identifier
SYNQ integration_id of the monitored identifier
Success
ListCodeResponse is the response message for the ListCode method.
List of code artifacts associated with the requested entity. Each code artifact includes its content, type, and metadata about when it was captured.
Identifier is a unique reference to an entity in SYNQ system. Entity identifiers are designed to closely mimic identifiers used by data platforms and tools. To construct an identifier, you need to know the kind of the entity and the ids that you would normally use to identify it in the data platform or tool. For example, to identify a table in BigQuery, you would need to know the project, dataset, and table names.