GET
/
v2
/
segments
Retrieve a Segment
curl --request GET \
  --url https://api.lilt.com/v2/segments
{
  "id": 84480010,
  "created_at": 1489147692,
  "updated_at": 1489147692,
  "document_id": 1234,
  "memory_id": 5678,
  "source": "The red bus.",
  "srclang": "en",
  "target": "Le bus rouge.",
  "trglang": "fr",
  "is_confirmed": true,
  "is_reviewed": true
}

Authorizations

key
string
query
required

Query Parameters

id
integer
required

A unique Segment identifier.

include_comments
boolean
default:false

Include comments in the response.

Response

200
application/json

A Segment object.

A Segment is a source string and, optionally, its translation. A Segment can be associated with both a Memory and a Document. The Segment object contains additional metadata about the source and target strings.