> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MatchGraphRequest

> MatchGraphRequest — Kinetica JavaScript API

interface MatchGraphRequest \{\
&#x20;[graph\_name](#graph_name): string;\
&#x20;[options](#options)?: Record\<string, string>;\
&#x20;[sample\_points](#sample_points): string\[];\
&#x20;[solution\_table](#solution_table)?: string;\
&#x20;[solve\_method](#solve_method)?: string;\
}

<ul>
  <li>Defined in [src/types.ts:3957](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3957)</li>
</ul>

##### Index

### Properties

[graph\_name](#graph_name) [options?](#options) [sample\_points](#sample_points) [solution\_table?](#solution_table) [solve\_method?](#solve_method)&#x20;

## Properties

### graph\_name

graph\_name: string

Name of the underlying geospatial graph resource to match to using `sample_points`.

<ul>
  <li>Defined in [src/types.ts:3959](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3959)</li>
</ul>

### `Optional`options

options?: Record\<string, string>

Additional parameters.

<ul>
  <li>Defined in [src/types.ts:3974](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3974)</li>
</ul>

### sample\_points

sample\_points: string\[]

Sample points used to match to an underlying geospatial graph. Sample points must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with: existing column names, e.g., 'table.column AS SAMPLE\_X'; expressions, e.g., 'ST\_MAKEPOINT(table.x, table.y) AS SAMPLE\_WKTPOINT'; or constant values, e.g., '\{1, 2, 10} AS SAMPLE\_TRIPID'.

<ul>
  <li>Defined in [src/types.ts:3968](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3968)</li>
</ul>

### `Optional`solution\_table

solution\_table?: string

The name of the table used to store the results, in \[schema\_name.]table\_name format, using standard name resolution rules and meeting table naming criteria. This table contains a track of geospatial points for the matched portion of the graph, a track ID, and a score value. Also outputs a details table containing a trip ID (that matches the track ID), the latitude/longitude pair, the timestamp the point was recorded at, and an edge ID corresponding to the matched road segment. Must not be an existing table of the same name.

<ul>
  <li>Defined in [src/types.ts:3972](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3972)</li>
</ul>

### `Optional`solve\_method

solve\_method?: string

The type of solver to use for graph matching.

<ul>
  <li>Defined in [src/types.ts:3970](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3970)</li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.