This document provides a guide and overview for the InsertDataField RPC, which allows you to register a DataField directly via API. Once registered, the DataField name can be used immediately as a contextual attribute key when calling GetTreatments, with no further setup.
InsertDataField requires a Treatment Management API key, passed in the x-api-key header. A key without Treatment Management permissions is rejected with 403 PERMISSION_DENIED.
message UserPropertyParams { // Required. // The data type of the user property. // Only BOOLEAN, STRING and INTEGER are supported. Any other value returns INVALID_ARGUMENT. DataFieldType data_type = 1;}enum DataFieldType { UNSPECIFIED_DATA_FIELD_TYPE = 0; INTEGER = 1; DOUBLE = 2; STRING = 3; BOOLEAN = 4; TIMESTAMP_SECONDS = 5; INTEGER_LIST = 6; DOUBLE_LIST = 7; STRING_LIST = 8;}
message InsertDataFieldRequest { // Required. // Numeric project id. string project_id = 1; // Required. // Must be snake_case, matching ^[a-z](?:[a-z0-9_]*[a-z0-9])?$, with a maximum length of 256 characters. // This name is the key used as a contextual attribute in GetTreatments. string name = 2; // Required. // Exactly one source must be set. oneof source { UserPropertyParams user_property = 3; }}message InsertDataFieldResponse { // The registered DataField (or the pre-existing one, if it already existed). DataFieldPb data_field = 1;}
InsertDataField is idempotent on (project_id, name). Calling it again with the same project and name returns the existing data_field_id without creating a duplicate or returning an error.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Auxia Docs","description":"Documentation for the Auxia platform","colors":{"primary":"#0069ED","light":"#4D9CFF","dark":"#0050B4"},"logo":{"light":"https://mintcdn.com/auxia/fyABYGcDtDafgHjF/img/auxiaLogo.svg?fit=max\u0026auto=format\u0026n=fyABYGcDtDafgHjF\u0026q=85\u0026s=b8573baac6fdfdc968b11e9899724fac","dark":"https://mintcdn.com/auxia/fyABYGcDtDafgHjF/img/auxiaLogo-dark.svg?fit=max\u0026auto=format\u0026n=fyABYGcDtDafgHjF\u0026q=85\u0026s=d5fe4db495ad432aa4247ffd135081cb","href":"/"},"favicon":"https://mintcdn.com/auxia/3fKMPzXbMJ8IM9iY/images/favicon.png?fit=max\u0026auto=format\u0026n=3fKMPzXbMJ8IM9iY\u0026q=85\u0026s=4b7cfb2963dc8e912c24357b051b469f","navbar":{"links":[{"href":"https://console.auxia.io","label":"Console"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/auxia-io","website":"https://auxia.io"},"links":[{"header":"Docs","items":[{"label":"Docs","href":"/"}]},{"header":"Community","items":[{"label":"Website","href":"https://auxia.io"},{"label":"LinkedIn","href":"https://www.linkedin.com/company/auxia-io"}]},{"header":"More","items":[{"label":"Privacy Policy","href":"https://www.auxia.io/privacy-policy"},{"label":"Terms","href":"https://www.auxia.io/terms"}]}]},"styling":{"eyebrows":"breadcrumbs","latex":false},"interaction":{"drilldown":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"ja","href":"ja"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"auxia","hasAudioNarration":false,"actualSubdomain":"auxia","customDomains":["docs.auxia.io"],"gitSource":{"type":"github","owner":"auxia-inc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeaee8452ea88647e5cafdb","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"en","tag":"Auxia Docs","count":115},{"language":"ja","tag":"Auxiaドキュメント","count":91},{"language":"en","tag":"Documentation","count":75},{"language":"ja","tag":"技術仕様","count":51},{"language":"en","tag":"Data Ingestion","count":37},{"language":"en","tag":"Connectors","count":31},{"language":"en","tag":"User Guides","count":27},{"language":"ja","tag":"ユーザーガイド","count":27},{"language":"en","tag":"Console Reference","count":17},{"language":"ja","tag":"コンソールリファレンス","count":17},{"language":"en","tag":"API Reference","count":14},{"language":"ja","tag":"APIリファレンス","count":14},{"language":"en","tag":"Deploying Auxia","count":13},{"language":"ja","tag":"データ取り込み","count":13},{"language":"ja","tag":"Auxiaの導入","count":13},{"language":"en","tag":"Product Concepts","count":12},{"language":"ja","tag":"プロダクトコンセプト","count":12},{"language":"ja","tag":"データ接続","count":12},{"language":"en","tag":"Quick Start Guide","count":10},{"language":"ja","tag":"クイックスタートガイド","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--ifm-background-color: #ffffff;--ifm-color-emphasis-100: #f5f6f7;--ifm-color-emphasis-200: #ebedf0;--ifm-color-emphasis-300: #dadde1;--ifm-color-emphasis-500: #bec3c9;--ifm-color-emphasis-600: #8d949e;--ifm-color-emphasis-700: #606770}.dark,[data-theme=\"dark\"],html.dark{--ifm-background-color: #1b1b1d;--ifm-color-emphasis-100: #232629;--ifm-color-emphasis-200: #2e3134;--ifm-color-emphasis-300: #3e4245;--ifm-color-emphasis-500: #7a7f85;--ifm-color-emphasis-600: #9ba1a6;--ifm-color-emphasis-700: #c2c6ca}:root{--nest-rail: rgba(17, 24, 39, 0.11)}.dark,[data-theme=\"dark\"],html.dark{--nest-rail: rgba(255, 255, 255, 0.13)}#sidebar,#sidebar-content{width:21.5rem}#sidebar-content ul ul{margin-left:0.4rem;padding-left:0.55rem;border-left:1px solid var(--nest-rail)}#sidebar-content li>button{font-weight:600;letter-spacing:-0.005em}#sidebar-content ul ul li>button{font-weight:550}#sidebar-content ul ul ul li>button{font-weight:500;opacity:0.92}#sidebar-content ul ul li>a{font-weight:450}"}],"page":{"pagePath":"api-reference/treatment-management/insert-data-field","slug":"/api-reference/treatment-management/insert-data-field","pageMetadata":{"title":"Insert DataField","description":"API for registering a DataField via API.","href":"/api-reference/treatment-management/insert-data-field"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"API for registering a DataField via API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This document provides a guide and overview for the InsertDataField RPC, which allows you to register a DataField directly via API. Once registered, the DataField `,_jsx(_components.code,{children:`name`}),` can be used immediately as a contextual attribute key when calling GetTreatments, with no further setup.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-definition`,children:`API Definition`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://apis.auxia.io/v1/InsertDataField`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`InsertDataField`}),` requires a `,_jsx(_components.strong,{children:`Treatment Management`}),` API key, passed in the `,_jsx(_components.code,{children:`x-api-key`}),` header. A key without Treatment Management permissions is rejected with `,_jsx(_components.code,{children:`403 PERMISSION_DENIED`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`entities`,children:`Entities`}),`\n`,_jsx(Heading,{level:`3`,id:`userpropertyparams`,children:`UserPropertyParams`}),`\n`,_jsx(CodeBlock,{numberOfLines:`19`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`message UserPropertyParams {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Required.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // The data type of the user property.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Only BOOLEAN, STRING and INTEGER are supported. Any other value returns INVALID_ARGUMENT.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` DataFieldType data_type = 1;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum DataFieldType {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNSPECIFIED_DATA_FIELD_TYPE = 0;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` INTEGER = 1;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` DOUBLE = 2;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` STRING = 3;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` BOOLEAN = 4;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` TIMESTAMP_SECONDS = 5;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` INTEGER_LIST = 6;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` DOUBLE_LIST = 7;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` STRING_LIST = 8;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`datafieldpb`,children:`DataFieldPb`}),`\n`,_jsx(CodeBlock,{numberOfLines:`15`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`message DataFieldPb {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Auxia-assigned identifier for the DataField. Stable across calls.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` string data_field_id = 1;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // The project this DataField belongs to.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` string project_id = 2;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // The DataField name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` string name = 3;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` oneof source {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UserPropertyParams user_property = 4;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`insertdatafield`,children:`InsertDataField`}),`\n`,_jsx(Heading,{level:`3`,id:`api-to-register-a-datafield`,children:`API to register a DataField`}),`\n`,_jsx(CodeBlock,{numberOfLines:`22`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`message InsertDataFieldRequest {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Required.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Numeric project id.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` string project_id = 1;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Required.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Must be snake_case, matching ^[a-z](?:[a-z0-9_]*[a-z0-9])?$, with a maximum length of 256 characters.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // This name is the key used as a contextual attribute in GetTreatments.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` string name = 2;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Required.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Exactly one source must be set.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` oneof source {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UserPropertyParams user_property = 3;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`message InsertDataFieldResponse {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // The registered DataField (or the pre-existing one, if it already existed).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` DataFieldPb data_field = 1;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`InsertDataField is idempotent on `,_jsx(_components.code,{children:`(project_id, name)`}),`. Calling it again with the same project and name returns the existing `,_jsx(_components.code,{children:`data_field_id`}),` without creating a duplicate or returning an error.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`sample-curl-request`,children:`Sample cURL Request`}),`\n`,_jsx(CodeBlock,{numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl --location --request POST 'https://apis.auxia.io/v1/InsertDataField' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`--header 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`--header 'x-api-key: API_KEY' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`--data-raw '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"projectId\": \"PROJECT_ID\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"name\": \"loyalty_tier\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"userProperty\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"dataType\": \"STRING\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`sample-response`,children:`Sample Response`}),`\n`,_jsx(CodeBlock,{numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"dataField\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"dataFieldId\": \"8821\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"projectId\": \"PROJECT_ID\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"name\": \"loyalty_tier\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"userProperty\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"dataType\": \"STRING\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Insert DataField","description":"API for registering a DataField via API.","href":"/api-reference/treatment-management/insert-data-field"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API Definition","slug":"api-definition","depth":2,"children":[]},{"title":"Entities","slug":"entities","depth":2,"children":[{"title":"UserPropertyParams","slug":"userpropertyparams","depth":3,"children":[]},{"title":"DataFieldPb","slug":"datafieldpb","depth":3,"children":[]}]},{"title":"InsertDataField","slug":"insertdatafield","depth":2,"children":[{"title":"API to register a DataField","slug":"api-to-register-a-datafield","depth":3,"children":[]},{"title":"Sample cURL Request","slug":"sample-curl-request","depth":3,"children":[]},{"title":"Sample Response","slug":"sample-response","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"auxia","siteName":"Auxia Docs","title":"Insert DataField - Auxia Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/treatment-management/insert-data-field","matchLevel":0},"ja":{"href":"/ja/api-reference/treatment-management/insert-data-field","matchLevel":1}}},"lastModified":"2026-08-13T07:24:34.474Z","originalFileLocation":"api-reference/treatment-management/insert-data-field.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"API for registering a DataField via API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Auxia Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Insert DataField - Auxia Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"API for registering a DataField via API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Auxia Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://auxia.mintlify.site/_mintlify/api/og/v2?division=Treatment+Management\u0026amp;title=Insert+DataField\u0026amp;description=API+for+registering+a+DataField+via+API.\u0026amp;theme=771c4103f0e81c9f4656390b\u0026amp;signature=555f0a9127bce7a3b461d56620aa15609b6d804fb018f6d70a1a40400ac82425\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Insert DataField - Auxia Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"API for registering a DataField via API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://auxia.mintlify.site/_mintlify/api/og/v2?division=Treatment+Management\u0026amp;title=Insert+DataField\u0026amp;description=API+for+registering+a+DataField+via+API.\u0026amp;theme=771c4103f0e81c9f4656390b\u0026amp;signature=555f0a9127bce7a3b461d56620aa15609b6d804fb018f6d70a1a40400ac82425\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/auxia/0kbdCk03jt0w6XN1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Auxia Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069ED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/treatment-management/insert-data-field.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.auxia.io/ja/api-reference/treatment-management/insert-data-field\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.auxia.io/#organization\",\"name\":\"Auxia Docs\",\"url\":\"https://docs.auxia.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/auxia/fyABYGcDtDafgHjF/img/auxiaLogo.svg?fit=max\u0026auto=format\u0026n=fyABYGcDtDafgHjF\u0026q=85\u0026s=b8573baac6fdfdc968b11e9899724fac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.auxia.io#website\",\"name\":\"Auxia Docs\",\"url\":\"https://docs.auxia.io\",\"publisher\":{\"@id\":\"https://docs.auxia.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field#webpage\",\"url\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\",\"name\":\"Insert DataField\",\"description\":\"API for registering a DataField via API.\",\"dateModified\":\"2026-08-13T07:24:34.474Z\",\"isPartOf\":{\"@id\":\"https://docs.auxia.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Auxia Docs\",\"item\":\"https://docs.auxia.io/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https://docs.auxia.io/getting-started\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API Reference\",\"item\":\"https://docs.auxia.io/api-reference/get-treatments\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Treatment Management\",\"item\":\"https://docs.auxia.io/api-reference/treatment-management\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Insert DataField\",\"item\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field#article\",\"headline\":\"Insert DataField\",\"name\":\"Insert DataField\",\"description\":\"API for registering a DataField via API.\",\"url\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field\",\"mainEntityOfPage\":{\"@id\":\"https://docs.auxia.io/api-reference/treatment-management/insert-data-field#webpage\"},\"dateModified\":\"2026-08-13T07:24:34.474Z\",\"publisher\":{\"@id\":\"https://docs.auxia.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.auxia.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Auxia Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Auxia Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"groups":[{"group":"Auxia Docs","pages":[{"title":"Welcome!","href":""},{"group":"Product Concepts","pages":[{"title":"Product Concepts","sidebarTitle":"Overview","href":"/concepts"},{"title":"Goals","href":"/concepts/goals"},{"title":"Journeys","href":"/concepts/journeys"},{"title":"Treatments","href":"/concepts/treatments"},{"title":"Target Actions","href":"/concepts/target-actions"},{"title":"Guardrails","href":"/concepts/guardrails"},{"title":"Treatment Types","href":"/concepts/treatment-types"},{"title":"Surfaces","href":"/concepts/surfaces"},{"title":"Destinations","href":"/concepts/destinations"},{"title":"Data Fields","href":"/concepts/data-fields"},{"title":"Analytics","href":"/concepts/analytics"},{"title":"Agentic Capabilities","href":"/concepts/ai-insights"}]},{"group":"Documentation","pages":[{"group":"Integration Quick Start","pages":[{"title":"Integration Quick Start","sidebarTitle":"Overview","href":"/getting-started"},{"title":"Step 1: Ingesting your data","href":"/getting-started/step-1-ingesting-your-data"},{"title":"Step 2: Integrating Auxia into your product","href":"/getting-started/step-2-integrating-auxia-into-your-product"},{"title":"Step 3: Defining your goals","href":"/getting-started/step-3-defining-your-model-objective"},{"title":"Step 4: Creating your first treatment","href":"/getting-started/step-4-creating-your-first-treatment"},{"title":"Step 5: Measuring Success","href":"/getting-started/step-5-measuring-success"}]},{"group":"Data Ingestion","pages":[{"title":"Data ingestion overview","sidebarTitle":"Overview","href":"/data-ingestion/overview"},{"title":"How ingestion works","href":"/data-ingestion/concepts/how-ingestion-works"},{"group":"Connectors","pages":[{"title":"Connectors","sidebarTitle":"All connectors","href":"/data-ingestion/data-connections"},{"group":"Google BigQuery","pages":[{"title":"Google BigQuery","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/google-bigquery"},{"title":"Google BigQuery setup guide","sidebarTitle":"Setup guide","href":"/data-ingestion/data-connections/google-bigquery/setup-guide"},{"title":"Troubleshooting Google BigQuery","sidebarTitle":"Troubleshooting","href":"/data-ingestion/data-connections/google-bigquery/troubleshooting"},{"title":"Google BigQuery release notes","sidebarTitle":"Release notes","href":"/data-ingestion/data-connections/google-bigquery/release-notes"}]},{"group":"Google Cloud Storage","pages":[{"title":"Google Cloud Storage","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/google-cloud-storage"},{"title":"Google Cloud Storage setup guide","sidebarTitle":"Setup guide","href":"/data-ingestion/data-connections/google-cloud-storage/setup-guide"},{"title":"Troubleshooting Google Cloud Storage","sidebarTitle":"Troubleshooting","href":"/data-ingestion/data-connections/google-cloud-storage/troubleshooting"},{"title":"Google Cloud Storage release notes","sidebarTitle":"Release notes","href":"/data-ingestion/data-connections/google-cloud-storage/release-notes"}]},{"group":"Amazon S3","pages":[{"title":"Amazon S3","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/amazon-s3"},{"title":"Amazon S3 setup guide","sidebarTitle":"Setup guide","href":"/data-ingestion/data-connections/amazon-s3/setup-guide"},{"title":"Troubleshooting Amazon S3","sidebarTitle":"Troubleshooting","href":"/data-ingestion/data-connections/amazon-s3/troubleshooting"},{"title":"Amazon S3 release notes","sidebarTitle":"Release notes","href":"/data-ingestion/data-connections/amazon-s3/release-notes"}]},{"group":"Amazon Kinesis","pages":[{"title":"Amazon Kinesis","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/amazon-kinesis"},{"title":"Amazon Kinesis setup guide","sidebarTitle":"Setup guide","href":"/data-ingestion/data-connections/amazon-kinesis/setup-guide"}]},{"group":"Snowflake","pages":[{"title":"Snowflake","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/snowflake"},{"title":"Snowflake (Direct Connection)","sidebarTitle":"Setup: Direct connection","href":"/data-ingestion/data-connections/snowflake/direct-connection"},{"title":"Snowflake (GCS Export)","sidebarTitle":"Setup: GCS export","href":"/data-ingestion/data-connections/snowflake/gcs-export"}]},{"group":"Databricks","pages":[{"title":"Databricks","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/databricks"},{"title":"Databricks (Unity Catalog)","sidebarTitle":"Setup: Unity Catalog","href":"/data-ingestion/data-connections/databricks/unity-catalog"},{"title":"Databricks (Delta Transfer)","sidebarTitle":"Setup: Delta Transfer","href":"/data-ingestion/data-connections/databricks/delta-transfer"}]},{"group":"SFTP","pages":[{"title":"SFTP","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/sftp"},{"title":"SFTP setup guide","sidebarTitle":"Setup guide","href":"/data-ingestion/data-connections/sftp/setup-guide"}]},{"group":"Google Cloud Pub/Sub","pages":[{"title":"Google Cloud Pub/Sub","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/gcp-pubsub"},{"title":"Events and User Attributes ingestion via Pub/Sub","sidebarTitle":"Setup: Auxia reads your topic","href":"/data-ingestion/data-connections/gcp-pubsub/events-and-users-attributes-ingestion-via-pubsub"},{"title":"Google Cloud Pub/Sub: publish to an Auxia topic","sidebarTitle":"Setup: Publish to Auxia's topic","href":"/data-ingestion/data-connections/gcp-pubsub/publish-to-auxia"}]},{"group":"Amplitude","pages":[{"title":"Amplitude","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/amplitude"},{"title":"Batch with Export API","sidebarTitle":"Setup: Export API","href":"/data-ingestion/data-connections/amplitude/amplitude-batch-with-export-API"},{"title":"Streaming with Google Pub/Sub","sidebarTitle":"Setup: Pub/Sub streaming","href":"/data-ingestion/data-connections/amplitude/amplitude-streaming-via-google-pubsub"}]},{"group":"Firebase","pages":[{"title":"Firebase","sidebarTitle":"Overview","href":"/data-ingestion/data-connections/firebase"},{"title":"Firebase Event Tracking and BigQuery Integration","sidebarTitle":"Setup guide","href":"/data-ingestion/data-connections/firebase-event-tracking-with-gcp-bigquery-integration"}]}]},{"group":"Reference","pages":[{"title":"What data is needed","href":"/data-ingestion/what-data-is-needed"},{"title":"File source requirements","href":"/data-ingestion/concepts/file-sources"},{"title":"Map your data","sidebarTitle":"Map your data","href":"/data-ingestion/concepts/map-your-data"},{"title":"Monitoring with Data Health","href":"/data-ingestion/concepts/monitoring"}]}]},{"group":"Deploying Auxia","pages":[{"group":"Deploying with Auxia API","pages":[{"title":"Deploying with Auxia's API","href":"/deploying-auxia/deploying-with-auxia-api"},{"title":"Making Your First Call","href":"/deploying-auxia/deploying-with-auxia-api/making-your-first-call"},{"title":"Surfaces and Types","href":"/deploying-auxia/deploying-with-auxia-api/surfaces-and-types"},{"title":"Contextual Attributes","href":"/deploying-auxia/deploying-with-auxia-api/contextual-attributes"}]},{"group":"Delivery Integrations","pages":[{"title":"Delivery Integrations","sidebarTitle":"Overview","href":"/deploying-auxia/delivery-integrations"},{"title":"Braze","href":"/deploying-auxia/delivery-integrations/braze"},{"group":"Firebase Push Notifications","pages":[{"title":"Overview","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/overview"},{"title":"Integrate Firebase on the client application","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/integrate-firebase-on-the-client-application"},{"title":"Enable Auxia to Send Push Notifications","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/enable-auxia-to-send-notification"},{"title":"Enable Auxia to collect notification events","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/enable-auxia-to-collect-notification-events"},{"title":"Sample Push Notification Script","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/sample-push-notifications-script"},{"group":"Sample Flutter Setup","pages":[{"title":"Sample Flutter Set up","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/sample-flutter-set-up"},{"title":"Sample Flutter Client Implementation","href":"/deploying-auxia/delivery-integrations/firebase-push-notifications-integration-manual/sample-flutter-set-up/sample-flutter-client-implementation"}]}]}]}]},{"group":"API Reference","pages":[{"title":"Get Treatments","href":"/api-reference/get-treatments"},{"title":"Log Events","href":"/api-reference/log-events"},{"title":"Log Treatment Interactions","href":"/api-reference/log-treatment-interactions"},{"title":"Errors","href":"/api-reference/errors"},{"group":"SDK","pages":[{"title":"Web SDK: Render from the Auxia Console","sidebarTitle":"Render from the Auxia Console","href":"/api-reference/sdk/javascript-sdk"},{"title":"Web SDK: Render from Your Own Code","sidebarTitle":"Render from Your Own Code","href":"/api-reference/sdk/render-from-your-code"}]},{"group":"Treatment Management","pages":[{"title":"Treatment Management","sidebarTitle":"Overview","href":"/api-reference/treatment-management"},{"title":"Insert/Update Treatment","href":"/api-reference/treatment-management/insert-update-treatment"},{"title":"Insert/Update Treatment Type","href":"/api-reference/treatment-management/insert-update-treatment-type"},{"title":"Get Treatment","href":"/api-reference/treatment-management/get-treatment"},{"title":"Get All Treatments","href":"/api-reference/treatment-management/get-all-treatments"},{"title":"Get DataFields","description":"Look up the ID and type of DataFields by their parameters.","href":"/api-reference/treatment-management/get-datafields"},{"title":"Insert DataField","href":"/api-reference/treatment-management/insert-data-field"},{"title":"Insert Surface","description":"API for registering a Surface via API.","href":"/api-reference/treatment-management/insert-surface"}]}]},{"group":"Bulk Upload","pages":[{"title":"Bulk Upload","sidebarTitle":"Overview","href":"/bulk-upload"},{"title":"Generate CSV Template","href":"/bulk-upload/generate-template"},{"title":"CSV Field Reference","href":"/bulk-upload/csv-field-reference"},{"title":"Upload and Validate","href":"/bulk-upload/upload-and-validate"},{"title":"Bulk Upload History","href":"/bulk-upload/bulk-upload-history"}]}]},{"group":"User Guides","pages":[{"group":"Quick Start Guide","pages":[{"title":"Introduction to Auxia Console","sidebarTitle":"Introduction","href":"/guides/quick-start/introduction"},{"title":"First-Time Setup Checklist","sidebarTitle":"First-Time Setup","href":"/guides/quick-start/first-time-setup"},{"title":"Understanding Goals","sidebarTitle":"Understanding Goals","href":"/guides/quick-start/understanding-goals"},{"title":"Creating Your First Journey","sidebarTitle":"Creating First Journey","href":"/guides/quick-start/creating-first-journey"},{"title":"Creating Your First Treatment","sidebarTitle":"Creating First Treatment","href":"/guides/quick-start/creating-first-treatment"},{"title":"QA Testing","sidebarTitle":"QA Testing","href":"/guides/quick-start/qa-testing"},{"title":"Understanding Analytics","sidebarTitle":"Understanding Analytics","href":"/guides/quick-start/understanding-analytics"},{"title":"Using Agent and AI Insights","sidebarTitle":"Using Agent and AI Insights","href":"/guides/quick-start/using-ai-insights"},{"title":"Quick Reference","sidebarTitle":"Quick Reference","href":"/guides/quick-start/quick-reference"},{"group":"Appendices","pages":[{"title":"Glossary","href":"/guides/quick-start/appendices/glossary"}]}]},{"group":"Console Reference","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/guides/comprehensive/introduction"},{"title":"Section 2: Home Dashboard","sidebarTitle":"Home Dashboard","href":"/guides/comprehensive/home-dashboard"},{"title":"Managing Goals","sidebarTitle":"Managing Goals","href":"/guides/comprehensive/goals"},{"title":"Managing Journeys","sidebarTitle":"Managing Journeys","href":"/guides/comprehensive/journeys"},{"title":"Managing Treatments","sidebarTitle":"Managing Treatments","href":"/guides/comprehensive/treatments"},{"title":"Analytics","sidebarTitle":"Analytics","href":"/guides/comprehensive/analytics"},{"title":"Agent and AI Insights","sidebarTitle":"Agent and AI Insights","href":"/guides/comprehensive/ai-insights"},{"title":"Section 8: QA \u0026 Testing","sidebarTitle":"QA \u0026 Testing","href":"/guides/comprehensive/qa-testing"},{"title":"Configuration","sidebarTitle":"Configuration","href":"/guides/comprehensive/configuration"},{"title":"Section 10: Admin (Users \u0026 Roles)","sidebarTitle":"Admin","href":"/guides/comprehensive/admin"},{"group":"SSO Setup","pages":[{"title":"Single Sign-On (SSO) Setup","sidebarTitle":"SSO Overview","href":"/guides/comprehensive/sso"},{"title":"Setting Up SSO with Microsoft Entra ID","sidebarTitle":"Microsoft Entra ID","href":"/guides/comprehensive/sso/microsoft-entra-id"},{"title":"Setting Up SSO with Okta","sidebarTitle":"Okta","href":"/guides/comprehensive/sso/okta"},{"title":"Setting Up SSO with Auth0","sidebarTitle":"Auth0","href":"/guides/comprehensive/sso/auth0"}]},{"group":"Appendices","pages":[{"title":"Appendix A: Glossary","href":"/guides/comprehensive/appendices/glossary"},{"title":"Appendix B: Permissions Reference","href":"/guides/comprehensive/appendices/permissions-reference"},{"title":"Appendix C: Troubleshooting \u0026 FAQ","href":"/guides/comprehensive/appendices/troubleshooting-faq"}]}]}]}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/treatment-management/insert-data-field"}]}]},"basePath":"","title":"Insert DataField - Auxia Docs","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}