Smartcat TranslationMemories API

The TranslationMemories API from Smartcat — 7 operation(s) for translationmemories.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/integration/v1/translationmemory/{tmId} Get a translation memory · Fetch information about the TM #
Ask an LLM
“How do I look up the details of one translation memory?”
“Can I fetch a single TM by its ID?”
Tell an agent
Show translation memory {tmId}.
Get the details of TM {tmId}.
POST /api/integration/v1/translationmemory/{tmId} Import TMX files into a translation memory · Import TMX files to a TM #
Ask an LLM
“How do I load a TMX file into an existing translation memory?”
“Can I replace all content of a TM with a new import?”
Tell an agent
Import TMX file {tmxFile} into translation memory {tmId}.
Replace all content of TM {tmId} with {tmxFile}, replacing existing content.
DELETE /api/integration/v1/translationmemory/{tmId} Delete a translation memory · Delete a TM #
Ask an LLM
“How do I delete a translation memory?”
“Can I remove a TM I no longer need?”
Tell an agent destructive · confirm first
Delete translation memory {tmId}.
Remove the TM {tmId} from the database.
GET /api/integration/v1/translationmemory List translation memories · Fetch the available TMs filtered per account #
Ask an LLM
“Which translation memories exist for my account?”
“Can I list TMs in a specific language pair?”
Tell an agent
List my translation memories.
Show TMs for source {sourceLanguage} and target {targetLanguage}.
POST /api/integration/v1/translationmemory Create an empty translation memory · Create an empty TM #
Ask an LLM
“How do I create a blank translation memory?”
“Can I create a new TM for a client?”
Tell an agent
Create a translation memory named {name} from {sourceLanguage} to {targetLanguages}.
Create a new empty TM for client {clientId}.
GET /api/integration/v1/translationmemory/task List TMX import tasks · Fetch a collection of TMX file import tasks #
Ask an LLM
“What translation memory import tasks are in progress?”
“Can I see the status of TMX file imports?”
Tell an agent
List all translation memory import tasks.
Show the TMX import tasks for my account.
GET /api/integration/v1/translationmemory/{tmId}/file Export a translation memory as TMX · Export TMX files from the TM database #
Ask an LLM
“How do I export a translation memory to TMX?”
“Can I include tags when exporting a TM?”
Tell an agent
Export translation memory {tmId} as {exportMode} with tags {withTags}.
Download TM {tmId} in {exportMode} format including tags.
POST /api/integration/v1/translationmemory/matches Find matches in a translation memory · Fetch matches from the specified TM #
Ask an LLM
“How do I find matches in a translation memory for a segment?”
“Can I set a match threshold when searching a TM?”
Tell an agent
Find matches in translation memory {tmId} for {sourceLanguage} to {targetLanguage}.
Search TM {tmId} for segments matching {matchThreshold} or higher.
PUT /api/integration/v1/translationmemory/{tmId}/targets Add target languages to a TM · Add an array of target languages to a TM #
Ask an LLM
“How do I add a new target language to an existing translation memory?”
“Can I expand a TM's target languages?”
Tell an agent
Add target languages to translation memory {tmId}.
Expand the target languages of TM {tmId}.
DELETE /api/integration/v1/translationmemory/task/{taskId} Cancel a TMX import task · Removes the specified import task #
Ask an LLM
“How do I cancel a translation memory import task?”
“Can I remove an import task that's still running?”
Tell an agent destructive · confirm first
Cancel translation memory import task {taskId}.
Remove the TM import task {taskId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/smartcat:smartcat-translationmemories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

smartcat-translationmemories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Smartcat Translation Memories API
  version: v1
servers:
- url: /
tags:
- name: TranslationMemories
paths:
  /api/integration/v1/translationmemory/{tmId}:
    get:
      tags:
      - TranslationMemories
      summary: Fetch information about the TM
      parameters:
      - name: tmId
        in: path
        description: TM ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Request has been successfully completed
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/TranslationMemoryModel'
            application/json:
              schema:
                $ref: '#/components/schemas/TranslationMemoryModel'
            text/json:
              schema:
                $ref: '#/components/schemas/TranslationMemoryModel'
        '403':
          description: The account cannot access the TM with the specified ID
        '404':
          description: TM with the specified was not found
      operationId: getApiIntegrationV1TranslationmemoryByTmId
      x-operation-id-source: derived
    post:
      tags:
      - TranslationMemories
      summary: Import TMX files to a TM
      parameters:
      - name: tmId
        in: path
        description: TM ID
        required: true
        schema:
          type: string
          format: uuid
      - name: replaceAllContent
        in: query
        description: Complete replacement of the TM contents is required
        required: true
        schema:
          type: boolean
      - name: assuranceLevel
        in: query
        description: Translation assurance level. Calculated based on the document editing stage at which the TM unit was saved.
        schema:
          $ref: '#/components/schemas/IntegrationApiTMTranslationAssuranceLevel'
      requestBody:
        description: TMX file to be uploaded
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                tmxFile:
                  type: string
                  format: binary
        required: true
      responses:
        '204':
          description: TMX file has been successfully imported
        '400':
          description: Imported file is not a TMX file
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: The account cannot access the TM with the specified ID
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: TM with the specified ID was not found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: postApiIntegrationV1TranslationmemoryByTmId
      x-operation-id-source: derived
    delete:
      tags:
      - TranslationMemories
      summary: Delete a TM
      parameters:
      - name: tmId
        in: path
        description: TM ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: TM has been successfully deleted
        '400':
          description: The TM has Write permissions in the account
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: TM with the specified ID was not found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: deleteApiIntegrationV1TranslationmemoryByTmId
      x-operation-id-source: derived
  /api/integration/v1/translationmemory:
    get:
      tags:
      - TranslationMemories
      summary: Fetch the available TMs filtered per account
      parameters:
      - name: lastProcessedId
        in: query
        description: The latest ID fetched by the previous query
        schema:
          type: string
          format: uuid
      - name: batchSize
        in: query
        description: Required size of the returned batch
        required: true
        schema:
          type: integer
          format: int32
      - name: sourceLanguage
        in: query
        description: Source language (optional)
        schema:
          type: string
      - name: targetLanguage
        in: query
        description: Target language (optional)
        schema:
          type: string
      - name: clientId
        in: query
        description: Client ID (optional)
        schema:
          type: string
          format: uuid
      - name: searchName
        in: query
        description: TM partial name (optional)
        schema:
          type: string
      responses:
        '200':
          description: Request has been successfully completed
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TranslationMemoryModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TranslationMemoryModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TranslationMemoryModel'
        '204':
          description: TM collection is empty
        '400':
          description: The required TM collection size is larger than 100
      operationId: getApiIntegrationV1Translationmemory
      x-operation-id-source: derived
    post:
      tags:
      - TranslationMemories
      summary: Create an empty TM
      requestBody:
        description: TM creation model
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/CreateTranslationMemoryModel'
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTranslationMemoryModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateTranslationMemoryModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateTranslationMemoryModel'
        required: true
      responses:
        '201':
          description: TM has been successfully created
        '400':
          description: 'Returns if:


            - TM creation model is empty

            - TM with this name already exists in the account

            - TM name is not specified

            - TM source language is defined as a translation target language

            - An error occurred when creating the TM'
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: postApiIntegrationV1Translationmemory
      x-operation-id-source: derived
  /api/integration/v1/translationmemory/task:
    get:
      tags:
      - TranslationMemories
      summary: Fetch a collection of TMX file import tasks
      responses:
        '200':
          description: Request has been successfully completed
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TMImportTaskModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TMImportTaskModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TMImportTaskModel'
        '404':
          description: There are no unprocessed import tasks in the account
      operationId: getApiIntegrationV1TranslationmemoryTask
      x-operation-id-source: derived
  /api/integration/v1/translationmemory/{tmId}/file:
    get:
      tags:
      - TranslationMemories
      summary: Export TMX files from the TM database
      parameters:
      - name: tmId
        in: path
        description: TM ID
        required: true
        schema:
          type: string
          format: uuid
      - name: exportMode
        in: query
        description: Export mode
        required: true
        schema:
          $ref: '#/components/schemas/TMExportMode'
      - name: withTags
        in: query
        description: Specifies whether to include tags into export results
        required: true
        schema:
          type: boolean
      responses:
        '200':
          description: Request has been successfully completed
        '403':
          description: The account cannot access the TM with the specified ID
        '404':
          description: TM with the specified was not found
      operationId: getApiIntegrationV1TranslationmemoryByTmIdFile
      x-operation-id-source: derived
  /api/integration/v1/translationmemory/matches:
    post:
      tags:
      - TranslationMemories
      summary: Fetch matches from the specified TM
      parameters:
      - name: tmId
        in: query
        description: ID of the TM for the match search
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: TM match segments request
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/TMMatchesRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/TMMatchesRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/TMMatchesRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/TMMatchesRequest'
        required: true
      responses:
        '200':
          description: Request has been successfully completed
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SegmentWithMatchesModel'
            application/json:
              schema:
                $ref: '#/components/schemas/SegmentWithMatchesModel'
            text/json:
              schema:
                $ref: '#/components/schemas/SegmentWithMatchesModel'
        '400':
          description: 'Returns if:


            - Request model is empty

            - No segment model is specified in the request model

            - Either source or target is not specified

            - The tag type is not "Start", "End" or "Placeholder"'
        '403':
          description: The account cannot access the TM with the specified ID
        '404':
          description: TM with the specified ID was not found
      operationId: postApiIntegrationV1TranslationmemoryMatches
      x-operation-id-source: derived
  /api/integration/v1/translationmemory/{tmId}/targets:
    put:
      tags:
      - TranslationMemories
      summary: Add an array of target languages to a TM
      parameters:
      - name: tmId
        in: path
        description: TM ID
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: Array of the required target languages
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                type: string
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/*+json:
            schema:
              type: array
              items:
                type: string
        required: true
      responses:
        '204':
          description: Request has been successfully completed
        '400':
          description: 'Returns if:


            - Target languages are not specified

            - Target languages contain duplicates

            - Target languages contain the source language

            - Target language cannot be deleted

            - Target languages cannot be updated using the specified parameters'
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: The account cannot access the TM with the specified ID
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: TM with the specified ID was not found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: putApiIntegrationV1TranslationmemoryByTmIdTargets
      x-operation-id-source: derived
  /api/integration/v1/translationmemory/task/{taskId}:
    delete:
      tags:
      - TranslationMemories
      summary: Removes the specified import task
      parameters:
      - name: taskId
        in: path
        description: ID of a task to be imported to the TM
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: The import task has been successfully deleted
        '403':
          description: The account cannot access the TM with the specified ID
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: TM import task with the specified ID was not found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: deleteApiIntegrationV1TranslationmemoryTaskByTaskId
      x-operation-id-source: derived
components:
  schemas:
    IntegrationApiTMTranslationAssuranceLevel:
      enum:
      - mT
      - questionable
      - regular
      - qualified
      type: string
      description: Minimum TM segment quality
      format: int32
    TMImportTaskModel:
      type: object
      properties:
        accountId:
          type: string
          description: Account ID
          format: uuid
        id:
          type: string
          description: Task ID
          format: uuid
        translationMemoryId:
          type: string
          description: TM database ID
          format: uuid
        state:
          type:
          - string
          - 'null'
          description: Task status
        insertedUnitCount:
          type: integer
          description: Inserted unit count
          format: int32
      additionalProperties: false
      description: TM import task model
    SegmentWithMatchesModel:
      type: object
      properties:
        sourceText:
          type:
          - string
          - 'null'
          description: Source segment of a found record
        targetText:
          type:
          - string
          - 'null'
          description: Target segment of a found record
        segmentMatch:
          type: integer
          description: Segment match value
          format: int32
        tags:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TagsFromUnit'
          description: Record tags set
        assuranceLevel:
          $ref: '#/components/schemas/IntegrationApiTMTranslationAssuranceLevel'
      additionalProperties: false
      description: Segment with matches send model
    TagsFromUnit:
      type: object
      properties:
        position:
          type: integer
          description: Tag insertion position in the target
          format: int32
        order:
          type: integer
          description: Tag order number in the target. Important if two tags have an identical position
          format: int32
      additionalProperties: false
      description: Unit tags data serialization class
    TMExportMode:
      enum:
      - tmxDefault
      - tmxWithTrados2009PlusCompatibility
      - tmxWithTrados2007Compatibility
      - excel
      type: string
      format: int32
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    CreateTranslationMemoryModel:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
          description: Name
        sourceLanguage:
          type:
          - string
          - 'null'
          description: Source language
        targetLanguages:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Target languages
        description:
          type:
          - string
          - 'null'
          description: Description
        clientId:
          type:
          - string
          - 'null'
          description: Client ID
          format: uuid
      additionalProperties: false
      description: TM creation model
    SegmentModel:
      type: object
      properties:
        text:
          type:
          - string
          - 'null'
          description: Segment text
        prevContext:
          type:
          - string
          - 'null'
          description: Previous segment text
        nextContext:
          type:
          - string
          - 'null'
          description: Next segment text
        tags:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SegmentTagModel'
          description: Segment tags
      additionalProperties: false
      description: Segment model
    TranslationMemoryModel:
      type: object
      properties:
        id:
          type: string
          description: TM ID
          format: uuid
        accountId:
          type: string
          description: Corporate account ID
          format: uuid
        clientId:
          type:
          - string
          - 'null'
          description: Client ID
          format: uuid
        name:
          type:
          - string
          - 'null'
          description: TM name
        description:
          type:
          - string
          - 'null'
          description: Description
        sourceLanguage:
          type:
          - string
          - 'null'
          description: Source language ID
        targetLanguages:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Target languages
        createdDate:
          type: string
          description: TM creation date and time
          format: date-time
        isAutomaticallyCreated:
          type: boolean
          description: Specifies whether the TM was created automatically
        unitCountByLanguageId:
          type:
          - object
          - 'null'
          additionalProperties:
            type: integer
            format: int32
          description: Unit count by language
      additionalProperties: false
      description: TM model
    TMMatchesRequest:
      type: object
      properties:
        sourceLanguage:
          type:
          - string
          - 'null'
          description: Source language
        targetLanguage:
          type:
          - string
          - 'null'
          description: Target language
        segmentModel:
          $ref: '#/components/schemas/SegmentModel'
        matchThreshold:
          type:
          - integer
          - 'null'
          description: Match threshold
          format: int32
      additionalProperties: false
      description: TM match query model
    SegmentTagModel:
      type: object
      properties:
        tagNumber:
          type: integer
          description: Tag number
          format: int32
        tagType:
          type:
          - string
          - 'null'
          description: Tag type
        position:
          type: integer
          description: Tag position
          format: int32
        isVirtual:
          type: boolean
          description: Specifies whether the tag is virtual
        isInvisible:
          type: boolean
          description: Specifies whether the tag is invisible
      additionalProperties: false
      description: Segment tag mandatory information model