Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend.
Use this to guide capacity adjustments and identify stations that may need expansion or closure.
Failure Modes:
401: Token is missing or invalid
403: Insufficient permissions
404: no_data_binding when the provider or location is not enabled for your company, or no data for that location and period
An API key, sent as Authorization: Bearer <key>. Create one in the SWITCH Copilot under Settings → API keys (needs the API keys permission in your company), or with POST /auth/api-keys. The key is shown once, at creation.
Path Parameters
provider
string
required
Identifier of the mobility provider whose data you analyse, e.g. acme-bikes. It must be the provider of a data source enabled for your company's station-based analytics; any other value is refused with 404 no_data_binding (kind: source). Your SWITCH contact tells you the provider identifiers and locations enabled for your company.
Query Parameters
geolabel
string
required
Location to analyse, e.g. milan: one of the locations (or their geolabels) that your company's station-based analytics are enabled for with this provider. Any other value is refused with 404 no_data_binding (kind: location).
start_date
string<date-time>
required
Start of the analysis period, an ISO 8601 date-time with a time zone, e.g. 2026-10-01T00:00:00Z.
end_date
string<date-time>
required
End of the analysis period, an ISO 8601 date-time with a time zone, e.g. 2026-10-31T23:59:59Z. Must be after start_date, at most 366 days later.
start_hour
integer | null
First hour of the day to include (0-23, local time of the city). Set together with end_hour; both bounds are included.
Required range: 0 <= x <= 23
end_hour
integer | null
Last hour of the day to include (0-23, local time of the city), not before start_hour. Set together with start_hour.
Required range: 0 <= x <= 23
Response
Growth trend data retrieved. Returns per-station trend direction, growth rate, and confidence scores.
Growth trends analysis response with station utilization patterns.
growing_stations
TrendData · object[]
required
Top 10 stations showing the highest positive growth in utilization over the analysis period, ranked by growth rate
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SWITCH","description":"SWITCH API reference and guides: forecasts, fleet operations, routing, analytics, and Myles in your AI assistant.","colors":{"primary":"#131110","light":"#FAFAF4","dark":"#131110"},"logo":{"light":"https://mintcdn.com/switchsrl-stage/q2Qy6e_N_m85PgIF/logo/switch-wordmark-ink.svg?fit=max\u0026auto=format\u0026n=q2Qy6e_N_m85PgIF\u0026q=85\u0026s=83a9625c685d993be0e8a51c68c0aee6","dark":"https://mintcdn.com/switchsrl-stage/q2Qy6e_N_m85PgIF/logo/switch-wordmark-white.png?fit=max\u0026auto=format\u0026n=q2Qy6e_N_m85PgIF\u0026q=85\u0026s=cb194173a9e2bccf4640045f35a2a87f","href":"https://getswitch.io"},"favicon":"https://mintcdn.com/switchsrl-stage/q2Qy6e_N_m85PgIF/favicon.png?fit=max\u0026auto=format\u0026n=q2Qy6e_N_m85PgIF\u0026q=85\u0026s=594ed1f74ed3ae7cef44edc0e0f34df4","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go"],"prefill":true}},"background":{"color":{"light":"#FFFFFF","dark":"#131110"}},"navbar":{"primary":{"type":"button","label":"Open SWITCH","href":"https://copilot.getswitch.io"}},"footer":{"socials":{"website":"https://getswitch.io","linkedin":"https://www.linkedin.com/company/14072408"}},"fonts":{"family":"Roboto"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"switchsrl-stage","hasAudioNarration":false,"actualSubdomain":"switchsrl-stage","customDomains":[],"gitSource":{"type":"github","owner":"switch-street-witcher","repo":"switch-api","deployBranch":"stage","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b0d7bf4d778254279acca0f"},"entitlements":{},"buildId":"6b0d7c46d778254279acd4e8","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API Reference","count":101},{"language":"default","tag":"Fleet Management","count":23},{"language":"default","tag":"Integrations","count":16},{"language":"default","tag":"Station Based Analytics","count":13},{"language":"default","tag":"Routing Sessions","count":11},{"language":"default","tag":"Routing Operations","count":8},{"language":"default","tag":"API Keys","count":5},{"language":"default","tag":"Forecast","count":4},{"language":"default","tag":"Live","count":4},{"language":"default","tag":"Operations","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":true},"customCss":[]}
{"page":{"pagePath":"api-reference/station-based-analytics/get-demand-growth-trends","slug":"/api-reference/station-based-analytics/get-demand-growth-trends","pageMetadata":{"title":"Get Demand Growth Trends","description":"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend.\n\nUse this to guide capacity adjustments and identify stations that may need expansion or closure.\n\n**Failure Modes:**\n- **401**: Token is missing or invalid\n- **403**: Insufficient permissions\n- **404**: `no_data_binding` when the provider or location is not enabled for your company, or no data for that location and period\n- **422**: Invalid filter parameters\n- **500**: Internal server error\n\n**Required Auth Scopes:**\n- `copilot:analytics`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/growth_trends","href":"/api-reference/station-based-analytics/get-demand-growth-trends","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Use this to guide capacity adjustments and identify stations that may need expansion or closure.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Failure Modes:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"401\"\n }), \": Token is missing or invalid\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"403\"\n }), \": Insufficient permissions\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"404\"\n }), \": \", _jsx(_components.code, {\n children: \"no_data_binding\"\n }), \" when the provider or location is not enabled for your company, or no data for that location and period\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"422\"\n }), \": Invalid filter parameters\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"500\"\n }), \": Internal server error\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Required Auth Scopes:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: _jsx(_components.code, {\n children: \"copilot:analytics\"\n })\n }), \"\\n\"]\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};\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":"Get Demand Growth Trends","description":"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend.\n\nUse this to guide capacity adjustments and identify stations that may need expansion or closure.\n\n**Failure Modes:**\n- **401**: Token is missing or invalid\n- **403**: Insufficient permissions\n- **404**: `no_data_binding` when the provider or location is not enabled for your company, or no data for that location and period\n- **422**: Invalid filter parameters\n- **500**: Internal server error\n\n**Required Auth Scopes:**\n- `copilot:analytics`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/growth_trends","href":"/api-reference/station-based-analytics/get-demand-growth-trends","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Station Based Analytics"],"summary":"Get Demand Growth Trends","description":"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend.\n\nUse this to guide capacity adjustments and identify stations that may need expansion or closure.\n\n**Failure Modes:**\n- **401**: Token is missing or invalid\n- **403**: Insufficient permissions\n- **404**: `no_data_binding` when the provider or location is not enabled for your company, or no data for that location and period\n- **422**: Invalid filter parameters\n- **500**: Internal server error\n\n**Required Auth Scopes:**\n- `copilot:analytics`","operationId":"get_growth_trends","security":["5d2ec626-315f-40c1-84cf-76e0466b26e1","a3515afb-ad74-4a10-9322-66b3ddbeb44f"],"parameters":["7683d0c2-70c3-4b7f-9a4e-3dbc307df59a","70ebd45a-d046-4c90-a9cc-63edaa0a77f4","32c0232c-774f-4418-8726-94d8898a18b1","37654b80-246d-4d76-a2e5-8c711072e9a0","77973641-63a0-44ce-b3b2-5a5533cbbb72","6b9986e1-712a-4540-9387-70e86bb53100"],"responses":{"200":"70a30b9f-21fc-49c5-a9ae-b1d36b6e93bc","401":"143f8ff5-8ad0-412a-8ac7-4498bec85d06","403":"76ec8e0f-29b0-44ee-be33-71614ad23ea0","422":"57797883-a7d3-40af-ba02-f476fec2277e","500":"e36f7ddb-3d0e-4cc6-b8e3-c9cd9cd58d6a"},"method":"get","type":"path","servers":["3e069aac-8807-4f2b-8fbd-901b66759f89"],"path":"/copilot/station-based/{provider}/growth_trends","baseUrlOptions":["https://stage-api.getswitch.io"],"title":"Get Demand Growth Trends","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"7683d0c2-70c3-4b7f-9a4e-3dbc307df59a":{"name":"provider","in":"path","required":true,"schema":{"type":"string","description":"Identifier of the mobility provider whose data you analyse, e.g. `acme-bikes`. It must be the provider of a data source enabled for your company's station-based analytics; any other value is refused with 404 `no_data_binding` (`kind: source`). Your SWITCH contact tells you the provider identifiers and locations enabled for your company.","title":"Provider","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"Identifier of the mobility provider whose data you analyse, e.g. `acme-bikes`. It must be the provider of a data source enabled for your company's station-based analytics; any other value is refused with 404 `no_data_binding` (`kind: source`). Your SWITCH contact tells you the provider identifiers and locations enabled for your company."},"70ebd45a-d046-4c90-a9cc-63edaa0a77f4":{"name":"geolabel","in":"query","required":true,"schema":{"type":"string","description":"Location to analyse, e.g. `milan`: one of the locations (or their geolabels) that your company's station-based analytics are enabled for with this provider. Any other value is refused with 404 `no_data_binding` (`kind: location`).","title":"Geolabel","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"Location to analyse, e.g. `milan`: one of the locations (or their geolabels) that your company's station-based analytics are enabled for with this provider. Any other value is refused with 404 `no_data_binding` (`kind: location`)."},"32c0232c-774f-4418-8726-94d8898a18b1":{"name":"start_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Start of the analysis period, an ISO 8601 date-time with a time zone, e.g. `2026-10-01T00:00:00Z`.","title":"Start Date","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cdate-time>"},"description":"Start of the analysis period, an ISO 8601 date-time with a time zone, e.g. `2026-10-01T00:00:00Z`."},"37654b80-246d-4d76-a2e5-8c711072e9a0":{"name":"end_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"End of the analysis period, an ISO 8601 date-time with a time zone, e.g. `2026-10-31T23:59:59Z`. Must be after `start_date`, at most 366 days later.","title":"End Date","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cdate-time>"},"description":"End of the analysis period, an ISO 8601 date-time with a time zone, e.g. `2026-10-31T23:59:59Z`. Must be after `start_date`, at most 366 days later."},"77973641-63a0-44ce-b3b2-5a5533cbbb72":{"name":"start_hour","in":"query","required":false,"schema":{"oneOf":[{"type":"integer","maximum":23,"minimum":0,"description":"First hour of the day to include (0-23, local time of the city). Set together with `end_hour`; both bounds are included.","title":"Start Hour","uniqueKey":"oneOf.0","typeLabel":"integer"},{"type":"null","maximum":23,"minimum":0,"description":"First hour of the day to include (0-23, local time of the city). Set together with `end_hour`; both bounds are included.","title":"Start Hour","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"integer | null"},"description":"First hour of the day to include (0-23, local time of the city). Set together with `end_hour`; both bounds are included."},"6b9986e1-712a-4540-9387-70e86bb53100":{"name":"end_hour","in":"query","required":false,"schema":{"oneOf":[{"type":"integer","maximum":23,"minimum":0,"description":"Last hour of the day to include (0-23, local time of the city), not before `start_hour`. Set together with `start_hour`.","title":"End Hour","uniqueKey":"oneOf.0","typeLabel":"integer"},{"type":"null","maximum":23,"minimum":0,"description":"Last hour of the day to include (0-23, local time of the city), not before `start_hour`. Set together with `start_hour`.","title":"End Hour","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"integer | null"},"description":"Last hour of the day to include (0-23, local time of the city), not before `start_hour`. Set together with `start_hour`."}},"responses":{"70a30b9f-21fc-49c5-a9ae-b1d36b6e93bc":{"description":"Growth trend data retrieved. Returns per-station trend direction, growth rate, and confidence scores.","content":{"application/json":{"schema":{"properties":{"growing_stations":{"items":{"properties":{"station_id":{"oneOf":[{"type":"integer","title":"Station Id","description":"Unique identifier for the bike sharing station","example":123,"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].station_id.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Station Id","description":"Unique identifier for the bike sharing station","example":123,"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].station_id.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].station_id","typeLabel":"integer | string"},"station_name":{"type":"string","minLength":1,"title":"Station Name","description":"Human-readable name of the station","examples":["Central Station","Park Avenue","Main Square"],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].station_name","typeLabel":"string"},"station_latitude":{"type":"number","maximum":90,"minimum":-90,"title":"Station Latitude","description":"Station latitude in decimal degrees","examples":[45.464664,40.7128,51.5074],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].station_latitude","typeLabel":"number"},"station_longitude":{"type":"number","maximum":180,"minimum":-180,"title":"Station Longitude","description":"Station longitude in decimal degrees","examples":[9.18854,-74.006,-0.1278],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].station_longitude","typeLabel":"number"},"trend_direction":{"type":"string","pattern":"^(growing|declining|stable)$","title":"Trend Direction","description":"Direction of the utilization trend over time","examples":["growing","declining","stable"],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].trend_direction","typeLabel":"string"},"growth_rate":{"type":"number","title":"Growth Rate","description":"Weekly growth rate in utilization (positive = increasing demand, negative = decreasing demand)","examples":[0.15,-0.08,0.23],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].growth_rate","typeLabel":"number"},"confidence_score":{"type":"number","maximum":1,"minimum":0,"title":"Confidence Score","description":"Statistical confidence score (R-squared) for the trend analysis (0-1, higher values indicate more reliable trends)","examples":[0.75,0.82,0.94],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].confidence_score","typeLabel":"number"},"ebike_ratio":{"type":"number","maximum":1,"minimum":0,"title":"Ebike Ratio","description":"Average proportion of available bikes that are e-bikes at this station","examples":[0.32,0.45,0.67],"isRequired":true,"uniqueKey":"growing_stations.items.[INDEX].ebike_ratio","typeLabel":"number"}},"type":"object","required":["station_id","station_name","station_latitude","station_longitude","trend_direction","growth_rate","confidence_score","ebike_ratio"],"title":"TrendData","description":"Growth trend data for individual stations with utilization analysis.","uniqueKey":"growing_stations.items.[INDEX]","typeLabel":"TrendData · object"},"type":"array","title":"Growing Stations","description":"Top 10 stations showing the highest positive growth in utilization over the analysis period, ranked by growth rate","examples":[[{"confidence_score":0.85,"ebike_ratio":0.4,"growth_rate":0.15,"station_id":123,"station_latitude":45.464664,"station_longitude":9.18854,"station_name":"Central Station","trend_direction":"growing"}]],"isRequired":true,"uniqueKey":"growing_stations","typeLabel":"TrendData · object[]"},"declining_stations":{"items":{"properties":{"station_id":{"oneOf":[{"type":"integer","title":"Station Id","description":"Unique identifier for the bike sharing station","example":123,"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].station_id.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Station Id","description":"Unique identifier for the bike sharing station","example":123,"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].station_id.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].station_id","typeLabel":"integer | string"},"station_name":{"type":"string","minLength":1,"title":"Station Name","description":"Human-readable name of the station","examples":["Central Station","Park Avenue","Main Square"],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].station_name","typeLabel":"string"},"station_latitude":{"type":"number","maximum":90,"minimum":-90,"title":"Station Latitude","description":"Station latitude in decimal degrees","examples":[45.464664,40.7128,51.5074],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].station_latitude","typeLabel":"number"},"station_longitude":{"type":"number","maximum":180,"minimum":-180,"title":"Station Longitude","description":"Station longitude in decimal degrees","examples":[9.18854,-74.006,-0.1278],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].station_longitude","typeLabel":"number"},"trend_direction":{"type":"string","pattern":"^(growing|declining|stable)$","title":"Trend Direction","description":"Direction of the utilization trend over time","examples":["growing","declining","stable"],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].trend_direction","typeLabel":"string"},"growth_rate":{"type":"number","title":"Growth Rate","description":"Weekly growth rate in utilization (positive = increasing demand, negative = decreasing demand)","examples":[0.15,-0.08,0.23],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].growth_rate","typeLabel":"number"},"confidence_score":{"type":"number","maximum":1,"minimum":0,"title":"Confidence Score","description":"Statistical confidence score (R-squared) for the trend analysis (0-1, higher values indicate more reliable trends)","examples":[0.75,0.82,0.94],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].confidence_score","typeLabel":"number"},"ebike_ratio":{"type":"number","maximum":1,"minimum":0,"title":"Ebike Ratio","description":"Average proportion of available bikes that are e-bikes at this station","examples":[0.32,0.45,0.67],"isRequired":true,"uniqueKey":"declining_stations.items.[INDEX].ebike_ratio","typeLabel":"number"}},"type":"object","required":["station_id","station_name","station_latitude","station_longitude","trend_direction","growth_rate","confidence_score","ebike_ratio"],"title":"TrendData","description":"Growth trend data for individual stations with utilization analysis.","uniqueKey":"declining_stations.items.[INDEX]","typeLabel":"TrendData · object"},"type":"array","title":"Declining Stations","description":"Top 10 stations showing the highest negative growth in utilization over the analysis period, ranked by decline rate","examples":[[{"confidence_score":0.78,"ebike_ratio":0.25,"growth_rate":-0.08,"station_id":456,"station_latitude":45.468664,"station_longitude":9.19254,"station_name":"Park Avenue","trend_direction":"declining"}]],"isRequired":true,"uniqueKey":"declining_stations","typeLabel":"TrendData · object[]"}},"type":"object","required":["growing_stations","declining_stations"],"title":"GrowthTrendsResponse","description":"Growth trends analysis response with station utilization patterns.","examples":[{"declining_stations":[{"confidence_score":0.56,"ebike_ratio":0.35,"growth_rate":-0.018,"station_id":101,"station_latitude":45.4642,"station_longitude":9.19,"station_name":"Duomo","trend_direction":"declining"}],"growing_stations":[{"confidence_score":0.71,"ebike_ratio":0.4,"growth_rate":0.042,"station_id":318,"station_latitude":45.4532,"station_longitude":9.176,"station_name":"Darsena","trend_direction":"growing"}]}],"uniqueKey":"","typeLabel":"GrowthTrendsResponse · object"},"examples":{"Example":{"title":"Example","value":{"declining_stations":[{"confidence_score":0.56,"ebike_ratio":0.35,"growth_rate":-0.018,"station_id":101,"station_latitude":45.4642,"station_longitude":9.19,"station_name":"Duomo","trend_direction":"declining"}],"growing_stations":[{"confidence_score":0.71,"ebike_ratio":0.4,"growth_rate":0.042,"station_id":318,"station_latitude":45.4532,"station_longitude":9.176,"station_name":"Darsena","trend_direction":"growing"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"143f8ff5-8ad0-412a-8ac7-4498bec85d06":{"description":"Unauthorized. Token is missing or invalid.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"76ec8e0f-29b0-44ee-be33-71614ad23ea0":{"description":"Forbidden. Insufficient permissions.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"57797883-a7d3-40af-ba02-f476fec2277e":{"description":"Unprocessable Entity. Validation failed.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e36f7ddb-3d0e-4cc6-b8e3-c9cd9cd58d6a":{"description":"Internal Server Error.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"5d2ec626-315f-40c1-84cf-76e0466b26e1":{"HTTPBearer":{"type":"http","scheme":"bearer","description":"An API key, sent as `Authorization: Bearer \u003ckey>`. Create one in the SWITCH Copilot under **Settings → API keys** (needs the API keys permission in your company), or with `POST /auth/api-keys`. The key is shown once, at creation.","scopes":[],"schemeName":"HTTPBearer"}},"a3515afb-ad74-4a10-9322-66b3ddbeb44f":{"HTTPBearer":{"type":"http","scheme":"bearer","description":"An API key, sent as `Authorization: Bearer \u003ckey>`. Create one in the SWITCH Copilot under **Settings → API keys** (needs the API keys permission in your company), or with `POST /auth/api-keys`. The key is shown once, at creation.","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"3e069aac-8807-4f2b-8fbd-901b66759f89":{"url":"https://stage-api.getswitch.io","description":"Stage"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key, sent as `Authorization: Bearer \u003ckey>`. Create one in the SWITCH Copilot under **Settings → API keys** (needs the API keys permission in your company), or with `POST /auth/api-keys`. The key is shown once, at creation.","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key, sent as `Authorization: Bearer \u003ckey>`. Create one in the SWITCH Copilot under **Settings → API keys** (needs the API keys permission in your company), or with `POST /auth/api-keys`. The key is shown once, at creation.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key, sent as `Authorization: Bearer \u003ckey>`. Create one in the SWITCH Copilot under **Settings → API keys** (needs the API keys permission in your company), or with `POST /auth/api-keys`. The key is shown once, at creation.","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key, sent as `Authorization: Bearer \u003ckey>`. Create one in the SWITCH Copilot under **Settings → API keys** (needs the API keys permission in your company), or with `POST /auth/api-keys`. The key is shown once, at creation.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"switchsrl-stage","siteName":"SWITCH","title":"Get Demand Growth Trends - SWITCH","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T13:38:24.158Z","originalFileLocation":"api-reference/station-based-analytics/get-demand-growth-trends.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=\"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend. Use this to guide capacity adjustments and identify stations that may need expansion or closure. Failure Modes: - 401: Token is missing or invalid - 403: Insufficient permissions - 404: no_data_binding when the provider or location is not enabled for your company, or no data for that location and period - 422: Invalid filter parameters - 500: Internal server error Required Auth Scopes: - copilot:analytics\">\u003cmeta data-mint-head name=\"application-name\" content=\"SWITCH\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_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/switchsrl-stage/JTXLLi80I0McEXEm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Demand Growth Trends - SWITCH\">\u003cmeta data-mint-head property=\"og:description\" content=\"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend. Use this to guide capacity adjustments and identify stations that may need expansion or closure. Failure Modes: - 401: Token is missing or invalid - 403: Insufficient permissions - 404: no_data_binding when the provider or location is not enabled for your company, or no data for that location and period - 422: Invalid filter parameters - 500: Internal server error Required Auth Scopes: - copilot:analytics\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SWITCH\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://switchsrl-stage.mintlify.site/_mintlify/api/og/v2?division=Station+Based+Analytics\u0026amp;title=Get+Demand+Growth+Trends\u0026amp;description=Identify+stations+with+growing+or+declining+demand+trends+over+time+using+linear+regression.+Returns+stations+ranked+by+growth+rate%2C+utilization+trend+coefficie\u0026amp;theme=18a078e79863f23e2770fc78\u0026amp;signature=31766568be90045cc2d57f6563d338900ed985a711b4085205715161deff673b\">\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=\"Get Demand Growth Trends - SWITCH\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend. Use this to guide capacity adjustments and identify stations that may need expansion or closure. Failure Modes: - 401: Token is missing or invalid - 403: Insufficient permissions - 404: no_data_binding when the provider or location is not enabled for your company, or no data for that location and period - 422: Invalid filter parameters - 500: Internal server error Required Auth Scopes: - copilot:analytics\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://switchsrl-stage.mintlify.site/_mintlify/api/og/v2?division=Station+Based+Analytics\u0026amp;title=Get+Demand+Growth+Trends\u0026amp;description=Identify+stations+with+growing+or+declining+demand+trends+over+time+using+linear+regression.+Returns+stations+ranked+by+growth+rate%2C+utilization+trend+coefficie\u0026amp;theme=18a078e79863f23e2770fc78\u0026amp;signature=31766568be90045cc2d57f6563d338900ed985a711b4085205715161deff673b\">\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/switchsrl-stage/JTXLLi80I0McEXEm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SWITCH\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#131110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/station-based-analytics/get-demand-growth-trends.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://switchsrl-stage.mintlify.app/#organization\",\"name\":\"SWITCH\",\"url\":\"https://switchsrl-stage.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/switchsrl-stage/q2Qy6e_N_m85PgIF/logo/switch-wordmark-ink.svg?fit=max\u0026auto=format\u0026n=q2Qy6e_N_m85PgIF\u0026q=85\u0026s=83a9625c685d993be0e8a51c68c0aee6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://switchsrl-stage.mintlify.app#website\",\"name\":\"SWITCH\",\"url\":\"https://switchsrl-stage.mintlify.app\",\"publisher\":{\"@id\":\"https://switchsrl-stage.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends#webpage\",\"url\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends\",\"name\":\"Get Demand Growth Trends\",\"description\":\"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend. Use this to guide capacity adjustments and identify stations that may need expansion or closure. Failure Modes: - 401: Token is missing or invalid - 403: Insufficient permissions - 404: no_data_binding when the provider or location is not enabled for your company, or no data for that location and period - 422: Invalid filter parameters - 500: Internal server error Required Auth Scopes: - copilot:analytics\",\"dateModified\":\"2026-11-30T13:38:24.158Z\",\"isPartOf\":{\"@id\":\"https://switchsrl-stage.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Station Based Analytics\",\"item\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-station-summary-metrics\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Demand Growth Trends\",\"item\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends#apireference\",\"headline\":\"Get Demand Growth Trends\",\"name\":\"Get Demand Growth Trends\",\"description\":\"Identify stations with growing or declining demand trends over time using linear regression. Returns stations ranked by growth rate, utilization trend coefficients, growing vs declining station lists, and confidence scores for each trend. Use this to guide capacity adjustments and identify stations that may need expansion or closure. Failure Modes: - 401: Token is missing or invalid - 403: Insufficient permissions - 404: no_data_binding when the provider or location is not enabled for your company, or no data for that location and period - 422: Invalid filter parameters - 500: Internal server error Required Auth Scopes: - copilot:analytics\",\"url\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends\",\"mainEntityOfPage\":{\"@id\":\"https://switchsrl-stage.mintlify.app/api-reference/station-based-analytics/get-demand-growth-trends#webpage\"},\"dateModified\":\"2026-11-30T13:38:24.158Z\",\"publisher\":{\"@id\":\"https://switchsrl-stage.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://switchsrl-stage.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SWITCH\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SWITCH\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/station-based-analytics/get-demand-growth-trends.md","siteName":"SWITCH","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""}]},{"group":"API Keys","pages":[{"title":"List API Keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /auth/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /auth/api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Get API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /auth/api-keys/{uuid}","href":"/api-reference/api-keys/get-api-key"},{"title":"Delete API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /auth/api-keys/{uuid}","href":"/api-reference/api-keys/delete-api-key"},{"title":"Get Current User Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /auth/me","href":"/api-reference/api-keys/get-current-user-profile"}]},{"group":"Grids","pages":[{"title":"Download Grid File For Single Data Scenario","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /grids/stream","href":"/api-reference/grids/download-grid-file-for-single-data-scenario"},{"title":"Download Grid File For Specific Data Scenario","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /grids/stream/{data_scenario_id}","href":"/api-reference/grids/download-grid-file-for-specific-data-scenario"}]},{"group":"Forecast","pages":[{"title":"Get Forecasted Demand","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /forecast","href":"/api-reference/forecast/get-forecasted-demand"},{"title":"Get Forecasted Demand as GeoJSON","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /forecast/geojson","href":"/api-reference/forecast/get-forecasted-demand-as-geojson"},{"title":"Get Forecasted Demand by Type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /forecast/{forecast_type}","href":"/api-reference/forecast/get-forecasted-demand-by-type"},{"title":"Get Forecasted Demand by Type as GeoJSON","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /forecast/{forecast_type}/geojson","href":"/api-reference/forecast/get-forecasted-demand-by-type-as-geojson"}]},{"group":"Operations","pages":[{"title":"Get Imbalance Snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/imbalance","href":"/api-reference/operations/get-imbalance-snapshot"},{"title":"Get Imbalance Snapshot as GeoJSON","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/imbalance/geojson","href":"/api-reference/operations/get-imbalance-snapshot-as-geojson"},{"title":"Get Rebalancing Suggestions","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /operations/rebalance","href":"/api-reference/operations/get-rebalancing-suggestions"},{"title":"Generate Operations Based on Strategies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/suggest","href":"/api-reference/operations/generate-operations-based-on-strategies"}]},{"group":"Routing","pages":[{"title":"Solve Routing Optimization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routing","href":"/api-reference/routing/solve-routing-optimization"},{"title":"Solve Multi-Fleet Routing (Two-Phase Greedy)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routing/multi-fleet","href":"/api-reference/routing/solve-multi-fleet-routing-two-phase-greedy"}]},{"group":"Routing Sessions","pages":[{"title":"List Sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/sessions","href":"/api-reference/routing-sessions/list-sessions"},{"title":"Dispatch Session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/sessions","href":"/api-reference/routing-sessions/dispatch-session"},{"title":"Get Session Detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/sessions/{slug}","href":"/api-reference/routing-sessions/get-session-detail"},{"title":"Update Session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /operations/sessions/{slug}","href":"/api-reference/routing-sessions/update-session"},{"title":"Delete Session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /operations/sessions/{slug}","href":"/api-reference/routing-sessions/delete-session"},{"title":"List Routes in Session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/sessions/{slug}/routes","href":"/api-reference/routing-sessions/list-routes-in-session"},{"title":"List Routes (Cross-Session)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/routes","href":"/api-reference/routing-sessions/list-routes-cross-session"},{"title":"Get Route Detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/routes/{route_id}","href":"/api-reference/routing-sessions/get-route-detail"},{"title":"Update Route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /operations/routes/{route_id}","href":"/api-reference/routing-sessions/update-route"},{"title":"Assign Drivers to Route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/drivers","href":"/api-reference/routing-sessions/assign-drivers-to-route"},{"title":"Remove Driver from Route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /operations/routes/{route_id}/drivers/{user_id}","href":"/api-reference/routing-sessions/remove-driver-from-route"}]},{"group":"Routing Operations","pages":[{"title":"List Operations in Route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/routes/{route_id}/operations","href":"/api-reference/routing-operations/list-operations-in-route"},{"title":"Complete Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/operations/{op_id}/complete","href":"/api-reference/routing-operations/complete-operation"},{"title":"Undo Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/operations/{op_id}/undo","href":"/api-reference/routing-operations/undo-operation"},{"title":"Cancel Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/operations/{op_id}/cancel","href":"/api-reference/routing-operations/cancel-operation"},{"title":"Restore Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/operations/{op_id}/restore","href":"/api-reference/routing-operations/restore-operation"},{"title":"Generate Reroute Preview","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/reroute/generate","href":"/api-reference/routing-operations/generate-reroute-preview"},{"title":"Optimize Reroute","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/reroute/optimize","href":"/api-reference/routing-operations/optimize-reroute"},{"title":"Apply Rerouted Operations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/routes/{route_id}/reroute/apply","href":"/api-reference/routing-operations/apply-rerouted-operations"}]},{"group":"Fleet Management","pages":[{"title":"List Cargo Vehicles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/cargo-vehicles","href":"/api-reference/fleet-management/list-cargo-vehicles"},{"title":"Create Cargo Vehicle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/cargo-vehicles","href":"/api-reference/fleet-management/create-cargo-vehicle"},{"title":"Get Cargo Vehicle by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/cargo-vehicles/{vehicle_id}","href":"/api-reference/fleet-management/get-cargo-vehicle-by-id"},{"title":"Update Cargo Vehicle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /operations/cargo-vehicles/{vehicle_id}","href":"/api-reference/fleet-management/update-cargo-vehicle"},{"title":"Delete Cargo Vehicle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /operations/cargo-vehicles/{vehicle_id}","href":"/api-reference/fleet-management/delete-cargo-vehicle"},{"title":"List Depots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/depots","href":"/api-reference/fleet-management/list-depots"},{"title":"Create Depot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/depots","href":"/api-reference/fleet-management/create-depot"},{"title":"Get Depot by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/depots/{depot_id}","href":"/api-reference/fleet-management/get-depot-by-id"},{"title":"Update Depot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /operations/depots/{depot_id}","href":"/api-reference/fleet-management/update-depot"},{"title":"Delete Depot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /operations/depots/{depot_id}","href":"/api-reference/fleet-management/delete-depot"},{"title":"Synchronize Company Stations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/stations/sync","href":"/api-reference/fleet-management/synchronize-company-stations"},{"title":"List Stations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/stations","href":"/api-reference/fleet-management/list-stations"},{"title":"Create Station","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/stations","href":"/api-reference/fleet-management/create-station"},{"title":"Get Station by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/stations/{station_id}","href":"/api-reference/fleet-management/get-station-by-id"},{"title":"Update Station","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /operations/stations/{station_id}","href":"/api-reference/fleet-management/update-station"},{"title":"Delete Station","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /operations/stations/{station_id}","href":"/api-reference/fleet-management/delete-station"},{"title":"List Drivers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/drivers","href":"/api-reference/fleet-management/list-drivers"},{"title":"Create Driver","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /operations/drivers","href":"/api-reference/fleet-management/create-driver"},{"title":"Get Driver by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/drivers/{driver_id}","href":"/api-reference/fleet-management/get-driver-by-id"},{"title":"Update Driver","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /operations/drivers/{driver_id}","href":"/api-reference/fleet-management/update-driver"},{"title":"Delete Driver","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /operations/drivers/{driver_id}","href":"/api-reference/fleet-management/delete-driver"},{"title":"Get Fleet Settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /operations/fleet-settings","href":"/api-reference/fleet-management/get-fleet-settings"},{"title":"Update Fleet Settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /operations/fleet-settings","href":"/api-reference/fleet-management/update-fleet-settings"}]},{"group":"Free Float Analytics","pages":[{"title":"Get Free-Float Trip History","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/free-float/{provider}/trip_history","href":"/api-reference/free-float-analytics/get-free-float-trip-history"}]},{"group":"Live","pages":[{"title":"Get Live Fleet Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/live/fleet-status","href":"/api-reference/live/get-live-fleet-status"},{"title":"List Live Deliveries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/live/deliveries","href":"/api-reference/live/list-live-deliveries"},{"title":"Get Live Transit Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/live/transit/status","href":"/api-reference/live/get-live-transit-status"},{"title":"Get Live Transit Line","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/live/transit/lines/{route_id}","href":"/api-reference/live/get-live-transit-line"}]},{"group":"Station Based Analytics","pages":[{"title":"Get Station Summary Metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/summary_metrics","href":"/api-reference/station-based-analytics/get-station-summary-metrics"},{"title":"Get Vehicle Shortage Mapping","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/vehicle_shortage_mapping","href":"/api-reference/station-based-analytics/get-vehicle-shortage-mapping"},{"title":"Get Commuting Station Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/commuting_stations","href":"/api-reference/station-based-analytics/get-commuting-station-analysis"},{"title":"Get Missed Demand Estimation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/missed_demand","href":"/api-reference/station-based-analytics/get-missed-demand-estimation"},{"title":"Get Station Refill Time Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/refill_times","href":"/api-reference/station-based-analytics/get-station-refill-time-analysis"},{"title":"Get Competitor Opportunity Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/competitor_opportunities","href":"/api-reference/station-based-analytics/get-competitor-opportunity-analysis"},{"title":"Get Deployment Window Optimization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/deployment_windows","href":"/api-reference/station-based-analytics/get-deployment-window-optimization"},{"title":"Get Station Trip Volume Analysis","description":"Estimate trip volume and demand patterns using vehicle availability changes as a proxy. Returns daily and hourly trip estimates, stations ranked by activity, demand patterns by time of day, and total system utilization metrics.\n\n**Failure Modes:**\n- **401**: Token is missing or invalid\n- **403**: Insufficient permissions\n- **404**: `no_data_binding` when the provider or location is not enabled for your company, or no data for that location and period\n- **422**: Invalid filter parameters\n- **500**: Internal server error\n\n**Required Auth Scopes:**\n- `copilot:analytics`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/trip_volume","href":"/api-reference/station-based-analytics/get-station-trip-volume-analysis"},{"title":"Get Demand Growth Trends","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/growth_trends","href":"/api-reference/station-based-analytics/get-demand-growth-trends"},{"title":"Get Calendar Event Impact Analysis","description":"Measure how local events (concerts, sports, festivals) impact mobility demand. Returns event-day vs baseline comparisons, impact analysis by event type, station-level impact during events, and demand multiplier forecasts for future event planning.\n\n**Failure Modes:**\n- **401**: Token is missing or invalid\n- **403**: Insufficient permissions\n- **404**: `no_data_binding` when the provider or location is not enabled for your company, or no data for that location and period\n- **422**: Invalid filter parameters\n- **500**: Internal server error\n\n**Required Auth Scopes:**\n- `copilot:analytics`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/calendar_events","href":"/api-reference/station-based-analytics/get-calendar-event-impact-analysis"},{"title":"Get Station Capacity Alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/capacity_alerts","href":"/api-reference/station-based-analytics/get-station-capacity-alerts"},{"title":"Get E-Bike Usage Pattern Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/ebike_patterns","href":"/api-reference/station-based-analytics/get-e-bike-usage-pattern-analysis"},{"title":"Get After-Hours Demand Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/station-based/{provider}/after_hours_demand","href":"/api-reference/station-based-analytics/get-after-hours-demand-analysis"}]},{"group":"Zone Based Analytics","pages":[{"title":"Get Zone Trip Volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/zone-based/{provider}/trip_volume","href":"/api-reference/zone-based-analytics/get-zone-trip-volume"},{"title":"Get Commuting Zone Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/zone-based/{provider}/commuting_zones","href":"/api-reference/zone-based-analytics/get-commuting-zone-analysis"},{"title":"Get Zone Shortage Mapping","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/zone-based/{provider}/shortage_mapping","href":"/api-reference/zone-based-analytics/get-zone-shortage-mapping"},{"title":"Get Zone Growth Trends","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/zone-based/{provider}/growth_trends","href":"/api-reference/zone-based-analytics/get-zone-growth-trends"}]},{"group":"Transit Analytics","pages":[{"title":"Get Transit Punctuality","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/analytics/transit/punctuality","href":"/api-reference/transit-analytics/get-transit-punctuality"},{"title":"Get Transit Line Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/analytics/transit/lines/{route_id}","href":"/api-reference/transit-analytics/get-transit-line-details"},{"title":"Get Transit Service Delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /copilot/analytics/transit/service-delivery","href":"/api-reference/transit-analytics/get-transit-service-delivery"}]},{"group":"Integrations","pages":[{"title":"List Fleet Vehicles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/vehicles","href":"/api-reference/integrations/list-fleet-vehicles"},{"title":"Get Fleet Vehicle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/vehicles/{vehicle_id}","href":"/api-reference/integrations/get-fleet-vehicle"},{"title":"List Fleet Stations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/stations","href":"/api-reference/integrations/list-fleet-stations"},{"title":"List Fleet Tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/tasks","href":"/api-reference/integrations/list-fleet-tasks"},{"title":"List Vehicle Statuses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/statuses","href":"/api-reference/integrations/list-vehicle-statuses"},{"title":"List Allowed Actions by Vehicle Type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/actions/allowed","href":"/api-reference/integrations/list-allowed-actions-by-vehicle-type"},{"title":"List Vehicle Actions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/actions/{vehicle_id}","href":"/api-reference/integrations/list-vehicle-actions"},{"title":"List Remote Operations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/remote-operations","href":"/api-reference/integrations/list-remote-operations"},{"title":"List Custom Vehicle States","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/custom-states","href":"/api-reference/integrations/list-custom-vehicle-states"},{"title":"Set Vehicle Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /integrations/statuses/{vehicle_id}/set","href":"/api-reference/integrations/set-vehicle-status"},{"title":"Trigger Vehicle Action","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /integrations/actions/{vehicle_id}/trigger","href":"/api-reference/integrations/trigger-vehicle-action"},{"title":"Complete Remote Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /integrations/remote-operations/{operation_id}/complete","href":"/api-reference/integrations/complete-remote-operation"},{"title":"Reopen Remote Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /integrations/remote-operations/{operation_id}/undo","href":"/api-reference/integrations/reopen-remote-operation"},{"title":"Delete Remote Operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /integrations/remote-operations/{operation_id}","href":"/api-reference/integrations/delete-remote-operation"},{"title":"Set Vehicle Custom State","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /integrations/custom-states/{vehicle_id}/set","href":"/api-reference/integrations/set-vehicle-custom-state"},{"title":"Get Integration Availability","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /integrations/availability","href":"/api-reference/integrations/get-integration-availability"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/myles-mcp"}]}]},"basePath":"","title":"Get Demand Growth Trends - SWITCH","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}