Get Label

Retrieve a specific annotation label by ID.

Get Label

Retrieve a specific annotation label by its UUID.

GET https://api.futureagi.com/model-hub/annotations-labels/{id}/
Bearer
          Click "Try It" to send a request
        

Authentication

All requests require authentication via API keys:

HeaderDescription
X-Api-KeyYour API key
X-Secret-KeyYour secret key

Path Parameters

id string Required

UUID of the annotation label to retrieve.

Response

id string
UUID of the label.
name string
Display name.
type string
Label type (text, categorical, numeric, star, thumbs_up_down).
description string
Description of the label.
settings object
Type-specific settings.
created_at string
ISO 8601 timestamp of creation.
updated_at string
ISO 8601 timestamp of last update.

Code Examples

import requests

label_id = "your-label-uuid"
url = f"https://api.futureagi.com/model-hub/annotations-labels/{label_id}/"
headers = {
    "X-Api-Key": "YOUR_API_KEY",
    "X-Secret-Key": "YOUR_SECRET_KEY",
}

response = requests.get(url, headers=headers)
label = response.json()

print(f"Label: {label['name']} ({label['type']})")
print(f"Settings: {label['settings']}")
const labelId = "your-label-uuid";

const response = await fetch(
  `https://api.futureagi.com/model-hub/annotations-labels/${labelId}/`,
  {
    headers: {
      "X-Api-Key": "YOUR_API_KEY",
      "X-Secret-Key": "YOUR_SECRET_KEY",
    },
  }
);

const label = await response.json();
console.log(`Label: ${label.name} (${label.type})`);
console.log("Settings:", label.settings);
curl "https://api.futureagi.com/model-hub/annotations-labels/your-label-uuid/" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "X-Secret-Key: YOUR_SECRET_KEY"
Was this page helpful?

Questions & Discussion