Skip to main content
POST
/
tags
/
data-items
/
import requests

response = requests.post(
    "https://api.atomscale.ai/tags/data-items/",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "data_ids": ["d290f1ee-6c54-4b01-90e6-d701748f0851"],
        "tag_ids": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]
    }
)
{}
Applies the given tags to the given data items. Every tag in tag_ids is applied to every data item in data_ids.
data_ids
array
required
Array of data item UUIDs to tag
tag_ids
array
required
Array of tag UUIDs to apply

Response

Returns an empty response on success.
import requests

response = requests.post(
    "https://api.atomscale.ai/tags/data-items/",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "data_ids": ["d290f1ee-6c54-4b01-90e6-d701748f0851"],
        "tag_ids": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]
    }
)
{}