v1.0.0OpenAPI 3.1.1

Projects API

Download OpenAPI Document

Projects with their files, filed jobs, workflow and fields, batch runs, tasks, checklists and people.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Preview a batch

Auth Required

What running the project’s workflow on a folder would do: the files it takes (in path order, flagging the ones that already ran), the files it skips and why, the credits the balance must cover to start, and anything that stops it from starting (blocked). Creates nothing.

Permission: project:update and task:create and cosmos:execute. An API key acts with the role of the member who created it.

Path Parameters

idstringrequired

Project id.

Example: 3ad094a0-4b21-4cf3-a789-dd9bad5fa27e

Bodyrequiredapplication/json

folderIdstring · uuidrequired

The Drive folder to run on: the project’s own folder, or any folder inside it.

Example: 8b1e2c3d-4f5a-4b6c-9d7e-0f1a2b3c4d5e
includeSubfoldersboolean

Also run the files in the folder’s subfolders. By default only the files directly in the folder run.

Default: false
assetIdsstring[]

Run only these files (asset ids of files directly in folderId) instead of the whole folder. includeSubfolders is then ignored; an id that is not a file in the folder is left out.

Example: ["2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f"]
flowIdstring · uuid

Which of the project’s attached workflows to run. Left out: the default one.

targetLanguagesstring[]

Target languages for this run only (BCP-47 codes from the language catalog). Left out: the project’s targetLanguages. With a workflow that maps the target language and makes one task per language (the default), each file gets one task per language, each with its own run, assignee, status and deliverable; otherwise one task per file carries them all.

Example: ["de-DE","fr-FR"]
sourceLanguagestring

Source language for this run only (a BCP-47 code). Left out: the project’s sourceLanguage.

Example: en-US

Responses

200OK
application/json
folderBatchFolderDtorequired
Show child attributes
idstring · uuidrequired
Example: 8b1e2c3d-4f5a-4b6c-9d7e-0f1a2b3c4d5e
namestringrequired
Example: Wave 1
pathstring[]required

Folder names from the project folder down to this one.

Example: ["Brochure DE","Source","Wave 1"]
isProjectRootbooleanrequired

Whether this is the project folder itself.

filesBatchFileDto[]required

Files the workflow can take, in path order — with targetLanguages, one row per file and language, the languages in the order asked.

Show child attributes
assetIdstring · uuidrequired
Example: 2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f
pathstringrequired

Path inside the picked folder.

Example: brochure_spring.pdf
namestringrequired
Example: brochure_spring.pdf
alreadyRanbooleanrequired

The file already ran in this project. It only runs again with rerun.

runningbooleanrequired

The file’s task has a run that is still going (or queued in another batch). It doesn’t start again until that run ends.

sizenumber | null
Example: 482133
taskIdstring · uuid | null

The file’s task in this project, if it has one.

targetLanguagestring | null

The target language of this row when the batch runs each file per language (one row per file and language; taskId, alreadyRan and running are that language’s task). null for one task per file.

Example: de-DE
skippedBatchSkipDto[]required
Show child attributes
assetIdstring · uuidrequired
Example: 2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f
pathstringrequired
Example: order_form.docx
reasonstringrequired

wrong-type: the workflow doesn’t take this kind of file. empty: the file has no content. duplicate: another file here holds the same content, and only that one runs.

Enum values:wrong-typeemptyduplicate
runCountnumberrequired

Runs that will start: the files (per language, with targetLanguages) that never ran here and aren’t running now. One task and one run each.

Example: 12
rerunCountnumberrequired

Files (per language, with targetLanguages) that already ran and aren’t running now; rerun adds them.

Example: 1
minimumCreditsnumberrequired

Credits the balance must cover to start the runs: one per paid step per run (paidSteps × runCount, so files × languages with targetLanguages). With rerun, the ones that already ran count too.

Example: 12
missingstring[]required

Required fields the project hasn’t filled yet.

Example: ["Translation memory"]
workflowBatchWorkflowDto
Show child attributes
flowIdstring · uuidrequired
namestringrequired
Example: Translate PDF + sign-off
versionnumberrequired
Example: 3
perFileKeystringrequired

The run input each file fills.

Example: translate__source
perFileLabelstringrequired
Example: Source PDF
paidStepsnumberrequired

