---
title: "Query a Memory"
method: GET
path: "/v2/memories/query"
tags: ["Memories"]
---

# Query a Memory

`GET /v2/memories/query`

Perform a translation memory query.

## Query parameters

- `id` integer, required
- `query` string, required
- `n` integer

## Response `200`

A list of TranslationMemoryEntry objects.

- TranslationMemoryEntry[]
  - `source` string — The source string.
  - `target` string — The target string. Tags will be automatically placed according to the query string.
  - `score` integer — The fuzzy match score.
  - `metadata` object — Attributes describing the translation memory entry.

## Other responses

- `401` — Unauthorized
- `default` — Unexpected error

---

[API](https://skmtc.net/lilt/apis/lilt-api.md) · [All operations](https://skmtc.net/lilt/apis/lilt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lilt/lilt-api/versions/444772351ac3/schema)
