Translate files

POST /api/v1/portal/requests

Translates the files sent together, as one request, with a portal setup's engines, TMs, term bases and steps. Send each file as its own file part, at most max_files, max_send_bytes in all. Every file is checked first: one the portal cannot take refuses the whole request (400, naming each such file). A file that fails only when it is stored is left out and named in not_sent; the others go on. The translation runs in the background: read the request until its status is done, then download the files. With a human portal setup a person works a step first, so it stays running until they finish. Without setup_id, your last portal setup is used, else the organization's default. PDF files are refused: they cannot be given back as PDF. For text, use POST /portal/translate. With draft=true and no targets, the files are stored as a draft that runs once it is sent (POST /portal/requests/{requestID}/send).

Who may call it

owner, admin, project_manager, customer

Responses

201

The request, still running, or the draft.

400

The request is wrong; message says what to fix.

401

The access key is missing, expired or revoked.

403

Your role may not call this endpoint, or the key is read only (read_only_key).

409

The item changed since you read it, or its state does not allow the action.

429

Too many requests for this key (rate_limited). Wait for the seconds in Retry-After.