---
title: "Interpret a plain-language request (no data)"
method: GET
path: "/resolve"
tags: ["agent"]
---

# Interpret a plain-language request (no data)

`GET /resolve`

## Request

- Base URL: `https://sampuli.site/api/v1`
- URL: `https://sampuli.site/api/v1/resolve`
- Auth: none declared

Turn a natural request into a spec without generating — useful to confirm how the words were understood.

## Query parameters

- `q` string, required

## Response `200`

The interpretation.

- object
  - `query` string
  - `ok` boolean
  - `spec` string
  - `country` string
  - `field` string, nullable

## Other responses

- `400`: Error
- `422`: Error

---

[API](https://skmtc.dev/sampuli/apis/sampuli-api.md) · [All operations](https://skmtc.dev/sampuli/apis/sampuli-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sampuli/apis/sampuli-api/revisions/55c96e65fa3c?raw)
