← All Foundational Objects/Prefix: tag_18 Fields
AI-Agent-First Documentation
/SKILL.md
Prompt your Agent: "Query and mutate records on the 'tag' table (ID prefix 'tag_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."

Tag (tag)

Used for value assignments. Useful for filtering or specifying which values can be used in drop downs AKA picklists.

Python SDK & PlatformContext Example
# 1. Query tag via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM tag ORDER BY created_date DESC LIMIT 25")

# 2. Create tag record (Generates 'tag_...' Base62 ID)
created = await platform.records.create("tag", [
    {"name": "Example Tag"}
])
Field API NameType / FormatLookup TargetFlagsDescription
idstring—requiredId
namestring—requiredName
created_datestringdate-time—Created Date
modified_datestringdate-time—Modified Date
created_bystringlookup→ user (string ID)systemCreated By
modified_bystringlookup→ user (string ID)systemModified By
objectstringlookup→ schemas (string ID)Object
field_api_namestring—Field Api Name
valuestring—Value
labelstring—Label
globalboolean—Turns this into a reusable tag across restricted fields
global_list_namestring—The name of the global list if you specify this as reusable
colorstringcolor—Controls the background color of the tag
ordernumber—Setting the order will allow tags to sort based on the order
dependent_field_api_namestring—Set this if this tag should only be available based on the value of another field
dependent_valueslist—This tag will only be available to select if one of the values in this list are present
activeboolean—Whether the tag will be selectable or not
shared_withlistsharing—systemShared With