curl --request GET \
--url https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles \
--header 'Authorization: <api-key>'import requests
url = "https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"content": [
{
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"dateCreated": "2024-03-15T10:22:00Z",
"engines": [
{
"baseName": "<string>",
"category": "<string>",
"definition": {
"connection": [
{
"authentication": {
"header": {
"authHeaderName": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
},
"authHeaderValue": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
}
},
"oauth": {
"authUrl": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
},
"clientId": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
},
"clientSecret": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
}
}
},
"baseUrl": {
"url": "<string>",
"helpText": "<string>",
"name": "<string>"
},
"assistiveText": "<string>"
}
],
"engineName": "<string>",
"providerName": "<string>",
"assistiveText": "<string>",
"customization": {
"assistiveText": "<string>",
"customFields": [
{
"key": "<string>",
"allowedValues": [
"<string>"
],
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true,
"secret": true
}
]
},
"docsUrl": "<string>",
"features": {
"async": true,
"dataRegionPolicy": [
"<string>"
],
"glossaries": true,
"sync": true
},
"learnMoreUrl": "<string>",
"localization": {},
"logoUrl": "<string>"
},
"enabled": true,
"glossarySupported": true,
"id": "<string>",
"name": "<string>",
"subType": "<string>",
"type": "<string>",
"uid": "<string>"
}
],
"glossaries": [
{
"name": "<string>",
"uid": "<string>"
}
],
"locked": false,
"memsourceTranslate": {
"args": {},
"baseName": "DeepL",
"category": "PHRASE",
"charCount": 0,
"default_": true,
"enabled": true,
"glossarySupported": true,
"id": "12345",
"includeTags": false,
"langs": {
"id": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
]
},
"mtQualityEstimation": false,
"name": "Phrase Language AI",
"type": "MEMSOURCE_TRANSLATE",
"uid": "8kMckeDcgWWF4Fe4Szqjb1"
},
"name": "Production PLAI",
"projectTemplatesCount": 1,
"projects": [
{
"name": "<string>",
"uid": "<string>"
}
],
"projectsCount": 3,
"shape": "mt-brain",
"uid": "8kMckeDcgWWF4Fe4Szqjb1"
}
],
"numberOfElements": 123,
"pageNumber": 123,
"pageSize": 123,
"sort": {
"orders": [
{
"property": "<string>"
}
]
},
"totalElements": 123,
"totalPages": 123
}List of Language AI profiles
Returns a paginated list of Language AI (MT) profiles for the authenticated organization. Use the returned profile uid values to assign a profile to a project or to retrieve its attached MT engines.
A Language AI profile groups one or more MT (Machine Translation) engines under a named configuration that can be shared across projects. Two profile kinds exist: PLAI (Phrase Language AI), the standard multi-engine profile, and QUOKKA, a single-engine profile with a fixed neural MT model shape.
Accessible to users with the Administrator or Project Manager role; also callable by Language AI platform apps. Returns an empty list when Language AI profiles are not enabled for the organization rather than a 403 error. The pageSize parameter accepts values between 1 and 50; requests outside that range are rejected with 400.
curl --request GET \
--url https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles \
--header 'Authorization: <api-key>'import requests
url = "https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/memsourceTranslateProfiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"content": [
{
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"dateCreated": "2024-03-15T10:22:00Z",
"engines": [
{
"baseName": "<string>",
"category": "<string>",
"definition": {
"connection": [
{
"authentication": {
"header": {
"authHeaderName": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
},
"authHeaderValue": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
}
},
"oauth": {
"authUrl": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
},
"clientId": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
},
"clientSecret": {
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true
}
}
},
"baseUrl": {
"url": "<string>",
"helpText": "<string>",
"name": "<string>"
},
"assistiveText": "<string>"
}
],
"engineName": "<string>",
"providerName": "<string>",
"assistiveText": "<string>",
"customization": {
"assistiveText": "<string>",
"customFields": [
{
"key": "<string>",
"allowedValues": [
"<string>"
],
"defaultValue": "<string>",
"helpText": "<string>",
"hidden": true,
"label": "<string>",
"placeholderText": "<string>",
"required": true,
"secret": true
}
]
},
"docsUrl": "<string>",
"features": {
"async": true,
"dataRegionPolicy": [
"<string>"
],
"glossaries": true,
"sync": true
},
"learnMoreUrl": "<string>",
"localization": {},
"logoUrl": "<string>"
},
"enabled": true,
"glossarySupported": true,
"id": "<string>",
"name": "<string>",
"subType": "<string>",
"type": "<string>",
"uid": "<string>"
}
],
"glossaries": [
{
"name": "<string>",
"uid": "<string>"
}
],
"locked": false,
"memsourceTranslate": {
"args": {},
"baseName": "DeepL",
"category": "PHRASE",
"charCount": 0,
"default_": true,
"enabled": true,
"glossarySupported": true,
"id": "12345",
"includeTags": false,
"langs": {
"id": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
]
},
"mtQualityEstimation": false,
"name": "Phrase Language AI",
"type": "MEMSOURCE_TRANSLATE",
"uid": "8kMckeDcgWWF4Fe4Szqjb1"
},
"name": "Production PLAI",
"projectTemplatesCount": 1,
"projects": [
{
"name": "<string>",
"uid": "<string>"
}
],
"projectsCount": 3,
"shape": "mt-brain",
"uid": "8kMckeDcgWWF4Fe4Szqjb1"
}
],
"numberOfElements": 123,
"pageNumber": 123,
"pageSize": 123,
"sort": {
"orders": [
{
"property": "<string>"
}
]
},
"totalElements": 123,
"totalPages": 123
}Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Query Parameters
Filter by profile name
Field to sort results by
name, dateCreated, createdBy, projects Sort direction
asc, desc Page number, starting with 0
x >= 0Page size; accepts values between 1 and 50
1 <= x <= 50When true, populate the projects and project count fields on each profile
Profile kind to filter by. PLAI (Phrase Language AI) is the standard multi-engine profile; QUOKKA is a single-engine profile with a fixed model shape.
PLAI, QUOKKA Was this page helpful?