{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/81883e57-5d5f-3830-b256-d77607d487be","info":{"description":"The ThousandEyes Tags API provides a tagging system with key/value pairs. It allows you to tag assets within the ThousandEyes platform (such as agents, tests, or alert rules) with meaningful metadata. For example: `branch:sfo`, `branch:nyc`, and `team:netops`.\n\nThis feature provides:\n\n* Support for automation.\n* Powerful and flexible reports/dashboards.\n* Support for third-party integrations.\n\nThings to note with the ThousandEyes Tags API:\n\n* Tags are backwards-compatible with existing labels.\n* Tags are separated by Tests (CEA), Agents (CEA), Endpoint Agents, Scheduled Endpoint Tests, and Reports. A single tag can only apply to one type of target object, so each tag must specify the target type of object via a `type` field.\n* Tags are defined in a single table so that they can be represented using a single model - `Tag`.\n","title":"Tags API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"description":"Tag CRUD Operations","name":"Tags"},{"description":"Assign tags to other objects","name":"Tag Assignment"}],"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"properties":{"assignments":{"items":{"properties":{"id":{"description":"Object Id","example":"123","type":"string"},"type":{"enum":["test","v-agent","endpoint-test","dashboard"],"type":"string","$$ref":"#/components/schemas/AssignmentType"}},"type":"object","$$ref":"#/components/schemas/Assignment"},"readOnly":true,"type":"array"},"accessType":{"description":"The access level of the tag. The access level impacts the visibility of the label in UI and the permissions to modify the label.","enum":["all","partner","system"],"example":"all","type":"string","$$ref":"#/components/schemas/AccessType"},"aid":{"description":"The account group ID","example":1234,"readOnly":true,"type":"integer"},"color":{"description":"Tag color","example":"#FF0000","type":"string"},"createDate":{"description":"Tag creation date","example":"2022-03-01T23:31:11Z","format":"yyyy-MM-ddTHH:mm[:ss]Z","readOnly":true,"type":"string"},"icon":{"nullable":true,"type":"string"},"description":{"description":"The tag's description.","example":"To tag assets in San Francisco","nullable":true,"type":"string"},"id":{"description":"The tag ID","example":"5aeab5d5-0d34-4d44-a7ac-fb440185295c","format":"uuid","readOnly":true,"type":"string"},"key":{"description":"The tags's key","example":"branch","type":"string"},"legacyId":{"nullable":true,"readOnly":true,"type":"number"},"objectType":{"description":"The object type associated with the tag","enum":["test","dashboard","endpoint-test","v-agent"],"example":"test","type":"string","$$ref":"#/components/schemas/ObjectType"},"value":{"description":"The tag's value","example":"sfo","type":"string"}},"type":"object","$$ref":"#/components/schemas/TagInfo","title":"TagInfo"}}