{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}
View device Properties diagram (important!)
Authorizations
Authorization
string
header
required
Bearer token obtained from POST /auth/tokens.
Body
application/json
Creates a device.
location_id
string
required
Flatpeak Location ID.
Example:
"loc_641b90b758fb8e6293716e40"
device_type
enum<string>
required
What the device is, as your users would name it. Set when you create the device. Connect uses it for the noun your users see: BATTERY_STORAGE reads "your battery".
Available options:
BATTERY_STORAGE,
ELECTRIC_VEHICLE,
EV_CHARGER,
AIR_CONDITIONER,
HEAT_PUMP,
WATER_HEATER,
PV_SYSTEM,
POWER_GENERATOR,
OTHER
Example:
"BATTERY_STORAGE"
reference_id
string
Your own reference, for example an ID from your system.
Example:
"DEV1234567890"
capabilities
DeviceCapabilities · object
What the device can do, by subsystem. For tariffs, only a pv block is used: optimizations take the solar part of each window from it.
Show child attributes
Response
Success: the device resource.
A device: an energy asset at a location, with its hardware identity, capabilities, consents, telemetry duties and, through its own methods, state and settings.
id
string
required
read-only
Flatpeak Device ID.
Pattern: ^[a-z]{2,4}_[A-Za-z0-9]+$
Example:
"dev_63a6087272941ef077a8fd3e"
object
enum<string>
default:device
required
read-only
Object type.
Available options:
device
Example:
"device"
reference_id
string | null
required
Your own reference, for example an ID from your system. null when not set.
Example:
"DEV1234567890"
live_mode
boolean
required
true for live data, false for test data.
location_id
string
required
Flatpeak Location ID of the device's current location. Moves are appended to the device's location history; past records keep the location current at the time.
Example:
"loc_641b90b758fb8e6293716e40"
capabilities
DeviceCapabilities · object
required
Technical envelope of the device, grouped by subsystem. Include only the subsystems the device has: a battery-only unit omits pv, a solar-only unit omits battery.
Show child attributes
device_type
enum<string>
required
What the device is, as your users would name it. Set when you create the device. Connect uses it for the noun your users see: BATTERY_STORAGE reads "your battery".
Available options:
BATTERY_STORAGE,
ELECTRIC_VEHICLE,
EV_CHARGER,
AIR_CONDITIONER,
HEAT_PUMP,
WATER_HEATER,
PV_SYSTEM,
POWER_GENERATOR,
OTHER
Example:
"BATTERY_STORAGE"
time_last_seen
string<date-time> | null
required
Time when Flatpeak last heard from the device, through an API call or telemetry, in UTC. null until first contact.
Example:
"2026-03-22T11:12:21Z"
time_created
string<date-time>
required
Time when the object was created, in UTC.
Example:
"2026-01-24T14:15:22Z"
account_id
string
required
read-only
Flatpeak Account ID.
Pattern: ^[a-z]{2,4}_[A-Za-z0-9]+$
Example:
"acc_661677911f2197045e6cf1b1"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Flatpeak","colors":{"primary":"#0D9373","light":"#55D799","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/flatpeak-d495c19e/2B6nWUU4-c2pSD3E/images/shared/flatpeak-logo-new-dark.png?fit=max\u0026auto=format\u0026n=2B6nWUU4-c2pSD3E\u0026q=85\u0026s=b3eb2629b2f6d7ac5813f2fc130d3b98","dark":"https://mintcdn.com/flatpeak-d495c19e/2B6nWUU4-c2pSD3E/images/shared/flatpeak-logo-new-light.png?fit=max\u0026auto=format\u0026n=2B6nWUU4-c2pSD3E\u0026q=85\u0026s=79bc7b47f8f54f7b623a2aa0522d5dce","href":"/"},"favicon":"https://mintcdn.com/flatpeak-d495c19e/2B6nWUU4-c2pSD3E/favicon.png?fit=max\u0026auto=format\u0026n=2B6nWUU4-c2pSD3E\u0026q=85\u0026s=f21ca4406e76bd3d6900999d5c9f1510","navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://console.flatpeak.com"}},"footer":{"socials":{"github":"https://github.com/flat-peak","linkedin":"https://www.linkedin.com/company/flatpeak"}},"fonts":{"heading":{"family":"NB International Pro","source":"https://flatpeak-static.s3.amazonaws.com/misc/fonts/nbinternationalpro-bold-webfont.woff2","format":"woff2"},"body":{"family":"NB International Pro","source":"https://flatpeak-static.s3.amazonaws.com/misc/fonts/nbinternationalpro-regular-webfont.woff2","format":"woff2"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"integrations":{"ga4":{"measurementId":"G-2ZGZW08N65"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flatpeak-d495c19e","hasAudioNarration":false,"actualSubdomain":"flatpeak-d495c19e","customDomains":[],"gitSource":{"type":"github","owner":"flat-peak","repo":"busbar-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af588a42092b9c7b91cf695"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af783c51bcf9df148926cf0","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"API Reference","count":155},{"language":"default","tag":"Energy API","count":116},{"language":"default","tag":"Fleet API","count":88},{"language":"default","tag":"Platform","count":51},{"language":"default","tag":"Guides","count":49},{"language":"default","tag":"Tariffs","count":45},{"language":"default","tag":"VPP","count":45},{"language":"default","tag":"Enroll customers","count":26},{"language":"default","tag":"Connect","count":23},{"language":"default","tag":"VPP events","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":not(pre)>code{white-space:nowrap}html[data-current-path=\"/\"] #navbar div:has(>.nav-tabs),html[data-current-path=\"/\"] #navbar [data-component-part=\"products-selector-trigger\"]{display:none}"}],"page":{"pagePath":"energy-api/reference/devices/create","slug":"/energy-api/reference/devices/create","pageMetadata":{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /devices","sidebarTitle":"Create device","title":"Create a device","description":"Creates a device. Set `reference_id` to the device's ID in your systems.","href":"/energy-api/reference/devices/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a device. Set \", _jsx(_components.code, {\n children: \"reference_id\"\n }), \" to the device’s ID in your systems.\"]\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{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const{Accordion,Mermaid}={..._provideComponents(),...props.components};if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);return _jsx(Accordion,{title:`View device Properties diagram (important!)`,icon:`diagram-project`,id:`view-device-properties-diagram-important`,children:_jsx(Mermaid,{chart:`---\nconfig:\n theme: mc\n---\nflowchart LR\n subgraph Storage[\"Battery system\"]\n Inverter[\"Inverter\u003cbr>+ac_export_limit_kw\"]\n B1@{ label: \"BATTERY\u003cbr>\u003cspan style=\\\\\"background-color:\\\\\">+power_kw\u003c/span>\u003cbr>+capacity_kwh\u003cbr>\" }\n end\n Grid[\"Grid\"] \u003c--> J((\"Main panel\"))\n J \u003c-- \u003cbr> --> EV@{ label: \"EV_CHARGER\u003cbr>\u003cspan style=\\\\\"background-color:\\\\\">+max_power_kw\u003c/span>\u003cbr style=\\\\\"--tw-border-spacing-y:\\\\\">\u003cspan style=\\\\\"background-color:\\\\\">+min_power_kw\u003c/span>\u003cbr>+v2g_capable\" }\n EV \u003c-.-> Vehicle[\"Electric Vehicle\"]\n Solar[\"PV\u003cbr>+peak_power_kw\u003cbr>+azimuth\u003cbr>+tilt\u003cbr>+terrain_shading\"] --> Inverter\n Inverter --> J \u0026 B1\n\n B1@{ shape: cylinder}\n EV@{ shape: rect}\n Solar@{ shape: rect}\n style Grid stroke-width:2px,stroke-dasharray: 2\n style J stroke-width:2px,stroke-dasharray: 2\n style Vehicle stroke-width:2px,stroke-dasharray: 2`,placement:`top-right`,actions:false})})}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":{"codeStyling":"system","config":{},"pageMetadata":{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /devices","sidebarTitle":"Create device","title":"Create a device","description":"Creates a device. Set `reference_id` to the device's ID in your systems.","href":"/energy-api/reference/devices/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a device","tags":["Devices"],"operationId":"create-device","description":"Creates a device. Set `reference_id` to the device's ID in your systems.","parameters":[],"requestBody":"3aac3d26-df26-4d8b-b4e0-642a4bc291f1","responses":{"201":"c8b440cb-7fb4-42f5-a92b-a57ec39a46d5","400":"a4d397a5-d3f8-49f4-b2ac-a674e3dc2e94","401":"9fdd1fae-5aeb-4282-825e-9734df339abb","403":"9ca91e14-1010-4b10-8a4e-59067f2160da","409":"ebc46f1c-5327-4574-a702-96785033d41f","422":"7114d56c-4904-4e65-ad90-1117e5fe17a2","429":"fc8afd50-ec3f-414e-a42d-9308fd620de7","500":"77c72e8e-78a1-4960-9bd8-e5b6f0f1a75e","503":"bba4b1d4-9b7d-4c9d-98da-1d5923928df8"},"method":"post","type":"path","servers":["8447a98d-5dc4-4958-8c4c-3784bbffe40d"],"security":["a9633cfc-9ba2-46fa-8639-dbf772b1239c"],"path":"/devices","baseUrlOptions":["https://energy-api.flatpeak.com"],"title":"Create a device","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"location_id":{"type":"string","description":"Flatpeak Location ID.","example":"loc_641b90b758fb8e6293716e40","isRequired":true,"uniqueKey":"location_id","typeLabel":"string"},"device_type":{"type":"string","enum":["BATTERY_STORAGE","ELECTRIC_VEHICLE","EV_CHARGER","AIR_CONDITIONER","HEAT_PUMP","WATER_HEATER","PV_SYSTEM","POWER_GENERATOR","OTHER"],"description":"What the device is, as your users would name it. Set when you create the device. Connect uses it for the noun your users see: `BATTERY_STORAGE` reads \"your battery\".","example":"BATTERY_STORAGE","isRequired":true,"uniqueKey":"device_type","typeLabel":"enum\u003cstring>"},"reference_id":{"type":"string","description":"Your own reference, for example an ID from your system.","example":"DEV1234567890","uniqueKey":"reference_id","typeLabel":"string"},"capabilities":{"type":"object","title":"DeviceCapabilities","description":"What the device can do, by subsystem. For tariffs, only a `pv` block is used: optimizations take the solar part of each window from it.","properties":{"pv":{"type":"object","additionalProperties":false,"description":"Present when the device has solar generation.","properties":{"peak_power_kw":{"type":"number","minimum":0,"description":"Peak DC generation capacity of the PV array, in kWp. Required when forecasts_enabled is true.","example":6.4,"uniqueKey":"capabilities.pv.peak_power_kw","typeLabel":"number"},"azimuth":{"type":"number","minimum":-180,"maximum":180,"description":"Optional. Degrees from true north the array faces, 0 = north, positive anticlockwise (-90 = east, 135 = southwest). Defaults to the optimal azimuth for the latitude.","example":0,"uniqueKey":"capabilities.pv.azimuth","typeLabel":"number"},"tilt":{"type":"number","minimum":0,"maximum":90,"description":"Optional. Tilt angle in degrees, 0 = horizontal, 90 = vertical. Defaults to 23.","example":23,"uniqueKey":"capabilities.pv.tilt","typeLabel":"number"},"terrain_shading":{"type":"boolean","default":false,"description":"Optional. If true, irradiance is adjusted for surrounding terrain using a 90 m elevation model. Defaults to false.","uniqueKey":"capabilities.pv.terrain_shading","typeLabel":"boolean"},"forecasts_enabled":{"type":"boolean","default":false,"description":"Optional. Enables generation forecasting. Requires `peak_power_kw` and a geocoded location, which Connect captures. Defaults to `false`.","uniqueKey":"capabilities.pv.forecasts_enabled","typeLabel":"boolean"}},"uniqueKey":"capabilities.pv","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"capabilities","typeLabel":"DeviceCapabilities · object"}},"required":["location_id","device_type"],"uniqueKey":"","typeLabel":"object"},"examples":{"Heat pump":{"title":"Heat pump","value":{"reference_id":"DEV3456789012","location_id":"loc_641b90b758fb8e6293716e40","device_type":"HEAT_PUMP"}},"Solar system with forecasts":{"title":"Solar system with forecasts","value":{"reference_id":"DEV1234567890","location_id":"loc_641b90b758fb8e6293716e40","device_type":"PV_SYSTEM","capabilities":{"pv":{"peak_power_kw":6.2,"azimuth":180,"tilt":23,"terrain_shading":false,"forecasts_enabled":true}}}}},"exampleType":"examples"}},"description":"Creates a device.","required":true,"exampleType":"examples"},"responses":{"c8b440cb-7fb4-42f5-a92b-a57ec39a46d5":{"description":"Success: the device resource.","content":{"application/json":{"schema":{"type":"object","title":"Device","description":"A device: an energy asset at a location, with its hardware identity, capabilities, consents, telemetry duties and, through its own methods, state and settings.","properties":{"id":{"type":"string","description":"Flatpeak Device ID.","example":"dev_63a6087272941ef077a8fd3e","pattern":"^[a-z]{2,4}_[A-Za-z0-9]+$","readOnly":true,"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Object type.","example":"device","enum":["device"],"default":"device","readOnly":true,"isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"reference_id":{"oneOf":[{"type":"string","description":"Your own reference, for example an ID from your system. `null` when not set.","example":"DEV1234567890","isRequired":true,"uniqueKey":"reference_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own reference, for example an ID from your system. `null` when not set.","example":"DEV1234567890","isRequired":true,"uniqueKey":"reference_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"reference_id","typeLabel":"string | null"},"live_mode":{"type":"boolean","description":"`true` for live data, `false` for test data.","isRequired":true,"uniqueKey":"live_mode","typeLabel":"boolean"},"location_id":{"type":"string","description":"Flatpeak Location ID of the device's current location. Moves are appended to the device's location history; past records keep the location current at the time.","example":"loc_641b90b758fb8e6293716e40","isRequired":true,"uniqueKey":"location_id","typeLabel":"string"},"capabilities":{"title":"DeviceCapabilities","type":"object","description":"Technical envelope of the device, grouped by subsystem. Include only the subsystems the device has: a battery-only unit omits pv, a solar-only unit omits battery.","additionalProperties":false,"properties":{"pv":{"type":"object","additionalProperties":false,"description":"Present when the device has solar generation.","properties":{"peak_power_kw":{"type":"number","minimum":0,"description":"Peak DC generation capacity of the PV array, in kWp. Required when forecasts_enabled is true.","example":6.4,"uniqueKey":"capabilities.pv.peak_power_kw","typeLabel":"number"},"azimuth":{"type":"number","minimum":-180,"maximum":180,"description":"Optional. Degrees from true north the array faces, 0 = north, positive anticlockwise (-90 = east, 135 = southwest). Defaults to the optimal azimuth for the latitude.","example":0,"uniqueKey":"capabilities.pv.azimuth","typeLabel":"number"},"tilt":{"type":"number","minimum":0,"maximum":90,"description":"Optional. Tilt angle in degrees, 0 = horizontal, 90 = vertical. Defaults to 23.","example":23,"uniqueKey":"capabilities.pv.tilt","typeLabel":"number"},"terrain_shading":{"type":"boolean","default":false,"description":"Optional. If true, irradiance is adjusted for surrounding terrain using a 90 m elevation model. Defaults to false.","uniqueKey":"capabilities.pv.terrain_shading","typeLabel":"boolean"},"forecasts_enabled":{"type":"boolean","default":false,"description":"Optional. Enables generation forecasting. Requires `peak_power_kw` and a geocoded location, which Connect captures. Defaults to `false`.","uniqueKey":"capabilities.pv.forecasts_enabled","typeLabel":"boolean"}},"uniqueKey":"capabilities.pv","typeLabel":"object"}},"isRequired":true,"uniqueKey":"capabilities","typeLabel":"DeviceCapabilities · object"},"device_type":{"type":"string","enum":["BATTERY_STORAGE","ELECTRIC_VEHICLE","EV_CHARGER","AIR_CONDITIONER","HEAT_PUMP","WATER_HEATER","PV_SYSTEM","POWER_GENERATOR","OTHER"],"description":"What the device is, as your users would name it. Set when you create the device. Connect uses it for the noun your users see: `BATTERY_STORAGE` reads \"your battery\".","example":"BATTERY_STORAGE","isRequired":true,"uniqueKey":"device_type","typeLabel":"enum\u003cstring>"},"time_last_seen":{"oneOf":[{"type":"string","format":"date-time","description":"Time when Flatpeak last heard from the device, through an API call or telemetry, in UTC. `null` until first contact.","example":"2026-03-22T11:12:21Z","isRequired":true,"uniqueKey":"time_last_seen.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time when Flatpeak last heard from the device, through an API call or telemetry, in UTC. `null` until first contact.","example":"2026-03-22T11:12:21Z","isRequired":true,"uniqueKey":"time_last_seen.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"time_last_seen","typeLabel":"string\u003cdate-time> | null"},"time_created":{"type":"string","description":"Time when the object was created, in UTC.","example":"2026-01-24T14:15:22Z","format":"date-time","isRequired":true,"uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"},"account_id":{"type":"string","description":"Flatpeak Account ID.","example":"acc_661677911f2197045e6cf1b1","pattern":"^[a-z]{2,4}_[A-Za-z0-9]+$","readOnly":true,"isRequired":true,"uniqueKey":"account_id","typeLabel":"string"}},"required":["id","object","reference_id","live_mode","location_id","capabilities","device_type","time_last_seen","time_created","account_id"],"uniqueKey":"","typeLabel":"Device · object"},"example":{"id":"dev_63a6087272941ef077a8fd3e","object":"device","reference_id":"DEV1234567890","live_mode":true,"location_id":"loc_641b90b758fb8e6293716e40","capabilities":{"pv":{"peak_power_kw":6.2,"azimuth":180,"tilt":23,"terrain_shading":false,"forecasts_enabled":true}},"device_type":"PV_SYSTEM","time_last_seen":"2026-07-08T19:30:00Z","time_created":"2026-01-20T09:30:00Z","account_id":"acc_661677911f2197045e6cf1b1"},"examples":{"Example":{"title":"Example","value":{"id":"dev_63a6087272941ef077a8fd3e","object":"device","reference_id":"DEV1234567890","live_mode":true,"location_id":"loc_641b90b758fb8e6293716e40","capabilities":{"pv":{"peak_power_kw":6.2,"azimuth":180,"tilt":23,"terrain_shading":false,"forecasts_enabled":true}},"device_type":"PV_SYSTEM","time_last_seen":"2026-07-08T19:30:00Z","time_created":"2026-01-20T09:30:00Z","account_id":"acc_661677911f2197045e6cf1b1"}}},"exampleType":"examples"}},"exampleType":"examples"},"a4d397a5-d3f8-49f4-b2ac-a674e3dc2e94":{"description":"400 Bad Request: the request was malformed or a required field is missing or invalid.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"9fdd1fae-5aeb-4282-825e-9734df339abb":{"description":"401 Unauthorized: authentication credentials are missing or invalid.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"9ca91e14-1010-4b10-8a4e-59067f2160da":{"description":"403 Forbidden: you do not have permission to access this resource.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"ebc46f1c-5327-4574-a702-96785033d41f":{"description":"409 Conflict: the resource conflicts with existing data, for example a duplicate reference.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"7114d56c-4904-4e65-ad90-1117e5fe17a2":{"description":"422 Unprocessable Entity: the request is well-formed but cannot be processed, for example missing required data.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"fc8afd50-ec3f-414e-a42d-9308fd620de7":{"description":"429 Too Many Requests: the rate limit has been exceeded.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"77c72e8e-78a1-4960-9bd8-e5b6f0f1a75e":{"description":"500 Internal Server Error: an unexpected error occurred. Safe to retry with backoff.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"bba4b1d4-9b7d-4c9d-98da-1d5923928df8":{"description":"503 Service Unavailable: the service is temporarily down for maintenance. Retry after the indicated delay.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by every non-2xx response.","required":["object","type","code","message"],"properties":{"object":{"type":"string","enum":["error"],"default":"error","description":"Object type.","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"High-level error category.","example":"invalid_request","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, safe to branch on.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the error.","example":"The requested resource could not be found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"context":{"type":"string","description":"Optional originating context, for example `api.price_get`.","example":"api.price_get","uniqueKey":"context","typeLabel":"string"},"live_mode":{"type":"boolean","description":"Whether the error occurred against live or test data.","uniqueKey":"live_mode","typeLabel":"boolean"},"time_created":{"type":"string","format":"date-time","description":"Time the error was generated (RFC 3339).","example":"2026-01-01T00:00:00Z","uniqueKey":"time_created","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"error","type":"invalid_request","code":"not_found","message":"The requested resource could not be found.","context":"api.price_get","live_mode":true,"time_created":"2026-01-01T00:00:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a9633cfc-9ba2-46fa-8639-dbf772b1239c":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token obtained from POST /auth/tokens.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"8447a98d-5dc4-4958-8c4c-3784bbffe40d":{"url":"https://energy-api.flatpeak.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token obtained from POST /auth/tokens.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token obtained from POST /auth/tokens.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json"},"subdomain":"flatpeak-d495c19e","siteName":"Flatpeak","title":"Create a device - Flatpeak","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T21:41:02.047Z","originalFileLocation":"energy-api/reference/devices/create.mdx"},"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=\"Creates a device. Set reference_id to the device\u0026#x27;s ID in your systems.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flatpeak\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_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=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a device - Flatpeak\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a device. Set reference_id to the device\u0026#x27;s ID in your systems.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flatpeak\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://flatpeak-d495c19e.mintlify.dev/docs/energy-api/reference/devices/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flatpeak-d495c19e.mintlify.site/docs/_mintlify/api/og/v2?division=Devices\u0026amp;title=Create+a+device\u0026amp;description=Creates+a+device.+Set+%60reference_id%60+to+the+device%27s+ID+in+your+systems.\u0026amp;theme=c5a97c60590f79f8ff853eab\u0026amp;signature=3c071e9ec2b2ecb1e0c5bdc5976d098490090e6f869eab5b400b875d8aeb471c\">\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=\"Create a device - Flatpeak\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a device. Set reference_id to the device\u0026#x27;s ID in your systems.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flatpeak-d495c19e.mintlify.site/docs/_mintlify/api/og/v2?division=Devices\u0026amp;title=Create+a+device\u0026amp;description=Creates+a+device.+Set+%60reference_id%60+to+the+device%27s+ID+in+your+systems.\u0026amp;theme=c5a97c60590f79f8ff853eab\u0026amp;signature=3c071e9ec2b2ecb1e0c5bdc5976d098490090e6f869eab5b400b875d8aeb471c\">\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=\"/docs/mintlify-assets/_mintlify/favicons/flatpeak-d495c19e/z8DTelcRm9a6-O99/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flatpeak\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://flatpeak-d495c19e.mintlify.dev/docs/energy-api/reference/devices/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/energy-api/reference/devices/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flatpeak\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Flatpeak\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/energy-api/reference/devices/create.md","siteName":"Flatpeak","nav":{"global":null,"products":[{"product":"Energy API","icon":"bolt-auto","description":"For manufacturers (OEMs)","tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/energy-api/guides"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Platform","icon":"server","pages":[{"title":"Energy API reference","sidebarTitle":"Introduction","icon":"memo-circle-info","href":"/energy-api/reference"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /auth/tokens","sidebarTitle":"Authentication","title":"Create a bearer token","href":"/energy-api/reference/auth/tokens"},{"group":"Events","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /events","sidebarTitle":"List events","title":"List all events","href":"/energy-api/reference/events/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /events/{event_id}","sidebarTitle":"Retrieve event","title":"Retrieve an event","href":"/energy-api/reference/events/retrieve"}]},{"group":"Users","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /users","sidebarTitle":"List users","title":"List all users","href":"/energy-api/reference/users/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /users/{user_id}","sidebarTitle":"Retrieve user","title":"Retrieve a user","href":"/energy-api/reference/users/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /users","sidebarTitle":"Create user","title":"Create a user","href":"/energy-api/reference/users/create"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json PATCH /users/{user_id}","sidebarTitle":"Update user","title":"Update a user","href":"/energy-api/reference/users/update"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json DELETE /users/{user_id}","sidebarTitle":"Delete user","title":"Delete a user","href":"/energy-api/reference/users/delete"}]},{"group":"Locations","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /locations","sidebarTitle":"List locations","title":"List all locations","href":"/energy-api/reference/locations/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /locations/{location_id}","sidebarTitle":"Retrieve location","title":"Retrieve a location","href":"/energy-api/reference/locations/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /locations","sidebarTitle":"Create location","title":"Create a location","href":"/energy-api/reference/locations/create"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json PATCH /locations/{location_id}","sidebarTitle":"Update location","title":"Update a location","href":"/energy-api/reference/locations/update"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json DELETE /locations/{location_id}","sidebarTitle":"Delete location","title":"Delete a location","href":"/energy-api/reference/locations/delete"}]},{"group":"Devices","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /devices","sidebarTitle":"List devices","title":"List all devices","href":"/energy-api/reference/devices/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /devices/{device_id}","sidebarTitle":"Retrieve device","title":"Retrieve a device","description":"Retrieves a device.","href":"/energy-api/reference/devices/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /devices","sidebarTitle":"Create device","title":"Create a device","href":"/energy-api/reference/devices/create"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json PATCH /devices/{device_id}","sidebarTitle":"Update device","title":"Update a device","description":"Updates a device. Omitted fields are unchanged; `capabilities` is replaced as a whole.","href":"/energy-api/reference/devices/update"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json DELETE /devices/{device_id}","sidebarTitle":"Delete device","title":"Delete a device","href":"/energy-api/reference/devices/delete"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /devices/{device_id}/locations","sidebarTitle":"Location history","title":"List device locations","href":"/energy-api/reference/devices/location-history"}]}]},{"group":"Tariffs","icon":"money-bill-1","pages":[{"group":"Connect","pages":[{"group":"Sessions","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /connect-sessions","title":"Create a Connect session","sidebarTitle":"Create session","href":"/energy-api/reference/connect-sessions/create"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json PATCH /connect-sessions/{session_id}","title":"Update a Connect session","sidebarTitle":"Update session","href":"/energy-api/reference/connect-sessions/update"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /connect-sessions/{session_id}","title":"Retrieve a Connect session","sidebarTitle":"Retrieve session","href":"/energy-api/reference/connect-sessions/retrieve"}]},{"group":"Pages","pages":[{"title":"Start a Connect session","icon":"circle-play","sidebarTitle":"Start session","href":"/energy-api/reference/connect/tariff/start-session"},{"title":"Color mode","icon":"circle-half-stroke","sidebarTitle":"Color mode","href":"/energy-api/reference/connect/tariff/color-mode"},{"title":"Address","icon":"map-location","sidebarTitle":"Address","href":"/energy-api/reference/connect/tariff/address"},{"title":"Supplier","icon":"utility-pole","sidebarTitle":"Supplier","href":"/energy-api/reference/connect/tariff/supplier"},{"title":"Unlisted supplier","icon":"input-text","sidebarTitle":"Unlisted supplier","href":"/energy-api/reference/connect/tariff/unlisted-supplier"},{"title":"Bill upload","icon":"camera","sidebarTitle":"Bill upload","href":"/energy-api/reference/connect/tariff/bill-upload"},{"title":"Tariff library","icon":"book","sidebarTitle":"Tariff library","href":"/energy-api/reference/connect/tariff/tariff-library"},{"title":"Prices","icon":"calendar-lines-pen","sidebarTitle":"Prices","href":"/energy-api/reference/connect/tariff/prices"},{"title":"Tariff summary","icon":"file-lines","sidebarTitle":"Tariff summary","href":"/energy-api/reference/connect/tariff/summary"},{"title":"Error report","icon":"bug","sidebarTitle":"Error report","href":"/energy-api/reference/connect/tariff/error-report"},{"title":"Banner","icon":"message","sidebarTitle":"Banner","href":"/energy-api/reference/connect/tariff/banner"},{"title":"Redirects","icon":"arrows-retweet","sidebarTitle":"Redirects","href":"/energy-api/reference/connect/tariff/redirects"},{"title":"Server error","icon":"triangle-exclamation","sidebarTitle":"Server error","href":"/energy-api/reference/connect/tariff/server-error"}]}]},{"group":"Tariffs","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /tariffs","sidebarTitle":"List tariffs","title":"List all tariffs","href":"/energy-api/reference/tariffs/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /tariffs","sidebarTitle":"Create tariff","title":"Create a tariff","href":"/energy-api/reference/tariffs/create"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /tariffs/{tariff_id}","sidebarTitle":"Retrieve tariff","title":"Retrieve a tariff","href":"/energy-api/reference/tariffs/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json DELETE /tariffs/{tariff_id}","sidebarTitle":"Delete tariff","title":"Delete a tariff","href":"/energy-api/reference/tariffs/delete"}]},{"group":"Prices","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /devices/{device_id}/prices","sidebarTitle":"By device","title":"Retrieve a device price","href":"/energy-api/reference/prices/retrieve-device"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /devices/{device_id}/prices/audit","sidebarTitle":"Audit by device","title":"Audit a device price","href":"/energy-api/reference/prices/audit-device"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /locations/{location_id}/prices","sidebarTitle":"By location","title":"Retrieve a location price","href":"/energy-api/reference/prices/retrieve-location"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /locations/{location_id}/prices/audit","sidebarTitle":"Audit by location","title":"Audit a location price","href":"/energy-api/reference/prices/audit-location"}]},{"group":"Optimizations","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /devices/{device_id}/optimizations/duration","sidebarTitle":"By duration","title":"Optimize by time duration","href":"/energy-api/reference/optimizations/duration"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /devices/{device_id}/optimizations/limit","sidebarTitle":"By price limit","title":"Optimize by price limit","href":"/energy-api/reference/optimizations/limit"}]},{"group":"Costs","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /devices/{device_id}/costs","sidebarTitle":"By device","title":"Retrieve a device cost","href":"/energy-api/reference/costs/retrieve-device"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /locations/{location_id}/costs","sidebarTitle":"By location","title":"Retrieve a location cost","href":"/energy-api/reference/costs/retrieve-location"}]},{"group":"Meter records","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /devices/{device_id}/meter-records","sidebarTitle":"Submit by device","title":"Submit device meter records","href":"/energy-api/reference/meter-records/submit-device"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json POST /locations/{location_id}/meter-records","sidebarTitle":"Submit by location","title":"Submit location meter records","href":"/energy-api/reference/meter-records/submit-location"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy-tariffs.json GET /meter-records/batches/{batch_id}","sidebarTitle":"Retrieve batch","title":"Retrieve a meter records batch","href":"/energy-api/reference/meter-records/retrieve-batch"}]}]},{"group":"VPP","icon":"hexagon-nodes","pages":[{"title":"What VPP adds","sidebarTitle":"What VPP adds","href":"/energy-api/reference/vpp-fields"},{"group":"Connect","pages":[{"title":"Programs","icon":"list","sidebarTitle":"Programs","href":"/energy-api/reference/connect/vpp/programs"},{"title":"Consent","icon":"badge-check","sidebarTitle":"Consent","href":"/energy-api/reference/connect/vpp/consent"},{"title":"Personal details","icon":"id-badge","sidebarTitle":"Personal details","href":"/energy-api/reference/connect/vpp/personal-details"},{"title":"VPP summary","icon":"file-lines","sidebarTitle":"VPP summary","href":"/energy-api/reference/connect/vpp/summary"},{"title":"Enrollment","icon":"list-check","sidebarTitle":"Enrollment","href":"/energy-api/reference/connect/vpp/enrollment"},{"title":"Rewards","icon":"wallet","sidebarTitle":"Rewards","href":"/energy-api/reference/connect/vpp/rewards"},{"title":"Universal links","icon":"linktree","sidebarTitle":"Universal links","href":"/energy-api/reference/connect/vpp/universal-links"}]},{"group":"Programs","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/vpp-programs","sidebarTitle":"List programs","title":"List VPP programs","href":"/energy-api/reference/vpp-programs/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/vpp-programs/{program_id}","sidebarTitle":"Retrieve program","title":"Retrieve a VPP program","href":"/energy-api/reference/vpp-programs/retrieve"}]},{"group":"Enrollments","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/vpp-enrollments","sidebarTitle":"List enrollments","title":"List VPP enrollments","href":"/energy-api/reference/vpp-enrollments/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /vpp-enrollments/{enrollment_id}","sidebarTitle":"Retrieve enrollment","title":"Retrieve a VPP enrollment","href":"/energy-api/reference/vpp-enrollments/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/vpp-enrollments","sidebarTitle":"Create enrollment","title":"Create a VPP enrollment","href":"/energy-api/reference/vpp-enrollments/create"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /vpp-enrollments/{enrollment_id}/unenroll","sidebarTitle":"Unenroll device","title":"Unenroll a device","href":"/energy-api/reference/vpp-enrollments/unenroll"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/rewards","sidebarTitle":"List rewards","title":"List device rewards","href":"/energy-api/reference/vpp-enrollments/list-rewards"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/consent-history","sidebarTitle":"Consent history","title":"Retrieve consent history","href":"/energy-api/reference/vpp-enrollments/consent-history"}]},{"group":"Instructions","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/instructions","sidebarTitle":"Retrieve instructions","title":"Retrieve device instructions","href":"/energy-api/reference/instructions/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/instructions/confirm","sidebarTitle":"Confirm instructions","title":"Confirm instructions","href":"/energy-api/reference/instructions/confirm"}]},{"group":"Optimizations","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/optimizations/soc","sidebarTitle":"By state of charge","title":"Optimize by state of charge","href":"/energy-api/reference/optimizations/soc"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/optimizations/strategy","sidebarTitle":"By strategy","title":"Optimize by strategy","href":"/energy-api/reference/optimizations/strategy"}]},{"group":"Device state","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/state","sidebarTitle":"Submit state","title":"Submit a device state","href":"/energy-api/reference/device-state/submit"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /device-states","sidebarTitle":"Submit state batch","title":"Submit device states","href":"/energy-api/reference/device-state/submit-batch"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/state","sidebarTitle":"Retrieve state","title":"Retrieve a device state","href":"/energy-api/reference/device-state/retrieve"}]},{"group":"Device settings","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/settings","sidebarTitle":"Retrieve settings","title":"Retrieve device settings","href":"/energy-api/reference/device-settings/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json PATCH /devices/{device_id}/settings","sidebarTitle":"Update settings","title":"Update device settings","href":"/energy-api/reference/device-settings/update"}]},{"group":"VPP events","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /vpp-events","sidebarTitle":"List events","title":"List all VPP events","href":"/energy-api/reference/vpp-events/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /vpp-events/{vpp_event_id}","sidebarTitle":"Retrieve event","title":"Retrieve a VPP event","href":"/energy-api/reference/vpp-events/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /devices/{device_id}/deliveries","sidebarTitle":"List deliveries","title":"List device deliveries","href":"/energy-api/reference/vpp-events/list-deliveries"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/vpp-events/{vpp_event_id}/opt-out","sidebarTitle":"Opt out","title":"Opt a device out of a VPP event","href":"/energy-api/reference/vpp-events/opt-out"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json POST /devices/{device_id}/vpp-events/{vpp_event_id}/opt-in","sidebarTitle":"Opt in","title":"Opt a device back in to a VPP event","href":"/energy-api/reference/vpp-events/opt-in"}]},{"group":"Groups","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /groups","sidebarTitle":"List groups","title":"List all groups","href":"/energy-api/reference/groups/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /groups/{group_id}","sidebarTitle":"Retrieve group","title":"Retrieve a group","href":"/energy-api/reference/groups/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /groups/{group_id}/devices","sidebarTitle":"List group devices","title":"List group devices","href":"/energy-api/reference/groups/list-devices"}]},{"group":"Zones","pages":[{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /zones","sidebarTitle":"List zones","title":"List all zones","href":"/energy-api/reference/zones/list"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /zones/{zone_id}","sidebarTitle":"Retrieve zone","title":"Retrieve a zone","href":"/energy-api/reference/zones/retrieve"},{"openapi":"energy-api/reference/flatpeak-api-spec-energy.json GET /zones/{zone_id}/devices","sidebarTitle":"List zone devices","title":"List zone devices","href":"/energy-api/reference/zones/list-devices"}]}]}]}]},{"product":"Fleet API","icon":"transformer-bolt","description":"For energy suppliers and VPP operators","pages":[{"title":"Fleet API","href":"/fleet-api/guides"}]}]},"basePath":"","title":"Create a device - Flatpeak","buildId":"dpl_Eok1jboeiLTUE4ccnKdogAktkDhH","deploymentId":"dpl_Eok1jboeiLTUE4ccnKdogAktkDhH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BO6jLjHP.js","utils-DzK3kjtW.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B_o_sRtB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-w5sf6cTL.js","snippetPresets-C-LqQvlw.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-B86q0r56.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CK4fhXtK.js","shallow-2nSrO3Y1.js","getApiPlaygroundDisplay-iMY8AQYp.js","CodeSnippet-CYrmmkRs.js","CodeSnippets-CpTHX08n.js","Page-B6e_603r.js","getPastedJson-ErXUu_z-.js","icon-DjAwzjTp.js","MethodPill-DWCnd71y.js","DuplicateIcon-CzD5BRfY.js","createIcon-D_pVdVTU.js","DynamicMarkdown-BeNxZ5px.js","SectionHeading-CovuDw0Y.js","axios-vUo_bRtp.js","Markdown-BZjeoXbi.js","clsx-BaM3PNnJ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BfGZDUfd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-wFXGQKnc.js"]}