Steps that charge credits. Every run needs at least one credit per paid step to start; each step charges its own work when it runs.

Example: 1
acceptsstring[] | null

File extensions the per-file input takes; null when it takes any file.

Example: [".pdf"]
blockedstring | null

Why the batch can’t start as it is, or null when it can. Starting returns the same reason as an error.

Example: null
ownersStepOwnerPreviewDto[]

Who would take each step a person acts on (approvals always; other steps when someone is named for them), per target language, if the runs started now. An approval with mode none would go to nobody.

Show child attributes
nodeIdstringrequired

The workflow step.

Example: n_signoff
labelstringrequired

Its name.

Example: Linguist sign-off
targetLanguagestring | nullrequired

The target language (BCP-47) this answer is for.

Example: fr-FR
modestringrequired

fixed named owners, rule the project’s rules, pool offered to claim, manual a lead assigns it, auto matched (deal proofreader or preferred linguist), none nobody.

Enum values:fixedmanualrulepoolautonone
Example: rule
ownerIdsstring[]required

Org member ids who would take it.

Example: ["4ba70b2f-d541-4f46-8b41-d1bdf23ccd51"]
fellBackbooleanrequired

Nobody matched, so the project’s managers would take it.

Example: false
400`That folder isn’t in this project`, or the folder holds too many files and folders to scan.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404`Project not found`: no such project in your organization, or it is hidden from you.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
POST/v1/project/{id}/batches/preview
curl '{{API_BASE_URL}}/v1/project/3ad094a0-4b21-4cf3-a789-dd9bad5fa27e/batches/preview' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "folderId": "8b1e2c3d-4f5a-4b6c-9d7e-0f1a2b3c4d5e",
  "includeSubfolders": false,
  "assetIds": [
    "2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f"
  ],
  "flowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "targetLanguages": [
    "de-DE",
    "fr-FR"
  ],
  "sourceLanguage": "en-US"
}'
{
  "folder": {
    "id": "8b1e2c3d-4f5a-4b6c-9d7e-0f1a2b3c4d5e",
    "name": "Wave 1",
    "path": [
      "Brochure DE",
      "Source",
      "Wave 1"
    ],
    "isProjectRoot": true
  },
  "workflow": {
    "flowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "Translate PDF + sign-off",
    "version": 3,
    "perFileKey": "translate__source",
    "perFileLabel": "Source PDF",
    "accepts": [
      ".pdf"
    ],
    "paidSteps": 1
  },
  "files": [
    {
      "assetId": "2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f",
      "path": "brochure_spring.pdf",
      "name": "brochure_spring.pdf",
      "size": 482133,
      "taskId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "alreadyRan": true,
      "running": true,
      "targetLanguage": "de-DE"
    }
  ],
  "skipped": [
    {
      "assetId": "2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f",
      "path": "order_form.docx",
      "reason": "wrong-type"
    }
  ],
  "runCount": 12,
  "rerunCount": 1,
  "minimumCredits": 12,
  "missing": [
    "Translation memory"
  ],
  "blocked": null,
  "owners": [
    {
      "nodeId": "n_signoff",
      "label": "Linguist sign-off",
      "targetLanguage": "fr-FR",
      "mode": "rule",
      "ownerIds": [
        "4ba70b2f-d541-4f46-8b41-d1bdf23ccd51"
      ],
      "fellBack": false
    }
  ]
}

Start a batch

List batches

Get a batch

Get a task’s run

Run a task again

Run several tasks again

List runs that need me

File a run’s results again

Get a task’s step assignment

Summarize runs

Reassign a task’s step

Assign a task’s step automatically again

List who can take work

Pass a task’s step on

Preview a bulk assignment

Assign tasks in bulk

List work to claim

Claim a task from the pool

Get project analytics

Models

