...
type | Value must be: Project | Mandatory, string |
pid | The project id. See projects/list to enumerate or find projects. | Mandatory, int |
Filter task type and languages | ||
tsk | The task code such as "TR", "RV" etc. Only such jobs are considered. | Mandatory, string |
src | Optional source language. Filters jobs with this source language. If not specified, the system will sample jobs (and their suppliers) in any source language. | Optional, string |
trgs | Optional list of target languages. Filters jobs with this target language. If not specified, the system will sample jobs (and their suppliers) in any source project target language. Note: If you specify trgs you must also specify src. | Optional, string[]? |
jobsdone | Optional boolean. Default is true. If true, sampling considers completed supplier jobs only. | Optional, bool? |
Filter suppliers | ||
suppliers | Optional array of suppliers to sample. To restrict sampling to these suppliers only. Each array element is:
| Optional, object[]? |
size | The expected sample size. Default is 10. This must be a value between 1 and 50. | Optional, int? |
layout | Optionally specify the segments' fields to include in the results. This is done using a layout JSON object. If not specified, the system will include:
| Optional, object? |
persist | Optional boolean. Default is false. Only set to true if required. If true, then the results are temporarily saved and assigned a token (see sampletoken in results). | Optional, bool? |
includeresults | Optional boolean. Default is true. If true then the returned JSON includes the result node. Otherwise only the summary statistics are returned. If you further process results using the sampletoken you may not need the results with this call. | Optional, bool? |
...