{ "uuid": "669e8476-6213-4ea8-9762-ea763631a484", "lastMigration": 29, "name": "Data Labeling API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "9cb6a7ad-28d5-4733-b6e8-614c36fa6500", "documentation": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "8b3ce714-ad91-48fb-bb0d-6e33c3e9c3f4", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "59f365c9-9839-4b0a-b55a-1b343d3a2f85", "documentation": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "7f53edf8-77f9-40c4-ab96-2c6932717823", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ed4276b6-a97c-4d70-b4c3-4c2d45f3c989", "documentation": "Updates an evaluation job. You can only update certain fields of the job's EvaluationJobConfig: `humanAnnotationConfig.instruction`, `exampleCount`, and `exampleSamplePercentage`. If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.", "method": "patch", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "c48cc336-de97-4a6e-beec-f6ca44cb7179", "body": "{\n \"annotationSpecSet\": \"\",\n \"attempts\": [\n {\n \"attemptTime\": \"\",\n \"partialFailures\": [\n {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n }\n ]\n }\n ],\n \"createTime\": \"\",\n \"description\": \"\",\n \"evaluationJobConfig\": {\n \"bigqueryImportKeys\": {},\n \"boundingPolyConfig\": {\n \"annotationSpecSet\": \"\",\n \"instructionMessage\": \"\"\n },\n \"evaluationConfig\": {\n \"boundingBoxEvaluationOptions\": {\n \"iouThreshold\": {{faker 'number.float'}}\n }\n },\n \"evaluationJobAlertConfig\": {\n \"email\": \"\",\n \"minAcceptableMeanAveragePrecision\": {{faker 'number.float'}}\n },\n \"exampleCount\": {{faker 'number.int' max=99999}},\n \"exampleSamplePercentage\": {{faker 'number.float'}},\n \"humanAnnotationConfig\": {\n \"annotatedDatasetDescription\": \"\",\n \"annotatedDatasetDisplayName\": \"\",\n \"contributorEmails\": [\n \"\"\n ],\n \"instruction\": \"\",\n \"labelGroup\": \"\",\n \"languageCode\": \"\",\n \"questionDuration\": \"\",\n \"replicaCount\": {{faker 'number.int' max=99999}},\n \"userEmailAddress\": \"\"\n },\n \"imageClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"answerAggregationType\": \"{{oneOf (array 'STRING_AGGREGATION_TYPE_UNSPECIFIED' 'MAJORITY_VOTE' 'UNANIMOUS_VOTE' 'NO_AGGREGATION')}}\"\n },\n \"inputConfig\": {\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"bigquerySource\": {\n \"inputUri\": \"\"\n },\n \"classificationMetadata\": {\n \"isMultiLabel\": {{faker 'datatype.boolean'}}\n },\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'IMAGE' 'VIDEO' 'TEXT' 'GENERAL_DATA')}}\",\n \"gcsSource\": {\n \"inputUri\": \"\",\n \"mimeType\": \"\"\n },\n \"textMetadata\": {\n \"languageCode\": \"\"\n }\n },\n \"textClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"sentimentConfig\": {\n \"enableLabelSentimentSelection\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"labelMissingGroundTruth\": {{faker 'datatype.boolean'}},\n \"modelVersion\": \"\",\n \"name\": \"\",\n \"schedule\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'SCHEDULED' 'RUNNING' 'PAUSED' 'STOPPED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dcaf0808-5d2d-45b4-a154-f0ecfd7a039c", "documentation": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", "method": "get", "endpoint": "v1beta1/:name/operations", "responses": [ { "uuid": "4aa99e48-d3f9-40dc-8918-b6bec6f58f5b", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "146a423e-4985-4ed8-a77a-23d568051091", "documentation": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "method": "get", "endpoint": "v1beta1/:name:cancel", "responses": [ { "uuid": "fcf8431b-9d62-4394-af9f-d04f1107eb19", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "77c461a7-2e3e-42b4-a160-cbd93ed6920b", "documentation": "Exports data and annotations from dataset.", "method": "post", "endpoint": "v1beta1/:name:exportData", "responses": [ { "uuid": "422f5348-39e2-4f0a-8f49-a43d34bd2511", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3e7a99ec-2084-4c2d-8556-cda92b96a9ef", "documentation": "Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.", "method": "post", "endpoint": "v1beta1/:name:importData", "responses": [ { "uuid": "5d94e3f6-dfc1-4b6d-a5a0-75ab6ab341b9", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "acffb1cc-12df-488b-aa6e-e9874abae45d", "documentation": "Pauses an evaluation job. Pausing an evaluation job that is already in a `PAUSED` state is a no-op.", "method": "post", "endpoint": "v1beta1/:name:pause", "responses": [ { "uuid": "a2325aeb-7661-4ed2-bd54-c438bf73cebc", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "65d9b3d5-6001-4e46-b96d-7bfd21f46887", "documentation": "Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.", "method": "post", "endpoint": "v1beta1/:name:resume", "responses": [ { "uuid": "6ea83339-720b-4889-af3e-6d3204b1f4b1", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "33ac0c71-48fa-40de-a330-a17863fc139d", "documentation": "Lists annotated datasets for a dataset. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/annotatedDatasets", "responses": [ { "uuid": "c6fea39d-8c9c-4479-84b5-2360b41b42f6", "body": "{\n \"annotatedDatasets\": [\n {\n \"annotationSource\": \"{{oneOf (array 'ANNOTATION_SOURCE_UNSPECIFIED' 'OPERATOR')}}\",\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"blockingResources\": [\n \"\"\n ],\n \"completedExampleCount\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"exampleCount\": \"\",\n \"labelStats\": {\n \"exampleCount\": {}\n },\n \"metadata\": {\n \"boundingPolyConfig\": {\n \"annotationSpecSet\": \"\",\n \"instructionMessage\": \"\"\n },\n \"eventConfig\": {\n \"annotationSpecSets\": [\n \"\"\n ],\n \"clipLength\": {{faker 'number.int' max=99999}},\n \"overlapLength\": {{faker 'number.int' max=99999}}\n },\n \"humanAnnotationConfig\": {\n \"annotatedDatasetDescription\": \"\",\n \"annotatedDatasetDisplayName\": \"\",\n \"contributorEmails\": [\n \"\"\n ],\n \"instruction\": \"\",\n \"labelGroup\": \"\",\n \"languageCode\": \"\",\n \"questionDuration\": \"\",\n \"replicaCount\": {{faker 'number.int' max=99999}},\n \"userEmailAddress\": \"\"\n },\n \"imageClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"answerAggregationType\": \"{{oneOf (array 'STRING_AGGREGATION_TYPE_UNSPECIFIED' 'MAJORITY_VOTE' 'UNANIMOUS_VOTE' 'NO_AGGREGATION')}}\"\n },\n \"objectDetectionConfig\": {\n \"annotationSpecSet\": \"\",\n \"extractionFrameRate\": {{faker 'number.float'}}\n },\n \"objectTrackingConfig\": {\n \"annotationSpecSet\": \"\",\n \"clipLength\": {{faker 'number.int' max=99999}},\n \"overlapLength\": {{faker 'number.int' max=99999}}\n },\n \"polylineConfig\": {\n \"annotationSpecSet\": \"\",\n \"instructionMessage\": \"\"\n },\n \"segmentationConfig\": {\n \"annotationSpecSet\": \"\",\n \"instructionMessage\": \"\"\n },\n \"textClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"sentimentConfig\": {\n \"enableLabelSentimentSelection\": {{faker 'datatype.boolean'}}\n }\n },\n \"textEntityExtractionConfig\": {\n \"annotationSpecSet\": \"\"\n },\n \"videoClassificationConfig\": {\n \"annotationSpecSetConfigs\": [\n {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\"\n }\n ],\n \"applyShotDetection\": {{faker 'datatype.boolean'}}\n }\n },\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "627d9a60-7262-460f-938b-e9c4d13312fb", "documentation": "Lists annotation spec sets for a project. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/annotationSpecSets", "responses": [ { "uuid": "f68180a7-d574-4125-be2d-1b1f479d0f14", "body": "{\n \"annotationSpecSets\": [\n {\n \"annotationSpecs\": [\n {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n ],\n \"blockingResources\": [\n \"\"\n ],\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bc820525-bd73-436e-aa89-403a97f52e1f", "documentation": "Creates an annotation spec set by providing a set of labels.", "method": "post", "endpoint": "v1beta1/:parent/annotationSpecSets", "responses": [ { "uuid": "a3d4913b-9f9c-48eb-a6e4-78ca61406623", "body": "{\n \"annotationSpecs\": [\n {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n ],\n \"blockingResources\": [\n \"\"\n ],\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "226019db-7b22-44cf-8655-14ebc7493245", "documentation": "Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/dataItems", "responses": [ { "uuid": "2396bf3e-2179-46dc-bdc4-f4d4a8ac7f0d", "body": "{\n \"dataItems\": [\n {\n \"imagePayload\": {\n \"imageThumbnail\": \"\",\n \"imageUri\": \"\",\n \"mimeType\": \"\",\n \"signedUri\": \"\"\n },\n \"name\": \"\",\n \"textPayload\": {\n \"textContent\": \"\"\n },\n \"videoPayload\": {\n \"frameRate\": {{faker 'number.float'}},\n \"mimeType\": \"\",\n \"signedUri\": \"\",\n \"videoThumbnails\": [\n {\n \"thumbnail\": \"\",\n \"timeOffset\": \"\"\n }\n ],\n \"videoUri\": \"\"\n }\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "706000f1-e42b-46a1-97ab-0e0146b3445c", "documentation": "Lists datasets under a project. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/datasets", "responses": [ { "uuid": "eadd9ea7-f49a-48db-a5a2-e2f20fa7d2c3", "body": "{\n \"datasets\": [\n {\n \"blockingResources\": [\n \"\"\n ],\n \"createTime\": \"\",\n \"dataItemCount\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"inputConfigs\": [\n {\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"bigquerySource\": {\n \"inputUri\": \"\"\n },\n \"classificationMetadata\": {\n \"isMultiLabel\": {{faker 'datatype.boolean'}}\n },\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'IMAGE' 'VIDEO' 'TEXT' 'GENERAL_DATA')}}\",\n \"gcsSource\": {\n \"inputUri\": \"\",\n \"mimeType\": \"\"\n },\n \"textMetadata\": {\n \"languageCode\": \"\"\n }\n }\n ],\n \"lastMigrateTime\": \"\",\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e67ec230-63c4-4a26-bccb-e71776b36090", "documentation": "Creates dataset. If success return a Dataset resource.", "method": "post", "endpoint": "v1beta1/:parent/datasets", "responses": [ { "uuid": "c190873b-e370-49c5-858c-8b58fcb4bc33", "body": "{\n \"blockingResources\": [\n \"\"\n ],\n \"createTime\": \"\",\n \"dataItemCount\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"inputConfigs\": [\n {\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"bigquerySource\": {\n \"inputUri\": \"\"\n },\n \"classificationMetadata\": {\n \"isMultiLabel\": {{faker 'datatype.boolean'}}\n },\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'IMAGE' 'VIDEO' 'TEXT' 'GENERAL_DATA')}}\",\n \"gcsSource\": {\n \"inputUri\": \"\",\n \"mimeType\": \"\"\n },\n \"textMetadata\": {\n \"languageCode\": \"\"\n }\n }\n ],\n \"lastMigrateTime\": \"\",\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2ed91131-30b2-40fc-a571-e56e9948fed0", "documentation": "Lists all evaluation jobs within a project with possible filters. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/evaluationJobs", "responses": [ { "uuid": "ad065353-3e75-41b3-b65b-86a2bfaf9018", "body": "{\n \"evaluationJobs\": [\n {\n \"annotationSpecSet\": \"\",\n \"attempts\": [\n {\n \"attemptTime\": \"\",\n \"partialFailures\": [\n {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n }\n ]\n }\n ],\n \"createTime\": \"\",\n \"description\": \"\",\n \"evaluationJobConfig\": {\n \"bigqueryImportKeys\": {},\n \"boundingPolyConfig\": {\n \"annotationSpecSet\": \"\",\n \"instructionMessage\": \"\"\n },\n \"evaluationConfig\": {\n \"boundingBoxEvaluationOptions\": {\n \"iouThreshold\": {{faker 'number.float'}}\n }\n },\n \"evaluationJobAlertConfig\": {\n \"email\": \"\",\n \"minAcceptableMeanAveragePrecision\": {{faker 'number.float'}}\n },\n \"exampleCount\": {{faker 'number.int' max=99999}},\n \"exampleSamplePercentage\": {{faker 'number.float'}},\n \"humanAnnotationConfig\": {\n \"annotatedDatasetDescription\": \"\",\n \"annotatedDatasetDisplayName\": \"\",\n \"contributorEmails\": [\n \"\"\n ],\n \"instruction\": \"\",\n \"labelGroup\": \"\",\n \"languageCode\": \"\",\n \"questionDuration\": \"\",\n \"replicaCount\": {{faker 'number.int' max=99999}},\n \"userEmailAddress\": \"\"\n },\n \"imageClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"answerAggregationType\": \"{{oneOf (array 'STRING_AGGREGATION_TYPE_UNSPECIFIED' 'MAJORITY_VOTE' 'UNANIMOUS_VOTE' 'NO_AGGREGATION')}}\"\n },\n \"inputConfig\": {\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"bigquerySource\": {\n \"inputUri\": \"\"\n },\n \"classificationMetadata\": {\n \"isMultiLabel\": {{faker 'datatype.boolean'}}\n },\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'IMAGE' 'VIDEO' 'TEXT' 'GENERAL_DATA')}}\",\n \"gcsSource\": {\n \"inputUri\": \"\",\n \"mimeType\": \"\"\n },\n \"textMetadata\": {\n \"languageCode\": \"\"\n }\n },\n \"textClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"sentimentConfig\": {\n \"enableLabelSentimentSelection\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"labelMissingGroundTruth\": {{faker 'datatype.boolean'}},\n \"modelVersion\": \"\",\n \"name\": \"\",\n \"schedule\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'SCHEDULED' 'RUNNING' 'PAUSED' 'STOPPED')}}\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d1f8261c-44ae-4fcc-938d-2139fd485815", "documentation": "Creates an evaluation job.", "method": "post", "endpoint": "v1beta1/:parent/evaluationJobs", "responses": [ { "uuid": "24e5d293-647f-47ee-96cb-0a982d669d95", "body": "{\n \"annotationSpecSet\": \"\",\n \"attempts\": [\n {\n \"attemptTime\": \"\",\n \"partialFailures\": [\n {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n }\n ]\n }\n ],\n \"createTime\": \"\",\n \"description\": \"\",\n \"evaluationJobConfig\": {\n \"bigqueryImportKeys\": {},\n \"boundingPolyConfig\": {\n \"annotationSpecSet\": \"\",\n \"instructionMessage\": \"\"\n },\n \"evaluationConfig\": {\n \"boundingBoxEvaluationOptions\": {\n \"iouThreshold\": {{faker 'number.float'}}\n }\n },\n \"evaluationJobAlertConfig\": {\n \"email\": \"\",\n \"minAcceptableMeanAveragePrecision\": {{faker 'number.float'}}\n },\n \"exampleCount\": {{faker 'number.int' max=99999}},\n \"exampleSamplePercentage\": {{faker 'number.float'}},\n \"humanAnnotationConfig\": {\n \"annotatedDatasetDescription\": \"\",\n \"annotatedDatasetDisplayName\": \"\",\n \"contributorEmails\": [\n \"\"\n ],\n \"instruction\": \"\",\n \"labelGroup\": \"\",\n \"languageCode\": \"\",\n \"questionDuration\": \"\",\n \"replicaCount\": {{faker 'number.int' max=99999}},\n \"userEmailAddress\": \"\"\n },\n \"imageClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"answerAggregationType\": \"{{oneOf (array 'STRING_AGGREGATION_TYPE_UNSPECIFIED' 'MAJORITY_VOTE' 'UNANIMOUS_VOTE' 'NO_AGGREGATION')}}\"\n },\n \"inputConfig\": {\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"bigquerySource\": {\n \"inputUri\": \"\"\n },\n \"classificationMetadata\": {\n \"isMultiLabel\": {{faker 'datatype.boolean'}}\n },\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'IMAGE' 'VIDEO' 'TEXT' 'GENERAL_DATA')}}\",\n \"gcsSource\": {\n \"inputUri\": \"\",\n \"mimeType\": \"\"\n },\n \"textMetadata\": {\n \"languageCode\": \"\"\n }\n },\n \"textClassificationConfig\": {\n \"allowMultiLabel\": {{faker 'datatype.boolean'}},\n \"annotationSpecSet\": \"\",\n \"sentimentConfig\": {\n \"enableLabelSentimentSelection\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"labelMissingGroundTruth\": {{faker 'datatype.boolean'}},\n \"modelVersion\": \"\",\n \"name\": \"\",\n \"schedule\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'SCHEDULED' 'RUNNING' 'PAUSED' 'STOPPED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "43b14e95-621d-4854-96da-4c0a584064f2", "documentation": "Searches evaluations within a project.", "method": "get", "endpoint": "v1beta1/:parent/evaluations:search", "responses": [ { "uuid": "af47931e-6a5f-43f7-a848-a68ab9c5d0ff", "body": "{\n \"evaluations\": [\n {\n \"annotationType\": \"{{oneOf (array 'ANNOTATION_TYPE_UNSPECIFIED' 'IMAGE_CLASSIFICATION_ANNOTATION' 'IMAGE_BOUNDING_BOX_ANNOTATION' 'IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION' 'IMAGE_BOUNDING_POLY_ANNOTATION' 'IMAGE_POLYLINE_ANNOTATION' 'IMAGE_SEGMENTATION_ANNOTATION' 'VIDEO_SHOTS_CLASSIFICATION_ANNOTATION' 'VIDEO_OBJECT_TRACKING_ANNOTATION' 'VIDEO_OBJECT_DETECTION_ANNOTATION' 'VIDEO_EVENT_ANNOTATION' 'TEXT_CLASSIFICATION_ANNOTATION' 'TEXT_ENTITY_EXTRACTION_ANNOTATION' 'GENERAL_CLASSIFICATION_ANNOTATION')}}\",\n \"config\": {\n \"boundingBoxEvaluationOptions\": {\n \"iouThreshold\": {{faker 'number.float'}}\n }\n },\n \"createTime\": \"\",\n \"evaluatedItemCount\": \"\",\n \"evaluationJobRunTime\": \"\",\n \"evaluationMetrics\": {\n \"classificationMetrics\": {\n \"confusionMatrix\": {\n \"row\": [\n {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"entries\": [\n {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"itemCount\": {{faker 'number.int' max=99999}}\n }\n ]\n }\n ]\n },\n \"prCurve\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"areaUnderCurve\": {{faker 'number.float'}},\n \"confidenceMetricsEntries\": [\n {\n \"confidenceThreshold\": {{faker 'number.float'}},\n \"f1Score\": {{faker 'number.float'}},\n \"f1ScoreAt1\": {{faker 'number.float'}},\n \"f1ScoreAt5\": {{faker 'number.float'}},\n \"precision\": {{faker 'number.float'}},\n \"precisionAt1\": {{faker 'number.float'}},\n \"precisionAt5\": {{faker 'number.float'}},\n \"recall\": {{faker 'number.float'}},\n \"recallAt1\": {{faker 'number.float'}},\n \"recallAt5\": {{faker 'number.float'}}\n }\n ],\n \"meanAveragePrecision\": {{faker 'number.float'}}\n }\n },\n \"objectDetectionMetrics\": {\n \"prCurve\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"areaUnderCurve\": {{faker 'number.float'}},\n \"confidenceMetricsEntries\": [\n {\n \"confidenceThreshold\": {{faker 'number.float'}},\n \"f1Score\": {{faker 'number.float'}},\n \"f1ScoreAt1\": {{faker 'number.float'}},\n \"f1ScoreAt5\": {{faker 'number.float'}},\n \"precision\": {{faker 'number.float'}},\n \"precisionAt1\": {{faker 'number.float'}},\n \"precisionAt5\": {{faker 'number.float'}},\n \"recall\": {{faker 'number.float'}},\n \"recallAt1\": {{faker 'number.float'}},\n \"recallAt5\": {{faker 'number.float'}}\n }\n ],\n \"meanAveragePrecision\": {{faker 'number.float'}}\n }\n }\n },\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7138c8d2-2230-4839-b788-830bb4149576", "documentation": "Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.", "method": "post", "endpoint": "v1beta1/:parent/exampleComparisons:search", "responses": [ { "uuid": "129e19d1-14d1-41f2-92a6-287155606c3b", "body": "{\n \"exampleComparisons\": [\n {\n \"groundTruthExample\": {\n \"annotations\": [\n {\n \"annotationMetadata\": {\n \"operatorMetadata\": {\n \"comments\": [\n \"\"\n ],\n \"labelVotes\": {{faker 'number.int' max=99999}},\n \"score\": {{faker 'number.float'}},\n \"totalVotes\": {{faker 'number.int' max=99999}}\n }\n },\n \"annotationSentiment\": \"{{oneOf (array 'ANNOTATION_SENTIMENT_UNSPECIFIED' 'NEGATIVE' 'POSITIVE')}}\",\n \"annotationSource\": \"{{oneOf (array 'ANNOTATION_SOURCE_UNSPECIFIED' 'OPERATOR')}}\",\n \"annotationValue\": {\n \"imageBoundingPolyAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"boundingPoly\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"normalizedBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n }\n },\n \"imageClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n },\n \"imagePolylineAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"normalizedPolyline\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n },\n \"polyline\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n }\n },\n \"imageSegmentationAnnotation\": {\n \"annotationColors\": {},\n \"imageBytes\": \"\",\n \"mimeType\": \"\"\n },\n \"textClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n },\n \"textEntityExtractionAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"sequentialSegment\": {\n \"end\": {{faker 'number.int' max=99999}},\n \"start\": {{faker 'number.int' max=99999}}\n }\n },\n \"videoClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n },\n \"videoEventAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n },\n \"videoObjectTrackingAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"objectTrackingFrames\": [\n {\n \"boundingPoly\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"normalizedBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n },\n \"timeOffset\": \"\"\n }\n ],\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n }\n },\n \"name\": \"\"\n }\n ],\n \"imagePayload\": {\n \"imageThumbnail\": \"\",\n \"imageUri\": \"\",\n \"mimeType\": \"\",\n \"signedUri\": \"\"\n },\n \"name\": \"\",\n \"textPayload\": {\n \"textContent\": \"\"\n },\n \"videoPayload\": {\n \"frameRate\": {{faker 'number.float'}},\n \"mimeType\": \"\",\n \"signedUri\": \"\",\n \"videoThumbnails\": [\n {\n \"thumbnail\": \"\",\n \"timeOffset\": \"\"\n }\n ],\n \"videoUri\": \"\"\n }\n },\n \"modelCreatedExamples\": [\n {\n \"annotations\": [\n {\n \"annotationMetadata\": {\n \"operatorMetadata\": {\n \"comments\": [\n \"\"\n ],\n \"labelVotes\": {{faker 'number.int' max=99999}},\n \"score\": {{faker 'number.float'}},\n \"totalVotes\": {{faker 'number.int' max=99999}}\n }\n },\n \"annotationSentiment\": \"{{oneOf (array 'ANNOTATION_SENTIMENT_UNSPECIFIED' 'NEGATIVE' 'POSITIVE')}}\",\n \"annotationSource\": \"{{oneOf (array 'ANNOTATION_SOURCE_UNSPECIFIED' 'OPERATOR')}}\",\n \"annotationValue\": {\n \"imageBoundingPolyAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"boundingPoly\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"normalizedBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n }\n },\n \"imageClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n },\n \"imagePolylineAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"normalizedPolyline\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n },\n \"polyline\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n }\n },\n \"imageSegmentationAnnotation\": {\n \"annotationColors\": {},\n \"imageBytes\": \"\",\n \"mimeType\": \"\"\n },\n \"textClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n },\n \"textEntityExtractionAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"sequentialSegment\": {\n \"end\": {{faker 'number.int' max=99999}},\n \"start\": {{faker 'number.int' max=99999}}\n }\n },\n \"videoClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n },\n \"videoEventAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n },\n \"videoObjectTrackingAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"objectTrackingFrames\": [\n {\n \"boundingPoly\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"normalizedBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n },\n \"timeOffset\": \"\"\n }\n ],\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n }\n },\n \"name\": \"\"\n }\n ],\n \"imagePayload\": {\n \"imageThumbnail\": \"\",\n \"imageUri\": \"\",\n \"mimeType\": \"\",\n \"signedUri\": \"\"\n },\n \"name\": \"\",\n \"textPayload\": {\n \"textContent\": \"\"\n },\n \"videoPayload\": {\n \"frameRate\": {{faker 'number.float'}},\n \"mimeType\": \"\",\n \"signedUri\": \"\",\n \"videoThumbnails\": [\n {\n \"thumbnail\": \"\",\n \"timeOffset\": \"\"\n }\n ],\n \"videoUri\": \"\"\n }\n }\n ]\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1592d9b8-d899-4b5c-84cc-3cc9760af7f6", "documentation": "Lists examples in an annotated dataset. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/examples", "responses": [ { "uuid": "52a9b232-3b3e-488a-9e8b-f9855833e6ff", "body": "{\n \"examples\": [\n {\n \"annotations\": [\n {\n \"annotationMetadata\": {\n \"operatorMetadata\": {\n \"comments\": [\n \"\"\n ],\n \"labelVotes\": {{faker 'number.int' max=99999}},\n \"score\": {{faker 'number.float'}},\n \"totalVotes\": {{faker 'number.int' max=99999}}\n }\n },\n \"annotationSentiment\": \"{{oneOf (array 'ANNOTATION_SENTIMENT_UNSPECIFIED' 'NEGATIVE' 'POSITIVE')}}\",\n \"annotationSource\": \"{{oneOf (array 'ANNOTATION_SOURCE_UNSPECIFIED' 'OPERATOR')}}\",\n \"annotationValue\": {\n \"imageBoundingPolyAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"boundingPoly\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"normalizedBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n }\n },\n \"imageClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n },\n \"imagePolylineAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"normalizedPolyline\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n },\n \"polyline\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n }\n },\n \"imageSegmentationAnnotation\": {\n \"annotationColors\": {},\n \"imageBytes\": \"\",\n \"mimeType\": \"\"\n },\n \"textClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n }\n },\n \"textEntityExtractionAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"sequentialSegment\": {\n \"end\": {{faker 'number.int' max=99999}},\n \"start\": {{faker 'number.int' max=99999}}\n }\n },\n \"videoClassificationAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n },\n \"videoEventAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n },\n \"videoObjectTrackingAnnotation\": {\n \"annotationSpec\": {\n \"description\": \"\",\n \"displayName\": \"\",\n \"index\": {{faker 'number.int' max=99999}}\n },\n \"objectTrackingFrames\": [\n {\n \"boundingPoly\": {\n \"vertices\": [\n {\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"normalizedBoundingPoly\": {\n \"normalizedVertices\": [\n {\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}}\n }\n ]\n },\n \"timeOffset\": \"\"\n }\n ],\n \"timeSegment\": {\n \"endTimeOffset\": \"\",\n \"startTimeOffset\": \"\"\n }\n }\n },\n \"name\": \"\"\n }\n ],\n \"imagePayload\": {\n \"imageThumbnail\": \"\",\n \"imageUri\": \"\",\n \"mimeType\": \"\",\n \"signedUri\": \"\"\n },\n \"name\": \"\",\n \"textPayload\": {\n \"textContent\": \"\"\n },\n \"videoPayload\": {\n \"frameRate\": {{faker 'number.float'}},\n \"mimeType\": \"\",\n \"signedUri\": \"\",\n \"videoThumbnails\": [\n {\n \"thumbnail\": \"\",\n \"timeOffset\": \"\"\n }\n ],\n \"videoUri\": \"\"\n }\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1249ac21-416c-4acf-8811-501c2ddc290e", "documentation": "List FeedbackMessages with pagination.", "method": "get", "endpoint": "v1beta1/:parent/feedbackMessages", "responses": [ { "uuid": "b42c9c3d-d20c-4717-9e5e-3fc467c21200", "body": "{\n \"feedbackMessages\": [\n {\n \"body\": \"\",\n \"createTime\": \"\",\n \"image\": \"\",\n \"name\": \"\",\n \"operatorFeedbackMetadata\": {},\n \"requesterFeedbackMetadata\": {}\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9d039788-f735-45fc-ab2a-d6e287897daa", "documentation": "Create a FeedbackMessage object.", "method": "post", "endpoint": "v1beta1/:parent/feedbackMessages", "responses": [ { "uuid": "56701a3c-0c3c-42c2-84f5-29ba0841d9b1", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "795950da-3e05-45fe-bc01-de5f99b64ade", "documentation": "List FeedbackThreads with pagination.", "method": "get", "endpoint": "v1beta1/:parent/feedbackThreads", "responses": [ { "uuid": "dcb3d6f0-13b7-488a-814b-24bcb8bef513", "body": "{\n \"feedbackThreads\": [\n {\n \"feedbackThreadMetadata\": {\n \"createTime\": \"\",\n \"lastUpdateTime\": \"\",\n \"status\": \"{{oneOf (array 'FEEDBACK_THREAD_STATUS_UNSPECIFIED' 'NEW' 'REPLIED')}}\",\n \"thumbnail\": \"\"\n },\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0fb065bd-4113-41c8-a0ed-14c25e6bb008", "documentation": "Starts a labeling task for image. The type of image labeling task is configured by feature in the request.", "method": "post", "endpoint": "v1beta1/:parent/image:label", "responses": [ { "uuid": "ef77a718-d6e0-4e90-b89f-3291fa66e907", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5d1c7cb2-a86e-46c6-86f8-f1dee3f12775", "documentation": "Lists instructions for a project. Pagination is supported.", "method": "get", "endpoint": "v1beta1/:parent/instructions", "responses": [ { "uuid": "b7aa66b8-b6cc-4e37-a390-4a341d3bacd1", "body": "{\n \"instructions\": [\n {\n \"blockingResources\": [\n \"\"\n ],\n \"createTime\": \"\",\n \"csvInstruction\": {\n \"gcsFileUri\": \"\"\n },\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'IMAGE' 'VIDEO' 'TEXT' 'GENERAL_DATA')}}\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"name\": \"\",\n \"pdfInstruction\": {\n \"gcsFileUri\": \"\"\n },\n \"updateTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "22007a1e-d8d7-4aa3-a610-fe5e85694c9a", "documentation": "Creates an instruction for how data should be labeled.", "method": "post", "endpoint": "v1beta1/:parent/instructions", "responses": [ { "uuid": "c8b1846e-5aa7-40ca-b0e6-cee43568a165", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "13af39d7-2fed-40a8-a543-255f7b6d5910", "documentation": "Starts a labeling task for text. The type of text labeling task is configured by feature in the request.", "method": "post", "endpoint": "v1beta1/:parent/text:label", "responses": [ { "uuid": "dc4e3575-b677-440a-a65c-5ec23d2feaed", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0ca1d95-ff3d-48ad-ab57-89d843b77e21", "documentation": "Starts a labeling task for video. The type of video labeling task is configured by feature in the request.", "method": "post", "endpoint": "v1beta1/:parent/video:label", "responses": [ { "uuid": "ea2ac42e-983c-46b6-8970-67dc79afbff9", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "9cb6a7ad-28d5-4733-b6e8-614c36fa6500" }, { "type": "route", "uuid": "59f365c9-9839-4b0a-b55a-1b343d3a2f85" }, { "type": "route", "uuid": "ed4276b6-a97c-4d70-b4c3-4c2d45f3c989" }, { "type": "route", "uuid": "dcaf0808-5d2d-45b4-a154-f0ecfd7a039c" }, { "type": "route", "uuid": "146a423e-4985-4ed8-a77a-23d568051091" }, { "type": "route", "uuid": "77c461a7-2e3e-42b4-a160-cbd93ed6920b" }, { "type": "route", "uuid": "3e7a99ec-2084-4c2d-8556-cda92b96a9ef" }, { "type": "route", "uuid": "acffb1cc-12df-488b-aa6e-e9874abae45d" }, { "type": "route", "uuid": "65d9b3d5-6001-4e46-b96d-7bfd21f46887" }, { "type": "route", "uuid": "33ac0c71-48fa-40de-a330-a17863fc139d" }, { "type": "route", "uuid": "627d9a60-7262-460f-938b-e9c4d13312fb" }, { "type": "route", "uuid": "bc820525-bd73-436e-aa89-403a97f52e1f" }, { "type": "route", "uuid": "226019db-7b22-44cf-8655-14ebc7493245" }, { "type": "route", "uuid": "706000f1-e42b-46a1-97ab-0e0146b3445c" }, { "type": "route", "uuid": "e67ec230-63c4-4a26-bccb-e71776b36090" }, { "type": "route", "uuid": "2ed91131-30b2-40fc-a571-e56e9948fed0" }, { "type": "route", "uuid": "d1f8261c-44ae-4fcc-938d-2139fd485815" }, { "type": "route", "uuid": "43b14e95-621d-4854-96da-4c0a584064f2" }, { "type": "route", "uuid": "7138c8d2-2230-4839-b788-830bb4149576" }, { "type": "route", "uuid": "1592d9b8-d899-4b5c-84cc-3cc9760af7f6" }, { "type": "route", "uuid": "1249ac21-416c-4acf-8811-501c2ddc290e" }, { "type": "route", "uuid": "9d039788-f735-45fc-ab2a-d6e287897daa" }, { "type": "route", "uuid": "795950da-3e05-45fe-bc01-de5f99b64ade" }, { "type": "route", "uuid": "0fb065bd-4113-41c8-a0ed-14c25e6bb008" }, { "type": "route", "uuid": "5d1c7cb2-a86e-46c6-86f8-f1dee3f12775" }, { "type": "route", "uuid": "22007a1e-d8d7-4aa3-a610-fe5e85694c9a" }, { "type": "route", "uuid": "13af39d7-2fed-40a8-a543-255f7b6d5910" }, { "type": "route", "uuid": "b0ca1d95-ff3d-48ad-ab57-89d843b77e21" } ] }