ActivityActorDto
ActivityEntryDto
ActivityPageDto
AddProjectMembersDto
AddTaskMembersDto
ApprovalWaitDto
AssignmentRuleDto
AttachWorkflowDto
BatchDto
BatchFileDto
BatchFolderDto
BatchPreviewDto
BatchScopeDto
BatchSkipDto
BatchSummaryDto
BatchWorkflowDto
BulkAssignDto
BulkAssignResultDto
BulkPlanDto
BulkPlanPersonDto
BulkSelectionDto
BulkTaskFilterDto
BulkUnplacedDto
ChecklistDto
ChecklistItemDto
ChecklistPersonDto
ClaimResultDto
CreateChecklistDto
CreateChecklistItemDto
CreateProjectDto
CreateTaskDto
CreditsDto
CustomFieldInputDto
CustomFieldOptionDto
DueHealthDto
FeatureSpendDto
FiledDeliverablesDto
FilesDto
FileTasksEntryDto
FileTasksResponseDto
FileTypeCountDto
FlowDto
FlowSeriesDto
ForecastDto
HeadlineDto
LanguageFieldDto
LanguageLinkDto
LinkedFilesDto
LinkedFolderDto
LinkedFolderPersonDto
LinkFolderDto
MetricDto
MoveProjectDto
MoveTaskDto
MyRunDto
MyRunGateDto
MyRunsDto
MyWorkDueCountsDto
MyWorkItemDto
MyWorkResponseDto
MyWorkTotalsDto
OverdueTaskDto
PeriodDto
PersonStatsDto
PickablePeopleDto
PickablePersonDto
PoolListDto
PoolTaskDto
PortfolioPageDto
PortfolioPersonDto
PortfolioProjectDto
PortfolioProjectTotalsDto
PortfolioRunCountsDto
PortfolioStatusCountsDto
PortfolioSummaryDto
PortfolioTaskCountsDto
PortfolioTaskTotalsDto
PortfolioTimeDto
PortfolioTrendDto
PortfolioVisibilityDto
PortfolioWordsDto
PortfolioWordsPairDto
PortfolioWordsProjectDto
ProgressDto
ProjectAnalyticsDto
ProjectAnalyticsLanguagePairDto
ProjectFieldDto
ProjectFieldsResponseDto
ProjectFilesStatsDto
ProjectListCountsDto
ProjectListResponseDto
ProjectMemberDto
ProjectMemberInputDto
ProjectPersonDto
ProjectProcessCountDto
ProjectProcessesResponseDto
ProjectProcessLinkDto
ProjectProcessOwnerDto
ProjectProcessParentDto
ProjectProcessRowDto
ProjectProcessSearchResponseDto
ProjectProcessSearchRowDto
ProjectProgressDto
ProjectResponseDto
ProjectScheduleDto
ProjectTeamDto
ProjectWorkflowDto
ReasonCountDto
ReassignStepDto
ReorderChecklistItemsDto
ReplaceCustomFieldsDto
RerunsDto
RunOutcomesDto
RunsDto
RunsSummaryDto
RunTaskDto
RunTasksDto
RunTasksResultDto
RunTasksSkipDto
ScheduleChecklistLoadDto
ScheduleLoadDto
SchedulePersonDto
ScheduleUnscheduledDto
SetAssignmentRulesDto
SetDefaultWorkflowDto
SetLanguageLinksDto
SetProjectStepChecklistsDto
SetProjectStepModesDto
SetProjectStepOwnersDto
SetRunOutcomesDto
SetTaskFileDto
SetTaskProcessDto
SetWorkflowLanguagesDto
StartBatchDto
StatusCountDto
StepAssigneeDto
StepAssignmentDto
StepCountDto
StepOwnerPreviewDto
TaskAssigneeDto
TaskChecklistProgressDto
TaskFileDto
TaskFileViewDto
TaskLinkedProcessRefDto
TaskListResponseDto
TaskMemberInputDto
TaskPersonDto
TaskProcessResponseDto
TaskProcessViewDto
TaskResponseDto
TaskRunDto
TaskRunHistoryDto
TaskRunResponseDto
TaskRunStateDto
TaskRunStepDto
TaskRunStepViewDto
TaskRunViewDto
TaskSearchHitDto
TaskStatusEntryDto
TaskStatusesResponseDto
TaskStatusGroupsDto
TeamPersonDto
TeamUnassignedDto
TimeInStatusDto
UpdateChecklistDto
UpdateChecklistItemDto
UpdateFieldValuesDto
UpdateProjectDto
UpdateProjectMemberDto
UpdateTaskDto
UpdateTaskMemberDto
UpdateTaskStatusesDto
WorkflowChangeDto
WorkflowChangesResponseDto
WorkflowLanguagesDto
WorkflowStepDto