Batches

List batches

The project's 50 most recent batches, newest first.

GET
/v1/batches

The project's 50 most recent batches, newest first. The body is a JSON array. Accepts a token with any of push, pull or manage.

Authorization

deployToken
headerAuthorizationBearer <token>

A project deploy token, minted in the console under Settings, Developer, API tokens. Send the whole value, including the numeric prefix before the |. A token carries a set of abilities (push, pull, manage, read, write) and each operation requires one of them. Tokens do not inherit from each other: a manage token cannot read the glossary unless it also has read.

Query Parameters

status?"active"

active returns only pending and processing batches.

Value in"active"

Response Body

The batches.

application/json
  1. response
[index: integer]?

A translation run.

curl -X GET 'https://api.transglot.ai/v1/batches'
[  {    "id": 0,    "status": "pending",    "trigger": "manual_missing",    "total": 0,    "completed": 0,    "failed": 0,    "skipped": 0,    "skipped_reasons": {      "property1": 0,      "property2": 0    },    "tm_served": 0,    "language_breakdown": {      "property1": 0,      "property2": 0    },    "started_at": "2019-08-24T14:15:22Z",    "finished_at": "2019-08-24T14:15:22Z"  }]