--- title: "SetAtomicFields" slug: "setatomicfields" updated: 2024-04-10T17:27:41Z published: 2024-04-10T17:27:41Z canonical: "docs.datajet.app/setatomicfields" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # SetAtomicFields Flags specified fields as being [atomic](/v1/docs/atomic-fields) | Key | Value(s) | Description | | --- | --- | --- | | method | "SetAtomicFields" | Flags specified fields as being atomic | | fields[] | [ "table.field1" "table.field2" "..." ] | List of full names of fields to be set as atomic. | | template | "templatename" | Name of template containing fields to set. | | table | "tablename" | Name of table to set as atomic. | Only one of [template](/v1/docs/template-collection), table or fields can be included. ```json { "method": "SetAtomicFields", "template": "sales_imported_to_atomic", "project": "SDJ-DJDemo2023", "description": "Set atomic fields using a template" } ``` ```json { "method": "SetAtomicFields", "fields": [ "customer.first order", "customer.recency" ], "description": "Set atomic fields using a field list", "project": "SDJ-DJDemo2023" } ``` ```json { "method": "SetAtomicFields", "table": "sales", "project": "SDJ-DJDemo2023", "description": "Set atomic fields for a whole table" } ```