ML-API Document AI
Document.ai Annotation Sets API (ALPHA)
Download OpenAPI specification:Download
Document.ai Annotation Sets management.
Creates a new AnnotationSet and a new collection.
Creates a new AnnotationSet and a new collection. For larger AnnotationSets consider CreateAnnotationSetMultipartUpload method.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/json. |
object (v1alphaAnnotationSet) AnnotationSet represents document annotations in VIA format. It references Images in ImageSet, possibly ImageSets. |
Responses
Request samples
- Payload
{- "annotationSetVia": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
Creates a new version in previously created AnnotationSet collection.
Creates a new version in previously created AnnotationSet collection. For larger AnnotationSets consider CreateAnnotationSetVersionMultipartUpload method.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/json. |
object (v1alphaAnnotationSet) AnnotationSet represents document annotations in VIA format. It references Images in ImageSet, possibly ImageSets. | |
sourceAnnotationSetName | string (Required. Name of the annotation set of the source) |
Responses
Request samples
- Payload
{- "annotationSetVia": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "sourceAnnotationSetName": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
Completes the multipart upload.
Completes the multipart upload. No parts can be uploaded after this call and the content is considered complete and ready to be accessed. If there are any validations to be executed regarding the AnnotationSet upload, they are executed now.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Completes the multipart upload, if there are duplicate filenames in the uploaded annotations set, the post process will not be started
Completes the multipart upload. No parts can be uploaded after this call and the content is considered complete and ready to be accessed. If there are any validations to be executed regarding the AnnotationSet upload, they are executed now.BUT, if there are duplicate filenames in the uploaded annotations set, the post process will not be started
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "jobId": "string",
- "duplicates": {
- "property1": {
- "imageSets": [
- {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
]
}, - "property2": {
- "imageSets": [
- {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
]
}
}
}
Submits the chosen document sets from the duplicates and start the post processing job.
This endpoint should be used, after completing the multipart uploading. If there are duplicate filenames, this endpoint should be called with the user inputs for the relevant filenames
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Request Body schema: application/jsonrequired
object (Required. key - filename, value - name of the selected image set in format `projects/<UUID>/documentAI/imageSets/<UUID>/versions/<INT>`) | |||
|
Responses
Request samples
- Payload
{- "duplicates": {
- "property1": "string",
- "property2": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Creates a new version in previously created AnnotationSet collection. Content is uploaded in multiple subsequent requests.
Creates a new version in previously created AnnotationSet collection. Content (archive of PDFs) is uploaded in multiple subsequent requests to UploadAnnotationSetVersionPart
. Use CompleteAnnotationSetVersionMultipartUpload to complete the multipart upload. The UploadAnnotationSetVersionPart
is defined as follows:
POST /v1alpha/{name=projects/*/documentAI/annotationSets/*/versions/*}:uploadPart
Headers:
Part-Number
: Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Body: content of the part All validations, if any, are executed during
CompleteAnnotationSetVersionMultipartUpload
call.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
Request Body schema: application/jsonrequired
mime | string Required. MIME type of this resource, for example application/json. |
object (v1alphaAnnotationSet) AnnotationSet represents document annotations in VIA format. It references Images in ImageSet, possibly ImageSets. | |
sourceAnnotationSetName | string (Required. Name of the annotation set of the source) |
Responses
Request samples
- Payload
{- "mime": "string",
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "sourceAnnotationSetName": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string"
}
Creates a new version in previously created AnnotationSet collection.
Creates a new version in previously created AnnotationSet collection. For larger AnnotationSets consider CreateAnnotationSetVersionMultipartUpload method.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/json. |
object (v1alphaAnnotationSet) AnnotationSet represents document annotations in VIA format. It references Images in ImageSet, possibly ImageSets. | |
sourceAnnotationSetName | string (Required. Name of the annotation set of the source) |
Responses
Request samples
- Payload
{- "annotationSetVia": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "sourceAnnotationSetName": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Creates a new AnnotationSet and a new collection. Content is uploaded in multiple subsequent requests.
Creates a new AnnotationSet and a new collection. Content (VIA JSON) is uploaded in multiple subsequent requests to UploadAnnotationSetVersionPart
. Use CompleteAnnotationSetVersionMultipartUpload to complete the multipart upload. The UploadAnnotationSetVersionPart
is defined as follows:
POST /v1alpha/{name=projects/*/documentAI/annotationSets/*/versions/*}:uploadPart
Headers:
Part-Number
: Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Body: content of the part All validations, if any, are executed during
CompleteAnnotationSetVersionMultipartUpload
call.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
mime | string Required. MIME type of this resource, for example application/json. |
object (v1alphaAnnotationSet) AnnotationSet represents document annotations in VIA format. It references Images in ImageSet, possibly ImageSets. |
Responses
Request samples
- Payload
{- "mime": "string",
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string"
}
Creates a new AnnotationSet and a new collection.
Creates a new AnnotationSet and a new collection. For larger AnnotationSets consider CreateAnnotationSetMultipartUpload method.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/json. |
object (v1alphaAnnotationSet) AnnotationSet represents document annotations in VIA format. It references Images in ImageSet, possibly ImageSets. |
Responses
Request samples
- Payload
{- "annotationSetVia": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Completes the multipart upload and schedules a postprocessing job.
Completes the multipart upload. No parts can be uploaded after this call and the content is considered complete and ready to be accessed. Schedules a postprocessing job. The job is of type JOB_TYPE_POSTPROCESS_DOCUMENT_SET. The DocumentSet is available only after the job finishes. The generated ImageSet is present in the job outputs.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Creates a new DocumentSet and a new collection. Content is uploaded in multiple subsequent requests.
Creates a new DocumentSet and a new collection. Content (archive of PDFs) is uploaded in multiple subsequent requests to UploadDocumentSetVersionPart
. Use CompleteDocumentSetMultipartUpload to complete the multipart upload. The UploadDocumentSetVersionPart
is defined as follows:
POST /v1alpha/{name=projects/*/documentAI/documentSets/*/versions/*}:uploadPart
Headers:
Part-Number
: Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Body: content of the part All validations, if any, are executed during
CompleteDocumentSetMultipartUpload
call.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
mime | string Required. MIME type of this resource, for example application/pdf. Allowed values are: - application/pdf - for importing a single PDF document - application/zip - for importing multiple PDF documents |
object (v1alphaDocumentSet) DocumentSet represents a set of PDF documents. | |
attributesSourceAnnotationSetName | string Optional. Immutable. If set, attributes of this Annotation Set are copied. |
Responses
Request samples
- Payload
{- "mime": "string",
- "documentSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED"
}, - "attributesSourceAnnotationSetName": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string"
}
Creates a new DocumentSet and a new collection and schedules a postprocessing job.
Creates a new DocumentSet and a new collection. For larger DocumentSets consider CreateDocumentSetMultipartUpload method. Schedules a postprocessing job. The job is of type JOB_TYPE_POSTPROCESS_DOCUMENT_SET. The DocumentSet is available only after the job finishes. The generated ImageSet is present in the job outputs.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/pdf. Allowed values are: - application/pdf - for importing a single PDF document - application/zip - for importing multiple PDF documents |
object (v1alphaDocumentSet) DocumentSet represents a set of PDF documents. | |
attributesSourceAnnotationSetName | string Optional. Immutable. If set, attributes of this Annotation Set are copied. |
Responses
Request samples
- Payload
{- "pdfs": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "documentSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED"
}, - "attributesSourceAnnotationSetName": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Completes the multipart upload.
Completes the multipart upload. No parts can be uploaded after this call and the content is considered complete and ready to be accessed. If there are any validations to be executed regarding the ImageSet upload, they are executed now.
Authorizations:
path Parameters
project required | string |
imageSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Creates a new ImageSet and a new collection. Content is uploaded in multiple subsequent requests.
Creates a new ImageSet and a new collection. Content (archive of images) is uploaded in multiple subsequent requests to UploadImageSetPart
. Use CompleteImageSetVersionMultipartUpload to complete the multipart upload. The UploadImageSetPart
is defined as follows:
POST /v1alpha/{parent=projects/*}/documentAI/{name=imageSets/*/}:uploadPart
Headers:
Part-Number
: Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Body: content of the part All validations, if any, are executed during
CompleteImageSetVersionMultipartUpload
call.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
mime | string Required. MIME type of this resource, for example application/zip. |
object (v1alphaImageSet) ImageSet represents a set of images. |
Responses
Request samples
- Payload
{- "mime": "string",
- "imageSet": {
- "documentSetParent": "string",
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string"
}
Creates a new ImageSet and a new collection.
Creates a new ImageSet and a new collection. For larger ImageSets consider CreateImageSetMultipartUpload method.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/zip. |
object (v1alphaImageSet) ImageSet represents a set of images. |
Responses
Request samples
- Payload
{- "images": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "imageSet": {
- "documentSetParent": "string",
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Creates a new Job.
Creates a new Job.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
object (v1alphaJob) Job represents a long-running background operation. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Responses
Request samples
- Payload
{- "job": {
- "displayName": "string",
- "description": "string",
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "concatOutputs": {
- "mergedSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "splitOutputs": { },
- "filterOutputs": {
- "filteredAnnotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "trainOutputs": {
- "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "predictOutputs": {
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED"
}, - "imageSet": {
- "documentSetParent": "string",
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY"
}, - "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "documentSetParent": "string",
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "labeledTokensAnnotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "trainAnnotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "testAnnotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}, - "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
}, - "publishOutputs": { }
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Completes the multipart upload.
Completes the multipart upload. No parts can be uploaded after this call and the content is considered complete and ready to be accessed. If there are any validations to be executed regarding the Model upload, they are executed now.
Authorizations:
path Parameters
project required | string |
model required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Copies resource into another collection.
Copies resource into another, potentially new, collection.
Authorizations:
path Parameters
project required | string |
model required | string |
version required | string |
Request Body schema: application/jsonrequired
target | string Optional. Target collection name in format |
Responses
Request samples
- Payload
{- "target": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
Creates a new version in previously created Model collection. Content is uploaded in multiple subsequent requests.
Creates a new version in previously created Model collection. Content (model archive) is uploaded in multiple subsequent requests to UploadModelVersionPart
. Use CompleteModelVersionMultipartUpload to complete the multipart upload. The UploadModelVersionPart
is defined as follows:
POST /v1alpha/{name=projects/*/documentAI/models/*/versions/*}:uploadPart
Headers:
Part-Number
: Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Body: content of the part All validations, if any, are executed during
CompleteModelVersionMultipartUpload
call.
Authorizations:
path Parameters
project required | string |
model required | string |
Request Body schema: application/jsonrequired
mime | string Required. MIME type of this resource, for example application/zip. |
object (v1alphaModel) Model represents a model. |
Responses
Request samples
- Payload
{- "mime": "string",
- "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string"
}
Creates a new version in previously created Model collection.
Creates a new version in previously created Model collection. For larger Models consider CreateModelVersionMultipartUpload method.
Authorizations:
path Parameters
project required | string |
model required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/zip. |
object (v1alphaModel) Model represents a model. |
Responses
Request samples
- Payload
{- "modelArchive": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Creates a new Model and a new collection. Content is uploaded in multiple subsequent requests.
Creates a new Model and a new collection. Content (model archive) is uploaded in multiple subsequent requests to UploadModelVersionPart
. Use CompleteModelVersionMultipartUpload to complete the multipart upload. The UploadModelVersionPart
is defined as follows:
POST /v1alpha/{name=projects/*/documentAI/models/*/versions/*}:uploadPart
Headers:
Part-Number
: Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Body: content of the part All validations, if any, are executed during
CompleteModelVersionMultipartUpload
call.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
mime | string Required. MIME type of this resource, for example application/zip. |
object (v1alphaModel) Model represents a model. |
Responses
Request samples
- Payload
{- "mime": "string",
- "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string"
}
Creates a new Model and a new collection.
Creates a new Model and a new collection. For larger Models consider CreateModelMultipartUpload method.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
object (v1alphaFileInput) FileInput represents an input file. It can define either base64 encoded content or a URL where to get the content. Different URL schemes are supported, such as http:// or xs://. | |
mime | string Required. MIME type of this resource, for example application/zip. |
object (v1alphaModel) Model represents a model. |
Responses
Request samples
- Payload
{- "modelArchive": {
- "content": "string",
- "url": "string"
}, - "mime": "string",
- "model": {
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
PENDING - Deletes ALL versions of the resource. This operation is irreversible.
Deletes ALL versions of the resource. This operation is irreversible.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
query Parameters
force | boolean Optional. If set, children will be deleted as well. If not set and children are present, request fails. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "versions": [
- "string"
]
}
PENDING - Deletes the specified version of the resource. This operation is irreversible.
Deletes the specified version of the resource. This operation is irreversible. If there's no other version of the resource after this call, the resource is removed.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
PENDING - Deletes the specified version of the resource. This operation is irreversible.
Deletes the specified version of the resource. This operation is irreversible.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
PENDING - Deletes the specified version of the resource. This operation is irreversible.
Deletes the specified version of the resource. This operation is irreversible.
Authorizations:
path Parameters
project required | string |
imageSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
PENDING - Deletes ALL versions of the resource. This operation is irreversible.
Deletes ALL versions of the resource. This operation is irreversible.
Authorizations:
path Parameters
project required | string |
model required | string |
query Parameters
force | boolean Optional. If set, children will be deleted as well. If not set and children are present, request fails. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "versions": [
- "string"
]
}
PENDING - Deletes the specified version of the resource. This operation is irreversible.
Deletes the specified version of the resource. This operation is irreversible. If there's no other version of the resource after this call, the resource is removed.
Authorizations:
path Parameters
project required | string |
model required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
PENDING - Deletes the specified version of the resource. This operation is irreversible.
Deletes the specified version of the resource. This operation is irreversible. If there's no other version of the resource after this call, the resource is removed.
Authorizations:
path Parameters
project required | string |
resultSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
Returns metadata of the specified AnnotationSet.
Returns metadata of the specified Annotation Set.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
Returns dependencies of the AnnotationSet.
Returns dependencies of the AnnotationSet.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "dependencies": [
- {
- "artifactName": "string",
- "displayName": "string",
- "description": "string"
}
]
}
Returns metadata of the latest AnnotationSet in the specified collection.
Returns metadata of the latest AnnotationSet in the specified collection.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
Searches AnnotationSets based on specified criteria.
Searches AnnotationSets based on specified criteria. Multiple versions from one collection might be returned.
Authorizations:
path Parameters
project required | string |
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
annotations | string This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18 |
allVersions | boolean Optional. Flag indicating whether to return all version in a collection or just the latest one. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "annotationSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}
Returns metadata of the specified DocumentSet.
Returns metadata of the specified DocumentSet.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}
Returns dependencies of the DocumentSet.
Returns dependencies of the DocumentSet.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "dependencies": [
- {
- "artifactName": "string",
- "displayName": "string",
- "description": "string"
}
]
}
Searches DocumentSets based on specified criteria.
Searches DocumentSets based on specified criteria. Multiple versions from one collection might be returned.
Authorizations:
path Parameters
project required | string |
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
annotations | string This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18 |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "documentSets": [
- {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}
]
}
Returns metadata of the specified ImageSet.
Returns metadata of the specified ImageSet.
Authorizations:
path Parameters
project required | string |
imageSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
Searches ImageSets based on specified criteria.
Searches ImageSets based on specified criteria. Multiple versions from one collection might be returned.
Authorizations:
path Parameters
project required | string |
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
annotations | string This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18 |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "imageSets": [
- {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
]
}
Returns a Job.
Returns a Job.
Authorizations:
path Parameters
project required | string |
job required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Searches Jobs based on specified criteria.
Searches Jobs based on specified criteria.
Authorizations:
path Parameters
project required | string |
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "jobs": [
- {
- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
]
}
Returns metadata of the specified Model.
Returns metadata of the specified Model.
Authorizations:
path Parameters
project required | string |
model required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
Returns metadata of the latest Model in the specified collection.
Returns metadata of the latest Model in the specified collection.
Authorizations:
path Parameters
project required | string |
model required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
Searches Models based on specified criteria.
Searches Models based on specified criteria. Multiple versions from one collection might be returned.
Authorizations:
path Parameters
project required | string |
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
annotations | string This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18 |
allVersions | boolean Optional. Flag indicating whether to return all version in a collection or just the latest one. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "models": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
]
}
Returns overview of a specified Project.
Return overview of a specified Project, which contains information like how many DocumentSets, ImageSets and other resources are in the specified Project.
Authorizations:
path Parameters
project required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "documentSetsCount": 0,
- "annotationSetsCount": 0,
- "modelsCount": 0,
- "resultSetsCount": 0,
- "jobsCount": 0
}
Returns metadata of the specified ResultSet.
Returns metadata of the specified ResultSet.
Authorizations:
path Parameters
project required | string |
resultSet required | string |
version required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
Searches ResultSets based on specified criteria.
Searches ResultSets based on specified criteria. Multiple versions from one collection might be returned.
Authorizations:
path Parameters
project required | string |
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
annotations | string This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18 |
allVersions | boolean Optional. Flag indicating whether to return all version in a collection or just the latest one. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "resultSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
]
}
Updates metadata.
Updates metadata.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Request Body schema: application/jsonrequired
AnnotationSet being updated.
filename | string (Required. File name;) |
displayName | string Required. Immutable. Human readable name of the resource. |
description | string Optional. Immutable. Human readable description. |
object Optional. Annotations assigned. | |
status | string (mlapidocument_aiv1alphaArtifactStatus) Enum: "ARTIFACT_STATUS_NOT_YET_READY" "ARTIFACT_STATUS_AVAILABLE" "ARTIFACT_STATUS_DELETED" "ARTIFACT_STATUS_FAILED" |
attributes | any Optional. Attributes of this annotation set. |
Responses
Request samples
- Payload
{- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
Updates metadata.
Updates metadata.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
Request Body schema: application/jsonrequired
DocumentSet being updated.
filename | string Required. Immutable. The file name. In case of an application/pdf upload, this name has to be unique across all other documents in given parent. In case of an application/zip upload, the names of the extracted documents must be unique across all other documents in the specified parent. |
displayName | string Required. Immutable. Human readable name of the resource. |
description | string Optional. Immutable. Human readable description. |
object Optional. Annotations assigned. | |
status | string (mlapidocument_aiv1alphaArtifactStatus) Enum: "ARTIFACT_STATUS_NOT_YET_READY" "ARTIFACT_STATUS_AVAILABLE" "ARTIFACT_STATUS_DELETED" "ARTIFACT_STATUS_FAILED" |
ocrStatus | string (v1alphaOCRStatus) Enum: "OCR_STATUS_NONE_SCHEDULED" "OCR_STATUS_PROCESSING" "OCR_STATUS_FINISHED" "OCR_STATUS_FAILED"
|
Responses
Request samples
- Payload
{- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}
Updates metadata.
Updates metadata.
Authorizations:
path Parameters
project required | string |
imageSet required | string |
version required | string |
Request Body schema: application/jsonrequired
ImageSet being updated.
documentSetParent | string Optional. Immutable. The name of the parent DocumentSet in format |
filename | string (Required. File name;) |
displayName | string Required. Immutable. Human readable name of the resource. |
description | string Optional. Immutable. Human readable description. |
object Optional. Annotations assigned. | |
status | string (mlapidocument_aiv1alphaArtifactStatus) Enum: "ARTIFACT_STATUS_NOT_YET_READY" "ARTIFACT_STATUS_AVAILABLE" "ARTIFACT_STATUS_DELETED" "ARTIFACT_STATUS_FAILED" |
Responses
Request samples
- Payload
{- "documentSetParent": "string",
- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
Updates metadata.
Updates metadata.
Authorizations:
path Parameters
project required | string |
model required | string |
version required | string |
Request Body schema: application/jsonrequired
Model being updated.
filename | string (Required. File name;) |
displayName | string Required. Immutable. Human readable name of the resource. |
description | string Optional. Immutable. Human readable description. |
object Optional. Annotations assigned. | |
modelType | string (v1alphaModelType) Enum: "MODEL_TYPE_TOKEN_LABELING" "MODEL_TYPE_PAGE_CLASSIFICATION"
|
status | string (mlapidocument_aiv1alphaArtifactStatus) Enum: "ARTIFACT_STATUS_NOT_YET_READY" "ARTIFACT_STATUS_AVAILABLE" "ARTIFACT_STATUS_DELETED" "ARTIFACT_STATUS_FAILED" |
acl | Array of strings (Required. Model's ACL) |
Responses
Request samples
- Payload
{- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "acl": [
- "string"
]
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
Updates metadata.
Updates metadata.
Authorizations:
path Parameters
project required | string |
resultSet required | string |
version required | string |
Request Body schema: application/jsonrequired
ResultSet being updated.
filename | string (Required. File name;) |
displayName | string Required. Immutable. Human readable name of the resource. |
description | string Optional. Immutable. Human readable description. |
object Optional. Annotations assigned. | |
status | string (mlapidocument_aiv1alphaArtifactStatus) Enum: "ARTIFACT_STATUS_NOT_YET_READY" "ARTIFACT_STATUS_AVAILABLE" "ARTIFACT_STATUS_DELETED" "ARTIFACT_STATUS_FAILED" |
Responses
Request samples
- Payload
{- "filename": "string",
- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
Deletes the specified version of the resource. Deletes also the dependents. The allow_list field in the request can be used to control what is going to be deleted.
Deletes the specified version of the resource and deletes the dependents as well. If the allow_list field is set in the request, then only artifacts with the listed resource names are allowed to be deleted. If other dependents not present in the list are found, the process is aborted. This is used by clients to ensure that only approved artifacts are going to be deleted. Automated scripts and similar clients should omit this field, in that case all dependents are removed.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
query Parameters
allowList | Array of strings Optional. Resource names of the dependents to delete. If there are additional dependents not mentioned in this list the operation is aborted. If not set, all the dependents are deleted. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
Deletes the specified version of the resource. Deletes also the dependents. The allow_list field in the request can be used to control what is going to be deleted.
Deletes the specified version of the resource and deletes the dependents as well. If the allow_list field is set in the request, then only artifacts with the listed resource names are allowed to be deleted. If other dependents not present in the list are found, the process is aborted. This is used by clients to ensure that only approved artifacts are going to be deleted. Automated scripts and similar clients should omit this field, in that case all dependents are removed.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
query Parameters
allowList | Array of strings Optional. Resource names of the dependents to delete. If there are additional dependents not mentioned in this list the operation is aborted. If not set, all the dependents are deleted. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{ }
Deletes ALL versions of the resource. This operation is irreversible.
Deletes ALL versions of the resource. This operation is irreversible.
Authorizations:
path Parameters
project required | string |
resultSet required | string |
query Parameters
force | boolean Optional. If set, children will be deleted as well. If not set and children are present, request fails. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "versions": [
- "string"
]
}
PENDING - Copies resource into another collection.
Copies resource into another, potentially new, collection.
Authorizations:
path Parameters
project required | string |
annotationSet required | string |
version required | string |
Request Body schema: application/jsonrequired
target | string Optional. Target collection name in format |
Responses
Request samples
- Payload
{- "target": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
PENDING - Copies resource into another collection.
Copies resource into another, potentially new, collection.
Authorizations:
path Parameters
project required | string |
documentSet required | string |
version required | string |
Request Body schema: application/jsonrequired
target | string Optional. Target collection name in format |
Responses
Request samples
- Payload
{- "target": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
PENDING - Copies resource into another collection.
Copies resource into another, potentially new, collection.
Authorizations:
path Parameters
project required | string |
imageSet required | string |
version required | string |
Request Body schema: application/jsonrequired
target | string Optional. Target collection name in format |
Responses
Request samples
- Payload
{- "target": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
PENDING - Copies resource into another collection.
Copies resource into another, potentially new, collection.
Authorizations:
path Parameters
project required | string |
resultSet required | string |
version required | string |
Request Body schema: application/jsonrequired
target | string Optional. Target collection name in format |
Responses
Request samples
- Payload
{- "target": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY"
}
Cancels a running Job.
Cancels a running Job. If the job is not running an error is returned.
Authorizations:
path Parameters
project required | string |
job required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
Finalizes a pending Job.
Finalizes a pending Job. This is an internal endpoint, invoked by the Job Finalizer, there's no need to invoke this from clients. The underlying compute resource, such as Argo Workflow, must be completed when invoking this.
Authorizations:
path Parameters
project required | string |
job required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 412
- default
{- "name": "string",
- "parent": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "status": "JOB_STATUS_PENDING",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "totalSteps": 0,
- "currentStep": 0,
- "jobType": "JOB_TYPE_OCR",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "logsUrl": "string",
- "warningsUrl": "string",
- "ocrInputs": {
- "documentSetName": "string",
- "ocrEngine": "OCR_ENGINE_TESSERACT",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "concatInputs": {
- "sourceAnnotationSetNames": [
- "string"
], - "resultDisplayName": "string",
- "resultDescription": "string"
}, - "splitInputs": {
- "annotationSetName": "string",
- "numberOfSplits": 0,
- "fractions": {
- "fractions": [
- 0.1
]
}, - "regexps": {
- "regexps": [
- "string"
]
}, - "splitBy": "SPLIT_BY_DOCS",
- "resultDisplayNamePrefix": "string",
- "resultDescription": "string"
}, - "filterInputs": {
- "inputAnnotationSetName": "string",
- "targetAnnotationSetName": "string",
- "mergeStyle": "MERGE_STYLE_IDENTITY",
- "resultDisplayName": "string",
- "missingTargetsAction": "MISSING_TARGETS_ACTION_RAISE_ERROR",
- "resultDescription": "string",
- "omitPagesWithNoPageClass": true
}, - "trainInputs": {
- "annotationSetName": "string",
- "evalAnnotationSetName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "baseModel": "BASE_MODEL_MICROSOFT_LAYOUTLM_BASE_UNCASED",
- "resultDisplayName": "string",
- "evalResultDisplayName": "string",
- "resultDescription": "string",
- "evalResultDescription": "string",
- "epochs": 0,
- "batchSize": 0,
- "learningRate": "LEARNING_RATE_1E5"
}, - "predictInputs": {
- "annotationSetName": "string",
- "modelName": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "resultDisplayName": "string",
- "resultDescription": "string"
}, - "postProcessDocumentSetInputs": {
- "documentSetName": "string"
}, - "exportAnnotationSetInputs": {
- "annotationSetName": "string"
}, - "exportImagesInputs": {
- "annotationSetNames": [
- "string"
]
}, - "postProcessModelInputs": {
- "modelName": "string"
}, - "postProcessAnnotationSetInput": {
- "annotationSetName": "string"
}, - "postProcessImageSetInputs": {
- "imageSetName": "string"
}, - "engageInputs": {
- "documentSetName": "string",
- "labelsAnnotationSetName": "string"
}, - "publishInputs": {
- "classificationModelName": "string",
- "labellingModelName": "string",
- "pipelineLabel": "string"
}, - "ocrOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "concatOutputs": {
- "mergedSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "splitOutputs": {
- "splitSets": [
- {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
]
}, - "filterOutputs": {
- "filteredAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "trainOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "predictOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessDocumentSetOutputs": {
- "documentSet": {
- "name": "string",
- "parent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "documentCount": 0,
- "pageCount": 0,
- "ocrStatus": "OCR_STATUS_NONE_SCHEDULED",
- "sizeInStorage": "string"
}, - "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}, - "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "exportAnnotationSetOutputs": {
- "downloadUrl": "string"
}, - "exportImagesOutputs": {
- "downloadUrl": "string"
}, - "postProcessModelOutputs": {
- "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}
}, - "postProcessAnnotationSetOutputs": {
- "annotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "postProcessImageSetOutputs": {
- "imageSet": {
- "name": "string",
- "parent": "string",
- "documentSetParent": "string",
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrls": [
- "string"
], - "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string"
}
}, - "engageOutputs": {
- "ocrAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "labeledTokensAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "trainAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "testAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}, - "model": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "modelType": "MODEL_TYPE_TOKEN_LABELING",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "sizeInStorage": "string",
- "acl": [
- "string"
]
}, - "predictionsAnnotationSet": {
- "name": "string",
- "parent": "string",
- "isLatest": true,
- "filename": "string",
- "jobName": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "downloadUrl": "string",
- "status": "ARTIFACT_STATUS_NOT_YET_READY",
- "attributes": null,
- "documentCount": 0,
- "pageCount": 0,
- "metricsReport": null,
- "sizeInStorage": "string"
}
}, - "publishOutputs": {
- "deployedUrl": "string"
}
}
- Submit and view feedback for this page
- Send feedback about H2O Document AI to cloud-feedback@h2o.ai