# Interface AnalyzeRequest

A request to analyze SQL for data lineage.

This is the main entry point for the analysis API. It accepts SQL code along with optional dialect and schema information to produce accurate lineage graphs.

interface AnalyzeRequest {
dialect: Dialect;
options?: AnalysisOptions;
schema?: SchemaMetadata;
sql: string;
}

- Defined in types.ts:20

##### Index

### Properties

dialect
options?
schema?
sql

## Properties

### dialect

dialect: Dialect

SQL dialect

- Defined in types.ts:24

### `Optional` options

options?: AnalysisOptions

Optional analysis options

- Defined in types.ts:26

### `Optional` schema

schema?: SchemaMetadata

Optional schema metadata for accurate column resolution

- Defined in types.ts:28

### sql

sql: string

The SQL code to analyze (UTF-8 string, multi-statement supported)

- Defined in types.ts:22