Skip to main content
POST
Create a Memory

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

The Memory resource to create.

name
string
required

A name for the Memory.

Example:

"automotive"

srclang
string
required

An ISO 639-1 language identifier.

Example:

"en"

trglang
string
required

An ISO 639-1 language identifier.

Example:

"fr"

srclocale
string

An ISO 3166-1 region name for language locales

Example:

"US"

trglocale
string

An ISO 3166-1 region name for language locales

Example:

"FR"

Response

A Memory object.

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.

Example:

1234

srclang
string

An ISO 639-1 language identifier.

Example:

"en"

trglang
string

An ISO 639-1 language identifier.

Example:

"fr"

srclocale
string

An ISO 639-1 language identifier.

Example:

"US"

trglocale
string

An ISO 639-1 language identifier.

Example:

"FR"

name
string

A name for the Memory.

Example:

"Acme Corp Support Content"

is_processing
boolean

Indicates the memory is being processed.

Example:

false

version
integer

The current version of the Memory, which is the number of updates since the memory was created.

Example:

78

created_at
integer

Time at which the object was created. Measured in seconds since the Unix epoch.

Example:

1489147692

updated_at
integer

Time at which the object was created. Measured in seconds since the Unix epoch.

Example:

1489147692

resources
string[]

The resource files (translation memories and termbases) associated with this Memory.