POST
/
private
/
v2
/
align
curl --request POST \
  --url https://api.{environment}.corti.app/v2/private/v2/align/ \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceDocument": "<string>",
  "targetDocument": "<string>",
  "compareSegments": false
}'
{
  "alignmentPercentage": 123,
  "alignedSegments": [
    {
      "targetSegment": {
        "text": "<string>",
        "range": [
          123
        ]
      },
      "sourceReference": [
        {
          "text": "<string>",
          "range": [
            123
          ]
        }
      ],
      "alignmentPercentage": 123
    }
  ]
}

Headers

Tenant-Name
string

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"copiloteu"

Body

application/json

Response

200
application/json
Alignment results with percentage and optionally aligned segments.

The response is of type object.