Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Smart tags

List all automatically created upload tags

The results are sorted by name and paginated by default.

Query parameters

filter object

Attributes to filter tags

query string

Textual query to match.

Example: "foobar"
page object

Parameters to control offset-based pagination

offset integer

The (zero-based) offset of the first entity returned in the collection (defaults to 0)

Example: 200
limit integer

The maximum number of entities to return (defaults to 50, maximum is 500)

Returns

Returns an array of resource objects of type upload_smart_tag.

Examples

GET https://site-api.datocms.com/upload-smart-tags HTTP/1.1
Authorization: Bearer YOUR-API-TOKEN
Accept: application/json
X-Api-Version: 3
Terminal window
curl -g 'https://site-api.datocms.com/upload-smart-tags' \
\
-H "Authorization: Bearer YOUR-API-TOKEN" \
-H "Accept: application/json" \
-H "X-Api-Version: 3"
await fetch("https://site-api.datocms.com/upload-smart-tags", {
headers: {
Authorization: "Bearer YOUR-API-TOKEN",
Accept: "application/json",
"X-Api-Version": "3",
},
});
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: cache-control: max-age=0, private, must-revalidate
X-RateLimit-Limit: 30
X-RateLimit-Remaining: 28
{
"data": [
{
"type": "upload_smart_tag",
"id": "42",
"attributes": {
"name": "building"
}
}
],
"meta": {
"total_count": 20
}
}