Skip to main content
GET
/
files
/
{file_id}
/
tags
List tags for a file
curl --request GET \
  --url https://api.cloudglue.dev/v1/files/{file_id}/tags \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "total": 123,
  "limit": 123,
  "offset": 123,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "label": "<string>",
      "value": "<string>",
      "type": "file",
      "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string<uuid>
required

The ID of the file

Response

200 - application/json

List of tags

object
enum<string>
required

Object type, always 'list'

Available options:
list
total
integer
required

The total number of items

limit
integer
required

The number of items per page

offset
integer
required

The offset of the items

data
object[]

The list of tags