GET
/
v2
/
memories
/
query
Query a Memory
curl --request GET \
  --url https://api.lilt.com/v2/memories/query
[
  {
    "source": "The red bus.",
    "target": "Le bus rouge.",
    "score": 100,
    "metadata": {}
  }
]

Authorizations

key
string
query
required

Query Parameters

id
integer
required

A unique Memory identifier.

query
string
required

A source query.

n
integer
default:10

Maximum number of results to return.

Response

A list of TranslationMemoryEntry objects.

source
string

The source string.

Example:

"The red bus."

target
string

The target string. Tags will be automatically placed according to the query string.

Example:

"Le bus rouge."

score
integer

The fuzzy match score.

Example:

100

metadata
object

Attributes describing the translation memory entry.