---
title: "Hybrid aviation document search (query in URL path)"
method: GET
path: "/api/v1/search/{query}"
---

# Hybrid aviation document search (query in URL path)

`GET /api/v1/search/{query}`

## Request

- Base URL: `https://www.deepskyai.com`
- URL: `https://www.deepskyai.com/api/v1/search/{query}`
- Auth: none declared

Identical search and response shape, with the query carried as a URL path segment instead of a query-string parameter. Use this from clients that normalise or drop query strings.

## Path parameters

- `query` string, required

## Query parameters

- `matchCount` integer

## Response `200`

Search results

- object
  - `query` string
  - `count` integer
  - `source` string
  - `matches` object[]
    - `content` string
    - `heading_path` string, nullable
    - `metadata` object
    - `document_id` string, nullable
    - `score` number, nullable
  - `provider` object: Attribution object included on every search response.
    - `name` string
    - `note` string
    - `details` string
    - `contact` string

---

[API](https://skmtc.dev/deepskyai/apis/deepsky-aviation-agent-api.md) · [All operations](https://skmtc.dev/deepskyai/apis/deepsky-aviation-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deepskyai/apis/deepsky-aviation-agent-api/revisions/52647eebc1d3?raw)
