Google

Data Labeling API

Public API for Google Cloud AI Data Labeling Service.

Data & analytics#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Public API for Google Cloud AI Data Labeling Service.

Endpoints 28

projects

  • GETdatalabeling.projects.operations.get/v1beta1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=stringGets 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.
  • DELETEdatalabeling.projects.operations.delete/v1beta1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringDeletes 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…
  • PATCHdatalabeling.projects.evaluationJobs.patch/v1beta1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&updateMask=stringUpdates an evaluation job. You can only update certain fields of the job's EvaluationJobConfig: humanAnnotationConfig.instruction, exampleCount, and…
  • GETdatalabeling.projects.operations.list/v1beta1/:name/operations?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name binding…
  • GETdatalabeling.projects.operations.cancel/v1beta1/:name:cancel?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringStarts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the…
  • POSTdatalabeling.projects.datasets.exportData/v1beta1/:name:exportData?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringExports data and annotations from dataset.
  • POSTdatalabeling.projects.datasets.importData/v1beta1/:name:importData?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringImports 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…
  • POSTdatalabeling.projects.evaluationJobs.pause/v1beta1/:name:pause?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringPauses an evaluation job. Pausing an evaluation job that is already in a PAUSED state is a no-op.
  • POSTdatalabeling.projects.evaluationJobs.resume/v1beta1/:name:resume?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringResumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
  • GETdatalabeling.projects.datasets.annotatedDatasets.list/v1beta1/:parent/annotatedDatasets?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists annotated datasets for a dataset. Pagination is supported.
  • GETdatalabeling.projects.annotationSpecSets.list/v1beta1/:parent/annotationSpecSets?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists annotation spec sets for a project. Pagination is supported.
  • POSTdatalabeling.projects.annotationSpecSets.create/v1beta1/:parent/annotationSpecSets?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates an annotation spec set by providing a set of labels.
  • GETdatalabeling.projects.datasets.dataItems.list/v1beta1/:parent/dataItems?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
  • GETdatalabeling.projects.datasets.list/v1beta1/:parent/datasets?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists datasets under a project. Pagination is supported.
  • POSTdatalabeling.projects.datasets.create/v1beta1/:parent/datasets?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates dataset. If success return a Dataset resource.
  • GETdatalabeling.projects.evaluationJobs.list/v1beta1/:parent/evaluationJobs?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists all evaluation jobs within a project with possible filters. Pagination is supported.
  • POSTdatalabeling.projects.evaluationJobs.create/v1beta1/:parent/evaluationJobs?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates an evaluation job.
  • GETdatalabeling.projects.evaluations.search/v1beta1/:parent/evaluations:search?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringSearches evaluations within a project.
  • POSTdatalabeling.projects.datasets.evaluations.exampleComparisons.search/v1beta1/:parent/exampleComparisons:search?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringSearches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single…
  • GETdatalabeling.projects.datasets.annotatedDatasets.examples.list/v1beta1/:parent/examples?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists examples in an annotated dataset. Pagination is supported.
  • GETdatalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list/v1beta1/:parent/feedbackMessages?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&pageSize=0&pageToken=stringList FeedbackMessages with pagination.
  • POSTdatalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.create/v1beta1/:parent/feedbackMessages?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreate a FeedbackMessage object.
  • GETdatalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list/v1beta1/:parent/feedbackThreads?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&pageSize=0&pageToken=stringList FeedbackThreads with pagination.
  • POSTdatalabeling.projects.datasets.image.label/v1beta1/:parent/image:label?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringStarts a labeling task for image. The type of image labeling task is configured by feature in the request.
  • GETdatalabeling.projects.instructions.list/v1beta1/:parent/instructions?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string&pageSize=0&pageToken=stringLists instructions for a project. Pagination is supported.
  • POSTdatalabeling.projects.instructions.create/v1beta1/:parent/instructions?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates an instruction for how data should be labeled.
  • POSTdatalabeling.projects.datasets.text.label/v1beta1/:parent/text:label?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringStarts a labeling task for text. The type of text labeling task is configured by feature in the request.
  • POSTdatalabeling.projects.datasets.video.label/v1beta1/:parent/video:label?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringStarts a labeling task for video. The type of video labeling task is configured by feature in the request.

API details

Base URL
https://datalabeling.googleapis.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
OAuth 2.0 (authorization code flow) with 1 scope
Operations
28 operations on 21 pathsGET 13POST 13PATCH 1DELETE 1
Main resources
projects 28
Response formats
application/json
Description format
OpenAPI 3.0.0, API version v1beta1
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Data Labeling API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Data Labeling API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “datalabeling.projects.operations.get” (GET /v1beta1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&filter=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Data Labeling API?

Public API for Google Cloud AI Data Labeling Service. It is listed under Data & analytics and has 28 endpoints.

Who publishes the Data Labeling API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Data Labeling API?

Requests go to https://datalabeling.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Data Labeling API?

It accepts 2 methods: OAuth 2.0 (implicit flow) with 1 scope; OAuth 2.0 (authorization code flow) with 1 scope.

How many endpoints does the Data Labeling API have?

28 operations on 21 paths (13 GET, 13 POST, 1 PATCH, 1 DELETE). The largest groups are projects.

Is forking the Data Labeling API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.