---
title: "Raw Query"
method: POST
path: "/search/query"
tags: ["Search"]
---

# Raw Query

`POST /search/query`

Return the authorized candidate set for a query. Auth = the calling user;
candidates are filtered to that user's light-cone inside the accessor.

## Request body

- RawQueryRequest
  - `query_text` string, nullable
  - `embedding` number[], nullable
  - `scope` string[], nullable
  - `candidate_budget` integer
  - `include_vectors` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agience/apis/agience-platform-api.md) · [All operations](https://skmtc.net/agience/apis/agience-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agience/agience-platform-api/revisions/187bad270c94/schema)
