Fields are the columns in your database tables. The Fields API allows you to create and manage fields.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/directus/directus/llms.txt
Use this file to discover all available pages before exploring further.
List Fields
Retrieve all fields in a collection.Get Field
Retrieve a single field.Create Field
Create a new field in a collection.Update Field
Update field metadata.Delete Field
Delete a field from a collection.Field Types
- String types:
string,text,uuid - Number types:
integer,bigInteger,float,decimal - Boolean:
boolean - Date/Time:
date,time,datetime,timestamp - JSON:
json - Relational:
alias(virtual fields) - Geometry:
geometry(with PostGIS)
Next Steps
Collections
Manage collections
Items
Work with items