---
title: "Create a Memory"
method: POST
path: "/v2/memories"
tags: ["Memories"]
---

# Create a Memory

`POST /v2/memories`

Create a new Memory. A Memory is a container that collects source/target
sentences for a specific language pair (e.g., English>French). The data
in the Memory is used to train the MT system, populate the TM, and
update the lexicon. Memories are private to your account - the data is
not shared across users - unless you explicitly share a Memory with your
team (via web app only).

<a href="/kb/introduction-to-lilt-translation" target=_blank>Refer
to our KB</a> for a more detailed description.

## Request body

- object
  - `name` string, required — A name for the Memory.
  - `srclang` string, required — An ISO 639-1 language identifier.
  - `trglang` string, required — An ISO 639-1 language identifier.
  - `srclocale` string — An ISO 3166-1 region name for language locales
  - `trglocale` string — An ISO 3166-1 region name for language locales

## Response `200`

A Memory object.

- Memory — A Memory is a collection of parallel (source/target) segments from which a MT/TM model is trained. When a translator confirms a segment in the Interface, a parallel segment is added to the Memory. Parallel segments from existing translation memories and bitexts can also be added to the Memory via the API.
  - `id` integer — A unique number identifying the Memory.
  - `srclang` string — An ISO 639-1 language identifier.
  - `trglang` string — An ISO 639-1 language identifier.
  - `srclocale` string — An ISO 639-1 language identifier.
  - `trglocale` string — An ISO 639-1 language identifier.
  - `name` string — A name for the Memory.
  - `is_processing` boolean — Indicates the memory is being processed.
  - `version` integer — The current version of the Memory, which is the number of updates since the memory was created.
  - `created_at` integer — Time at which the object was created. Measured in seconds since the Unix epoch.
  - `updated_at` integer — Time at which the object was created. Measured in seconds since the Unix epoch.
  - `resources` string[] — The resource files (translation memories and termbases) associated with this Memory.

## 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)
