Add a chart to a dashboard of a group the user can edit, from the settings “get a chart” returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.
This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.
A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.
Maximum string length: 255
Example:
"8e03978e-40d5-43e8-bc93-6894a57f9324"
Path Parameters
dashboardId
string
required
The ID of the dashboard to add the chart to.
Required string length: 40
Body
application/json
Metric chart
Bar or pie chart
Stacked or grouped bar chart
The settings of a chart, as a chart carries them once read: its name, its type, what it measures, the fields it is grouped and broken down by, and its filter. Which ones it takes depends on its type. A chart must be working once created: every field and choice it names must exist, and be of a kind the type and the measure can use.
name
string
required
The name of the chart, as shown in the app.
Required string length: 1 - 500
Example:
"Leads by status"
type
enum<string>
required
Available options:
metric
measure
Count · object
required
What the number of the chart is.
Count
Sum or average
Ratio of a choice
Show child attributes
filter
object | null
The filter of the chart, in the format of the filter of a view, null or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields interactionMetadata.workspace.lastInteractedAt, createdAt or createdBy on people, createdAt, createdBy or name on companies and objects.
Show child attributes
groupBy
null
null or absent: this type of chart has no group-by.
breakdownBy
null
null or absent: this type of chart has no breakdown-by.
Response
The created chart, as "get a chart" returns it, with its data.
data
Metric chart · object
required
A chart of a dashboard: what it computes, its status, and its data when it is working.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Folk Developer Portal","description":"Developer portal and API reference of folk","colors":{"primary":"#000000","light":"#ffffff","dark":"#222222"},"logo":{"light":"https://mintcdn.com/folk-cf968f5e/I7wFhRmtMuOvy2tG/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=I7wFhRmtMuOvy2tG\u0026q=85\u0026s=08eda1dcbb1eefceac8ca5fea9c103d8","dark":"https://mintcdn.com/folk-cf968f5e/I7wFhRmtMuOvy2tG/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=I7wFhRmtMuOvy2tG\u0026q=85\u0026s=f7a85c0692d36cf4ae95ba0cb3a13827"},"favicon":{"light":"https://mintcdn.com/folk-cf968f5e/HcSGFJR-HRVkFe3E/assets/favicon-light.svg?fit=max\u0026auto=format\u0026n=HcSGFJR-HRVkFe3E\u0026q=85\u0026s=f507f5945e391292cf6679ecee54f2a0","dark":"https://mintcdn.com/folk-cf968f5e/HcSGFJR-HRVkFe3E/assets/favicon-dark.svg?fit=max\u0026auto=format\u0026n=HcSGFJR-HRVkFe3E\u0026q=85\u0026s=26f07b15afad6f7a4467054d25a0f955"},"api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","javascript","python","ruby","go","php"]}},"navbar":{"links":[{"href":"intercom://show","label":"Chat with support"},{"href":"https://www.folk.app/contact-sales","label":"Get a demo"}],"primary":{"type":"button","label":"Open app","href":"https://app.folk.app"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/folkhq","x":"https://twitter.com/folkhq","youtube":"https://www.youtube.com/channel/UCs3bswOUZvkouum7Rdx4i5w"}},"integrations":{"intercom":{"appId":"rn8e78eq"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"folk-cf968f5e","hasAudioNarration":false,"actualSubdomain":"folk-cf968f5e","customDomains":["developer.folk.app"],"gitSource":{"type":"github","owner":"folkapp-mintlify-prod","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b085ba3305265c875ffb08b","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"Available endpoints","count":102},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Campaigns","count":17},{"language":"default","tag":"Introduction","count":11},{"language":"default","tag":"Core concepts","count":11},{"language":"default","tag":"Webhooks","count":9},{"language":"default","tag":"Dashboards","count":9},{"language":"default","tag":"Companies","count":8},{"language":"default","tag":"Custom objects","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 200 800;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHEVA.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 200 800;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 200 800;\n font-stretch: 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--font-family-headings-custom: 'Bricolage Grotesque', sans-serif}h1,h2,h3,h4,h5,h6{font-optical-sizing:auto;font-weight:600;font-style:normal;font-variation-settings:'wdth' 100}.dark{--background-dark: 25 25 25}.dark #topbar-cta-button>a>span,#home-cta-button{border:1px solid rgb(var(--gray-800))}.prose :where(a):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){border-color:rgb(var(--primary-dark))}.dark .prose :where(a):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){border-color:rgb(var(--primary-light))}.nav-tag-pill-text{font-weight:500!important;text-shadow:none;color:#ffffff!important;background-color:#2563eb!important}.dark .nav-tag-pill-text{background-color:#3b82f6!important}"}]}
{"page":{"pagePath":"api-reference/dashboards/create-a-chart","slug":"/api-reference/dashboards/create-a-chart","pageMetadata":{"title":"(Beta) Create a chart","description":"Add a chart to a dashboard of a group the user can edit, from the settings \"get a chart\" returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.\u003cbr/>\u003cWarning>This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\u003c/Warning>","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Create a chart","openapi":"/schemas/2025-06-09.json post /v1/dashboards/{dashboardId}/charts","href":"/api-reference/dashboards/create-a-chart","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n }, {Warning} = _components;\n if (!Warning) _missingMdxReference(\"Warning\", true);\n return _jsxs(_components.p, {\n children: [\"Add a chart to a dashboard of a group the user can edit, from the settings “get a chart” returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.\", _jsx(\"br\", {}), _jsx(Warning, {\n children: \"This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\"\n })]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"(Beta) Create a chart","description":"Add a chart to a dashboard of a group the user can edit, from the settings \"get a chart\" returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.\u003cbr/>\u003cWarning>This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\u003c/Warning>","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Create a chart","openapi":"/schemas/2025-06-09.json post /v1/dashboards/{dashboardId}/charts","href":"/api-reference/dashboards/create-a-chart","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/folk-cf968f5e/c239747596c4df94/intercom.js"],"openApiReferenceData":{"operation":{"security":["24675280-9e3e-414a-a60c-41e46623a6c1"],"x-stability-level":"alpha","x-mint":{"metadata":{"tag":"Beta","title":"(Beta) Create a chart","sidebarTitle":"Create a chart"}},"operationId":"createChart","summary":"Create a chart","description":"Add a chart to a dashboard of a group the user can edit, from the settings \"get a chart\" returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.\u003cbr/>\u003cWarning>This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\u003c/Warning>","tags":["Dashboards"],"parameters":["3eb3b37b-c954-4741-87e2-198086bc77b9","0f67220c-9e20-42da-a42d-d373550c707c"],"requestBody":"5c7cb71e-fcaa-4db0-bc6d-f3c6d342b6a5","responses":{"200":"b837eeaf-9198-4ba9-8ca7-cca0012653e9","400":"339db416-685b-4880-9c09-2cbeba3f7c35","401":"680b8f7a-022d-4d88-a4f4-23335be648ad","402":"6a6fb234-56d8-4c6a-84c8-d1b430439acf","403":"569310be-9427-44b8-8101-70b6286cf0f9","404":"9d709be2-d85c-4d99-8987-d98902fa8a9c","409":"4e070b14-4bd8-482c-8bfb-d75bfd42d31b","422":"917d9529-b5de-4f0a-9a24-711067547b2e","429":"36d672af-97e0-422d-84be-0f30fbbace00","500":"68be0db8-5864-49ec-b40c-651b21e9a75a","503":"2ea25d14-bb97-474c-8a71-c83ae401ff82"},"method":"post","type":"path","servers":["475023b4-195e-44ae-a9c8-02c300d6b734"],"path":"/v1/dashboards/{dashboardId}/charts","baseUrlOptions":["https://api.folk.app"],"title":"Create a chart","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","ruby","go","php"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3eb3b37b-c954-4741-87e2-198086bc77b9":{"schema":{"type":"string","minLength":40,"maxLength":40,"isRequired":true,"description":"The ID of the dashboard to add the chart to.","uniqueKey":"","typeLabel":"string"},"required":true,"description":"The ID of the dashboard to add the chart to.","name":"dashboardId","in":"path"},"0f67220c-9e20-42da-a42d-d373550c707c":{"schema":{"type":"string","maxLength":255,"description":"A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.","example":"8e03978e-40d5-43e8-bc93-6894a57f9324","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.","name":"Idempotency-Key","in":"header"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Metric chart","description":"The settings of a chart, as a chart carries them once read: its name, its type, what it measures, the fields it is grouped and broken down by, and its filter. Which ones it takes depends on its `type`. A chart must be working once created: every field and choice it names must exist, and be of a kind the type and the measure can use.","required":["name","type","measure"],"example":{"name":"Win rate","type":"metric","measure":{"aggregation":"ratio","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","choice":"Closed-won"},"groupBy":null,"breakdownBy":null,"filter":null},"properties":{"name":{"type":"string","minLength":1,"maxLength":500,"description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["metric"],"isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"enum\u003cstring>"},"measure":{"oneOf":[{"type":"object","title":"Count","description":"What the number of the chart is.","required":["aggregation"],"properties":{"aggregation":{"type":"string","enum":["count"],"isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.0.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field to count the records that have a value in: a `numericField`, `singleSelect` or `multipleSelect` custom field. Absent to count every record. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","uniqueKey":"oneOf.0.measure.oneOf.0.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.0","typeLabel":"Count · object"},{"type":"object","title":"Sum or average","description":"What the number of the chart is.","required":["aggregation","field"],"properties":{"aggregation":{"type":"string","enum":["sum","average"],"isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.1.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field to sum or to average: `sum` takes a `numericField` custom field, `average` takes a `numericField` custom field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.1.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.1","typeLabel":"Sum or average · object"},{"type":"object","title":"Ratio of a choice","description":"What the number of the chart is.","required":["aggregation","field","choice"],"properties":{"aggregation":{"type":"string","enum":["ratio"],"isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.2.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field of the choice: a `singleSelect` or `multipleSelect` custom field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.2.field","typeLabel":"string"},"choice":{"type":"string","maxLength":100,"description":"The label of the choice the ratio is computed on.","example":"Closed-won","isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.2.choice","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.measure.oneOf.2","typeLabel":"Ratio of a choice · object"}],"isRequired":true,"uniqueKey":"oneOf.0.measure","typeLabel":"Count · object | Sum or average · object | Ratio of a choice · object"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"oneOf.0.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxLength":500,"example":"engineer","uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"array","items":{"type":"string","maxLength":500,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer","uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"string[]"},{"type":"array","items":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["email"],"properties":{"email":{"type":"string","maxLength":254,"isRequired":true,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1.email","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer","uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3","typeLabel":"object[]"}],"uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | number | string[] | object[]"}},"required":["field","operator"],"additionalProperties":false,"description":"A condition of the filter.","uniqueKey":"oneOf.0.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"The conditions of the filter, in order, at most 50. The same field can appear in several conditions. An empty list means no filter.","isRequired":true,"uniqueKey":"oneOf.0.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"additionalProperties":false,"description":"The filter of the chart, in the format of the filter of a view, `null` or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields `interactionMetadata.workspace.lastInteractedAt`, `createdAt` or `createdBy` on people, `createdAt`, `createdBy` or `name` on companies and objects.","uniqueKey":"oneOf.0.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxLength":500,"example":"engineer"},{"type":"number","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string","maxLength":500},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer"},{"type":"array","items":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64}},"additionalProperties":false},{"type":"object","required":["email"],"properties":{"email":{"type":"string","maxLength":254}},"additionalProperties":false}]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer"}]}},"required":["field","operator"],"additionalProperties":false,"description":"A condition of the filter."},"maxItems":50,"description":"The conditions of the filter, in order, at most 50. The same field can appear in several conditions. An empty list means no filter."}},"required":["combinator","conditions"],"additionalProperties":false,"description":"The filter of the chart, in the format of the filter of a view, `null` or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields `interactionMetadata.workspace.lastInteractedAt`, `createdAt` or `createdBy` on people, `createdAt`, `createdBy` or `name` on companies and objects.","uniqueKey":"oneOf.0.filter.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.filter","typeLabel":"object | null"},"groupBy":{"type":"null","description":"`null` or absent: this type of chart has no group-by.","uniqueKey":"oneOf.0.groupBy","typeLabel":"null"},"breakdownBy":{"type":"null","description":"`null` or absent: this type of chart has no breakdown-by.","uniqueKey":"oneOf.0.breakdownBy","typeLabel":"null"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"Metric chart · object"},{"type":"object","title":"Bar or pie chart","description":"The settings of a chart, as a chart carries them once read: its name, its type, what it measures, the fields it is grouped and broken down by, and its filter. Which ones it takes depends on its `type`. A chart must be working once created: every field and choice it names must exist, and be of a kind the type and the measure can use.","required":["name","type","measure","groupBy"],"example":{"name":"Leads by status","type":"pie","measure":{"aggregation":"count"},"groupBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},"breakdownBy":null,"filter":null},"properties":{"name":{"type":"string","minLength":1,"maxLength":500,"description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"oneOf.1.name","typeLabel":"string"},"type":{"type":"string","enum":["bar","pie"],"isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"measure":{"oneOf":[{"type":"object","title":"Count","description":"What each number of the chart is.","required":["aggregation"],"properties":{"aggregation":{"type":"string","enum":["count"],"isRequired":true,"uniqueKey":"oneOf.1.measure.oneOf.0.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field to count the records that have a value in: a `numericField`, `singleSelect` or `multipleSelect` custom field. Absent to count every record. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","uniqueKey":"oneOf.1.measure.oneOf.0.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.measure.oneOf.0","typeLabel":"Count · object"},{"type":"object","title":"Sum or average","description":"What each number of the chart is.","required":["aggregation","field"],"properties":{"aggregation":{"type":"string","enum":["sum","average"],"isRequired":true,"uniqueKey":"oneOf.1.measure.oneOf.1.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field to sum or to average: `sum` takes a `numericField` custom field, `average` takes a `numericField` custom field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.1.measure.oneOf.1.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.measure.oneOf.1","typeLabel":"Sum or average · object"}],"isRequired":true,"uniqueKey":"oneOf.1.measure","typeLabel":"Count · object | Sum or average · object"},"groupBy":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.1.groupBy.field","typeLabel":"string"}},"required":["field"],"additionalProperties":false,"description":"One bar or slice per value of this field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`.","isRequired":true,"uniqueKey":"oneOf.1.groupBy","typeLabel":"object"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"oneOf.1.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxLength":500,"example":"engineer","uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"array","items":{"type":"string","maxLength":500,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer","uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"string[]"},{"type":"array","items":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["email"],"properties":{"email":{"type":"string","maxLength":254,"isRequired":true,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1.email","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer","uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3","typeLabel":"object[]"}],"uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | number | string[] | object[]"}},"required":["field","operator"],"additionalProperties":false,"description":"A condition of the filter.","uniqueKey":"oneOf.1.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"The conditions of the filter, in order, at most 50. The same field can appear in several conditions. An empty list means no filter.","isRequired":true,"uniqueKey":"oneOf.1.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"additionalProperties":false,"description":"The filter of the chart, in the format of the filter of a view, `null` or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields `interactionMetadata.workspace.lastInteractedAt`, `createdAt` or `createdBy` on people, `createdAt`, `createdBy` or `name` on companies and objects.","uniqueKey":"oneOf.1.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxLength":500,"example":"engineer"},{"type":"number","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string","maxLength":500},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer"},{"type":"array","items":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64}},"additionalProperties":false},{"type":"object","required":["email"],"properties":{"email":{"type":"string","maxLength":254}},"additionalProperties":false}]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer"}]}},"required":["field","operator"],"additionalProperties":false,"description":"A condition of the filter."},"maxItems":50,"description":"The conditions of the filter, in order, at most 50. The same field can appear in several conditions. An empty list means no filter."}},"required":["combinator","conditions"],"additionalProperties":false,"description":"The filter of the chart, in the format of the filter of a view, `null` or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields `interactionMetadata.workspace.lastInteractedAt`, `createdAt` or `createdBy` on people, `createdAt`, `createdBy` or `name` on companies and objects.","uniqueKey":"oneOf.1.filter.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.filter","typeLabel":"object | null"},"breakdownBy":{"type":"null","description":"`null` or absent: this type of chart has no breakdown-by.","uniqueKey":"oneOf.1.breakdownBy","typeLabel":"null"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"Bar or pie chart · object"},{"type":"object","title":"Stacked or grouped bar chart","description":"The settings of a chart, as a chart carries them once read: its name, its type, what it measures, the fields it is grouped and broken down by, and its filter. Which ones it takes depends on its `type`. A chart must be working once created: every field and choice it names must exist, and be of a kind the type and the measure can use.","required":["name","type","measure","groupBy","breakdownBy"],"example":{"name":"Deal amount by status and size","type":"stackedBar","measure":{"aggregation":"sum","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Amount"},"groupBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},"breakdownBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Size"},"filter":null},"properties":{"name":{"type":"string","minLength":1,"maxLength":500,"description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"oneOf.2.name","typeLabel":"string"},"type":{"type":"string","enum":["stackedBar","groupedBar"],"isRequired":true,"uniqueKey":"oneOf.2.type","typeLabel":"enum\u003cstring>"},"measure":{"oneOf":[{"type":"object","title":"Count","description":"What each number of the chart is.","required":["aggregation"],"properties":{"aggregation":{"type":"string","enum":["count"],"isRequired":true,"uniqueKey":"oneOf.2.measure.oneOf.0.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field to count the records that have a value in: a `numericField`, `singleSelect` or `multipleSelect` custom field. Absent to count every record. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","uniqueKey":"oneOf.2.measure.oneOf.0.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.measure.oneOf.0","typeLabel":"Count · object"},{"type":"object","title":"Sum or average","description":"What each number of the chart is.","required":["aggregation","field"],"properties":{"aggregation":{"type":"string","enum":["sum","average"],"isRequired":true,"uniqueKey":"oneOf.2.measure.oneOf.1.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","maxLength":1000,"description":"The field to sum or to average: `sum` takes a `numericField` custom field, `average` takes a `numericField` custom field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.2.measure.oneOf.1.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.measure.oneOf.1","typeLabel":"Sum or average · object"}],"isRequired":true,"uniqueKey":"oneOf.2.measure","typeLabel":"Count · object | Sum or average · object"},"groupBy":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.2.groupBy.field","typeLabel":"string"}},"required":["field"],"additionalProperties":false,"description":"One bar or slice per value of this field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`.","isRequired":true,"uniqueKey":"oneOf.2.groupBy","typeLabel":"object"},"breakdownBy":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"oneOf.2.breakdownBy.field","typeLabel":"string"}},"required":["field"],"additionalProperties":false,"description":"Each bar broken down per value of this second field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`.","isRequired":true,"uniqueKey":"oneOf.2.breakdownBy","typeLabel":"object"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"oneOf.2.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxLength":500,"example":"engineer","uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"number"},{"type":"array","items":{"type":"string","maxLength":500,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer","uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"string[]"},{"type":"array","items":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["email"],"properties":{"email":{"type":"string","maxLength":254,"isRequired":true,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1.email","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer","uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.3","typeLabel":"object[]"}],"uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | number | string[] | object[]"}},"required":["field","operator"],"additionalProperties":false,"description":"A condition of the filter.","uniqueKey":"oneOf.2.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"The conditions of the filter, in order, at most 50. The same field can appear in several conditions. An empty list means no filter.","isRequired":true,"uniqueKey":"oneOf.2.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"additionalProperties":false,"description":"The filter of the chart, in the format of the filter of a view, `null` or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields `interactionMetadata.workspace.lastInteractedAt`, `createdAt` or `createdBy` on people, `createdAt`, `createdBy` or `name` on companies and objects.","uniqueKey":"oneOf.2.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","maxLength":1000,"description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxLength":500,"example":"engineer"},{"type":"number","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string","maxLength":500},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer"},{"type":"array","items":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64}},"additionalProperties":false},{"type":"object","required":["email"],"properties":{"email":{"type":"string","maxLength":254}},"additionalProperties":false}]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nNumbers are given as a number or a string, select options are given by label, users by `{ id }` or `{ email }`, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","maxItems":100,"example":"engineer"}]}},"required":["field","operator"],"additionalProperties":false,"description":"A condition of the filter."},"maxItems":50,"description":"The conditions of the filter, in order, at most 50. The same field can appear in several conditions. An empty list means no filter."}},"required":["combinator","conditions"],"additionalProperties":false,"description":"The filter of the chart, in the format of the filter of a view, `null` or absent for no filter. The chart only covers the records that match it. It takes the custom fields of the dashboard, and the native fields `interactionMetadata.workspace.lastInteractedAt`, `createdAt` or `createdBy` on people, `createdAt`, `createdBy` or `name` on companies and objects.","uniqueKey":"oneOf.2.filter.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.filter","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"Stacked or grouped bar chart · object"}],"uniqueKey":"","typeLabel":"Metric chart · object | Bar or pie chart · object | Stacked or grouped bar chart · object"},"examples":{"Example":{"title":"Example","value":{"name":"Win rate","type":"metric","measure":{"aggregation":"ratio","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","choice":"Closed-won"},"groupBy":null,"breakdownBy":null,"filter":null}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b837eeaf-9198-4ba9-8ca7-cca0012653e9":{"description":"The created chart, as \"get a chart\" returns it, with its data.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","title":"Metric chart","description":"A chart of a dashboard: what it computes, its status, and its data when it is working.","required":["id","dashboardId","name","filter","includeEmptyValues","createdAt","updatedAt","status","problem","type","measure","groupBy","breakdownBy","data"],"example":{"id":"cht_7a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Win rate","type":"metric","measure":{"aggregation":"ratio","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","choice":"Closed-won"},"groupBy":null,"breakdownBy":null,"filter":null,"includeEmptyValues":true,"status":"working","problem":null,"data":{"value":0.2222,"matching":2,"outOf":9,"recordCount":10},"createdAt":"2026-11-03T09:14:10.000Z","updatedAt":null},"properties":{"id":{"type":"string","description":"The id of the chart.","example":"cht_5d2e7f10-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.0.id","typeLabel":"string"},"dashboardId":{"type":"string","description":"The id of the dashboard of the chart.","example":"dsh_8c1a4b2d-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.0.dashboardId","typeLabel":"string"},"name":{"type":"string","description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"data.oneOf.0.name","typeLabel":"string"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX].id","typeLabel":"string"}},"required":["id"],"uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"object[]"}],"uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | string[] | object[]"}},"required":["field","operator"],"description":"A condition of the filter.","uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"description":"The conditions of the filter, in order. The same field can appear in several conditions.","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"}]}},"required":["field","operator"],"description":"A condition of the filter."},"description":"The conditions of the filter, in order. The same field can appear in several conditions."}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.0.filter.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.filter","typeLabel":"object | null"},"includeEmptyValues":{"type":"boolean","description":"Whether the app shows the \"No value\" row of the chart. Set in the app only: it can not be changed through the API, and it does not change the rows returned here.","example":true,"isRequired":true,"uniqueKey":"data.oneOf.0.includeEmptyValues","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","description":"The date and time the chart was created, in ISO format.","example":"2026-11-02T09:12:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"oneOf":[{"type":"string","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time> | null"},"status":{"type":"string","enum":["working"],"description":"The chart is working: every setting is valid for its type.","isRequired":true,"uniqueKey":"data.oneOf.0.status","typeLabel":"enum\u003cstring>"},"problem":{"type":"null","description":"`null` on a working chart.","isRequired":true,"uniqueKey":"data.oneOf.0.problem","typeLabel":"null"},"type":{"type":"string","enum":["metric"],"isRequired":true,"uniqueKey":"data.oneOf.0.type","typeLabel":"enum\u003cstring>"},"measure":{"oneOf":[{"type":"object","title":"Count of records","description":"What the number of the chart is.","required":["aggregation"],"properties":{"aggregation":{"type":"string","enum":["count"],"isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.0.aggregation","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.0","typeLabel":"Count of records · object"},{"type":"object","title":"Aggregation of a field","description":"What the number of the chart is.","required":["aggregation","field"],"properties":{"aggregation":{"type":"string","enum":["count","sum","average"],"description":"`count`: the number of records that have a value in the field. `sum` and `average`: the sum or the average of a number field.","isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.1.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.1.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.1","typeLabel":"Aggregation of a field · object"},{"type":"object","title":"Ratio of a choice","description":"What the number of the chart is.","required":["aggregation","field","choice"],"properties":{"aggregation":{"type":"string","enum":["ratio"],"isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.2.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.2.field","typeLabel":"string"},"choice":{"type":"string","description":"The label of the choice the ratio is computed on.","example":"Closed-won","isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.2.choice","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.0.measure.oneOf.2","typeLabel":"Ratio of a choice · object"}],"isRequired":true,"uniqueKey":"data.oneOf.0.measure","typeLabel":"Count of records · object | Aggregation of a field · object | Ratio of a choice · object"},"groupBy":{"type":"null","description":"`null`: this type of chart has no group-by.","isRequired":true,"uniqueKey":"data.oneOf.0.groupBy","typeLabel":"null"},"breakdownBy":{"type":"null","description":"`null`: this type of chart has no breakdown-by.","isRequired":true,"uniqueKey":"data.oneOf.0.breakdownBy","typeLabel":"null"},"data":{"oneOf":[{"type":"object","title":"Value","description":"The number of a metric chart.","required":["value","recordCount"],"properties":{"value":{"oneOf":[{"type":"number","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.0.value.oneOf.0","typeLabel":"number"},{"type":"null","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.0.value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.0.value","typeLabel":"number | null"},"recordCount":{"type":"integer","description":"The number of records (people, companies or objects) the chart covers, after its filter, each counted once.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.0.recordCount","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.0","typeLabel":"Value · object"},{"type":"object","title":"Ratio","description":"The number of a metric chart.","required":["value","matching","outOf","recordCount"],"properties":{"value":{"oneOf":[{"type":"number","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1.value.oneOf.0","typeLabel":"number"},{"type":"null","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1.value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1.value","typeLabel":"number | null"},"matching":{"type":"integer","description":"The number of records with the choice of the ratio.","example":2,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1.matching","typeLabel":"integer"},"outOf":{"type":"integer","description":"The number of records with a value in the field of the ratio: the ratio is `matching / outOf`. Records without a value are not part of the ratio, so `outOf` can be lower than `recordCount`.","example":9,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1.outOf","typeLabel":"integer"},"recordCount":{"type":"integer","description":"The number of records (people, companies or objects) the chart covers, after its filter, each counted once.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1.recordCount","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.0.data.oneOf.1","typeLabel":"Ratio · object"}],"isRequired":true,"uniqueKey":"data.oneOf.0.data","typeLabel":"Value · object | Ratio · object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"Metric chart · object"},{"type":"object","title":"Bar or pie chart","description":"A chart of a dashboard: what it computes, its status, and its data when it is working.","required":["id","dashboardId","name","filter","includeEmptyValues","createdAt","updatedAt","status","problem","type","measure","groupBy","breakdownBy","data"],"example":{"id":"cht_5d6c1a8e-2b7f-4e3a-9c1d-8f0e7a6b5c4d","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Leads by status","type":"pie","measure":{"aggregation":"count"},"groupBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},"breakdownBy":null,"filter":null,"includeEmptyValues":true,"status":"working","problem":null,"data":{"recordCount":10,"overallValue":10,"rowsOverlap":false,"rows":[{"group":"Lead","value":2,"recordCount":2},{"group":"Follow-up","value":2,"recordCount":2},{"group":"Closed-won","value":2,"recordCount":2},{"group":"Closed-lost","value":2,"recordCount":2},{"group":"Qualified","value":1,"recordCount":1},{"group":null,"value":1,"recordCount":1}]},"createdAt":"2026-11-03T09:12:44.000Z","updatedAt":"2026-11-10T16:40:02.000Z"},"properties":{"id":{"type":"string","description":"The id of the chart.","example":"cht_5d2e7f10-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.1.id","typeLabel":"string"},"dashboardId":{"type":"string","description":"The id of the dashboard of the chart.","example":"dsh_8c1a4b2d-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.1.dashboardId","typeLabel":"string"},"name":{"type":"string","description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"data.oneOf.1.name","typeLabel":"string"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX].id","typeLabel":"string"}},"required":["id"],"uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"object[]"}],"uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | string[] | object[]"}},"required":["field","operator"],"description":"A condition of the filter.","uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"description":"The conditions of the filter, in order. The same field can appear in several conditions.","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"}]}},"required":["field","operator"],"description":"A condition of the filter."},"description":"The conditions of the filter, in order. The same field can appear in several conditions."}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.1.filter.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.filter","typeLabel":"object | null"},"includeEmptyValues":{"type":"boolean","description":"Whether the app shows the \"No value\" row of the chart. Set in the app only: it can not be changed through the API, and it does not change the rows returned here.","example":true,"isRequired":true,"uniqueKey":"data.oneOf.1.includeEmptyValues","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","description":"The date and time the chart was created, in ISO format.","example":"2026-11-02T09:12:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.1.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"oneOf":[{"type":"string","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.1.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.1.updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.updatedAt","typeLabel":"string\u003cdate-time> | null"},"status":{"type":"string","enum":["working"],"description":"The chart is working: every setting is valid for its type.","isRequired":true,"uniqueKey":"data.oneOf.1.status","typeLabel":"enum\u003cstring>"},"problem":{"type":"null","description":"`null` on a working chart.","isRequired":true,"uniqueKey":"data.oneOf.1.problem","typeLabel":"null"},"type":{"type":"string","enum":["bar","pie"],"isRequired":true,"uniqueKey":"data.oneOf.1.type","typeLabel":"enum\u003cstring>"},"measure":{"oneOf":[{"type":"object","title":"Count of records","description":"What each number of the chart is.","required":["aggregation"],"properties":{"aggregation":{"type":"string","enum":["count"],"isRequired":true,"uniqueKey":"data.oneOf.1.measure.oneOf.0.aggregation","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.1.measure.oneOf.0","typeLabel":"Count of records · object"},{"type":"object","title":"Aggregation of a field","description":"What each number of the chart is.","required":["aggregation","field"],"properties":{"aggregation":{"type":"string","enum":["count","sum","average"],"description":"`count`: the number of records that have a value in the field. `sum` and `average`: the sum or the average of a number field.","isRequired":true,"uniqueKey":"data.oneOf.1.measure.oneOf.1.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.1.measure.oneOf.1.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.1.measure.oneOf.1","typeLabel":"Aggregation of a field · object"}],"isRequired":true,"uniqueKey":"data.oneOf.1.measure","typeLabel":"Count of records · object | Aggregation of a field · object"},"groupBy":{"type":"object","properties":{"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.1.groupBy.field","typeLabel":"string"}},"required":["field"],"additionalProperties":false,"description":"One bar or slice per value of this field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`.","isRequired":true,"uniqueKey":"data.oneOf.1.groupBy","typeLabel":"object"},"breakdownBy":{"type":"null","description":"`null`: this type of chart has no breakdown-by.","isRequired":true,"uniqueKey":"data.oneOf.1.breakdownBy","typeLabel":"null"},"data":{"type":"object","properties":{"recordCount":{"type":"integer","description":"The number of records (people, companies or objects) the chart covers, after its filter, each counted once.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.1.data.recordCount","typeLabel":"integer"},"overallValue":{"oneOf":[{"type":"number","description":"The measure computed over all the records, ignoring the group-by and breakdown-by: it is not always the sum of the rows (average, field that can hold several values).","example":10,"isRequired":true,"uniqueKey":"data.oneOf.1.data.overallValue.oneOf.0","typeLabel":"number"},{"type":"null","description":"The measure computed over all the records, ignoring the group-by and breakdown-by: it is not always the sum of the rows (average, field that can hold several values).","example":10,"isRequired":true,"uniqueKey":"data.oneOf.1.data.overallValue.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.data.overallValue","typeLabel":"number | null"},"rowsOverlap":{"type":"boolean","description":"Whether a record can be in several rows: `true` when the group-by or breakdown-by field can hold several values (a multiple choice or user custom field, not `createdBy`), so the rows add up to more than `recordCount`.","example":false,"isRequired":true,"uniqueKey":"data.oneOf.1.data.rowsOverlap","typeLabel":"boolean"},"rows":{"type":"array","items":{"type":"object","properties":{"group":{"oneOf":[{"type":"string","description":"The value of the group-by field: a choice by its label, a month as `YYYY-MM`, a number, or a user as a `User` object, whose `fullName` and `email` are empty when the user is no longer in the workspace. `null` is \"No value\": the records with nothing in the field. The \"No value\" group is always in the rows, with `recordCount: 0` when every record has a value.","example":"Lead","isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group.oneOf.0","typeLabel":"string"},{"type":"object","description":"The value of the group-by field: a choice by its label, a month as `YYYY-MM`, a number, or a user as a `User` object, whose `fullName` and `email` are empty when the user is no longer in the workspace. `null` is \"No value\": the records with nothing in the field. The \"No value\" group is always in the rows, with `recordCount: 0` when every record has a value.","required":["id","fullName","email"],"example":"Lead","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group.oneOf.1.id","typeLabel":"string"},"fullName":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group.oneOf.1.fullName","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group.oneOf.1.email","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group.oneOf.1","typeLabel":"object"},{"type":"null","description":"The value of the group-by field: a choice by its label, a month as `YYYY-MM`, a number, or a user as a `User` object, whose `fullName` and `email` are empty when the user is no longer in the workspace. `null` is \"No value\": the records with nothing in the field. The \"No value\" group is always in the rows, with `recordCount: 0` when every record has a value.","example":"Lead","isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].group","typeLabel":"string | object | null"},"value":{"oneOf":[{"type":"number","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].value.oneOf.0","typeLabel":"number"},{"type":"null","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].value","typeLabel":"number | null"},"recordCount":{"type":"integer","description":"The number of records in this row, after the filter.","example":2,"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX].recordCount","typeLabel":"integer"}},"required":["group","value","recordCount"],"additionalProperties":false,"uniqueKey":"data.oneOf.1.data.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.1.data.rows","typeLabel":"object[]"}},"required":["recordCount","overallValue","rowsOverlap","rows"],"additionalProperties":false,"description":"One row per bar or slice.","isRequired":true,"uniqueKey":"data.oneOf.1.data","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"Bar or pie chart · object"},{"type":"object","title":"Stacked or grouped bar chart","description":"A chart of a dashboard: what it computes, its status, and its data when it is working.","required":["id","dashboardId","name","filter","includeEmptyValues","createdAt","updatedAt","status","problem","type","measure","groupBy","breakdownBy","data"],"example":{"id":"cht_9e8d7c6b-5a4f-4e3d-a2c1-b0a9f8e7d6c5","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Deal amount by status and size","type":"stackedBar","measure":{"aggregation":"sum","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Amount"},"groupBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},"breakdownBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Size"},"filter":null,"includeEmptyValues":true,"status":"working","problem":null,"data":{"recordCount":10,"overallValue":125000,"rowsOverlap":false,"rows":[{"group":"Lead","breakdown":"Small","value":10000,"recordCount":2},{"group":"Qualified","breakdown":"Large","value":40000,"recordCount":1},{"group":"Closed-won","breakdown":"Small","value":15000,"recordCount":3},{"group":"Closed-won","breakdown":"Large","value":60000,"recordCount":2},{"group":null,"breakdown":null,"value":0,"recordCount":2}]},"createdAt":"2026-11-04T11:02:31.000Z","updatedAt":"2026-11-09T08:21:47.000Z"},"properties":{"id":{"type":"string","description":"The id of the chart.","example":"cht_5d2e7f10-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.2.id","typeLabel":"string"},"dashboardId":{"type":"string","description":"The id of the dashboard of the chart.","example":"dsh_8c1a4b2d-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.2.dashboardId","typeLabel":"string"},"name":{"type":"string","description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"data.oneOf.2.name","typeLabel":"string"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX].id","typeLabel":"string"}},"required":["id"],"uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"object[]"}],"uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | string[] | object[]"}},"required":["field","operator"],"description":"A condition of the filter.","uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"description":"The conditions of the filter, in order. The same field can appear in several conditions.","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"}]}},"required":["field","operator"],"description":"A condition of the filter."},"description":"The conditions of the filter, in order. The same field can appear in several conditions."}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.2.filter.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.filter","typeLabel":"object | null"},"includeEmptyValues":{"type":"boolean","description":"Whether the app shows the \"No value\" row of the chart. Set in the app only: it can not be changed through the API, and it does not change the rows returned here.","example":true,"isRequired":true,"uniqueKey":"data.oneOf.2.includeEmptyValues","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","description":"The date and time the chart was created, in ISO format.","example":"2026-11-02T09:12:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.2.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"oneOf":[{"type":"string","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.2.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.2.updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.updatedAt","typeLabel":"string\u003cdate-time> | null"},"status":{"type":"string","enum":["working"],"description":"The chart is working: every setting is valid for its type.","isRequired":true,"uniqueKey":"data.oneOf.2.status","typeLabel":"enum\u003cstring>"},"problem":{"type":"null","description":"`null` on a working chart.","isRequired":true,"uniqueKey":"data.oneOf.2.problem","typeLabel":"null"},"type":{"type":"string","enum":["stackedBar","groupedBar"],"isRequired":true,"uniqueKey":"data.oneOf.2.type","typeLabel":"enum\u003cstring>"},"measure":{"oneOf":[{"type":"object","title":"Count of records","description":"What each number of the chart is.","required":["aggregation"],"properties":{"aggregation":{"type":"string","enum":["count"],"isRequired":true,"uniqueKey":"data.oneOf.2.measure.oneOf.0.aggregation","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.2.measure.oneOf.0","typeLabel":"Count of records · object"},{"type":"object","title":"Aggregation of a field","description":"What each number of the chart is.","required":["aggregation","field"],"properties":{"aggregation":{"type":"string","enum":["count","sum","average"],"description":"`count`: the number of records that have a value in the field. `sum` and `average`: the sum or the average of a number field.","isRequired":true,"uniqueKey":"data.oneOf.2.measure.oneOf.1.aggregation","typeLabel":"enum\u003cstring>"},"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.2.measure.oneOf.1.field","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.2.measure.oneOf.1","typeLabel":"Aggregation of a field · object"}],"isRequired":true,"uniqueKey":"data.oneOf.2.measure","typeLabel":"Count of records · object | Aggregation of a field · object"},"groupBy":{"type":"object","properties":{"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.2.groupBy.field","typeLabel":"string"}},"required":["field"],"additionalProperties":false,"description":"One bar or slice per value of this field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`.","isRequired":true,"uniqueKey":"data.oneOf.2.groupBy","typeLabel":"object"},"breakdownBy":{"type":"object","properties":{"field":{"type":"string","description":"The field. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.2.breakdownBy.field","typeLabel":"string"}},"required":["field"],"additionalProperties":false,"description":"Each bar broken down per value of this second field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`.","isRequired":true,"uniqueKey":"data.oneOf.2.breakdownBy","typeLabel":"object"},"data":{"type":"object","properties":{"recordCount":{"type":"integer","description":"The number of records (people, companies or objects) the chart covers, after its filter, each counted once.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.2.data.recordCount","typeLabel":"integer"},"overallValue":{"oneOf":[{"type":"number","description":"The measure computed over all the records, ignoring the group-by and breakdown-by: it is not always the sum of the rows (average, field that can hold several values).","example":10,"isRequired":true,"uniqueKey":"data.oneOf.2.data.overallValue.oneOf.0","typeLabel":"number"},{"type":"null","description":"The measure computed over all the records, ignoring the group-by and breakdown-by: it is not always the sum of the rows (average, field that can hold several values).","example":10,"isRequired":true,"uniqueKey":"data.oneOf.2.data.overallValue.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.data.overallValue","typeLabel":"number | null"},"rowsOverlap":{"type":"boolean","description":"Whether a record can be in several rows: `true` when the group-by or breakdown-by field can hold several values (a multiple choice or user custom field, not `createdBy`), so the rows add up to more than `recordCount`.","example":false,"isRequired":true,"uniqueKey":"data.oneOf.2.data.rowsOverlap","typeLabel":"boolean"},"rows":{"type":"array","items":{"type":"object","properties":{"group":{"oneOf":[{"type":"string","description":"The value of the group-by field: a choice by its label, a month as `YYYY-MM`, a number, or a user as a `User` object, whose `fullName` and `email` are empty when the user is no longer in the workspace. `null` is \"No value\": the records with nothing in the field. The \"No value\" group is always in the rows, with `recordCount: 0` when every record has a value.","example":"Lead","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group.oneOf.0","typeLabel":"string"},{"type":"object","description":"The value of the group-by field: a choice by its label, a month as `YYYY-MM`, a number, or a user as a `User` object, whose `fullName` and `email` are empty when the user is no longer in the workspace. `null` is \"No value\": the records with nothing in the field. The \"No value\" group is always in the rows, with `recordCount: 0` when every record has a value.","required":["id","fullName","email"],"example":"Lead","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group.oneOf.1.id","typeLabel":"string"},"fullName":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group.oneOf.1.fullName","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group.oneOf.1.email","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group.oneOf.1","typeLabel":"object"},{"type":"null","description":"The value of the group-by field: a choice by its label, a month as `YYYY-MM`, a number, or a user as a `User` object, whose `fullName` and `email` are empty when the user is no longer in the workspace. `null` is \"No value\": the records with nothing in the field. The \"No value\" group is always in the rows, with `recordCount: 0` when every record has a value.","example":"Lead","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].group","typeLabel":"string | object | null"},"breakdown":{"oneOf":[{"type":"string","description":"The value of the breakdown-by field, labelled like `group`. `null` is \"No value\".","example":"Small","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown.oneOf.0","typeLabel":"string"},{"type":"object","description":"The value of the breakdown-by field, labelled like `group`. `null` is \"No value\".","required":["id","fullName","email"],"example":"Small","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown.oneOf.1.id","typeLabel":"string"},"fullName":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown.oneOf.1.fullName","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown.oneOf.1.email","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown.oneOf.1","typeLabel":"object"},{"type":"null","description":"The value of the breakdown-by field, labelled like `group`. `null` is \"No value\".","example":"Small","isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].breakdown","typeLabel":"string | object | null"},"value":{"oneOf":[{"type":"number","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].value.oneOf.0","typeLabel":"number"},{"type":"null","description":"The number the chart draws. `null` when there is nothing to compute: an average over no value, a ratio over no record with a value in the field.","example":10,"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].value","typeLabel":"number | null"},"recordCount":{"type":"integer","description":"The number of records in this row, after the filter.","example":2,"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX].recordCount","typeLabel":"integer"}},"required":["group","breakdown","value","recordCount"],"additionalProperties":false,"uniqueKey":"data.oneOf.2.data.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.2.data.rows","typeLabel":"object[]"}},"required":["recordCount","overallValue","rowsOverlap","rows"],"additionalProperties":false,"description":"One row per (group, breakdown) pair that has records. Pairs with no record are left out, except the \"No value\" row: `group` and `breakdown` both `null`, always there, with `recordCount: 0` when every record has a value.","isRequired":true,"uniqueKey":"data.oneOf.2.data","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.2","typeLabel":"Stacked or grouped bar chart · object"},{"type":"object","title":"Chart not working","description":"A chart of a dashboard: what it computes, its status, and its data when it is working.","required":["id","dashboardId","name","filter","includeEmptyValues","createdAt","updatedAt","status","problem","data","type","measure","groupBy","breakdownBy"],"example":{"id":"cht_1f2e3d4c-5b6a-4978-8a6b-5c4d3e2f1a0b","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Leads by source","type":"bar","measure":{"aggregation":"count"},"groupBy":{"field":null},"breakdownBy":null,"filter":null,"includeEmptyValues":true,"status":"broken","problem":"The field used to group by has been deleted.","data":null,"createdAt":"2026-11-05T14:30:00.000Z","updatedAt":"2026-11-12T10:05:19.000Z"},"properties":{"id":{"type":"string","description":"The id of the chart.","example":"cht_5d2e7f10-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.3.id","typeLabel":"string"},"dashboardId":{"type":"string","description":"The id of the dashboard of the chart.","example":"dsh_8c1a4b2d-0386-434d-82d7-a91eb6badd71","isRequired":true,"uniqueKey":"data.oneOf.3.dashboardId","typeLabel":"string"},"name":{"type":"string","description":"The name of the chart, as shown in the app.","example":"Leads by status","isRequired":true,"uniqueKey":"data.oneOf.3.name","typeLabel":"string"},"filter":{"oneOf":[{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.0.combinator","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.1","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX].id","typeLabel":"string"}},"required":["id"],"uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer","uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value.oneOf.2","typeLabel":"object[]"}],"uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX].value","typeLabel":"string | string[] | object[]"}},"required":["field","operator"],"description":"A condition of the filter.","uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"description":"The conditions of the filter, in order. The same field can appear in several conditions.","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.0.conditions","typeLabel":"object[]"}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"combinator":{"type":"string","enum":["and","or"],"description":"The logical operator combining the conditions.","example":"and"},"conditions":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field the condition applies to, with the same keys as the filters of the search endpoints, e.g. `jobTitle`, `company.industry` or `customFieldValues.\u003cgroupId>.\u003cField name>`.","example":"jobTitle"},"operator":{"type":"string","enum":["eq","not_eq","like","not_like","gt","lt","in","all","not_in","empty","not_empty"],"example":"like"},"value":{"oneOf":[{"type":"string","description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"string"},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"description":"The value of the condition:\n- a single value for `eq`, `not_eq`, `like`, `not_like`, `gt` and `lt` on text, number and date fields;\n- a list for `in`, `all` and `not_in`, and for `eq` and `not_eq` on select, user and reference fields, where they mean \"exactly these values\";\n- absent for `empty` and `not_empty`.\n\nSelect options are given by label, users, people, companies and groups by `{ id }`, dates as `YYYY-MM-DD` or relative dates (`today`, `yesterday`, `tomorrow`, `7-days-ago`, `in-3-months`).","example":"engineer"}]}},"required":["field","operator"],"description":"A condition of the filter."},"description":"The conditions of the filter, in order. The same field can appear in several conditions."}},"required":["combinator","conditions"],"description":"The filter of the chart, in the format of the filter of a view, `null` when the chart has no filter. The chart only covers the records that match it.","isRequired":true,"uniqueKey":"data.oneOf.3.filter.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.filter","typeLabel":"object | null"},"includeEmptyValues":{"type":"boolean","description":"Whether the app shows the \"No value\" row of the chart. Set in the app only: it can not be changed through the API, and it does not change the rows returned here.","example":true,"isRequired":true,"uniqueKey":"data.oneOf.3.includeEmptyValues","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","description":"The date and time the chart was created, in ISO format.","example":"2026-11-02T09:12:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.3.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"oneOf":[{"type":"string","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.3.updatedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date and time the chart was last updated, in ISO format. Equals `createdAt` until the chart is first updated. Can be `null` on older charts.","example":"2026-11-03T10:00:00.000Z","isRequired":true,"uniqueKey":"data.oneOf.3.updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.updatedAt","typeLabel":"string\u003cdate-time> | null"},"status":{"type":"string","enum":["notConfigured","broken","error"],"description":"`notConfigured`: a field or choice was never chosen. `broken`: a field or choice was deleted, or a setting is not valid for the type. `error`: the chart could not be computed or described, for instance because it uses a field that is not available in the API.","isRequired":true,"uniqueKey":"data.oneOf.3.status","typeLabel":"enum\u003cstring>"},"problem":{"type":"string","description":"Why the chart is not working.","example":"The field used to group by has been deleted.","isRequired":true,"uniqueKey":"data.oneOf.3.problem","typeLabel":"string"},"data":{"type":"null","description":"`null`: a chart that is not working has no data.","isRequired":true,"uniqueKey":"data.oneOf.3.data","typeLabel":"null"},"type":{"type":"string","enum":["metric","bar","pie","stackedBar","groupedBar"],"isRequired":true,"uniqueKey":"data.oneOf.3.type","typeLabel":"enum\u003cstring>"},"measure":{"type":"object","properties":{"aggregation":{"type":"string","enum":["count","sum","average","ratio"],"isRequired":true,"uniqueKey":"data.oneOf.3.measure.aggregation","typeLabel":"enum\u003cstring>"},"field":{"oneOf":[{"type":"string","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","uniqueKey":"data.oneOf.3.measure.field.oneOf.0","typeLabel":"string"},{"type":"null","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","uniqueKey":"data.oneOf.3.measure.field.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.measure.field","typeLabel":"string | null"},"choice":{"oneOf":[{"type":"string","description":"The label of the choice of a ratio, `null` when it was never chosen or has been deleted.","example":"Closed-won","uniqueKey":"data.oneOf.3.measure.choice.oneOf.0","typeLabel":"string"},{"type":"null","description":"The label of the choice of a ratio, `null` when it was never chosen or has been deleted.","example":"Closed-won","uniqueKey":"data.oneOf.3.measure.choice.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.measure.choice","typeLabel":"string | null"}},"required":["aggregation"],"additionalProperties":false,"description":"What the chart is set to compute. A field or choice that was never chosen or has been deleted is `null`.","isRequired":true,"uniqueKey":"data.oneOf.3.measure","typeLabel":"object"},"groupBy":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"string","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.3.groupBy.oneOf.0.field.oneOf.0","typeLabel":"string"},{"type":"null","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.3.groupBy.oneOf.0.field.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.groupBy.oneOf.0.field","typeLabel":"string | null"}},"required":["field"],"additionalProperties":false,"description":"One bar or slice per value of this field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`. `null` on a `metric` chart, which has no group-by.","isRequired":true,"uniqueKey":"data.oneOf.3.groupBy.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"field":{"oneOf":[{"type":"string","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},{"type":"null","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"}]}},"required":["field"],"additionalProperties":false,"description":"One bar or slice per value of this field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`. `null` on a `metric` chart, which has no group-by.","isRequired":true,"uniqueKey":"data.oneOf.3.groupBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.groupBy","typeLabel":"object | null"},"breakdownBy":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"string","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.3.breakdownBy.oneOf.0.field.oneOf.0","typeLabel":"string"},{"type":"null","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","isRequired":true,"uniqueKey":"data.oneOf.3.breakdownBy.oneOf.0.field.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.breakdownBy.oneOf.0.field","typeLabel":"string | null"}},"required":["field"],"additionalProperties":false,"description":"Each bar broken down per value of this second field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`. `null` on a `metric`, `bar` or `pie` chart, which has no breakdown-by.","isRequired":true,"uniqueKey":"data.oneOf.3.breakdownBy.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"field":{"oneOf":[{"type":"string","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},{"type":"null","description":"The field, `null` when it was never chosen or has been deleted. Fields are named with the keys of the filter of a view: `customFieldValues.grp_\u003cid>.\u003cName>` for a group field, `customFieldValues.\u003cName>` for an object field, `createdAt`, `addedToGroupAt` and `createdBy` for the native ones.","example":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"}]}},"required":["field"],"additionalProperties":false,"description":"Each bar broken down per value of this second field. It takes a `multipleSelect`, `userField`, `singleSelect`, `dateField` or `numericField` custom field of the dashboard, or a native field: `addedToGroupAt`, `createdAt` or `createdBy` on people and companies, `createdAt` or `createdBy` on objects. A date is split by month, and its rows are labelled `YYYY-MM`. `null` on a `metric`, `bar` or `pie` chart, which has no breakdown-by.","isRequired":true,"uniqueKey":"data.oneOf.3.breakdownBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.breakdownBy","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.oneOf.3","typeLabel":"Chart not working · object"}],"isRequired":true,"uniqueKey":"data","typeLabel":"Metric chart · object | Bar or pie chart · object | Stacked or grouped bar chart · object | Chart not working · object"},"deprecations":{"type":"array","items":{"type":"string","uniqueKey":"deprecations.items.[INDEX]","typeLabel":"string"},"example":["This field is deprecated"],"uniqueKey":"deprecations","typeLabel":"string[]"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Pie chart":{"title":"Pie chart","summary":"A pie chart","value":{"data":{"id":"cht_5d6c1a8e-2b7f-4e3a-9c1d-8f0e7a6b5c4d","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Leads by status","type":"pie","measure":{"aggregation":"count"},"groupBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},"breakdownBy":null,"filter":null,"includeEmptyValues":true,"status":"working","problem":null,"data":{"recordCount":10,"overallValue":10,"rowsOverlap":false,"rows":[{"group":"Lead","value":2,"recordCount":2},{"group":"Follow-up","value":2,"recordCount":2},{"group":"Closed-won","value":2,"recordCount":2},{"group":"Closed-lost","value":2,"recordCount":2},{"group":"Qualified","value":1,"recordCount":1},{"group":null,"value":1,"recordCount":1}]},"createdAt":"2026-11-03T09:12:44.000Z","updatedAt":"2026-11-10T16:40:02.000Z"}}},"Metric chart (ratio)":{"title":"Metric chart (ratio)","summary":"A metric chart with a ratio","value":{"data":{"id":"cht_7a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Win rate","type":"metric","measure":{"aggregation":"ratio","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status","choice":"Closed-won"},"groupBy":null,"breakdownBy":null,"filter":null,"includeEmptyValues":true,"status":"working","problem":null,"data":{"value":0.2222,"matching":2,"outOf":9,"recordCount":10},"createdAt":"2026-11-03T09:14:10.000Z","updatedAt":null}}},"Stacked bar chart":{"title":"Stacked bar chart","summary":"A stacked bar chart","value":{"data":{"id":"cht_9e8d7c6b-5a4f-4e3d-a2c1-b0a9f8e7d6c5","dashboardId":"dsh_3a1f9e2b-7c4d-4b8a-a6e5-1d2c3b4a5f6e","name":"Deal amount by status and size","type":"stackedBar","measure":{"aggregation":"sum","field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Amount"},"groupBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Status"},"breakdownBy":{"field":"customFieldValues.grp_92ab3f1c-0386-434d-82d7-a91eb6badd71.Size"},"filter":null,"includeEmptyValues":true,"status":"working","problem":null,"data":{"recordCount":10,"overallValue":125000,"rowsOverlap":false,"rows":[{"group":"Lead","breakdown":"Small","value":10000,"recordCount":2},{"group":"Qualified","breakdown":"Large","value":40000,"recordCount":1},{"group":"Closed-won","breakdown":"Small","value":15000,"recordCount":3},{"group":"Closed-won","breakdown":"Large","value":60000,"recordCount":2},{"group":null,"breakdown":null,"value":0,"recordCount":2}]},"createdAt":"2026-11-04T11:02:31.000Z","updatedAt":"2026-11-09T08:21:47.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"339db416-685b-4880-9c09-2cbeba3f7c35":{"description":"The request was unacceptable, often due to missing an invalid parameter.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INVALID_REQUEST","message":"The request was invalid.","documentationUrl":"https://developer.folk.app/api-reference/errors#bad-request","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_REQUEST","message":"The request was invalid.","documentationUrl":"https://developer.folk.app/api-reference/errors#bad-request","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"680b8f7a-022d-4d88-a4f4-23335be648ad":{"description":"No valid API key provided.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"UNAUTHORIZED","message":"No valid API key provided.","documentationUrl":"https://developer.folk.app/api-reference/errors#unauthorized","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UNAUTHORIZED","message":"No valid API key provided.","documentationUrl":"https://developer.folk.app/api-reference/errors#unauthorized","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"6a6fb234-56d8-4c6a-84c8-d1b430439acf":{"description":"The workspace doesn’t have enough credits to perform the request.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INSUFFICIENT_CREDITS","message":"Not enough enrichment credits: 12 needed, 5 left.","documentationUrl":"https://developer.folk.app/api-reference/errors#payment-required","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INSUFFICIENT_CREDITS","message":"Not enough enrichment credits: 12 needed, 5 left.","documentationUrl":"https://developer.folk.app/api-reference/errors#payment-required","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"569310be-9427-44b8-8101-70b6286cf0f9":{"description":"The API key doesn’t have permissions to perform the request.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"FORBIDDEN","message":"The API key doesn’t have permissions to perform the request.","documentationUrl":"https://developer.folk.app/api-reference/errors#forbidden","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"FORBIDDEN","message":"The API key doesn’t have permissions to perform the request.","documentationUrl":"https://developer.folk.app/api-reference/errors#forbidden","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"9d709be2-d85c-4d99-8987-d98902fa8a9c":{"description":"The requested resource doesn’t exist.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"RESOURCE_NOT_FOUND","message":"The requested resource was not found.","documentationUrl":"https://developer.folk.app/api-reference/errors#not-found","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RESOURCE_NOT_FOUND","message":"The requested resource was not found.","documentationUrl":"https://developer.folk.app/api-reference/errors#not-found","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"4e070b14-4bd8-482c-8bfb-d75bfd42d31b":{"description":"A request with the same `Idempotency-Key` is still being processed, or the resource is in a state that does not allow the operation.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":5},"description":"When the conflict resolves on its own, the number of seconds to wait before retrying."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"IDEMPOTENCY_REQUEST_IN_PROGRESS","message":"A request with the same Idempotency-Key is still being processed. Retry once it has completed.","documentationUrl":"https://developer.folk.app/api-reference/idempotency#errors","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"IDEMPOTENCY_REQUEST_IN_PROGRESS","message":"A request with the same Idempotency-Key is still being processed. Retry once it has completed.","documentationUrl":"https://developer.folk.app/api-reference/idempotency#errors","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"917d9529-b5de-4f0a-9a24-711067547b2e":{"description":"The request was unacceptable, often due to missing or invalid parameters.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"UNPROCESSABLE_ENTITY","message":"Invalid query parameters","documentationUrl":"https://developer.folk.app/api-reference/errors#unprocessable-entity","details":{"issues":[{"code":"too_small","minimum":1,"type":"number","inclusive":true,"exact":false,"message":"Number must be greater than or equal to 1","path":["limit"]}]},"requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UNPROCESSABLE_ENTITY","message":"Invalid query parameters","documentationUrl":"https://developer.folk.app/api-reference/errors#unprocessable-entity","details":{"issues":[{"code":"too_small","minimum":1,"type":"number","inclusive":true,"exact":false,"message":"Number must be greater than or equal to 1","path":["limit"]}]},"requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"36d672af-97e0-422d-84be-0f30fbbace00":{"description":"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer","example":1000},"description":"The maximum number of requests that you can make in the current rate limit window."},"X-RateLimit-Remaining":{"schema":{"type":"integer","example":998},"description":"The number of requests remaining in the current rate limit window."},"X-RateLimit-Reset":{"schema":{"type":"integer","example":1747322958},"description":"The time at which the current rate limit window resets, in UTC epoch seconds."},"X-RateLimit-Limit-Burst":{"schema":{"type":"integer","example":20},"description":"The maximum number of requests that you can make in the current burst rate limit window."},"X-RateLimit-Remaining-Burst":{"schema":{"type":"integer","example":18},"description":"The number of requests remaining in the current burst rate limit window."},"X-RateLimit-Reset-Burst":{"schema":{"type":"integer","example":1747322902},"description":"The time at which the current burst rate limit window resets, in UTC epoch seconds."},"RateLimit-Policy":{"schema":{"type":"string","example":"\"default\";q=600;w=60, \"burst\";q=20;w=2"},"description":"The rate limit policies applied to the request, as defined by the IETF RateLimit header fields draft. `q` is the number of requests allowed per window and `w` the window length in seconds."},"RateLimit":{"schema":{"type":"string","example":"\"default\";r=598;t=42, \"burst\";r=18;t=1"},"description":"The current usage of each rate limit policy, as defined by the IETF RateLimit header fields draft. `r` is the number of requests remaining and `t` the number of seconds until the window resets."},"Retry-After":{"schema":{"type":"integer","example":60},"description":"The number of seconds to wait before making a new request after hitting the rate limit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","properties":{"policy":{"type":"string","enum":["default","burst"],"description":"The name of the rate limit policy.","isRequired":true,"uniqueKey":"error.details.policy","typeLabel":"enum\u003cstring>"},"limit":{"type":"integer","description":"The maximum number of requests allowed per window.","isRequired":true,"uniqueKey":"error.details.limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"The number of requests remaining in the current window.","isRequired":true,"uniqueKey":"error.details.remaining","typeLabel":"integer"},"windowSeconds":{"type":"integer","description":"The length of the window, in seconds.","isRequired":true,"uniqueKey":"error.details.windowSeconds","typeLabel":"integer"},"retryAfter":{"type":"string","format":"date-time","description":"When the current window resets.","isRequired":true,"uniqueKey":"error.details.retryAfter","typeLabel":"string\u003cdate-time>"},"policies":{"type":"array","items":{"type":"object","properties":{"policy":{"type":"string","enum":["default","burst"],"description":"The name of the rate limit policy.","isRequired":true,"uniqueKey":"error.details.policies.items.[INDEX].policy","typeLabel":"enum\u003cstring>"},"limit":{"type":"integer","description":"The maximum number of requests allowed per window.","isRequired":true,"uniqueKey":"error.details.policies.items.[INDEX].limit","typeLabel":"integer"},"remaining":{"type":"integer","description":"The number of requests remaining in the current window.","isRequired":true,"uniqueKey":"error.details.policies.items.[INDEX].remaining","typeLabel":"integer"},"windowSeconds":{"type":"integer","description":"The length of the window, in seconds.","isRequired":true,"uniqueKey":"error.details.policies.items.[INDEX].windowSeconds","typeLabel":"integer"},"retryAfter":{"type":"string","format":"date-time","description":"When the current window resets.","isRequired":true,"uniqueKey":"error.details.policies.items.[INDEX].retryAfter","typeLabel":"string\u003cdate-time>"}},"required":["policy","limit","remaining","windowSeconds","retryAfter"],"uniqueKey":"error.details.policies.items.[INDEX]","typeLabel":"object"},"description":"The status of every rate limit policy applied to the request.","isRequired":true,"uniqueKey":"error.details.policies","typeLabel":"object[]"}},"required":["policy","limit","remaining","windowSeconds","retryAfter","policies"],"description":"The exceeded rate limit policy. When several are exceeded, the one resetting last.","isRequired":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp","details"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response returned when a rate limit is exceeded.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"TOO_MANY_REQUESTS","message":"You have exceeded your rate limit.","documentationUrl":"https://developer.folk.app/api-reference/errors#rate-limiting","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z","details":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z","policies":[{"policy":"default","limit":600,"remaining":412,"windowSeconds":60,"retryAfter":"2025-10-01T12:01:00.000Z"},{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"}]}}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"TOO_MANY_REQUESTS","message":"You have exceeded your rate limit.","documentationUrl":"https://developer.folk.app/api-reference/errors#rate-limiting","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z","details":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z","policies":[{"policy":"default","limit":600,"remaining":412,"windowSeconds":60,"retryAfter":"2025-10-01T12:01:00.000Z"},{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"}]}}}}},"exampleType":"examples"}},"exampleType":"examples"},"68be0db8-5864-49ec-b40c-651b21e9a75a":{"description":"Something went wrong on our end.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INTERNAL_SERVER_ERROR","message":"An internal server error occurred.","documentationUrl":"https://developer.folk.app/api-reference/errors#internal-server-error","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INTERNAL_SERVER_ERROR","message":"An internal server error occurred.","documentationUrl":"https://developer.folk.app/api-reference/errors#internal-server-error","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"2ea25d14-bb97-474c-8a71-c83ae401ff82":{"description":"The server is overloaded or down for maintenance.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"You have exceeded your rate limit.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"documentationUrl":{"type":"string","format":"uri","example":"https://developer.folk.app/api-reference/errors#rate-limiting","isRequired":true,"uniqueKey":"error.documentationUrl","typeLabel":"string\u003curi>"},"requestId":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string\u003cuuid>"},"timestamp":{"type":"string","format":"date-time","example":"2025-10-01T12:00:00Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","additionalProperties":true,"example":{"policy":"burst","limit":20,"remaining":0,"windowSeconds":2,"retryAfter":"2025-10-01T12:00:02.000Z"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","documentationUrl","requestId","timestamp"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Error response containing error details.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"The service is currently unavailable.","documentationUrl":"https://developer.folk.app/api-reference/errors#service-unavailable","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"SERVICE_UNAVAILABLE","message":"The service is currently unavailable.","documentationUrl":"https://developer.folk.app/api-reference/errors#service-unavailable","requestId":"123e4567-e89b-12d3-a456-426614174000","timestamp":"2025-10-01T12:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"24675280-9e3e-414a-a60c-41e46623a6c1":{"bearerApiKeyAuth":{"type":"http","scheme":"bearer","description":"API key for authentication","scopes":[],"schemeName":"bearerApiKeyAuth"}}},"servers":{"475023b4-195e-44ae-a9c8-02c300d6b734":{"url":"https://api.folk.app","description":"Folk's public API production base URL.","x-internal":false}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key for authentication","scopes":[],"schemeName":"bearerApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key for authentication","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerApiKeyAuth","name":"Authorization"}],"title":"bearerApiKeyAuth"}]},"originalFileLocation":"schemas/2025-06-09.json"},"subdomain":"folk-cf968f5e","siteName":"Folk Developer Portal","title":"(Beta) Create a chart - Folk Developer Portal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2025-06-09":{"href":"/api-reference/dashboards/create-a-chart","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T16:17:47.365Z","originalFileLocation":"api-reference/dashboards/create-a-chart.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=\"Add a chart to a dashboard of a group the user can edit, from the settings \u0026quot;get a chart\u0026quot; returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Folk Developer Portal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"(Beta) Create a chart - Folk Developer Portal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add a chart to a dashboard of a group the user can edit, from the settings \u0026quot;get a chart\u0026quot; returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Folk Developer Portal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.folk.app/api-reference/dashboards/create-a-chart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://folk-cf968f5e.mintlify.site/_mintlify/api/og/v2?division=Dashboards\u0026amp;title=%28Beta%29+Create+a+chart\u0026amp;description=Add+a+chart+to+a+dashboard+of+a+group+the+user+can+edit%2C+from+the+settings+%22get+a+chart%22+returns%3A+fields+are+given+by+their+keys+and+the+choice+of+a+ratio+by+it\u0026amp;theme=6326573fc3714198be6d933f\u0026amp;signature=64c489435efa91762481376316e0c563d6a24281d94765e526daed1b2ae1ead6\">\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=\"(Beta) Create a chart - Folk Developer Portal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add a chart to a dashboard of a group the user can edit, from the settings \u0026quot;get a chart\u0026quot; returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://folk-cf968f5e.mintlify.site/_mintlify/api/og/v2?division=Dashboards\u0026amp;title=%28Beta%29+Create+a+chart\u0026amp;description=Add+a+chart+to+a+dashboard+of+a+group+the+user+can+edit%2C+from+the+settings+%22get+a+chart%22+returns%3A+fields+are+given+by+their+keys+and+the+choice+of+a+ratio+by+it\u0026amp;theme=6326573fc3714198be6d933f\u0026amp;signature=64c489435efa91762481376316e0c563d6a24281d94765e526daed1b2ae1ead6\">\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/folk-cf968f5e/2qJ3PKRZLvFhl3LP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Folk Developer Portal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.folk.app/api-reference/dashboards/create-a-chart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/dashboards/create-a-chart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.folk.app/#organization\",\"name\":\"Folk Developer Portal\",\"url\":\"https://developer.folk.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/folk-cf968f5e/I7wFhRmtMuOvy2tG/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=I7wFhRmtMuOvy2tG\u0026q=85\u0026s=08eda1dcbb1eefceac8ca5fea9c103d8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.folk.app#website\",\"name\":\"Folk Developer Portal\",\"url\":\"https://developer.folk.app\",\"publisher\":{\"@id\":\"https://developer.folk.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart#webpage\",\"url\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart\",\"name\":\"(Beta) Create a chart\",\"description\":\"Add a chart to a dashboard of a group the user can edit, from the settings \\\"get a chart\\\" returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\",\"dateModified\":\"2026-11-26T16:17:47.365Z\",\"isPartOf\":{\"@id\":\"https://developer.folk.app#website\"},\"breadcrumb\":{\"@id\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Available endpoints\",\"item\":\"https://developer.folk.app/api-reference/people/list-people\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dashboards\",\"item\":\"https://developer.folk.app/api-reference/dashboards/list-dashboards\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"(Beta) Create a chart\",\"item\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart#apireference\",\"headline\":\"(Beta) Create a chart\",\"name\":\"(Beta) Create a chart\",\"description\":\"Add a chart to a dashboard of a group the user can edit, from the settings \\\"get a chart\\\" returns: fields are given by their keys and the choice of a ratio by its label. The chart is added at the end of the dashboard, with the default display options of the app. A chart that would not be working is refused: a field or a choice that does not exist, or a field the type or the measure of the chart can not use. A dashboard holds at most 100 charts.This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\",\"url\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart\",\"mainEntityOfPage\":{\"@id\":\"https://developer.folk.app/api-reference/dashboards/create-a-chart#webpage\"},\"dateModified\":\"2026-11-26T16:17:47.365Z\",\"publisher\":{\"@id\":\"https://developer.folk.app/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.folk.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Folk Developer Portal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Folk Developer Portal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/dashboards/create-a-chart.md","siteName":"Folk Developer Portal","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/quick-start"}]},{"tab":"API Reference","versions":[{"version":"2025-06-09","default":true,"groups":[{"group":"Introduction","pages":[{"title":null,"href":"/api-reference/overview"},{"title":null,"href":"/api-reference/authentication"},{"title":null,"href":"/api-reference/success-responses"},{"title":null,"href":"/api-reference/errors"},{"title":null,"href":"/api-reference/pagination"},{"title":null,"href":"/api-reference/filtering"},{"title":"Idempotency","href":"/api-reference/idempotency"},{"title":"Batch requests","href":"/api-reference/batch-requests"},{"title":null,"href":"/api-reference/rate-limits"},{"title":"Request ID","href":"/api-reference/request-id"},{"title":null,"href":"/api-reference/versioning"}]},{"group":"Available endpoints","pages":[{"group":"People","pages":[{"title":"List people","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/people","href":"/api-reference/people/list-people"},{"openapi":"post /v1/people","title":"Create a person","href":"/api-reference/people/create-a-person"},{"title":"Get a person","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/people/{personId}","href":"/api-reference/people/get-a-person"},{"openapi":"patch /v1/people/{personId}","title":"Update a person","href":"/api-reference/people/update-a-person"},{"openapi":"delete /v1/people/{personId}","title":"Delete a person","href":"/api-reference/people/delete-a-person"},{"openapi":"post /v1/people/batch/create","title":"Create people in batch","href":"/api-reference/people/create-people-in-batch"},{"openapi":"post /v1/people/batch/update","title":"Update people in batch","href":"/api-reference/people/update-people-in-batch"},{"openapi":"post /v1/people/batch/delete","title":"Delete people in batch","href":"/api-reference/people/delete-people-in-batch"}]},{"group":"Companies","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/companies","href":"/api-reference/companies/list-companies"},{"openapi":"post /v1/companies","title":"Create a company","href":"/api-reference/companies/create-a-company"},{"title":"Get a company","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/companies/{companyId}","href":"/api-reference/companies/get-a-company"},{"openapi":"patch /v1/companies/{companyId}","title":"Update a company","href":"/api-reference/companies/update-a-company"},{"openapi":"delete /v1/companies/{companyId}","title":"Delete a company","href":"/api-reference/companies/delete-a-company"},{"openapi":"post /v1/companies/batch/create","title":"Create companies in batch","href":"/api-reference/companies/create-companies-in-batch"},{"openapi":"post /v1/companies/batch/update","title":"Update companies in batch","href":"/api-reference/companies/update-companies-in-batch"},{"openapi":"post /v1/companies/batch/delete","title":"Delete companies in batch","href":"/api-reference/companies/delete-companies-in-batch"}]},{"group":"Credits","pages":[{"title":"Get credits","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/credits","href":"/api-reference/credits/get-credits"}]},{"group":"Group members","pages":[{"title":"List group members","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/groups/{groupId}/members","href":"/api-reference/group-members/list-group-members"},{"title":"Add a group member","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/groups/{groupId}/members","href":"/api-reference/group-members/add-a-group-member"},{"title":"Update a group member","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json patch /v1/groups/{groupId}/members/{userId}","href":"/api-reference/group-members/update-a-group-member"},{"title":"Remove a group member","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json delete /v1/groups/{groupId}/members/{userId}","href":"/api-reference/group-members/remove-a-group-member"}]},{"group":"Group custom fields","pages":[{"title":"List group custom fields","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/groups/{groupId}/custom-fields/{entityType}","href":"/api-reference/group-custom-fields/list-group-custom-fields"},{"title":"Create a group custom field","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/groups/{groupId}/custom-fields/{entityType}","href":"/api-reference/group-custom-fields/create-a-group-custom-field"},{"title":"Get a group custom field","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/groups/{groupId}/custom-fields/{entityType}/{customFieldName}","href":"/api-reference/group-custom-fields/get-a-group-custom-field"},{"title":"Update a group custom field","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json patch /v1/groups/{groupId}/custom-fields/{entityType}/{customFieldName}","href":"/api-reference/group-custom-fields/update-a-group-custom-field"}]},{"group":"Custom objects","pages":[{"openapi":"get /v1/groups/{groupId}/{objectType}","title":"List objects","href":"/api-reference/custom-objects/list-objects"},{"openapi":"post /v1/groups/{groupId}/{objectType}","title":"Create an object","href":"/api-reference/custom-objects/create-an-object"},{"openapi":"get /v1/groups/{groupId}/{objectType}/{objectId}","title":"Get an object","href":"/api-reference/custom-objects/get-an-object"},{"openapi":"patch /v1/groups/{groupId}/{objectType}/{objectId}","title":"Update an object","href":"/api-reference/custom-objects/update-an-object"},{"openapi":"delete /v1/groups/{groupId}/{objectType}/{objectId}","title":"Delete an object","href":"/api-reference/custom-objects/delete-an-object"},{"openapi":"post /v1/groups/{groupId}/{objectType}/batch/create","title":"Create objects in batch","href":"/api-reference/custom-objects/create-objects-in-batch"},{"openapi":"post /v1/groups/{groupId}/{objectType}/batch/update","title":"Update objects in batch","href":"/api-reference/custom-objects/update-objects-in-batch"},{"openapi":"post /v1/groups/{groupId}/{objectType}/batch/delete","title":"Delete objects in batch","href":"/api-reference/custom-objects/delete-objects-in-batch"}]},{"group":"Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/groups","href":"/api-reference/groups/create-a-group"},{"title":"Update a group","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json patch /v1/groups/{groupId}","href":"/api-reference/groups/update-a-group"}]},{"group":"Users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/users","href":"/api-reference/users/list-users"},{"title":"Get the current user","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/users/me","href":"/api-reference/users/get-the-current-user"},{"title":"Get a user","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/users/{userId}","href":"/api-reference/users/get-a-user"}]},{"group":"Notes","pages":[{"title":"List notes","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/notes","href":"/api-reference/notes/list-notes"},{"openapi":"post /v1/notes","title":"Create a note","href":"/api-reference/notes/create-a-note"},{"title":"Get a note","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/notes/{noteId}","href":"/api-reference/notes/get-a-note"},{"openapi":"patch /v1/notes/{noteId}","title":"Update a note","href":"/api-reference/notes/update-a-note"},{"title":"Delete a note","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json delete /v1/notes/{noteId}","href":"/api-reference/notes/delete-a-note"}]},{"group":"Reminders","pages":[{"title":"List reminders","deprecated":true,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/reminders","href":"/api-reference/reminders/list-reminders"},{"openapi":"post /v1/reminders","deprecated":true,"title":"Create a reminder","href":"/api-reference/reminders/create-a-reminder"},{"title":"Get a reminder","deprecated":true,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/reminders/{reminderId}","href":"/api-reference/reminders/get-a-reminder"},{"openapi":"patch /v1/reminders/{reminderId}","deprecated":true,"title":"Update a reminder","href":"/api-reference/reminders/update-a-reminder"},{"title":"Delete a reminder","deprecated":true,"version":null,"openapi":"/schemas/2025-06-09.json delete /v1/reminders/{reminderId}","href":"/api-reference/reminders/delete-a-reminder"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/tasks","href":"/api-reference/tasks/create-a-task"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/tasks/{taskId}","href":"/api-reference/tasks/get-a-task"},{"openapi":"patch /v1/tasks/{taskId}","title":"Update a task","href":"/api-reference/tasks/update-a-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json delete /v1/tasks/{taskId}","href":"/api-reference/tasks/delete-a-task"},{"title":"Mark a task as done","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/tasks/{taskId}/mark-as-done","href":"/api-reference/tasks/mark-a-task-as-done"},{"title":"Mark a task as to do","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/tasks/{taskId}/mark-as-todo","href":"/api-reference/tasks/mark-a-task-as-to-do"}]},{"group":"Person enrichments","pages":[{"title":"List enrichments of people","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/person-enrichments","href":"/api-reference/person-enrichments/list-enrichments-of-people"},{"openapi":"post /v1/person-enrichments","title":"Enrich people","href":"/api-reference/person-enrichments/enrich-people"},{"title":"Get an enrichment of people","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/person-enrichments/{enrichmentId}","href":"/api-reference/person-enrichments/get-an-enrichment-of-people"}]},{"group":"Interactions","pages":[{"title":"(Beta) List interactions","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"List interactions","openapi":"/schemas/2025-06-09.json get /v1/interactions","href":"/api-reference/interactions/list-interactions"},{"title":"Create an interaction","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/interactions","href":"/api-reference/interactions/create-an-interaction"},{"title":"(Beta) List past interactions","deprecated":true,"version":null,"tag":"Beta","sidebarTitle":"List past interactions","openapi":"/schemas/2025-06-09.json get /v1/interactions/past","href":"/api-reference/interactions/list-past-interactions"},{"title":"(Beta) List upcoming interactions","deprecated":true,"version":null,"tag":"Beta","sidebarTitle":"List upcoming interactions","openapi":"/schemas/2025-06-09.json get /v1/interactions/upcoming","href":"/api-reference/interactions/list-upcoming-interactions"},{"title":"(Beta) Get a past or upcoming interaction","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Get a past or upcoming interaction","openapi":"/schemas/2025-06-09.json get /v1/interactions/{interactionId}","href":"/api-reference/interactions/get-a-past-or-upcoming-interaction"},{"title":"(Beta) Update an interaction","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Update an interaction","openapi":"/schemas/2025-06-09.json patch /v1/interactions/{interactionId}","href":"/api-reference/interactions/update-an-interaction"},{"title":"(Beta) Delete an interaction","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Delete an interaction","openapi":"/schemas/2025-06-09.json delete /v1/interactions/{interactionId}","href":"/api-reference/interactions/delete-an-interaction"}]},{"group":"Webhooks","pages":[{"openapi":"get /v1/webhooks","title":"List webhooks","href":"/api-reference/webhooks/list-webhooks"},{"openapi":"post /v1/webhooks","title":"Create a webhook","href":"/api-reference/webhooks/create-a-webhook"},{"openapi":"get /v1/webhooks/{webhookId}","title":"Get a webhook","href":"/api-reference/webhooks/get-a-webhook"},{"openapi":"patch /v1/webhooks/{webhookId}","title":"Update a webhook","href":"/api-reference/webhooks/update-a-webhook"},{"openapi":"delete /v1/webhooks/{webhookId}","title":"Delete a webhook","href":"/api-reference/webhooks/delete-a-webhook"}]},{"group":"Campaigns","pages":[{"title":"(Beta) List message senders","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"List message senders","openapi":"/schemas/2025-06-09.json get /v1/message-senders","href":"/api-reference/campaigns/list-message-senders"},{"title":"(Beta) List campaigns","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"List campaigns","openapi":"/schemas/2025-06-09.json get /v1/campaigns","href":"/api-reference/campaigns/list-campaigns"},{"title":"(Beta) Create a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Create a campaign","openapi":"/schemas/2025-06-09.json post /v1/campaigns","href":"/api-reference/campaigns/create-a-campaign"},{"title":"(Beta) Get a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Get a campaign","openapi":"/schemas/2025-06-09.json get /v1/campaigns/{campaignId}","href":"/api-reference/campaigns/get-a-campaign"},{"title":"(Beta) Update a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Update a campaign","openapi":"/schemas/2025-06-09.json patch /v1/campaigns/{campaignId}","href":"/api-reference/campaigns/update-a-campaign"},{"title":"(Beta) Delete a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Delete a campaign","openapi":"/schemas/2025-06-09.json delete /v1/campaigns/{campaignId}","href":"/api-reference/campaigns/delete-a-campaign"},{"title":"(Beta) List the variables of a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"List the variables of a campaign","openapi":"/schemas/2025-06-09.json get /v1/campaigns/{campaignId}/variables","href":"/api-reference/campaigns/list-the-variables-of-a-campaign"},{"title":"(Beta) Review a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Review a campaign","openapi":"/schemas/2025-06-09.json post /v1/campaigns/{campaignId}/review","href":"/api-reference/campaigns/review-a-campaign"},{"title":"(Beta) List the messages of a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"List the messages of a campaign","openapi":"/schemas/2025-06-09.json get /v1/campaigns/{campaignId}/messages","href":"/api-reference/campaigns/list-the-messages-of-a-campaign"},{"title":"(Beta) Get a message of a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Get a message of a campaign","openapi":"/schemas/2025-06-09.json get /v1/campaigns/{campaignId}/messages/{messageId}","href":"/api-reference/campaigns/get-a-message-of-a-campaign"},{"title":"(Beta) Update a message of a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Update a message of a campaign","openapi":"/schemas/2025-06-09.json patch /v1/campaigns/{campaignId}/messages/{messageId}","href":"/api-reference/campaigns/update-a-message-of-a-campaign"},{"title":"(Beta) Update messages of a campaign in batch","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Update messages of a campaign in batch","openapi":"/schemas/2025-06-09.json post /v1/campaigns/{campaignId}/messages/batch/update","href":"/api-reference/campaigns/update-messages-of-a-campaign-in-batch"},{"title":"(Beta) Remove a recipient from a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Remove a recipient from a campaign","openapi":"/schemas/2025-06-09.json delete /v1/campaigns/{campaignId}/recipients/{contactId}","href":"/api-reference/campaigns/remove-a-recipient-from-a-campaign"},{"title":"(Beta) Put a campaign back to draft","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Put a campaign back to draft","openapi":"/schemas/2025-06-09.json post /v1/campaigns/{campaignId}/draft","href":"/api-reference/campaigns/put-a-campaign-back-to-draft"},{"title":"(Beta) Launch a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Launch a campaign","openapi":"/schemas/2025-06-09.json post /v1/campaigns/{campaignId}/launch","href":"/api-reference/campaigns/launch-a-campaign"},{"title":"(Beta) Cancel the schedule of a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Cancel the schedule of a campaign","openapi":"/schemas/2025-06-09.json post /v1/campaigns/{campaignId}/cancel-schedule","href":"/api-reference/campaigns/cancel-the-schedule-of-a-campaign"},{"title":"(Beta) Stop a campaign","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Stop a campaign","openapi":"/schemas/2025-06-09.json post /v1/campaigns/{campaignId}/stop","href":"/api-reference/campaigns/stop-a-campaign"}]},{"group":"Views","pages":[{"title":"List views","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/views","href":"/api-reference/views/list-views"},{"title":"Create a view","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json post /v1/views","href":"/api-reference/views/create-a-view"},{"title":"Get a view","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json get /v1/views/{viewId}","href":"/api-reference/views/get-a-view"},{"title":"Update a view","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json patch /v1/views/{viewId}","href":"/api-reference/views/update-a-view"},{"title":"Delete a view","deprecated":null,"version":null,"openapi":"/schemas/2025-06-09.json delete /v1/views/{viewId}","href":"/api-reference/views/delete-a-view"}]},{"group":"Dashboards","pages":[{"title":"(Beta) List dashboards","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"List dashboards","openapi":"/schemas/2025-06-09.json get /v1/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"(Beta) Create a dashboard","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Create a dashboard","openapi":"/schemas/2025-06-09.json post /v1/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"(Beta) Get a dashboard","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Get a dashboard","openapi":"/schemas/2025-06-09.json get /v1/dashboards/{dashboardId}","href":"/api-reference/dashboards/get-a-dashboard"},{"title":"(Beta) Update a dashboard","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Update a dashboard","openapi":"/schemas/2025-06-09.json patch /v1/dashboards/{dashboardId}","href":"/api-reference/dashboards/update-a-dashboard"},{"title":"(Beta) Delete a dashboard","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Delete a dashboard","openapi":"/schemas/2025-06-09.json delete /v1/dashboards/{dashboardId}","href":"/api-reference/dashboards/delete-a-dashboard"},{"title":"(Beta) Get a chart","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Get a chart","openapi":"/schemas/2025-06-09.json get /v1/dashboards/{dashboardId}/charts/{chartId}","href":"/api-reference/dashboards/get-a-chart"},{"title":"(Beta) Update a chart","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Update a chart","openapi":"/schemas/2025-06-09.json patch /v1/dashboards/{dashboardId}/charts/{chartId}","href":"/api-reference/dashboards/update-a-chart"},{"title":"(Beta) Delete a chart","description":"Remove a chart from a dashboard of a group the user can edit. The other charts of the dashboard keep their order.\u003cbr/>\u003cWarning>This endpoint is currently in open beta. The API surface may change as we iterate based on feedback.\u003c/Warning>","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Delete a chart","openapi":"/schemas/2025-06-09.json delete /v1/dashboards/{dashboardId}/charts/{chartId}","href":"/api-reference/dashboards/delete-a-chart"},{"title":"(Beta) Create a chart","deprecated":null,"version":null,"tag":"Beta","sidebarTitle":"Create a chart","openapi":"/schemas/2025-06-09.json post /v1/dashboards/{dashboardId}/charts","href":"/api-reference/dashboards/create-a-chart"}]}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Roadmap","pages":[{"title":"Roadmap","href":"/roadmap"}]}]},"basePath":"","title":"(Beta) Create a chart - Folk Developer Portal","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}