---
title: "Search Feature"
method: GET
path: "/api/v1/table/{project_id}/search/{lat}/{lng}"
tags: ["table"]
---

# Search Feature

`GET /api/v1/table/{project_id}/search/{lat}/{lng}`

Find a feature by latitude, longitude, or address.

## Path parameters

- `lat` number, required
- `lng` number, required

## Response `200`

Successful Response

- FindFeatureResponse — Response model for finding a feature.
  - `suggestions` FeatureSuggestion[], required
    - `feature` Feature, required — Flattened feature model. Uses lazy validation for enrichments to keep model creation fast. Access raw enrichments for performance, validated enrichments when type safety is needed.
      - `id` string, required
      - `geometry` object, nullable, required
      - `layer_id` string, uuid, required
      - `base_attributes` object, required
      - `enrichments` object, required
      - `agent_attributes` object
    - `recommended_layer` string, uuid, nullable
    - `candidate_layers` CandidateLayer[]
      - `layer_id` string, uuid, required
      - `layer_name` string, required
      - `already_in_layer` boolean
    - `source_table` 'parcel' | 'building' | 'place' | 'address' | 'school' — The table a resolved feature lives in — what a caller pulls its data from, and the feature's kind. A text match in the ``address``, ``place`` or ``school`` table resolves (point-in-feature) to a ``parcel``/``building``; a ``parcel`` attribute match resolves to the parcel itself.
    - `source_feature_id` string, nullable
    - `already_in_layer` boolean
    - `boundary_only` boolean
  - `out_of_county` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-14** `ab171f3fcfbe` — 1 info
  - added the optional property `suggestions/items/boundary_only` to the response with the `200` status

[Change history](https://skmtc.dev/maia-analytics/apis/maia-api/changes/api/v1/table/:project_id/search/:lat/:lng/get.md)

---

[API](https://skmtc.dev/maia-analytics/apis/maia-api.md) · [All operations](https://skmtc.dev/maia-analytics/apis/maia-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maia-analytics/maia-api/revisions/0382310d5ade/schema)
