Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Field → Get
AI-generatedOverview
This node retrieves a specific field from a collection in a Directus database. It is useful when you need to fetch metadata or details about a particular field within a collection, such as its configuration or properties. For example, you might use this node to get information about a 'title' field in an 'articles' collection to understand its data type or validation rules.
Use Case Examples
- Fetch the 'title' field details from the 'articles' collection to display field metadata in a UI.
- Retrieve a specific field's configuration to dynamically generate forms based on field properties.
Properties
| Name | Meaning |
|---|---|
| Field Name | Unique name of the field within the collection, used to specify which field to retrieve. |
| Collection Name | Name of the collection where the field resides, used to specify the collection context for the field. |
Output
JSON
field- The details and metadata of the requested field from the specified collection.
Dependencies
- Requires connection to a Directus API instance with appropriate authentication credentials.
Troubleshooting
- Ensure the specified collection and field names exist in the Directus instance; otherwise, the node will fail to retrieve the field.
- Authentication errors may occur if API credentials are missing or invalid; verify the API key or token used for connection.
- If the field name is not unique or incorrectly specified, the node may return an error or incorrect data.
Links
- Directus API Documentation - Official documentation for Directus API, useful for understanding field and collection structures.