Skip to main content
GET
/
v3
/
domains
Retrieve Domains
curl --request GET \
  --url https://api.lilt.com/v3/domains \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'key: <key>'
{
  "items": [
    {
      "domainId": 123,
      "domainName": "Example Domain",
      "models": [
        {
          "id": 456,
          "name": "Example Model",
          "provider": "Google Translate",
          "status": "Active",
          "srcLang": "en",
          "trgLang": "es",
          "srcLocale": "US",
          "trgLocale": "ES"
        }
      ],
      "filterConfigs": [
        {
          "id": 789,
          "isDefault": true,
          "filterConfig": "Example Filter Config",
          "filterName": "Example Filter",
          "configName": "Example Config Name",
          "configDescription": "Example Config Description",
          "subfilters": "Example Subfilters",
          "segmentationConfigSetting": "SENTENCE",
          "srx": "Example SRX",
          "segmentationConfigName": "Example Segmentation Config",
          "domains": [
            {
              "id": 101,
              "name": "Example Domain Ref"
            }
          ],
          "createdAt": "2024-01-01T00:00:00Z",
          "updatedAt": "2024-01-02T00:00:00Z",
          "default": true
        }
      ],
      "domainMetadata": [
        {
          "id": 131,
          "key": "Example Key",
          "value": "Example Value"
        }
      ]
    }
  ],
  "size": 1
}

Authorizations

Authorization
string
header
required

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

Headers

key
string
required

the ApiKey used to authenticate with LILT, used to look up the Organization's domain information.

Response

OK

items
object[]
required

The list of domains in the response.

Example:
[
  {
    "domainId": 123,
    "domainName": "Example Domain",
    "models": [
      {
        "id": 456,
        "name": "Example Model",
        "provider": "Google Translate",
        "status": "Active",
        "srcLang": "en",
        "trgLang": "es",
        "srcLocale": "US",
        "trgLocale": "ES"
      }
    ],
    "filterConfigs": [
      {
        "id": 789,
        "isDefault": true,
        "filterConfig": "Example Filter Config",
        "filterName": "Example Filter",
        "configName": "Example Config Name",
        "configDescription": "Example Config Description",
        "subfilters": "Example Subfilters",
        "segmentationConfigSetting": "SENTENCE",
        "srx": "Example SRX",
        "segmentationConfigName": "Example Segmentation Config",
        "domains": [{ "id": 101, "name": "Example Domain Ref" }],
        "createdAt": "2024-01-01T00:00:00Z",
        "updatedAt": "2024-01-02T00:00:00Z",
        "default": true
      }
    ],
    "domainMetadata": [
      {
        "id": 131,
        "key": "Example Key",
        "value": "Example Value"
      }
    ]
  }
]
size
integer<int32>
required

The total number of domains in the list.

Example:

1