My App
Api
GET
/memory

Exact-match lookup in translation memory. Returns the cached translation if the same source text was previously translated.

x-api-key<token>

API key from the LangRelay dashboard. Org-level keys can access all projects; project-scoped keys are restricted to one project.

In: header

Query Parameters

projectId*string
sourceText*string
language*string

Response Body

application/json

application/json

curl -X GET "https://api.langrelay.com/v1/memory?projectId=string&sourceText=string&language=string"
{
  "sourceText": "string",
  "translatedText": "string",
  "language": "string"
}
{
  "type": "https://api.langrelay.com/errors/bad-request",
  "title": "Bad Request",
  "status": 400,
  "detail": "projectId and language query parameters are required."
}