{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/async-job/{async_job_id}/status":{"get":{"summary":" Get Status For Job Id","description":"Returns the current record (containing a status field) for the given Job ID.\nThis is the main means by which the frontend polls for a status.","operationId":"_get_status_for_job_id_async_job__async_job_id__status_get","parameters":[{"name":"async_job_id","in":"path","required":true,"schema":{"type":"integer","title":"Async Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncJobRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/async-job/{async_job_id}/stream":{"get":{"summary":" Get Stream For Job Id","description":"Returns the current stream for the given Job ID.","operationId":"_get_stream_for_job_id_async_job__async_job_id__stream_get","parameters":[{"name":"async_job_id","in":"path","required":true,"schema":{"type":"integer","title":"Async Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AsyncJobStreamRecord"},"title":"Response  Get Stream For Job Id Async Job  Async Job Id  Stream Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dataset-snapshot":{"post":{"summary":" Controller Dataset Snapshot","description":"Dataset snapshot, used to get a preview of the data. Often used by the frontend as a proxy for whether a parse is through or not as well.","operationId":"_controller_dataset_snapshot_dataset_snapshot_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetSnapshotRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/lookalike/train":{"post":{"tags":["audience"],"summary":" Controller Handle Train Lookalike Audience","description":"Train a lookalike model for an audience","operationId":"_controller_handle_train_lookalike_audience_audience_lookalike_train_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainLALPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AudienceLAL"},{"type":"null"}],"title":"Response  Controller Handle Train Lookalike Audience Audience Lookalike Train Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/lookalike/generate":{"post":{"tags":["audience"],"summary":" Controller Handle Generate Lookalike Audience","description":"Generate a lookalike audience for an audience","operationId":"_controller_handle_generate_lookalike_audience_audience_lookalike_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildLALPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Handle Generate Lookalike Audience Audience Lookalike Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/lookalike/stats":{"post":{"tags":["audience"],"summary":" Controller Handle Generate Lookalike Overview","description":"Generate a lookalike audience stats for an audience","operationId":"_controller_handle_generate_lookalike_overview_audience_lookalike_stats_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsLALPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Handle Generate Lookalike Overview Audience Lookalike Stats Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/lookalike/duration/{audience_id}":{"get":{"tags":["audience"],"summary":" Controller Handle Predict Execution Duration","description":"Predict the execution duration of a lookalike model","operationId":"_controller_handle_predict_execution_duration_audience_lookalike_duration__audience_id__get","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"number","title":"Response  Controller Handle Predict Execution Duration Audience Lookalike Duration  Audience Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/lookalike/rerun":{"post":{"tags":["audience"],"summary":" Controller Handle Rerun Lookalike","description":"Delete existing LAL data and retrain the lookalike model","operationId":"_controller_handle_rerun_lookalike_audience_lookalike_rerun_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainLALPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceLAL"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/segmentation/build":{"post":{"tags":["audience"],"summary":" Controller Handle Train Segmentation Audience","description":"Build a segmentation model for an audience","operationId":"_controller_handle_train_segmentation_audience_audience_segmentation_build_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainSegPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AudienceSegmentationRecord"},{"type":"null"}],"title":"Response  Controller Handle Train Segmentation Audience Audience Segmentation Build Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/segmentation/audience/generate":{"post":{"tags":["audience"],"summary":" Controller Handle Generate Segmentation Audience","description":"Generate a segmentation audience for a segmentation model","operationId":"_controller_handle_generate_segmentation_audience_audience_segmentation_audience_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildSegAudiencePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Controller Handle Generate Segmentation Audience Audience Segmentation Audience Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/segmentation/rerun":{"post":{"tags":["audience"],"summary":" Controller Handle Rerun Segmentation","description":"Delete existing segmentation data and retrain the model","operationId":"_controller_handle_rerun_segmentation_audience_segmentation_rerun_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainSegPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceSegmentationRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/distribution/platform-one/target/create":{"post":{"tags":["audience","audience","distribution","audience","distribution","platform-one"],"summary":" Create Target","description":"Create a new PlatformOne Target/Syndication Group","operationId":"_create_target_audience_distribution_platform_one_target_create_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/MetaPlatformOneTargetPayload"},{"$ref":"#/components/schemas/DV360PlatformOneTargetPayload"},{"$ref":"#/components/schemas/TradeDeskPlatformOneTargetPayload"},{"$ref":"#/components/schemas/TikTokPlatformOneTargetPayload"},{"$ref":"#/components/schemas/AmazonPlatformOneTargetPayload"},{"$ref":"#/components/schemas/SnapchatPlatformOneTargetPayload"},{"$ref":"#/components/schemas/TeadsPlatformOneTargetPayload"},{"$ref":"#/components/schemas/PinterestPlatformOneTargetPayload"},{"$ref":"#/components/schemas/PandoraPlatformOneTargetPayload"},{"$ref":"#/components/schemas/DisneyPlusPlatformOneTargetPayload"},{"$ref":"#/components/schemas/RokuPlatformOneTargetPayload"},{"$ref":"#/components/schemas/ComcastPlatformOneTargetPayload"},{"$ref":"#/components/schemas/SpectrumTotalPlatformOneTargetPayload"},{"$ref":"#/components/schemas/PubmaticPlatformOneTargetPayload"},{"$ref":"#/components/schemas/LGAdsPlatformOneTargetPayload"},{"$ref":"#/components/schemas/AppNexusXandrInvestPlatformOneTargetPayload"},{"$ref":"#/components/schemas/SlingTvPlatformOneTargetPayload"},{"$ref":"#/components/schemas/SamsungAdsPlatformOneTargetPayload"},{"$ref":"#/components/schemas/LinkedInPlatformOneTargetPayload"},{"$ref":"#/components/schemas/MagnitePlatformOneTargetPayload"},{"$ref":"#/components/schemas/BeeswaxPlatformOneTargetPayload"},{"$ref":"#/components/schemas/DishPlatformOneTargetPayload"},{"$ref":"#/components/schemas/FourInfoPlatformOneTargetPayload"},{"$ref":"#/components/schemas/UndertonePlatformOneTargetPayload"},{"$ref":"#/components/schemas/IndexExchangePlatformOneTargetPayload"},{"$ref":"#/components/schemas/YahooVerizonDSPPlatformOneTargetPayload"},{"$ref":"#/components/schemas/OpenXPlatformOneTargetPayload"},{"$ref":"#/components/schemas/UnivisionPlatformOneTargetPayload"},{"$ref":"#/components/schemas/DirectTVSafeHavenPlatformOneTargetPayload"},{"$ref":"#/components/schemas/CriteoPlatformOneTargetPayload"},{"$ref":"#/components/schemas/SabioPlatformOneTargetPayload"},{"$ref":"#/components/schemas/GroundTruthPlatformOneTargetPayload"},{"$ref":"#/components/schemas/TaboolaPlatformOneTargetPayload"},{"$ref":"#/components/schemas/KargoPlatformOneTargetPayload"},{"$ref":"#/components/schemas/InMobiPlatformOneTargetPayload"},{"$ref":"#/components/schemas/LoopMePlatformOneTargetPayload"},{"$ref":"#/components/schemas/NativoPlatformOneTargetPayload"},{"$ref":"#/components/schemas/UnityPlatformOneTargetPayload"},{"$ref":"#/components/schemas/AdTheorentPlatformOneTargetPayload"},{"$ref":"#/components/schemas/LotamePlatformOneTargetPayload"},{"$ref":"#/components/schemas/CentroPlatformOneTargetPayload"},{"$ref":"#/components/schemas/TritonDigitalPlatformOneTargetPayload"}],"title":"Payload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformOneAudienceDistributionTarget"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/distribution/platform-one/target/delete/{target_id}":{"post":{"tags":["audience","audience","distribution","audience","distribution","platform-one"],"summary":" Delete Target","description":"Delete a new PlatformOne Target/Syndication Group","operationId":"_delete_target_audience_distribution_platform_one_target_delete__target_id__post","parameters":[{"name":"target_id","in":"path","required":true,"schema":{"type":"string","title":"Target Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/distribution/distribute":{"post":{"tags":["audience","audience","distribution"],"summary":" Distribute","description":"Initiate Audience Distribution to Targets","operationId":"_distribute_audience_distribution_distribute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceDistributionPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/location-intelligence/generate":{"post":{"tags":["audience"],"summary":" Controller Handle Generate Location Intelligence Audience","description":"Generate an audience from location intelligence","operationId":"_controller_handle_generate_location_intelligence_audience_audience_location_intelligence_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationIntelligenceGenerateAudiencePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Handle Generate Location Intelligence Audience Audience Location Intelligence Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/metadata/{audience_id}":{"get":{"tags":["audience"],"summary":" Audience Db Metadata","description":"Get audience metadata","operationId":"_audience_db_metadata_audience_metadata__audience_id__get","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{},"title":"Response  Audience Db Metadata Audience Metadata  Audience Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience":{"post":{"tags":["audience"],"summary":" Controller Handle Update Audience","description":"Update an audience","operationId":"_controller_handle_update_audience_audience_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAudiencePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/parse_sql":{"post":{"tags":["audience"],"summary":" Controller Handle Parse Sql","description":"Parses SQL and returns the result","operationId":"_controller_handle_parse_sql_audience_parse_sql_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SqlParsePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Handle Parse Sql Audience Parse Sql Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/from_parsed_json":{"post":{"tags":["audience"],"summary":" Controller Handle From Parsed Json","description":"Given parsed JSON and a datasource ID, returns an `Audience` object corresponding to that parsed JSON. Also initiates stats generation on the created audience.","operationId":"_controller_handle_from_parsed_json_audience_from_parsed_json_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FromParsedJsonRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Handle From Parsed Json Audience From Parsed Json Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/from_parsed_json/{task_id}/status":{"get":{"tags":["audience","Audiences"],"summary":" Get Status","description":"Retrieves the status of the provided Chat Explore task id.","operationId":"_get_status_audience_from_parsed_json__task_id__status_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/from_parsed_json/{task_id}/result":{"get":{"tags":["audience","Audiences"],"summary":" Get Result","description":"Retrieves an audience creation result by ID.","operationId":"_get_result_audience_from_parsed_json__task_id__result_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Get Result Audience From Parsed Json  Task Id  Result Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/from_parsed_json/new":{"post":{"tags":["audience","Audiences"],"summary":" Submit","description":"Initiate audience creation call. Takes in a SQL payload as structured JSON.","operationId":"_submit_audience_from_parsed_json_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FromParsedJsonRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APITaskStartedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/refresh/{audience_id}":{"post":{"tags":["audience"],"summary":" Refresh Audience","description":"Refresh an audience and its stats from the stored SQL so that it matches the current data","operationId":"_refresh_audience_audience_refresh__audience_id__post","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceRefreshPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncJobRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/name/{audience_id}":{"put":{"tags":["audience"],"summary":" Set Audience Name","description":"update audience name","operationId":"_set_audience_name_audience_name__audience_id__put","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceNameUpdatePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncJobRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/chart_update":{"post":{"tags":["audience"],"summary":" Audiece Chart Update","description":"Update Chart Record with Render from a different audience.","operationId":"_audiece_chart_update_audience_chart_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceChartUpdatePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Audiece Chart Update Audience Chart Update Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/audience_overlap":{"post":{"tags":["audience"],"summary":" Calculate Audiece Overlaps","description":"Calculate Audience Overlaps.","operationId":"_calculate_audiece_overlaps_audience_audience_overlap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceOverlapPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Calculate Audiece Overlaps Audience Audience Overlap Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/key_differences/{audience_id}/{comparator_id}":{"post":{"tags":["audience"],"summary":" Controller Handle Key Differences","description":"Given an audience_id and comparator_id, find the percent difference of demographic insights, using comparator_id's values as the base.","operationId":"_controller_handle_key_differences_audience_key_differences__audience_id___comparator_id__post","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}},{"name":"comparator_id","in":"path","required":true,"schema":{"type":"string","title":"Comparator Id"}},{"name":"absolute_threshold","in":"query","required":false,"schema":{"type":"number","default":0.01,"title":"Absolute Threshold"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{}},{"type":"null"}],"title":"Response  Controller Handle Key Differences Audience Key Differences  Audience Id   Comparator Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/chat-explore-suggestions/{audience_id}":{"get":{"tags":["audience"],"summary":"Chat Explore Suggestions Route","description":"Generate suggestions for an audience","operationId":"chat_explore_suggestions_route_audience_chat_explore_suggestions__audience_id__get","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Response Chat Explore Suggestions Route Audience Chat Explore Suggestions  Audience Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/import_audience":{"post":{"tags":["audience"],"summary":" Import Audience","description":"Import an audience from a table","operationId":"_import_audience_audience_import_audience_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportAudiencePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audience/chat-explore":{"post":{"tags":["audience"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_audience_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/multi_table/chat-explore":{"post":{"tags":["chat_explore"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_multi_table_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/multi_table/chat-explore-suggestions":{"post":{"tags":["chat_explore"],"summary":"Chat Explore Suggestions Route Async","description":"Generate suggestions","operationId":"chat_explore_suggestions_route_async_multi_table_chat_explore_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiTableChatExploreSuggestionsRequestPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiTableChatExploreSuggestionsResponsePayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/multi_table_chat_explore/chat-explore":{"post":{"tags":["chat_explore"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_multi_table_chat_explore_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/multi_table_chat_explore/chat-explore-suggestions":{"post":{"tags":["chat_explore"],"summary":"Chat Explore Suggestions Route Async","operationId":"chat_explore_suggestions_route_async_multi_table_chat_explore_chat_explore_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiTableChatExploreSuggestionsRequestPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultiTableChatExploreSuggestionsResponsePayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/location-intelligence/chat-params":{"post":{"summary":" Controller Model Param Chat","description":"chat define location intelligence parameters","operationId":"_controller_model_param_chat_location_intelligence_chat_params_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/location-intelligence/generate":{"post":{"summary":" Controller Generate","description":"Generate location intelligence data","operationId":"_controller_generate_location_intelligence_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationIntelligenceGeneratePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/location-intelligence/categories-with-places":{"post":{"summary":" Controller Get Categories With Places","description":"Get the categories and places","operationId":"_controller_get_categories_with_places_location_intelligence_categories_with_places_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationIntelligenceSearchPlacesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CategoryWithPlaces"},"type":"array","title":"Response  Controller Get Categories With Places Location Intelligence Categories With Places Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/location-intelligence/categories-all-places":{"post":{"summary":" Controller Get Categories All Places","description":"Get all places under provided categories","operationId":"_controller_get_categories_all_places_location_intelligence_categories_all_places_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationIntelligenceCategoriesPlacesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CategoryWithPlaces"},"type":"array","title":"Response  Controller Get Categories All Places Location Intelligence Categories All Places Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/location-intelligence/chat-explore":{"post":{"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_location_intelligence_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/measurement/build-chart":{"post":{"tags":["measurement","chat_explore"],"summary":"Build Chart","operationId":"build_chart_measurement_build_chart_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildChartPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/measurement/chart_summary":{"post":{"tags":["measurement","chat_explore"],"summary":"Chart Summary","operationId":"chart_summary_measurement_chart_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementChartSummaryPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementChartSummaryResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/measurement/dashboard_summary":{"post":{"tags":["measurement","chat_explore"],"summary":"Dashboard Summary","operationId":"dashboard_summary_measurement_dashboard_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardSummaryPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardSummaryResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/measurement/dashboard_banner_image":{"post":{"tags":["measurement","chat_explore"],"summary":" Get Banner Image","operationId":"_get_banner_image_measurement_dashboard_banner_image_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardBannerPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardBannerResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/measurement/chat-explore":{"post":{"tags":["measurement","chat_explore"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_measurement_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/measurement/chart/refresh":{"post":{"tags":["measurement","chat_explore"],"summary":" Controller Chart Refresh","operationId":"_controller_chart_refresh_measurement_chart_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementChartRefreshPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartRefreshResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/upc/upload":{"post":{"tags":["RFM UPC Processing"],"summary":"Generate Upload Url","description":"Generate a signed URL for uploading a UPC file directly to S3","operationId":"generate_upload_url_rfm_upc_upload_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateUploadUrlRequest"}}},"required":true},"responses":{"200":{"description":"Signed URL generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateUploadUrlResponse"}}}},"400":{"description":"Invalid request parameters"},"403":{"description":"Authentication required"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/upc":{"post":{"tags":["RFM UPC Processing"],"summary":"Process Upc File","description":"Process a UPC file from S3 and match UPCs against the product catalog","operationId":"process_upc_file_rfm_upc_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessUPCFileRequest"}}},"required":true},"responses":{"202":{"description":"UPC processing started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__3"}}}},"400":{"description":"Invalid request parameters"},"403":{"description":"Authentication required"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/build_lookup":{"post":{"summary":" Controller Build Rfm Lookup","description":"Builds the lookup table for an RFM model","operationId":"_controller_build_rfm_lookup_rfm_build_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__4"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/build_configuration":{"post":{"summary":" Controller Build Rfm Configuration","description":"Builds the configuration for an RFM model","operationId":"_controller_build_rfm_configuration_rfm_build_configuration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildConfigurationPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__5"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/build_growth_framework":{"post":{"summary":" Controller Build Growth Framework","description":"Builds the growth framework for an RFM model","operationId":"_controller_build_growth_framework_rfm_build_growth_framework_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildGrowthFrameworkPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__6"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/build_audience_for_growth_framework":{"post":{"summary":" Controller Build Audience For Growth Framework","description":"Builds the audience for a growth framework","operationId":"_controller_build_audience_for_growth_framework_rfm_build_audience_for_growth_framework_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildAudienceForGrowthFrameworkPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__7"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/build_audience_for_rfm":{"post":{"summary":" Controller Build Audience For Rfm","description":"Builds the audience for an RFM model","operationId":"_controller_build_audience_for_rfm_rfm_build_audience_for_rfm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildAudienceForRfmPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__8"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rfm/chat-explore":{"post":{"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_rfm_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/entertainment_suite/trends/build":{"post":{"summary":" Controller Build Trends","description":"Builds trends for an audience and timeframe","operationId":"_controller_build_trends_entertainment_suite_trends_build_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildTrendsPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response  Controller Build Trends Entertainment Suite Trends Build Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/entertainment_suite/trends/build_reflections":{"post":{"summary":" Controller Build Reflections","description":"Builds reflections for a trend","operationId":"_controller_build_reflections_entertainment_suite_trends_build_reflections_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildTrendsReflectionPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response  Controller Build Reflections Entertainment Suite Trends Build Reflections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/entertainment_suite/analytics/build_plot":{"post":{"summary":" Controller Build Plot","description":"Builds plot for a given set of keys","operationId":"_controller_build_plot_entertainment_suite_analytics_build_plot_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildAnalyticsPlotPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/entertainment_suite/analytics/build_analytics_summary":{"post":{"summary":" Controller Build Plot Summaries","description":"Builds global summary for a given set of keys","operationId":"_controller_build_plot_summaries_entertainment_suite_analytics_build_analytics_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildAnalyticsSummaryPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/entertainment_suite/chat-explore":{"post":{"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_entertainment_suite_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ad_analytics/cpg_suite/chat-explore":{"post":{"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_ad_analytics_cpg_suite_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/knowledge/parse/{document_id}":{"post":{"tags":["knowledge"],"summary":"Parse","description":"Parse uploaded documents","operationId":"parse_knowledge_parse__document_id__post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Parse Knowledge Parse  Document Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge/chat-explore-suggestions":{"post":{"tags":["knowledge"],"summary":"Chat Explore Suggestions Route Async","description":"Generate suggestions","operationId":"chat_explore_suggestions_route_async_knowledge_chat_explore_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeChatExploreSuggestionsRequestPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeChatExploreSuggestionsResponsePayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge/chat-explore":{"post":{"tags":["knowledge"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_knowledge_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/insight/chat-explore":{"post":{"tags":["insight"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_insight_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/login":{"get":{"tags":["OAuth"],"summary":"Login Oauth","description":"Initiates the OAuth2.0 flow for multiple services.","operationId":"login_oauth_oauth_login_get","parameters":[{"name":"user_id","in":"query","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_type","in":"query","required":true,"schema":{"type":"string","title":"Integration Type"}}],"responses":{"302":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/auth":{"get":{"tags":["OAuth"],"summary":"Auth","description":"OAuth2.0 callback endpoint. Service providers redirect users here after they authorize or deny the application.\nArgs:\n    request: FastAPI request instance.\n    error: Error message from the service provider if the user denied.\nReturns:\n    Redirects user to a designated part of the application or handles error scenarios.","operationId":"auth_oauth_auth_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/hubspot/{object_type}/properties":{"post":{"tags":["integrations"],"summary":" Controller Introspect Properties","operationId":"_controller_introspect_properties_integrations_introspect_hubspot__object_type__properties_post","parameters":[{"name":"object_type","in":"path","required":true,"schema":{"type":"string","title":"Object Type"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntrospectPropertiesPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HubSpotPropertyInfo"},"title":"Response  Controller Introspect Properties Integrations Introspect Hubspot  Object Type  Properties Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/connections/create":{"post":{"tags":["integrations"],"summary":" Controller Handle Create Connection","description":"Create a new connection, with properly encrypted creds","operationId":"_controller_handle_create_connection_integrations_connections_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Controller Handle Create Connection Integrations Connections Create Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/connection":{"post":{"tags":["integrations"],"summary":" Controller Handle Introspect Connection","description":"Introspects a connection, returning a list of all tables present in that connection.","operationId":"_controller_handle_introspect_connection_integrations_introspect_connection_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntrospectConnectionPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Table"},"type":"array","title":"Response  Controller Handle Introspect Connection Integrations Introspect Connection Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/connection_id/{connection_id}":{"post":{"tags":["integrations"],"summary":" Controller Handle Introspect Connection Id","description":"Introspects a preexisting connection (specified by id), returning a list of all tables present in that connection. This is useful for reusing connection information, which otherwise would need to retrieve full connection information in the frontend (not a pattern we want to encourage).","operationId":"_controller_handle_introspect_connection_id_integrations_introspect_connection_id__connection_id__post","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Table"},"title":"Response  Controller Handle Introspect Connection Id Integrations Introspect Connection Id  Connection Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/table":{"post":{"tags":["integrations"],"summary":" Controller Handle Introspect Table","description":"Introspects a table, provided the flow we're working in for necessary credentials context.","operationId":"_controller_handle_introspect_table_integrations_introspect_table_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntrospectTablePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Table"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/commit/import":{"post":{"tags":["integrations"],"summary":" Controller Handle Commit Import","description":"Performs an ad-hoc import and persists anything needed for dataset refreshes to trigger. We return the dataset_id, which the frontend uses to direct the user to the proper place.","operationId":"_controller_handle_commit_import_integrations_commit_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitImportPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Controller Handle Commit Import Integrations Commit Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/preview/predict":{"post":{"tags":["integrations"],"summary":" Controller Handle Preview Predict","description":"Represents a user providing connection details and a table of interest, and us giving them a preview of what the data transform looks like. The user is expected to follow this up with a \"Predict Commit\" request representing a user asking for an ad-hoc import and persistent prediction schedule.","operationId":"_controller_handle_preview_predict_integrations_preview_predict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewPredictPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewPredictResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/commit/predict":{"post":{"tags":["integrations"],"summary":" Controller Handle Commit Predict","description":"Represents a user formally submitting an ad-hoc import and persistent prediction schedule.","operationId":"_controller_handle_commit_predict_integrations_commit_predict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommitPredictPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-analytics-4/{connection_id}/accounts":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Accounts Route","description":"Get Google Analytics accounts.","operationId":"get_google_analytics_accounts_route_integrations_introspect_google_analytics_4__connection_id__accounts_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Get Google Analytics Accounts Route Integrations Introspect Google Analytics 4  Connection Id  Accounts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-analytics-4/{connection_id}/{account_id}/properties":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Properties Route","description":"Get Google Analytics properties.","operationId":"get_google_analytics_properties_route_integrations_introspect_google_analytics_4__connection_id___account_id__properties_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Get Google Analytics Properties Route Integrations Introspect Google Analytics 4  Connection Id   Account Id  Properties Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-analytics-4/{connection_id}/{account_id}/{property_id}/dimensions":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Dimensions Route","description":"Get Google Analytics dimensions.","operationId":"get_google_analytics_dimensions_route_integrations_introspect_google_analytics_4__connection_id___account_id___property_id__dimensions_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Get Google Analytics Dimensions Route Integrations Introspect Google Analytics 4  Connection Id   Account Id   Property Id  Dimensions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-analytics-4/{connection_id}/{account_id}/{property_id}/metrics":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Metrics Route","description":"Get Google Analytics dimensions.","operationId":"get_google_analytics_metrics_route_integrations_introspect_google_analytics_4__connection_id___account_id___property_id__metrics_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Get Google Analytics Metrics Route Integrations Introspect Google Analytics 4  Connection Id   Account Id   Property Id  Metrics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-analytics-4/{connection_id}/{account_id}/{property_id}/validate-report":{"post":{"tags":["Integrations"],"summary":"Post Google Analytics Validate Report Route","description":"Get Google Analytics report.","operationId":"post_google_analytics_validate_report_route_integrations_introspect_google_analytics_4__connection_id___account_id___property_id__validate_report_post","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportConfig"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Post Google Analytics Validate Report Route Integrations Introspect Google Analytics 4  Connection Id   Account Id   Property Id  Validate Report Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-ads/{connection_id}/accounts/{login_customer_id}/{customer_id}/children":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Account Children Route","description":"Get Google Ads accounts.","operationId":"get_google_analytics_account_children_route_integrations_introspect_google_ads__connection_id__accounts__login_customer_id___customer_id__children_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"login_customer_id","in":"path","required":true,"schema":{"type":"string","title":"Login Customer Id"}},{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GoogleAdsIntrospectionAccount"},"title":"Response Get Google Analytics Account Children Route Integrations Introspect Google Ads  Connection Id  Accounts  Login Customer Id   Customer Id  Children Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-ads/{connection_id}/accounts/top":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Top Level Account Route","description":"Get only top-level Google Ads accounts.","operationId":"get_google_analytics_top_level_account_route_integrations_introspect_google_ads__connection_id__accounts_top_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GoogleAdsIntrospectionAccount"},"title":"Response Get Google Analytics Top Level Account Route Integrations Introspect Google Ads  Connection Id  Accounts Top Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/google-ads/{connection_id}/accounts":{"get":{"tags":["Integrations"],"summary":"Get Google Analytics Accounts Route","description":"Get Google Ads accounts.","operationId":"get_google_analytics_accounts_route_integrations_introspect_google_ads__connection_id__accounts_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GoogleAdsIntrospectionAccount"},"title":"Response Get Google Analytics Accounts Route Integrations Introspect Google Ads  Connection Id  Accounts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/google-ads/ad-field-attributes":{"get":{"tags":["Integrations"],"summary":"Get Google Ads Field Attribute Names","description":"Returns a list of Field attribute names for our \"Custom\" Google Ads stream.\n\nWe derive this from the Google Ads Fields Service itself, but do so statically via a script in the tap and then copy over the results, getting us out of a *lot* of runtime while still ensuring our schema is accurate.","operationId":"get_google_ads_field_attribute_names_integrations_google_ads_ad_field_attributes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Google Ads Field Attribute Names Integrations Google Ads Ad Field Attributes Get"}}}}}}},"/integrations/google-ads/ad-segment-attributes":{"get":{"tags":["Integrations"],"summary":"Get Google Ads Segment Attribute Names","description":"Returns a list of Segment attribute names for our \"Custom\" Google Ads stream.\n\nThis is hardcoded because the list of things you can segment by for the ad_group_ads item in the Google Ads API is fairly small (~30) and rarely, if ever, changes.","operationId":"get_google_ads_segment_attribute_names_integrations_google_ads_ad_segment_attributes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Google Ads Segment Attribute Names Integrations Google Ads Ad Segment Attributes Get"}}}}}}},"/integrations/google-ads/disallowed-segment-pairs":{"get":{"tags":["Integrations"],"summary":"Get Google Ads Disallowed Segment Pairs","description":"Returns a list of disallowed segment pairs for our \"Custom\" Google Ads stream.","operationId":"get_google_ads_disallowed_segment_pairs_integrations_google_ads_disallowed_segment_pairs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Response Get Google Ads Disallowed Segment Pairs Integrations Google Ads Disallowed Segment Pairs Get"}}}}}}},"/integrations/introspect/mysql/databases":{"post":{"tags":["Integrations"],"summary":" Databases","description":"List all databases available to a given user","operationId":"_databases_integrations_introspect_mysql_databases_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__mysql__models__IntrospectDatabasesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Databases Integrations Introspect Mysql Databases Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/mysql/tables":{"post":{"tags":["Integrations"],"summary":" Tables","description":"List all tables available to a given user/database/schema","operationId":"_tables_integrations_introspect_mysql_tables_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__mysql__models__IntrospectTablesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Tables Integrations Introspect Mysql Tables Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/postgres/schemas":{"post":{"tags":["Integrations"],"summary":" Schemas","description":"List all schemas available to a given user/databse","operationId":"_schemas_integrations_introspect_postgres_schemas_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__postgres__models__IntrospectSchemasPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Schemas Integrations Introspect Postgres Schemas Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/postgres/tables":{"post":{"tags":["Integrations"],"summary":" Tables","description":"List all tables available to a given user/databae/schema","operationId":"_tables_integrations_introspect_postgres_tables_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__postgres__models__IntrospectTablesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Tables Integrations Introspect Postgres Tables Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/snowflake/databases":{"post":{"tags":["Integrations"],"summary":" Databases","description":"List all databases available to a given user","operationId":"_databases_integrations_introspect_snowflake_databases_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__snowflake__models__IntrospectDatabasesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Databases Integrations Introspect Snowflake Databases Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/snowflake/schemas":{"post":{"tags":["Integrations"],"summary":" Schemas","description":"List all schemas available to a given user/databse","operationId":"_schemas_integrations_introspect_snowflake_schemas_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__snowflake__models__IntrospectSchemasPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Schemas Integrations Introspect Snowflake Schemas Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/snowflake/tables":{"post":{"tags":["Integrations"],"summary":" Tables","description":"List all tables available to a given user/databae/schema","operationId":"_tables_integrations_introspect_snowflake_tables_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__integrations__snowflake__models__IntrospectTablesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Tables Integrations Introspect Snowflake Tables Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slack/oauth/callback":{"get":{"tags":["Slack App","OAuth"],"summary":"Handle Callback","description":"OAuth Callback / Redirect endpoint. Users are redirected here after granting us scopes. In this function, we take the temporary code we're provided and use Slack's OAuth API to exchange it for persistent credentials.","operationId":"handle_callback_slack_oauth_callback_get","parameters":[{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/_SlackErrorCodes"},{"type":"null"}],"title":"Error"}},{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slack/events":{"post":{"tags":["Slack App","Event Handler"],"summary":" Handle Slack Events","description":"Slack Webhook Handler. Used to do things like respond to users that mention the app or use our `/akkio` command.","operationId":"_handle_slack_events_slack_events_post","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/slack/channels/datasets":{"post":{"tags":["Slack App"],"summary":" Create Channel For Dataset","description":"Create new Slack channel corresponding to a given dataset_id and returns the mapping.","operationId":"_create_channel_for_dataset_slack_channels_datasets_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_CreateChannelPayload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackChannelMapping"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Slack App"],"summary":" Get By Dataset Id","description":"Returns a dataset mapping for the given dataset id.","operationId":"_get_by_dataset_id_slack_channels_datasets_get","parameters":[{"name":"owner_id","in":"query","required":true,"schema":{"type":"string","title":"Owner Id"}},{"name":"dataset_id","in":"query","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadResponseGetDatasetMapping"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slack/credentials/exists":{"get":{"tags":["Slack App"],"summary":" Exists Credentials By Owner Id Controller","description":"Determine whether we have Slack credentials on record for a given owner_id.","operationId":"_exists_credentials_by_owner_id_controller_slack_credentials_exists_get","parameters":[{"name":"owner_id","in":"query","required":true,"schema":{"type":"string","title":"Owner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response  Exists Credentials By Owner Id Controller Slack Credentials Exists Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slack/credentials/scopes-are-current/{owner_id}":{"get":{"tags":["Slack App"],"summary":" Scopes Are Current Controller","description":"Determine whether the scopes we have on file for the given owner are valid. The frontend takes our return for this and changes the button to an \"reauthentication required\" button or similar. If no credentials are found at all, we return 4xx. If credentials are found, we return true/false based on whether they're current.","operationId":"_scopes_are_current_controller_slack_credentials_scopes_are_current__owner_id__get","parameters":[{"name":"owner_id","in":"path","required":true,"schema":{"type":"string","title":"Owner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response  Scopes Are Current Controller Slack Credentials Scopes Are Current  Owner Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gendash-status/{flow_id}":{"get":{"tags":["Generative Dashboard"],"summary":"Gendash Status Route","operationId":"gendash_status_route_gendash_status__flow_id__get","parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","title":"Flow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Gendash Status Route Gendash Status  Flow Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate-dashboard/{flow_id}":{"post":{"tags":["Generative Dashboard"],"summary":"Generate Dashboard Route","operationId":"generate_dashboard_route_generate_dashboard__flow_id__post","parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","title":"Flow Id"}},{"name":"replace","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Replace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Dashboard Route Generate Dashboard  Flow Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/regenerate-gd-chart/{flow_id}/{chart_id}":{"post":{"tags":["Generative Dashboard"],"summary":"Regenerate Dashboard Route","operationId":"regenerate_dashboard_route_regenerate_gd_chart__flow_id___chart_id__post","parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","title":"Flow Id"}},{"name":"chart_id","in":"path","required":true,"schema":{"type":"string","title":"Chart Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Regenerate Dashboard Route Regenerate Gd Chart  Flow Id   Chart Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/update-dataset/{dataset_id}":{"post":{"tags":["Dataset Updates"],"summary":"Update Dataset","operationId":"update_dataset_update_dataset__dataset_id__post","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat-explore/status/{task_id}":{"get":{"tags":["Chat Explore"],"summary":" Get Chat Explore Status","description":"Retrieves the status of the provided Chat Explore task id.","operationId":"_get_chat_explore_status_api_v1_chat_explore_status__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat-explore/chats/{id}":{"get":{"tags":["Chat Explore"],"summary":" Get Chat","description":"Retrieves a chat by id.","operationId":"_get_chat_api_v1_chat_explore_chats__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"image_format","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ChatExploreImageFormat"},{"type":"null"}],"title":"Image Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ApiBaseChatRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat-explore/new":{"post":{"tags":["Chat Explore"],"summary":" Submit Chat Explore Query","description":"Query Chat Explore through API. Takes in a list of messages and gives you the message Chat Explore sent back.","operationId":"_submit_chat_explore_query_api_v1_chat_explore_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatExploreRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APITaskStartedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/projects/{project_id}":{"get":{"tags":["Projects"],"summary":" Get Project","description":"Retrieve the data for a given project.","operationId":"_get_project_api_v1_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetProjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Projects"],"summary":" Update Project","description":"Update the custom instructions attached to a given project. Updates the project with any provided non-null fields and returns the resulting Flow object.","operationId":"_update_project_api_v1_projects__project_id__put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetProjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Projects"],"summary":" Delete Project","description":"Deletes the project at the given ID.","operationId":"_delete_project_api_v1_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/projects":{"post":{"tags":["Projects"],"summary":" Create New Project","description":"Creates a new project.","operationId":"_create_new_project_api_v1_projects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetProjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/models/train/{task_id}/status":{"get":{"tags":["Training"],"summary":" Get Status Controller","description":"Retrieves the status of the provided model creation call.","operationId":"_get_status_controller_api_v1_models_train__task_id__status_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/models/train/{task_id}/result":{"get":{"tags":["Training"],"summary":" Get Result Controller","description":"Retrieves the result of a model creation call.","operationId":"_get_result_controller_api_v1_models_train__task_id__result_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Get Result Controller Api V1 Models Train  Task Id  Result Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/models/train/new":{"post":{"tags":["Training"],"summary":" Submit Controller","description":"Model creation via API.","operationId":"_submit_controller_api_v1_models_train_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APITaskStartedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api.yaml":{"get":{"tags":["API Specification"],"summary":" Get Openapi Yaml Representation","description":"YAML OpenAPI specification for this API's public endpoints.","operationId":"_get_openapi_yaml_representation_api_v1_api_yaml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/docs":{"get":{"tags":["API Specification"],"summary":" Openapi Ui","description":"Swagger UI for Akkio's API. See `/api.yaml` or `/api.json` for the raw file that you can do code generation on.","operationId":"_openapi_ui_api_v1_docs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/shopify/oauth/redirect/external":{"get":{"summary":" Handle Initiate From App Store","description":"When our app is installed through the Shopify App Store or an installation link, they will first get redirected to here. We're responsible for verifying the request came from Shopify and redirecting them to the Shopify OAuth grants page.","operationId":"_handle_initiate_from_app_store_shopify_oauth_redirect_external_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/shopify/oauth/redirect":{"get":{"summary":" Handle Redirect From Akkio","description":"Handles a Shopify connection request initiated from our website.","operationId":"_handle_redirect_from_akkio_shopify_oauth_redirect_get","parameters":[{"name":"shop","in":"query","required":true,"schema":{"type":"string","title":"Shop"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/shopify/oauth/callback":{"get":{"summary":" Handle Callback","description":"After the user either accepts or declines our scopes, they will be redirected here. If they accepted, our job here is to make another call to Shopify to turn the provided temporary token into a permanent token.","operationId":"_handle_callback_shopify_oauth_callback_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"hmac","in":"query","required":true,"schema":{"type":"string","title":"Hmac"}},{"name":"host","in":"query","required":true,"schema":{"type":"string","title":"Host"}},{"name":"shop","in":"query","required":true,"schema":{"type":"string","title":"Shop"}},{"name":"timestamp","in":"query","required":true,"schema":{"type":"string","title":"Timestamp"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/shopify/customer-data-request":{"post":{"summary":" Handle Customer Data","operationId":"_handle_customer_data_webhook_shopify_customer_data_request_post","requestBody":{"content":{"application/json":{"schema":{"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/shopify/customer-deletion-request":{"post":{"summary":" Handle Customer Deletion","operationId":"_handle_customer_deletion_webhook_shopify_customer_deletion_request_post","requestBody":{"content":{"application/json":{"schema":{"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhook/shopify/shop-deletion-request":{"post":{"summary":" Handle Shop Deletion","operationId":"_handle_shop_deletion_webhook_shopify_shop_deletion_request_post","requestBody":{"content":{"application/json":{"schema":{"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/introspect/meta/{connection_id}/accounts":{"get":{"tags":["Integrations"],"summary":"Get Meta Accounts Route","description":"Get Meta Ads accounts for a given connection.","operationId":"get_meta_accounts_route_integrations_introspect_meta__connection_id__accounts_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetaIntrospectionAccount"},"title":"Response Get Meta Accounts Route Integrations Introspect Meta  Connection Id  Accounts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/meta/form/metrics":{"get":{"tags":["Integrations"],"summary":"Get Meta Metrics Names","operationId":"get_meta_metrics_names_integrations_meta_form_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Meta Metrics Names Integrations Meta Form Metrics Get"}}}}}}},"/integrations/meta/ad-field-attributes":{"get":{"tags":["Integrations"],"summary":"Get Meta Field Attribute Names","operationId":"get_meta_field_attribute_names_integrations_meta_ad_field_attributes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Meta Field Attribute Names Integrations Meta Ad Field Attributes Get"}}}}}}},"/integrations/meta/form/dimensions":{"get":{"tags":["Integrations"],"summary":"Get Meta Dimensions Names","operationId":"get_meta_dimensions_names_integrations_meta_form_dimensions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Meta Dimensions Names Integrations Meta Form Dimensions Get"}}}}}}},"/integrations/meta/ad-segment-attributes":{"get":{"tags":["Integrations"],"summary":"Get Meta Segment Attribute Names","operationId":"get_meta_segment_attribute_names_integrations_meta_ad_segment_attributes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Meta Segment Attribute Names Integrations Meta Ad Segment Attributes Get"}}}}}}},"/integrations/meta/disallowed-dimension-pairs":{"get":{"tags":["Integrations"],"summary":"Get Meta Disallowed Dimension Pairs","operationId":"get_meta_disallowed_dimension_pairs_integrations_meta_disallowed_dimension_pairs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Response Get Meta Disallowed Dimension Pairs Integrations Meta Disallowed Dimension Pairs Get"}}}}}}},"/integrations/meta/disallowed-segment-pairs":{"get":{"tags":["Integrations"],"summary":"Get Meta Disallowed Segment Pairs","operationId":"get_meta_disallowed_segment_pairs_integrations_meta_disallowed_segment_pairs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Response Get Meta Disallowed Segment Pairs Integrations Meta Disallowed Segment Pairs Get"}}}}}}},"/integrations/introspect/linkedin-ads/{connection_id}/accounts":{"get":{"tags":["Integrations"],"summary":"Get Linkedin Accounts Route","description":"Get LinkedIn Ads accounts for a given connection.","operationId":"get_linkedin_accounts_route_integrations_introspect_linkedin_ads__connection_id__accounts_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInIntrospectionAccount"},"title":"Response Get Linkedin Accounts Route Integrations Introspect Linkedin Ads  Connection Id  Accounts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/linkedin-ads/ad-field-attributes":{"get":{"tags":["Integrations"],"summary":"Get Linkedin Ads Field Attribute Names","description":"Returns a list of Field attribute names for our \"Custom\" Linkedin stream.\n\nWe derive this from the Linked In Fields Service itself, but do so statically via a script in the tap and then copy over the results, getting us out of a *lot* of runtime while still ensuring our schema is accurate.","operationId":"get_linkedin_ads_field_attribute_names_integrations_linkedin_ads_ad_field_attributes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Linkedin Ads Field Attribute Names Integrations Linkedin Ads Ad Field Attributes Get"}}}}}}},"/edit_chart/chat/{chat_history_id}":{"post":{"tags":["chart"],"summary":" Controller Handle Edit Chart","description":"Edit a chart inline in a chat history","operationId":"_controller_handle_edit_chart_edit_chart_chat__chat_history_id__post","parameters":[{"name":"chat_history_id","in":"path","required":true,"schema":{"type":"string","title":"Chat History Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartEditingPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/edit_chart/saved/{chart_id}":{"post":{"tags":["chart"],"summary":" Controller Handle Edit Chart2","description":"Edit a chart that has been copied outside of a chat history","operationId":"_controller_handle_edit_chart2_edit_chart_saved__chart_id__post","parameters":[{"name":"chart_id","in":"path","required":true,"schema":{"type":"string","title":"Chart Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartEditingPayloadStandalone"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm_meltano_helper/parse_error":{"post":{"tags":["llm_meltano_helper"],"summary":" Controller Parse Error","description":"Parse a meltano error message via the LLM and see what we can tell the user","operationId":"_controller_parse_error_llm_meltano_helper_parse_error_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseErrorPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Controller Parse Error Llm Meltano Helper Parse Error Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transforms/new":{"post":{"tags":["Transforms"],"summary":" Handle New Transform","description":"Initialize a transform. We'll return a task_id that you can use to check the status of the transform. You can also retrieve a task_id for a currently running transform via the flow_id, which enables us to support people leaving and coming back to the transform.","operationId":"_handle_new_transform_transforms_new_post","requestBody":{"content":{"application/json":{"schema":{"title":"Body"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APITaskStartedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transforms/get-most-recent-task-id-by-dataset-id":{"get":{"tags":["Transforms"],"summary":" Handle Get Most Recent Task Id By Flow Id","description":"Get the most recent task_id of a transform run on this dataset. You can then use this to look up the status of it, and from there the result.","operationId":"_handle_get_most_recent_task_id_by_flow_id_transforms_get_most_recent_task_id_by_dataset_id_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response  Handle Get Most Recent Task Id By Flow Id Transforms Get Most Recent Task Id By Dataset Id Get"}}}}}}},"/transforms/status/{task_id}":{"get":{"tags":["Transforms"],"summary":" Handle Transform Status","description":"Query the status of a currently running transform. If complete, the location of a result will be provided -- query that location with a GET to receive the result. If failed, the error will be provided.","operationId":"_handle_transform_status_transforms_status__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transforms/results/{task_id}":{"get":{"tags":["Transforms"],"summary":" Handle Transform Result","description":"Get the result of the transform performed under the given task_id.","operationId":"_handle_transform_result_transforms_results__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refresh-live-flow-dataset/async_job":{"post":{"summary":" Controller Refresh Live Flow Dataset","description":"Initiate an ad-hoc, asynchronous refresh of a given dataset. Implements the Async Job protocol.","operationId":"_controller_refresh_live_flow_dataset_refresh_live_flow_dataset_async_job_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshLiveFlowDatasetParams"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__9"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refresh-live-flow-dataset/new":{"post":{"summary":" Controller Refresh Live Flow Dataset Async New","description":"Initiate an ad-hoc, asynchronous refresh of a given dataset. A Task ID will be returned for the client to poll with at the adjacent /status endpoint.","operationId":"_controller_refresh_live_flow_dataset_async_new_refresh_live_flow_dataset_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshLiveFlowDatasetParams"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APITaskStartedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refresh-live-flow-dataset/status/{task_id}":{"get":{"summary":" Controller Refresh Live Flow Dataset Async Status","description":"Query the status of a currently running ad-hoc, asynchronous refresh of a given dataset. If complete, the location of a result will be provided -- query that location with a GET to receive the result. If failed, the error will be provided.","operationId":"_controller_refresh_live_flow_dataset_async_status_refresh_live_flow_dataset_status__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refresh-live-flow-dataset/results/{task_id}":{"get":{"summary":" Controller Refresh Live Flow Dataset Async Result","description":"Get the result of the transform performed under the given task_id.","operationId":"_controller_refresh_live_flow_dataset_async_result_refresh_live_flow_dataset_results__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate_upload_dataset_url":{"get":{"summary":"Get Signed Upload Dataset Url","description":"Generate a temporary signed upload URL used by the frontend to upload directly to s3.","operationId":"get_signed_upload_dataset_url_generate_upload_dataset_url_get","parameters":[{"name":"dataset_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Dataset Id"}},{"name":"file_name","in":"query","required":true,"schema":{"type":"string","title":"File Name"}},{"name":"content_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate_upload_url":{"get":{"summary":"Get Signed Upload Url","description":"Generate a temporary signed upload URL used by the frontend to upload directly to s3.","operationId":"get_signed_upload_url_generate_upload_url_get","parameters":[{"name":"file_path","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"File Path"}},{"name":"content_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate_document_upload_url":{"get":{"summary":"Get Document Signed Upload Url","description":"Generate a temporary signed upload URL used by the frontend to upload document directly to s3.","operationId":"get_document_signed_upload_url_generate_document_upload_url_get","parameters":[{"name":"file_path","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"File Path"}},{"name":"content_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate_download_url":{"get":{"summary":"Get Signed Download Url","description":"Generate a temporary signed download URL used by the frontend to download directly from s3.","operationId":"get_signed_download_url_generate_download_url_get","parameters":[{"name":"file_path","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"File Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generate_download_url_with_dataset_id":{"get":{"summary":"Get Signed Download Url With Dataset Id","description":"Generate a temporary signed download URL based on the dataset's file location to beused by the frontend to download directly from s3.","operationId":"get_signed_download_url_with_dataset_id_generate_download_url_with_dataset_id_get","parameters":[{"name":"file_name","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"File Name"}},{"name":"dataset_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasources":{"get":{"tags":["Data Sources"],"summary":" Get Datasource By Org","description":"Retrieve all datasource records for the user's organization.","operationId":"_get_datasource_by_org_datasources_get","parameters":[{"name":"org_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DataSource"},"title":"Response  Get Datasource By Org Datasources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Data Sources"],"summary":" Create New Datasource","description":"Creates a new datasource.","operationId":"_create_new_datasource_datasources_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasources/{datasource_id}":{"get":{"tags":["Data Sources"],"summary":" Get Datasource","description":"Retrieve the given datasource record.","operationId":"_get_datasource_datasources__datasource_id__get","parameters":[{"name":"datasource_id","in":"path","required":true,"schema":{"type":"string","title":"Datasource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Data Sources"],"summary":" Update Datasource","description":"Update an existing datasource. Updates a datasource with any provided non-null fields and returns the resulting datasource object.","operationId":"_update_datasource_datasources__datasource_id__put","parameters":[{"name":"datasource_id","in":"path","required":true,"schema":{"type":"string","title":"Datasource Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Data Sources"],"summary":" Delete Datasource","description":"Deletes a datasource at the given ID.","operationId":"_delete_datasource_datasources__datasource_id__delete","parameters":[{"name":"datasource_id","in":"path","required":true,"schema":{"type":"string","title":"Datasource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasources/gen_supplemental_info/{datasource_id}":{"get":{"tags":["Data Sources"],"summary":" Refresh Datasource","description":"Generate supplemental info for a datasource at the given ID.","operationId":"_refresh_datasource_datasources_gen_supplemental_info__datasource_id__get","parameters":[{"name":"datasource_id","in":"path","required":true,"schema":{"type":"string","title":"Datasource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Refresh Datasource Datasources Gen Supplemental Info  Datasource Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasources/refresh_datasource_for_team/{team_id}":{"post":{"tags":["Data Sources"],"summary":" Refresh Datasource For Team","description":"Refresh a datasource's supplemental info and run watches","operationId":"_refresh_datasource_for_team_datasources_refresh_datasource_for_team__team_id__post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Refresh Datasource For Team Datasources Refresh Datasource For Team  Team Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasources/recency/{datasource_id}":{"get":{"tags":["Data Sources"],"summary":" Get Datasource Partition Date","description":"Retrieve the latest partition date for the datasource.","operationId":"_get_datasource_partition_date_datasources_recency__datasource_id__get","parameters":[{"name":"datasource_id","in":"path","required":true,"schema":{"type":"string","title":"Datasource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Get Datasource Partition Date Datasources Recency  Datasource Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/metrics/online-worker-count":{"get":{"tags":["metrics"],"summary":"Get Online Worker Count","description":"Get online celery worker count","operationId":"get_online_worker_count_metrics_online_worker_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Online Worker Count Metrics Online Worker Count Get"}}}}}}},"/segment/{segment_id}":{"get":{"tags":["segment"],"summary":" Get Segment","description":"Get segment","operationId":"_get_segment_segment__segment_id__get","parameters":[{"name":"segment_id","in":"path","required":true,"schema":{"type":"string","title":"Segment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Segment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/segment/questions":{"post":{"tags":["segment"],"summary":" Get Questions","description":"Get survey questions","operationId":"_get_questions_segment_questions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentQuestionsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SurveyQuestions"},"type":"array","title":"Response  Get Questions Segment Questions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/segment/chat-explore":{"post":{"tags":["segment"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_segment_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/llm/default_model":{"get":{"tags":["admin"],"summary":"Llm Default Model","description":"Get default LLM model","operationId":"llm_default_model_admin_llm_default_model_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Llm Default Model Admin Llm Default Model Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/llm/models":{"get":{"tags":["admin"],"summary":"Models","description":"Get all models config","operationId":"models_admin_llm_models_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Models Admin Llm Models Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/basket-analysis/get-existing":{"post":{"summary":" Controller Get Existing Basket Analysis","description":"Get existing basket analysis results","operationId":"_controller_get_existing_basket_analysis_ad_analytics_cpg_suite_basket_analysis_get_existing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasketAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BasketAnalysisResponse"},{"type":"null"}],"title":"Response  Controller Get Existing Basket Analysis Ad Analytics Cpg Suite Basket Analysis Get Existing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/basket-analysis/":{"post":{"summary":" Controller Basket Analysis","description":"Analyze products frequently purchased together with a given product","operationId":"_controller_basket_analysis_ad_analytics_cpg_suite_basket_analysis__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasketAnalysisRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/cpg-analysis/get-existing":{"post":{"summary":" Controller Get Existing Cpg Analysis","description":"Get existing CPG analysis results","operationId":"_controller_get_existing_cpg_analysis_ad_analytics_cpg_suite_cpg_analysis_get_existing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BrandAnalysisResponse"},{"$ref":"#/components/schemas/CategoryAnalysisResponse"},{"$ref":"#/components/schemas/SubcategoryAnalysisResponse"},{"$ref":"#/components/schemas/ProductAnalysisResponse"},{"$ref":"#/components/schemas/UPCAnalysisResponse"},{"type":"null"}],"title":"Response  Controller Get Existing Cpg Analysis Ad Analytics Cpg Suite Cpg Analysis Get Existing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/cpg-analysis/":{"post":{"summary":" Controller Cpg Analysis","description":"Analyze top brands, categories, products in purchase data","operationId":"_controller_cpg_analysis_ad_analytics_cpg_suite_cpg_analysis__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGAnalysisRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/purchase-behaviour/get-existing":{"post":{"summary":" Controller Get Existing Purchase Behaviour","description":"Get existing purchase behavior analysis results","operationId":"_controller_get_existing_purchase_behaviour_ad_analytics_cpg_suite_purchase_behaviour_get_existing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGBehaviourRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CPGBehaviourResponse"},{"type":"null"}],"title":"Response  Controller Get Existing Purchase Behaviour Ad Analytics Cpg Suite Purchase Behaviour Get Existing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/purchase-behaviour/":{"post":{"summary":" Controller Purchase Categories And Subcategories","description":"Analyze purchase behavior by category, subcategory, brand, or product","operationId":"_controller_purchase_categories_and_subcategories_ad_analytics_cpg_suite_purchase_behaviour__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGBehaviourRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/trends-analysis/get-existing":{"post":{"summary":"Get Existing Trends Analysis","description":"Get existing trends analysis results if they exist.","operationId":"get_existing_trends_analysis_ad_analytics_cpg_suite_trends_analysis_get_existing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrendsAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TrendsAnalysisResponse"},{"type":"null"}],"title":"Response Get Existing Trends Analysis Ad Analytics Cpg Suite Trends Analysis Get Existing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/trends-analysis/":{"post":{"summary":"Start Trends Analysis","description":"Start CPG trends analysis comparing two selections over time.","operationId":"start_trends_analysis_ad_analytics_cpg_suite_trends_analysis__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrendsAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncJobRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/turf-analysis/get-existing":{"post":{"summary":" Controller Get Existing Turf Analysis","description":"Get existing turf analysis results","operationId":"_controller_get_existing_turf_analysis_ad_analytics_cpg_suite_turf_analysis_get_existing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurfAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TurfAnalysisResponse"},{"type":"null"}],"title":"Response  Controller Get Existing Turf Analysis Ad Analytics Cpg Suite Turf Analysis Get Existing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/turf-analysis/":{"post":{"summary":" Controller Turf Analysis","description":"Analyze optimal product combinations to maximize reach (TURF analysis)","operationId":"_controller_turf_analysis_ad_analytics_cpg_suite_turf_analysis__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurfAnalysisRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/brands":{"post":{"summary":" Controller Get Brands","description":"Get brands in the purchase data","operationId":"_controller_get_brands_ad_analytics_cpg_suite_brands_post","parameters":[{"name":"sort_by_frequency","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Sort By Frequency"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGSuiteFilter"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response  Controller Get Brands Ad Analytics Cpg Suite Brands Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/categories":{"post":{"summary":" Controller Get Categories","description":"Get the categories in the purchase data","operationId":"_controller_get_categories_ad_analytics_cpg_suite_categories_post","parameters":[{"name":"sort_by_frequency","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Sort By Frequency"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGSuiteFilter"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response  Controller Get Categories Ad Analytics Cpg Suite Categories Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/subcategories":{"post":{"summary":" Controller Get Subcategories","description":"Get the subcategories in the purchase data","operationId":"_controller_get_subcategories_ad_analytics_cpg_suite_subcategories_post","parameters":[{"name":"sort_by_frequency","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Sort By Frequency"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGSuiteFilter"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response  Controller Get Subcategories Ad Analytics Cpg Suite Subcategories Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/products":{"post":{"summary":" Controller Get Products","description":"Get the products in the purchase data","operationId":"_controller_get_products_ad_analytics_cpg_suite_products_post","parameters":[{"name":"sort_by_frequency","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Sort By Frequency"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGSuiteFilter"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response  Controller Get Products Ad Analytics Cpg Suite Products Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/min-max-dates":{"post":{"summary":" Controller Get Min Max Dates","description":"Get minimum and maximum dates available in the CPG data based on filters","operationId":"_controller_get_min_max_dates_ad_analytics_cpg_suite_min_max_dates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CPGSuiteFilter"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"prefixItems":[{"type":"string","format":"date"},{"type":"string","format":"date"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Response  Controller Get Min Max Dates Ad Analytics Cpg Suite Min Max Dates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/cpg_suite/categories-with-brands":{"post":{"summary":" Controller Get Categories With Brands","description":"Get the categories with brands in the purchase data","operationId":"_controller_get_categories_with_brands_ad_analytics_cpg_suite_categories_with_brands_post","parameters":[{"name":"search_string","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search String"}},{"name":"sort_by_frequency","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Sort By Frequency"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryWithSubcategories"},"title":"Response  Controller Get Categories With Brands Ad Analytics Cpg Suite Categories With Brands Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/upc/upload":{"post":{"tags":["RFM UPC Processing"],"summary":"Generate Upload Url","description":"Generate a signed URL for uploading a UPC file directly to S3","operationId":"generate_upload_url_ad_analytics_rfm_upc_upload_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateUploadUrlRequest"}}},"required":true},"responses":{"200":{"description":"Signed URL generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateUploadUrlResponse"}}}},"400":{"description":"Invalid request parameters"},"403":{"description":"Authentication required"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/upc":{"post":{"tags":["RFM UPC Processing"],"summary":"Process Upc File","description":"Process a UPC file from S3 and match UPCs against the product catalog","operationId":"process_upc_file_ad_analytics_rfm_upc_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessUPCFileRequest"}}},"required":true},"responses":{"202":{"description":"UPC processing started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__3"}}}},"400":{"description":"Invalid request parameters"},"403":{"description":"Authentication required"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/build_lookup":{"post":{"summary":" Controller Build Rfm Lookup","description":"Builds the lookup table for an RFM model","operationId":"_controller_build_rfm_lookup_ad_analytics_rfm_build_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__4"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/build_configuration":{"post":{"summary":" Controller Build Rfm Configuration","description":"Builds the configuration for an RFM model","operationId":"_controller_build_rfm_configuration_ad_analytics_rfm_build_configuration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildConfigurationPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__5"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/build_growth_framework":{"post":{"summary":" Controller Build Growth Framework","description":"Builds the growth framework for an RFM model","operationId":"_controller_build_growth_framework_ad_analytics_rfm_build_growth_framework_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildGrowthFrameworkPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__6"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/build_audience_for_growth_framework":{"post":{"summary":" Controller Build Audience For Growth Framework","description":"Builds the audience for a growth framework","operationId":"_controller_build_audience_for_growth_framework_ad_analytics_rfm_build_audience_for_growth_framework_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildAudienceForGrowthFrameworkPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__7"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/rfm/build_audience_for_rfm":{"post":{"summary":" Controller Build Audience For Rfm","description":"Builds the audience for an RFM model","operationId":"_controller_build_audience_for_rfm_ad_analytics_rfm_build_audience_for_rfm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RFMBuildAudienceForRfmPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__8"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/entertainment/networks":{"post":{"summary":" Controller Get Networks","description":"Get networks in the entertainment data","operationId":"_controller_get_networks_ad_analytics_entertainment_networks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkFilterPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Controller Get Networks Ad Analytics Entertainment Networks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/entertainment/genres":{"post":{"summary":" Controller Get Genres","description":"Get genres in the entertainment data","operationId":"_controller_get_genres_ad_analytics_entertainment_genres_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenreFilterPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Controller Get Genres Ad Analytics Entertainment Genres Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/entertainment/dma-codes":{"post":{"summary":" Controller Get Dma Codes","description":"Get DMA codes with their descriptions from the entertainment data","operationId":"_controller_get_dma_codes_ad_analytics_entertainment_dma_codes_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DmaCodesFilterPayload"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DMA"},"type":"array","title":"Response  Controller Get Dma Codes Ad Analytics Entertainment Dma Codes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/entertainment/titles":{"post":{"summary":" Controller Get Titles","description":"Get titles in the entertainment data","operationId":"_controller_get_titles_ad_analytics_entertainment_titles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TitleFilterPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Controller Get Titles Ad Analytics Entertainment Titles Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/entertainment/partition-dates":{"post":{"summary":" Controller Get Partition Dates","description":"Get the minimum and maximum partition dates for the given filters","operationId":"_controller_get_partition_dates_ad_analytics_entertainment_partition_dates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinMaxPartitionDatePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"prefixItems":[{"type":"string","format":"date"},{"type":"string","format":"date"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Response  Controller Get Partition Dates Ad Analytics Entertainment Partition Dates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/entertainment/dates-with-data":{"post":{"summary":" Controller Get Dates With Data","description":"Get a list of dates within the given range where data is available for the specified filters","operationId":"_controller_get_dates_with_data_ad_analytics_entertainment_dates_with_data_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DateRangeDataAvailabilityPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string","format":"date"},"type":"array","title":"Response  Controller Get Dates With Data Ad Analytics Entertainment Dates With Data Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/poi/chains":{"post":{"summary":" Controller Get Chains","description":"Get chains in the POI data","operationId":"_controller_get_chains_ad_analytics_poi_chains_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{},"type":"array","title":"Response  Controller Get Chains Ad Analytics Poi Chains Post"}}}}}}},"/ad_analytics/measurement/build-chart":{"post":{"tags":["measurement","chat_explore"],"summary":"Build Chart","operationId":"build_chart_ad_analytics_measurement_build_chart_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildChartPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/measurement/chart_summary":{"post":{"tags":["measurement","chat_explore"],"summary":"Chart Summary","operationId":"chart_summary_ad_analytics_measurement_chart_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementChartSummaryPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementChartSummaryResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/measurement/dashboard_summary":{"post":{"tags":["measurement","chat_explore"],"summary":"Dashboard Summary","operationId":"dashboard_summary_ad_analytics_measurement_dashboard_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardSummaryPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardSummaryResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/measurement/dashboard_banner_image":{"post":{"tags":["measurement","chat_explore"],"summary":" Get Banner Image","operationId":"_get_banner_image_ad_analytics_measurement_dashboard_banner_image_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardBannerPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeasurementDashboardBannerResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/values":{"post":{"summary":"Get Feature Values","description":"Get unique values for a specific feature","operationId":"get_feature_values_ad_analytics_values_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeatureValuesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Feature Values Ad Analytics Values Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/hierarchy-search":{"post":{"summary":"Hierarchy Search","description":"Search across a hierarchy of columns","operationId":"hierarchy_search_ad_analytics_hierarchy_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HierarchySearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/HierarchySearchResult"},"type":"array","title":"Response Hierarchy Search Ad Analytics Hierarchy Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ad_analytics/distinct-values":{"post":{"summary":"Get Predicated Values","description":"Get distinct values for a column with optional predicates","operationId":"get_predicated_values_ad_analytics_distinct_values_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDistinctValuesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Get Predicated Values Ad Analytics Distinct Values Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/nonce":{"get":{"summary":" Handle Nonce","operationId":"_handle_nonce_nonce_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Handle Nonce Nonce Get"}}}}}}},"/stats/insights/adhoc":{"post":{"summary":" Controller Adhoc Insights","description":"Generates an adhoc insight","operationId":"_controller_adhoc_insights_stats_insights_adhoc_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightsPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response  Controller Adhoc Insights Stats Insights Adhoc Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stats/insights/generate/{audience_id}":{"post":{"summary":" Controller Handle Audience Insights","description":"Generate insights for an audience","operationId":"_controller_handle_audience_insights_stats_insights_generate__audience_id__post","parameters":[{"name":"audience_id","in":"path","required":true,"schema":{"type":"string","title":"Audience Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stats/insights/timeframe/generate":{"post":{"summary":" Controller Handle Audience Insights For Timeframe","description":"Generate Content, Media and Purchase insights for a specific audience for a specific timeframe","operationId":"_controller_handle_audience_insights_for_timeframe_stats_insights_timeframe_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeframeInsightsPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm_summarizer/generate":{"post":{"summary":" Controller Generate Summary","description":"Generates a title for a given snippet","operationId":"_controller_generate_summary_llm_summarizer_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryGenerationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Generate Summary Llm Summarizer Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/images/generic":{"get":{"summary":" Get Image Url For Generic Prompt","description":"Generic passthrough for image generation via custom model.\nUses env-parameterized image model where relevant.","operationId":"_get_image_url_for_generic_prompt_images_generic_get","parameters":[{"name":"prompt","in":"query","required":true,"schema":{"type":"string","title":"Prompt"}},{"name":"width","in":"query","required":true,"schema":{"type":"integer","title":"Width"}},{"name":"height","in":"query","required":true,"schema":{"type":"integer","title":"Height"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Get Image Url For Generic Prompt Images Generic Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/images/tv":{"get":{"summary":" Get Image Url For Tv Show Controller","description":"Gets the URL of an image corresponding to the provided TV Show.\nInternal implementation relies on TVMaze for a rule-based mechanism to retrieve images.","operationId":"_get_image_url_for_tv_show_controller_images_tv_get","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Get Image Url For Tv Show Controller Images Tv Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/images/company":{"get":{"summary":" Get Image Url For Company Controller","description":"Gets the URL of an image corresponding to the provided network. Looking at the data available to us, should be sufficient for all of the following use cases:\n- broadcast network / cable network (cbs, nfl, fox, espn, ...)\n- device (xfinity, dish, directv, ...)\n- service (youtube, youtube tv, tubi, ...)\n\nInternal implementation relies on TVMaze for a rule-based mechanism to retrieve images.","operationId":"_get_image_url_for_company_controller_images_company_get","parameters":[{"name":"company_name","in":"query","required":true,"schema":{"type":"string","title":"Company Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Get Image Url For Company Controller Images Company Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/images/genre":{"get":{"summary":" Get Image Url For Genre Controller","description":"Gets the URL of an image corresponding to the provided Device.\nThis seems reasonably finitely bounded, so we simply use an LLM to coerce the input to one of our \"known\" genres, then have a predefined list of images corresponding to each.","operationId":"_get_image_url_for_genre_controller_images_genre_get","parameters":[{"name":"genre_name","in":"query","required":true,"schema":{"type":"string","title":"Genre Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Get Image Url For Genre Controller Images Genre Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sql-transforms/preview":{"post":{"tags":["Transforms (SQL)"],"summary":" Handle Sql Transform Preview","description":"Preview the result of a transform.","operationId":"_handle_sql_transform_preview_sql_transforms_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SQLTransformPreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncJobRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sql-transforms/commit":{"post":{"tags":["Transforms (SQL)"],"summary":" Handle Sql Transform Commit","description":"Fully commit a transform.","operationId":"_handle_sql_transform_commit_sql_transforms_commit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SQLTransformCommitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsyncJobRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":" Health Check Slash Health Controller","operationId":"_health_check_slash_health_controller_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health-check":{"get":{"summary":" Health Check Get","operationId":"_health_check_get_health_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":" Health Check Head","operationId":"_health_check_head_health_check_head","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/version":{"get":{"summary":" Controller Version","operationId":"_controller_version_version_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/synthetics/sanity":{"get":{"tags":["Synthetics"],"summary":" Synthetics Sanity","description":"Authenticated endpoint for Datadog Synthetics to verify connectivity.","operationId":"_synthetics_sanity_synthetics_sanity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response  Synthetics Sanity Synthetics Sanity Get"}}}}}}},"/synthetics/datasources/summary":{"get":{"tags":["Synthetics"],"summary":" Synthetics Datasources Summary","description":"Lightweight count of datasources for the resolved org.","operationId":"_synthetics_datasources_summary_synthetics_datasources_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyntheticsDatasourcesSummaryResponse"}}}}}}},"/synthetics/instance/datasources":{"get":{"tags":["Synthetics"],"summary":" Synthetics Instance Datasources","description":"Total count of datasources for the instance.","operationId":"_synthetics_instance_datasources_synthetics_instance_datasources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyntheticsInstanceDatasourcesResponse"}}}}}}},"/synthetics/instance/organizations":{"get":{"tags":["Synthetics"],"summary":" Synthetics Instance Organizations","description":"Total count of organizations for the instance.","operationId":"_synthetics_instance_organizations_synthetics_instance_organizations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyntheticsInstanceOrganizationsResponse"}}}}}}},"/synthetics/instance/datasources/supplemental-info/stale":{"get":{"tags":["Synthetics"],"summary":" Synthetics Instance Stale Datasource Tables","description":"Return all datasource tables that are considered stale","operationId":"_synthetics_instance_stale_datasource_tables_synthetics_instance_datasources_supplemental_info_stale_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SyntheticsInstanceStaleDatasourceTablesResponse"},"type":"array","title":"Response  Synthetics Instance Stale Datasource Tables Synthetics Instance Datasources Supplemental Info Stale Get"}}}}}}},"/synthetics/instance/datasources/supplemental-info/status":{"get":{"tags":["Synthetics"],"summary":" Synthetics Instance Datasources Supplemental Info Status","description":"Get supplemental info status for all datasources in the instance.","operationId":"_synthetics_instance_datasources_supplemental_info_status_synthetics_instance_datasources_supplemental_info_status_get","parameters":[{"name":"time_delta_hours","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Time Delta Hours"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DataSourceType"}},{"type":"null"}],"title":"Exclude Types"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyntheticsInstanceDataSourceSuppInfoStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/get-cleaning-ops":{"get":{"summary":" Controller Get Cleaning Ops","operationId":"_controller_get_cleaning_ops_get_cleaning_ops_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/_DataCleaningOp"},"type":"array","title":"Response  Controller Get Cleaning Ops Get Cleaning Ops Get"}}}}}}},"/parse":{"post":{"summary":" Parse Route","operationId":"_parse_route_parse_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ParseDatasetRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Parse Route Parse Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refresh":{"post":{"summary":" Refresh Route","operationId":"_refresh_route_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ParseDatasetRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chart/refresh":{"post":{"tags":["chart"],"summary":" Controller Chart Refresh","operationId":"_controller_chart_refresh_chart_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartRefreshPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartRefreshResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chart/jobs/enrich":{"post":{"tags":["chart"],"summary":" Controller Enrich Chart","operationId":"_controller_enrich_chart_chart_jobs_enrich_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat-explore-chart-update":{"post":{"summary":"Chat Explore Chart Update Route","description":"Refreshes data for a given chart_id by re-running the most recent code we find in the associated message chain.","operationId":"chat_explore_chart_update_route_chat_explore_chart_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ChartUpdateParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Chat Explore Chart Update Route Chat Explore Chart Update Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/example/health":{"get":{"tags":["Proof of Concept"],"summary":" Controller Health","operationId":"_controller_health_proof_of_concept_example_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proof-of-concept/example/chat-explore":{"post":{"tags":["Proof of Concept"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_proof_of_concept_example_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proof-of-concept/example/chat-explore-suggestions":{"get":{"tags":["Proof of Concept"],"summary":" Controller Chat Explore Suggestions","operationId":"_controller_chat_explore_suggestions_proof_of_concept_example_chat_explore_suggestions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proof-of-concept/forecasting/create":{"post":{"tags":["Proof of Concept"],"summary":" Create Forecast","operationId":"_create_forecast_proof_of_concept_forecasting_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastLineChartPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastLineChartResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/forecasting/suggestions":{"post":{"tags":["Proof of Concept"],"summary":" Create Suggestions","operationId":"_create_suggestions_proof_of_concept_forecasting_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastSuggestionsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastSuggestionsResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/chat-explore-suggestions":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":"Chat Explore Suggestions Route Async","description":"Generate suggestions","operationId":"chat_explore_suggestions_route_async_proof_of_concept_rco_chat_explore_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Chat Explore Suggestions Route Async Proof Of Concept Rco Chat Explore Suggestions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/chat-explore":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Controller Chat Explore","operationId":"_controller_chat_explore_proof_of_concept_rco_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proof-of-concept/rco/available_reach_curve_units":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Get Available Reach Curve Units","operationId":"_get_available_reach_curve_units_proof_of_concept_rco_available_reach_curve_units_post","parameters":[{"name":"target_audience","in":"query","required":true,"schema":{"type":"string","title":"Target Audience"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResponseUnits"},"title":"Response  Get Available Reach Curve Units Proof Of Concept Rco Available Reach Curve Units Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/reach_curves":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Get Reach Curve For Media Plan Scope","operationId":"_get_reach_curve_for_media_plan_scope_proof_of_concept_rco_reach_curves_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaPlanScope"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"$ref":"#/components/schemas/ReachCurve-Output"},"type":"object","title":"Response  Get Reach Curve For Media Plan Scope Proof Of Concept Rco Reach Curves Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/optimize":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Get Reach Curve Optimization","operationId":"_get_reach_curve_optimization_proof_of_concept_rco_optimize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"integer"},{"$ref":"#/components/schemas/OptimizeErrorPayload"}],"title":"Response  Get Reach Curve Optimization Proof Of Concept Rco Optimize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/optimized-over-budget":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Get Reach Curve Optimization Over Budget","operationId":"_get_reach_curve_optimization_over_budget_proof_of_concept_rco_optimized_over_budget_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizedOverBudgetPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"integer"},"type":"array","title":"Response  Get Reach Curve Optimization Over Budget Proof Of Concept Rco Optimized Over Budget Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/targets":{"get":{"tags":["Proof of Concept","chat_explore"],"summary":" Get Reach Curve Targets","operationId":"_get_reach_curve_targets_proof_of_concept_rco_targets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},"type":"array","title":"Response  Get Reach Curve Targets Proof Of Concept Rco Targets Get"}}}}}}},"/proof-of-concept/rco/edit-reach-curve":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Post Edit Reach Curve","operationId":"_post_edit_reach_curve_proof_of_concept_rco_edit_reach_curve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditReachCurvePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReachCurve-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/upload-from-s3":{"get":{"tags":["Proof of Concept","chat_explore"],"summary":" Upload From S3","operationId":"_upload_from_s3_proof_of_concept_rco_upload_from_s3_get","parameters":[{"name":"s3_path","in":"query","required":true,"schema":{"type":"string","title":"S3 Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"title":"Response  Upload From S3 Proof Of Concept Rco Upload From S3 Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proof-of-concept/rco/banner-image":{"post":{"tags":["Proof of Concept","chat_explore"],"summary":" Get Banner Image","operationId":"_get_banner_image_proof_of_concept_rco_banner_image_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaPlanScope"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Get Banner Image Proof Of Concept Rco Banner Image Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/churnable_tables":{"get":{"tags":["modeling"],"summary":" Get Churnable Tables Controller","operationId":"_get_churnable_tables_controller_modeling_propensity_churnable_tables_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ChurnableTable"},"type":"array","title":"Response  Get Churnable Tables Controller Modeling Propensity Churnable Tables Get"}}}}}}},"/modeling/propensity/provider_fields":{"post":{"tags":["modeling"],"summary":" Get Provider Fields Controller","operationId":"_get_provider_fields_controller_modeling_propensity_provider_fields_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetProviderFieldsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response  Get Provider Fields Controller Modeling Propensity Provider Fields Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/generate_preview":{"post":{"tags":["modeling"],"summary":" Generate Preview Controller","operationId":"_generate_preview_controller_modeling_propensity_generate_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratePreviewPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__10"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/generate_fi":{"post":{"tags":["modeling"],"summary":" Generate Fi Controller","operationId":"_generate_fi_controller_modeling_propensity_generate_fi_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateFIPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__11"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/train_model":{"post":{"tags":["modeling"],"summary":" Train Model Controller","operationId":"_train_model_controller_modeling_propensity_train_model_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainModelPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__12"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/predict":{"post":{"tags":["modeling"],"summary":" Predict Controller","operationId":"_predict_controller_modeling_propensity_predict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__13"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/create_audience":{"post":{"tags":["modeling"],"summary":" Create Audience From Predictions Controller","operationId":"_create_audience_from_predictions_controller_modeling_propensity_create_audience_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAudienceFromPredictionsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__14"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/create_audience_from_backtest":{"post":{"tags":["modeling"],"summary":" Create Audience From Backtest Controller","operationId":"_create_audience_from_backtest_controller_modeling_propensity_create_audience_from_backtest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAudienceFromBacktestPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__15"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/compare_decision_thresholds":{"post":{"tags":["modeling"],"summary":" Compare Decision Thresholds Controller","operationId":"_compare_decision_thresholds_controller_modeling_propensity_compare_decision_thresholds_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareDecisionThresholdsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionThresholdResults"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/get_shap_values":{"post":{"tags":["modeling"],"summary":" Get Shap Values Controller","operationId":"_get_shap_values_controller_modeling_propensity_get_shap_values_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetShapValuesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"items":{},"type":"array"}],"title":"Response  Get Shap Values Controller Modeling Propensity Get Shap Values Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/propensity/generate_shap_values_download_url":{"post":{"tags":["modeling"],"summary":" Generate Shap Values Download Url Controller","operationId":"_generate_shap_values_download_url_controller_modeling_propensity_generate_shap_values_download_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateShapValuesDownloadUrlPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response  Generate Shap Values Download Url Controller Modeling Propensity Generate Shap Values Download Url Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/modeling/chat_params":{"post":{"tags":["modeling"],"summary":" Controller Model Param Chat","description":"chat define modeling parameters","operationId":"_controller_model_param_chat_modeling_chat_params_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":" Request Route Get","operationId":"_request_route_get__get","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response  Request Route Get  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":" Request Route Post","operationId":"_request_route_post__post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response  Request Route Post  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forecast-preview":{"post":{"summary":" Controller Forecast Preview","operationId":"_controller_forecast_preview_forecast_preview_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/inference":{"get":{"summary":" Controller Inference Get","operationId":"_controller_inference_get_inference_get","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":" Controller Inference","operationId":"_controller_inference_inference_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/inference-status":{"get":{"summary":" Controller Inference Status","operationId":"_controller_inference_status_inference_status_get","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cluster-suggestions":{"post":{"summary":" Handle Cluster Suggestions","operationId":"_handle_cluster_suggestions_cluster_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterSuggestionsRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterSuggestionsResponsePayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/merge":{"post":{"summary":" Controller Merge","operationId":"_controller_merge_merge_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/merge-status":{"post":{"summary":" Controller Merge Status","operationId":"_controller_merge_status_merge_status_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth-integration":{"post":{"summary":" Controller Auth Integration","operationId":"_controller_auth_integration_auth_integration_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response  Controller Auth Integration Auth Integration Post"}}}}}}},"/list-zapier-flows":{"get":{"summary":" Controller List Zapier Flows","operationId":"_controller_list_zapier_flows_list_zapier_flows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response  Controller List Zapier Flows List Zapier Flows Get"}}}}}}},"/list-flow-fields":{"get":{"summary":" Controller List Flow Fields","operationId":"_controller_list_flow_fields_list_flow_fields_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response  Controller List Flow Fields List Flow Fields Get"}}}}}}},"/list-categorical-field-values":{"get":{"summary":" Controller List Categorical Field Values","operationId":"_controller_list_categorical_field_values_list_categorical_field_values_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/zapier-api":{"post":{"summary":" Controller Zapier Api","operationId":"_controller_zapier_api_zapier_api_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/create-integration-output":{"post":{"summary":" Controller Create Integration Output","operationId":"_controller_create_integration_output_create_integration_output_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Request Dict"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response  Controller Create Integration Output Create Integration Output Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hubspot-contacts":{"get":{"summary":" Controller Hubspot Contacts","operationId":"_controller_hubspot_contacts_hubspot_contacts_get","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Hubspot Contacts Hubspot Contacts Get"}}}}}}},"/dashboard-name":{"post":{"summary":" Controller Dashboard Name","operationId":"_controller_dashboard_name_dashboard_name_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardNameRequestPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardNameResponsePayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/group-forecast":{"post":{"summary":" Controller Group Forecast","operationId":"_controller_group_forecast_group_forecast_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/{route}":{"get":{"summary":"External Api Route Get","operationId":"external_api_route_get_v1__route__get","parameters":[{"name":"route","in":"path","required":true,"schema":{"enum":["datasets","models"],"type":"string","title":"Route"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"External Api Route Post","operationId":"external_api_route_post_v1__route__post","parameters":[{"name":"route","in":"path","required":true,"schema":{"enum":["datasets","models"],"type":"string","title":"Route"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"External Api Route Delete","operationId":"external_api_route_delete_v1__route__delete","parameters":[{"name":"route","in":"path","required":true,"schema":{"enum":["datasets","models"],"type":"string","title":"Route"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/train":{"get":{"summary":"Train Route Get","operationId":"train_route_get_train_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Train Route Post","operationId":"train_route_post_train_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/clone-lifecycle":{"post":{"summary":" Controller Clone Lifecycle","operationId":"_controller_clone_lifecycle_clone_lifecycle_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response  Controller Clone Lifecycle Clone Lifecycle Post"}}}}}}},"/status":{"get":{"summary":"Status Route Get","operationId":"status_route_get_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Status Route Post","operationId":"status_route_post_status_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/snapshot":{"get":{"summary":"Snapshot Route Get","operationId":"snapshot_route_get_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Snapshot Route Post","operationId":"snapshot_route_post_snapshot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api":{"get":{"summary":"Api Route Get","operationId":"api_route_get_api_get","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Api Route Post","operationId":"api_route_post_api_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat-explore":{"post":{"summary":"Chat Explore Route","operationId":"chat_explore_route_chat_explore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/chat-explore-suggestions":{"post":{"summary":"Chat Explore Suggestions Route","operationId":"chat_explore_suggestions_route_chat_explore_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatExploreSuggestionsRequestPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Response Chat Explore Suggestions Route Chat Explore Suggestions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat-explore-ratings":{"post":{"summary":"Chat Explore Ratings Route","operationId":"chat_explore_ratings_route_chat_explore_ratings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rating"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Chat Explore Ratings Route Chat Explore Ratings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AISummary":{"properties":{"summary":{"type":"string","title":"Summary"},"keyDifference":{"type":"object","title":"Keydifference"}},"additionalProperties":true,"type":"object","required":["summary","keyDifference"],"title":"AISummary"},"APIChatMessage":{"properties":{"role":{"$ref":"#/components/schemas/RolesEnum","description":"The role of this message. User indicates the user sent the message, assistant indicates the assistant sent the message."},"content":{"type":"string","title":"Content","description":"The text content of this message."},"images":{"items":{"anyOf":[{"type":"string"},{"type":"object"}]},"type":"array","title":"Images","description":"List of images for this message (potentially of length zero). May be exposed either as a base64 string or as stringified Plotly JSON, typically if the user requested it as such.","default":[]},"table":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Table","description":"If there exists a table for this message, this will be set to a list of objects/records, where each record has a key of the column name and a value for that row's corresponding value for the column."}},"additionalProperties":true,"type":"object","required":["role","content"],"title":"APIChatMessage"},"APIStatusMetadataFailed":{"properties":{"type":{"type":"string","enum":["FAILED"],"const":"FAILED","title":"Type","default":"FAILED"},"error":{"type":"string","title":"Error","description":"If provided, a text representation of what went wrong with the task, including if any action on your part may rectify the issue.","default":"Unable to complete request. Please verify your inputs, try again later, or get in touch at support@akkio.com."}},"additionalProperties":true,"type":"object","title":"APIStatusMetadataFailed"},"APIStatusMetadataInProgress":{"properties":{"type":{"type":"string","enum":["IN_PROGRESS"],"const":"IN_PROGRESS","title":"Type","default":"IN_PROGRESS"},"estimate_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimate Seconds","description":"If provided, an estimate of how many seconds we expect this task to take. This value should be treated as a rough estimate on a best-effort basis, not a guarantee."}},"additionalProperties":true,"type":"object","title":"APIStatusMetadataInProgress"},"APIStatusMetadataPending":{"properties":{"type":{"type":"string","enum":["PENDING"],"const":"PENDING","title":"Type","default":"PENDING"}},"additionalProperties":true,"type":"object","title":"APIStatusMetadataPending"},"APIStatusMetadataSucceeded":{"properties":{"type":{"type":"string","enum":["SUCCEEDED"],"const":"SUCCEEDED","title":"Type","default":"SUCCEEDED"},"location":{"type":"string","title":"Location","description":"The path at which you can submit a GET request to retrieve the result of the successful job. May require proper authentication or authorization to access."}},"additionalProperties":true,"type":"object","required":["location"],"title":"APIStatusMetadataSucceeded"},"APIStatusResponse":{"properties":{"status":{"$ref":"#/components/schemas/TaskStatusEnum","description":"The current status of the task being queried."},"metadata":{"oneOf":[{"$ref":"#/components/schemas/APIStatusMetadataPending"},{"$ref":"#/components/schemas/APIStatusMetadataInProgress"},{"$ref":"#/components/schemas/APIStatusMetadataSucceeded"},{"$ref":"#/components/schemas/APIStatusMetadataFailed"}],"title":"Metadata","description":"Metadata, contextually dependent on the status of the task being queried.","discriminator":{"propertyName":"type","mapping":{"FAILED":"#/components/schemas/APIStatusMetadataFailed","IN_PROGRESS":"#/components/schemas/APIStatusMetadataInProgress","PENDING":"#/components/schemas/APIStatusMetadataPending","SUCCEEDED":"#/components/schemas/APIStatusMetadataSucceeded"}}}},"additionalProperties":true,"type":"object","required":["status","metadata"],"title":"APIStatusResponse"},"APITaskStartedResponse":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"The ID of the task that was started. This is generally queryable at a nearby `/status` endpoint to get the current status of the task."}},"additionalProperties":true,"type":"object","required":["task_id"],"title":"APITaskStartedResponse"},"AdTheorentPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"clientID":{"type":"string","title":"Clientid","description":"Client ID"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","clientID"],"title":"AdTheorentPlatformOneTargetPayload"},"AllocationUnits":{"type":"string","enum":["GRP","COST","IMPRESSIONS"],"title":"AllocationUnits"},"AmazonPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"cfid":{"type":"string","title":"Cfid","description":"CFID for Amazon API. Amazon Advertiser ID."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","cfid"],"title":"AmazonPlatformOneTargetPayload"},"AppNexusXandrInvestPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"memberIds":{"type":"string","title":"Memberids","description":"Enter multiple member billing IDs separated by a comma. Consists of digits, \",\", and \" \"."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","memberIds"],"title":"AppNexusXandrInvestPlatformOneTargetPayload"},"AsyncJobRecord":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"title":"Response","description":"async response"}},"type":"object","title":"AsyncJobRecord","description":"Do NOT access this table directly."},"AsyncJobStreamRecord":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"async_jobs_id":{"type":"integer","title":"Async Jobs Id","description":"Async Job ID"},"message":{"type":"string","title":"Message","description":"stream message"},"payload":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Payload","description":"stream payload"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"}},"type":"object","required":["async_jobs_id","message"],"title":"AsyncJobStreamRecord","description":"Do NOT access this table directly."},"Audience":{"properties":{"id":{"type":"string","title":"Id","description":"ID of this object."},"_markedForDeletion":{"type":"boolean","title":" Markedfordeletion","description":"marked if record has been soft-deleted.","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"name":{"type":"string","title":"Name","description":"The name of the audience."},"description":{"type":"string","title":"Description","description":"description of the audience.","default":""},"owner":{"type":"string","title":"Owner","description":"The owner of the audience."},"teamId":{"type":"string","title":"Teamid","description":"The team ID associated with the audience."},"projectId":{"type":"string","title":"Projectid","description":"The ID of the project associated with the audience."},"chatRecordId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatrecordid","description":"The ID of the chat record associated with the audience."},"state":{"$ref":"#/components/schemas/TaskStatusEnum","description":"The state of the audience generation.","default":"PENDING"},"audienceSql":{"type":"string","title":"Audiencesql","description":"The SQL query defining the audience."},"audienceQueryJson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audiencequeryjson","description":"The JSON defining the audience query."},"saved_to_db":{"type":"boolean","title":"Saved To Db","description":"Whether the audience is saved to the database."},"llm_generated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Llm Generated","description":"Whether the audience was generated by LLM.","default":true},"isGlobalAudience":{"type":"boolean","title":"Isglobalaudience","description":"Whether the audience is global or pre-generated.","default":false},"isSavedByUser":{"type":"boolean","title":"Issavedbyuser","description":"Whether the audience was saved by the user.","default":false},"audienceInsights":{"type":"object","title":"Audienceinsights","description":"Insights related to the audience.","default":{}},"bannerImagePath":{"type":"string","title":"Bannerimagepath","description":"storage path for the audience banner.","default":""},"data":{"items":{},"type":"array","title":"Data","description":"The data for the audience.","default":[]},"sources":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sources","description":"The source tables used for the audience."},"comment":{"anyOf":[{"type":"string"},{"type":"object"},{"type":"null"}],"title":"Comment","description":"details on failure."},"imported":{"type":"boolean","title":"Imported","description":"Whether the audience was imported.","default":false},"num_rows":{"type":"integer","title":"Num Rows","description":"The number of rows in the audience.","default":0},"last_refreshed":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Refreshed","description":"datetime object representing when this audience was last refreshed."},"distribution_invalidity":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Distribution Invalidity","description":"Dict representing validity to distribute audience to various targets."},"startingAudienceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Startingaudienceid","description":"Base audience id","default":""}},"additionalProperties":true,"type":"object","required":["name","owner","teamId","projectId","audienceSql","saved_to_db"],"title":"Audience"},"AudienceChartUpdatePayload":{"properties":{"audience_id":{"type":"string","title":"Audience Id","description":"Audience ID's to update chart with"},"chat_id":{"type":"string","title":"Chat Id","description":"Chat record to update"}},"additionalProperties":true,"type":"object","required":["audience_id","chat_id"],"title":"AudienceChartUpdatePayload"},"AudienceDistributionPayload":{"properties":{"audience_distribution_group_id":{"type":"string","title":"Audience Distribution Group Id","description":"ID of the Audience Distribution Group"}},"additionalProperties":true,"type":"object","required":["audience_distribution_group_id"],"title":"AudienceDistributionPayload"},"AudienceDistributionTargetType":{"type":"string","enum":["dv360-p1","trade-desk-p1","meta-p1","tiktok-p1","amazon-p1","snapchat-p1","teads-p1","pinterest-p1","pandora-p1","disney-plus-p1","roku-p1","comcast-p1","spectrum-total-p1","pubmatic-p1","lg-ads-p1","appnexus-xandr-invest-p1","sling-tv-p1","samsung-ads-p1","linkedin-p1","magnite-p1","beeswax-p1","dish-p1","4info-p1","undertone-p1","index-exchange-p1","yahoo-verizon-media-dsp-p1","openx-p1","univision-p1","directv-safehaven-p1","criteo-p1","sabio-p1","groundtruth-p1","taboola-p1","kargo-p1","inmobi-p1","loopme-p1","nativo-p1","unity-p1","adtheorent-p1","lotame-usa-p1","centro-p1","triton-digital-p1","dmp-p1","dv360-direct","trade-desk-direct","meta-direct"],"title":"AudienceDistributionTargetType"},"AudienceLAL":{"properties":{"id":{"type":"string","title":"Id","description":"ID of this object."},"_markedForDeletion":{"type":"boolean","title":" Markedfordeletion","description":"marked if record has been soft-deleted.","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"lalId":{"type":"string","title":"Lalid","description":"The ID of the lookalike audience."},"audienceId":{"type":"string","title":"Audienceid","description":"The ID of the audience."},"options":{"type":"object","title":"Options","description":"The options for the lookalike audience."},"status":{"type":"string","title":"Status","description":"The status of the lookalike audience."},"inference_set_size":{"type":"integer","title":"Inference Set Size","description":"The size of the inference set.","default":-1},"ignore_columns":{"items":{"type":"string"},"type":"array","title":"Ignore Columns","description":"The passthrough columns of the lookalike model.","default":[]},"probabilities":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Probabilities","description":"The sorted probabilities of the lookalike audience."},"defaultStatsConfidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Defaultstatsconfidence","description":"The default stats confidence of the lookalike audience."},"defaultStats":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Defaultstats","description":"The default stats of the lookalike audience."},"featureImportance":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Featureimportance","description":"The feature importance of the lookalike audience."},"top_factors":{"items":{"$ref":"#/components/schemas/TopFactor"},"type":"array","title":"Top Factors","description":"The top factors of the lookalike audience.","default":[]},"executionDuration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Executionduration","description":"The execution duration of the lookalike audience."}},"additionalProperties":true,"type":"object","required":["lalId","audienceId","options","status"],"title":"AudienceLAL"},"AudienceNameUpdatePayload":{"properties":{"new_audience_name":{"type":"string","title":"New Audience Name","description":"New audience name"}},"additionalProperties":true,"type":"object","required":["new_audience_name"],"title":"AudienceNameUpdatePayload"},"AudienceOverlapPayload":{"properties":{"audiences":{"items":{"type":"string"},"type":"array","title":"Audiences","description":"Audience ID's to compare"}},"additionalProperties":true,"type":"object","required":["audiences"],"title":"AudienceOverlapPayload"},"AudienceRefreshPayload":{"properties":{"targets":{"items":{"$ref":"#/components/schemas/RefreshTargetEnum"},"type":"array","title":"Targets","description":"List of entities to refresh: 'audience', 'overview', 'insights', 'lookalike'. This list can not be empty","default":[]},"insight_context_list":{"anyOf":[{"items":{"$ref":"#/components/schemas/InsightContext"},"type":"array"},{"type":"null"}],"title":"Insight Context List","description":"Limit insight refresh to specific insights. This parameter is ignored if insights are not being refresed in this call."}},"additionalProperties":false,"type":"object","title":"AudienceRefreshPayload"},"AudienceSegment":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the segment."},"cluster_id":{"type":"integer","title":"Cluster Id","description":"The cluster ID of the segment."},"overview":{"type":"object","title":"Overview","description":"The overview statistics of the segment.","default":{}},"description":{"type":"string","title":"Description","description":"The description of the segment.","default":""},"topFactors":{"items":{"$ref":"#/components/schemas/TopFactor"},"type":"array","title":"Topfactors","description":"The top factors of the segment.","default":[]},"bannerImagePath":{"type":"string","title":"Bannerimagepath","description":"The banner image path of the segment.","default":""},"aiSummary":{"items":{"$ref":"#/components/schemas/AISummary"},"type":"array","title":"Aisummary","description":"The AI summary of the segment.","default":[]}},"additionalProperties":true,"type":"object","required":["name","cluster_id"],"title":"AudienceSegment"},"AudienceSegmentation":{"properties":{"segId":{"type":"string","title":"Segid","description":"The ID of the lookalike audience."},"audience_id_fs":{"type":"string","title":"Audience Id Fs","description":"The ID of the audience."},"status":{"$ref":"#/components/schemas/ModelStatus","description":"The status of the lookalike audience."},"options":{"type":"object","title":"Options","description":"The options for the lookalike audience.","default":{}},"featureImportance":{"items":{"type":"object"},"type":"array","title":"Featureimportance","description":"The feature importance of the segmentation.","default":[]},"ignoreColumns":{"items":{"type":"string"},"type":"array","title":"Ignorecolumns","description":"The passthrough columns of the lookalike model."},"numSegments":{"type":"integer","title":"Numsegments","description":"The number of segments.","default":0},"segments":{"items":{"$ref":"#/components/schemas/AudienceSegment"},"type":"array","title":"Segments","description":"The segments of the audience."},"execution_duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Execution Duration","description":"The execution duration of the segmentation."}},"additionalProperties":true,"type":"object","required":["segId","audience_id_fs","status","ignoreColumns","segments"],"title":"AudienceSegmentation"},"AudienceSegmentationRecord":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"seg_id":{"type":"string","title":"Seg Id","description":"The ID of the lookalike audience."},"audience_id_fs":{"type":"string","title":"Audience Id Fs","description":"The ID of the audience."},"status":{"$ref":"#/components/schemas/ModelStatus","description":"The status of the lookalike audience."},"data":{"$ref":"#/components/schemas/AudienceSegmentation","description":"Audience segmentation data"}},"type":"object","required":["seg_id","audience_id_fs","status","data"],"title":"AudienceSegmentationRecord"},"BasketAnalysisRequest":{"properties":{"target":{"$ref":"#/components/schemas/TargetSelection","description":"The target field and value to analyze co-purchases for"},"filters":{"$ref":"#/components/schemas/CPGSuiteFilter","description":"Filters to apply to the data"}},"additionalProperties":true,"type":"object","required":["target","filters"],"title":"BasketAnalysisRequest","description":"Request for basket analysis - finding products frequently purchased together."},"BasketAnalysisResponse":{"properties":{"co_purchased_products_lift":{"items":{"$ref":"#/components/schemas/CoPurchasedProduct"},"type":"array","title":"Co Purchased Products Lift","description":"Products frequently purchased with the focal product, sorted by lift"},"co_purchased_products_confidence":{"items":{"$ref":"#/components/schemas/CoPurchasedProduct"},"type":"array","title":"Co Purchased Products Confidence","description":"Products frequently purchased with the focal product, sorted by confidence"},"co_purchased_products_support":{"items":{"$ref":"#/components/schemas/CoPurchasedProduct"},"type":"array","title":"Co Purchased Products Support","description":"Products frequently purchased with the focal product, sorted by support"}},"additionalProperties":true,"type":"object","required":["co_purchased_products_lift","co_purchased_products_confidence","co_purchased_products_support"],"title":"BasketAnalysisResponse","description":"Response for basket analysis request."},"BeeswaxPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"accountID":{"type":"string","title":"Accountid","description":"Enter your Beeswax Account ID. If you do not know your Account ID, reach out to your Beeswax Account Representative."},"buzzkey":{"type":"string","title":"Buzzkey","description":"Enter your Beeswax Buzz Key. If you do not know your Buzz Key, reach out to your Beeswax Account Representative."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","accountID","buzzkey"],"title":"BeeswaxPlatformOneTargetPayload"},"BoundaryMethod":{"type":"string","enum":["equal_width"],"const":"equal_width","title":"BoundaryMethod"},"BrandAnalysisItem":{"properties":{"item":{"type":"string","title":"Item","description":"The item being analyzed (brand, category, product name, or UPC)"},"value":{"type":"number","title":"Value","description":"Value of the selected metric for this item"},"weighted_value":{"type":"number","title":"Weighted Value","description":"Weighted value of the selected metric for this item"}},"additionalProperties":true,"type":"object","required":["item","value","weighted_value"],"title":"BrandAnalysisItem","description":"Item for brand analysis results."},"BrandAnalysisResponse":{"properties":{"grouping":{"$ref":"#/components/schemas/CPGAnalysisGrouping","description":"How the results were grouped"},"metric":{"$ref":"#/components/schemas/CPGAnalysisMetric","description":"The primary metric displayed"},"overall_value":{"type":"number","title":"Overall Value","description":"Overall total for the selected metric"},"weighted_overall_value":{"type":"number","title":"Weighted Overall Value","description":"Weighted overall total for the selected metric"},"brands":{"items":{"$ref":"#/components/schemas/BrandAnalysisItem"},"type":"array","title":"Brands","description":"List of top brands"}},"additionalProperties":true,"type":"object","required":["grouping","metric","overall_value","weighted_overall_value","brands"],"title":"BrandAnalysisResponse","description":"Response for brand analysis."},"BuildAnalyticsPlotPayload":{"properties":{"timeframe":{"$ref":"#/components/schemas/ESuiteTimeframe"},"audience_id":{"type":"string","title":"Audience Id"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres"},"networks":{"items":{"type":"string"},"type":"array","title":"Networks"},"titles":{"items":{"type":"string"},"type":"array","title":"Titles"},"dma_codes":{"items":{"type":"integer"},"type":"array","title":"Dma Codes"},"plot_type":{"$ref":"#/components/schemas/ESuiteAnalyticsPlotType"},"opts":{"type":"object","title":"Opts"}},"additionalProperties":true,"type":"object","required":["timeframe","audience_id","plot_type"],"title":"BuildAnalyticsPlotPayload"},"BuildAnalyticsSummaryPayload":{"properties":{"trend_id":{"type":"string","title":"Trend Id"},"analytics_ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Analytics Ids"}},"additionalProperties":true,"type":"object","required":["trend_id","analytics_ids"],"title":"BuildAnalyticsSummaryPayload"},"BuildChartPayload":{"properties":{"filters":{"$ref":"#/components/schemas/MeasurementFilters"},"chart_type":{"$ref":"#/components/schemas/MeasurementChartEnum"}},"additionalProperties":true,"type":"object","required":["filters","chart_type"],"title":"BuildChartPayload"},"BuildLALPayload":{"properties":{"lal_id":{"type":"string","title":"Lal Id","description":"The ID of the lal model"},"new_audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Audience Name","description":"The name of the new audience"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence","description":"The confidence threshold for the lookalike model"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size","description":"The number of audience members to return"},"include_seed":{"type":"boolean","title":"Include Seed","description":"Whether to include the seed audience in the lookalike audience","default":false}},"additionalProperties":true,"type":"object","required":["lal_id"],"title":"BuildLALPayload"},"BuildSegAudiencePayload":{"properties":{"seg_id":{"type":"string","title":"Seg Id","description":"The ID of the segmentation model"},"cluster_ids":{"items":{"type":"integer"},"type":"array","title":"Cluster Ids","description":"The cluster IDs to generate the audience for"},"new_audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Audience Name","description":"The name of the new audience"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id","description":"The ID of the team to create the audience in"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner","description":"The owner of the audience"}},"additionalProperties":true,"type":"object","required":["seg_id","cluster_ids"],"title":"BuildSegAudiencePayload"},"BuildTrendsPayload":{"properties":{"timeframe":{"$ref":"#/components/schemas/ESuiteTimeframe"},"audience_id":{"type":"string","title":"Audience Id"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres"},"networks":{"items":{"type":"string"},"type":"array","title":"Networks"},"titles":{"items":{"type":"string"},"type":"array","title":"Titles"},"dma_codes":{"items":{"type":"integer"},"type":"array","title":"Dma Codes"}},"additionalProperties":true,"type":"object","required":["timeframe","audience_id"],"title":"BuildTrendsPayload"},"BuildTrendsReflectionPayload":{"properties":{"trend_id":{"type":"string","title":"Trend Id"}},"additionalProperties":true,"type":"object","required":["trend_id"],"title":"BuildTrendsReflectionPayload"},"CPGAnalysisGrouping":{"type":"string","enum":["CATEGORY","SUBCATEGORY","BRAND","PRODUCT_NAME"],"title":"CPGAnalysisGrouping","description":"Enum for different grouping options in CPG analysis."},"CPGAnalysisMetric":{"type":"string","enum":["total_sales","transaction_count","customer_count"],"title":"CPGAnalysisMetric","description":"Primary metrics for CPG analysis."},"CPGAnalysisRequest":{"properties":{"grouping":{"$ref":"#/components/schemas/CPGAnalysisGrouping","description":"How to group the products"},"metric":{"$ref":"#/components/schemas/CPGAnalysisMetric","description":"The primary metric to display"},"filters":{"$ref":"#/components/schemas/CPGSuiteFilter","description":"Filters to apply to the data"}},"additionalProperties":true,"type":"object","required":["grouping","metric","filters"],"title":"CPGAnalysisRequest","description":"Request for CPG analysis - finding top brands, categories, products, etc."},"CPGAudienceFilter":{"properties":{"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"Base audience ID to filter by"},"category_selections":{"anyOf":[{"$ref":"#/components/schemas/SelectionPayload"},{"type":"null"}],"description":"Additional category-based filters to apply"}},"additionalProperties":true,"type":"object","title":"CPGAudienceFilter","description":"Audience filter for CPG Suite with category selection support."},"CPGBehaviourGrouping":{"type":"string","enum":["CATEGORY","SUBCATEGORY","BRAND","PRODUCT_NAME"],"title":"CPGBehaviourGrouping","description":"Enum for different grouping options in CPG behavior analysis."},"CPGBehaviourRequest":{"properties":{"filters":{"$ref":"#/components/schemas/CPGSuiteFilter","description":"Filters to apply to the data"},"grouping":{"$ref":"#/components/schemas/CPGBehaviourGrouping","description":"Grouping to apply to the data"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Optional category for drill-down"},"subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory","description":"Optional subcategory for drill-down"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","description":"Optional brand for drill-down"}},"additionalProperties":true,"type":"object","required":["filters","grouping"],"title":"CPGBehaviourRequest","description":"Request for CPG behavior analysis."},"CPGBehaviourResponse":{"properties":{"BALANCED":{"items":{"$ref":"#/components/schemas/POIGroupBreakdown"},"type":"array","title":"Balanced"},"UNBALANCED":{"items":{"$ref":"#/components/schemas/POIGroupBreakdown"},"type":"array","title":"Unbalanced"},"grouping":{"$ref":"#/components/schemas/CPGBehaviourGrouping"}},"additionalProperties":true,"type":"object","required":["BALANCED","UNBALANCED","grouping"],"title":"CPGBehaviourResponse","description":"Response with balanced and unbalanced metrics for treemap visualization."},"CPGSuiteFilter":{"properties":{"selections":{"$ref":"#/components/schemas/SelectionPayload","description":"Selections to apply to the data"},"search_string":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search String","description":"Search string for fuzzy match"},"timeframe":{"anyOf":[{"$ref":"#/components/schemas/src__api__ad_analytics__model__Timeframe"},{"type":"null"}],"description":"Datetime range for analysis"},"audience_filter":{"anyOf":[{"$ref":"#/components/schemas/CPGAudienceFilter"},{"type":"null"}],"description":"Audience and category selection filter"}},"additionalProperties":true,"type":"object","required":["selections"],"title":"CPGSuiteFilter","description":"Filter for CPG Suite."},"CPMCurve":{"properties":{"a":{"type":"number","exclusiveMinimum":0.0,"title":"A","description":"The baseline cost level."},"b":{"type":"number","minimum":0.0,"title":"B","description":"The slope of the cost curve."},"c":{"type":"number","minimum":0.0,"title":"C","description":"The knee point of the cost curve."},"d":{"type":"number","minimum":0.0,"title":"D","description":"The curvature of the cost curve."}},"additionalProperties":true,"type":"object","required":["a","b","c","d"],"title":"CPMCurve","description":"An Inverse exponential decay Reach Curve defined by a, b, and c parameters as follows:\nf(x) = a + b * (x - c) ^ d"},"CategoryAnalysisItem":{"properties":{"item":{"type":"string","title":"Item","description":"The item being analyzed (brand, category, product name, or UPC)"},"value":{"type":"number","title":"Value","description":"Value of the selected metric for this item"},"weighted_value":{"type":"number","title":"Weighted Value","description":"Weighted value of the selected metric for this item"}},"additionalProperties":true,"type":"object","required":["item","value","weighted_value"],"title":"CategoryAnalysisItem","description":"Item for category analysis results."},"CategoryAnalysisResponse":{"properties":{"grouping":{"$ref":"#/components/schemas/CPGAnalysisGrouping","description":"How the results were grouped"},"metric":{"$ref":"#/components/schemas/CPGAnalysisMetric","description":"The primary metric displayed"},"overall_value":{"type":"number","title":"Overall Value","description":"Overall total for the selected metric"},"weighted_overall_value":{"type":"number","title":"Weighted Overall Value","description":"Weighted overall total for the selected metric"},"categories":{"items":{"$ref":"#/components/schemas/CategoryAnalysisItem"},"type":"array","title":"Categories","description":"List of top categories"}},"additionalProperties":true,"type":"object","required":["grouping","metric","overall_value","weighted_overall_value","categories"],"title":"CategoryAnalysisResponse","description":"Response for category analysis."},"CategoryWithPlaces":{"properties":{"category":{"type":"string","title":"Category","description":"The category name"},"places":{"items":{"type":"string"},"type":"array","title":"Places","description":"The places in the category"}},"additionalProperties":true,"type":"object","required":["category","places"],"title":"CategoryWithPlaces"},"CategoryWithSubcategories":{"properties":{"category":{"type":"string","title":"Category","description":"The category name"},"subcategories":{"items":{"$ref":"#/components/schemas/SubcategoryWithBrands"},"type":"array","title":"Subcategories","description":"The brands in the category"}},"additionalProperties":true,"type":"object","required":["category","subcategories"],"title":"CategoryWithSubcategories"},"CentroPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"centroAdvertiserID":{"type":"string","title":"Centroadvertiserid","description":"Basis DSP (Centro) Advertiser ID. Consists of lower-case alpha-numeric characters and dash."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","centroAdvertiserID"],"title":"CentroPlatformOneTargetPayload"},"Chart":{"properties":{"chartMetadataId":{"type":"integer","title":"Chartmetadataid"},"chartDataId":{"type":"integer","title":"Chartdataid"}},"additionalProperties":true,"type":"object","required":["chartMetadataId","chartDataId"],"title":"Chart"},"ChartEditingPayload":{"properties":{"idx":{"type":"integer","title":"Idx","description":"The index of the chart to edit in the chat history."},"updates":{"$ref":"#/components/schemas/ChartEditingUpdates","description":"The updates to apply to the chart."}},"additionalProperties":true,"type":"object","required":["idx","updates"],"title":"ChartEditingPayload","description":"Payload for editing a chart inline in a Chat History."},"ChartEditingPayloadStandalone":{"properties":{"updates":{"$ref":"#/components/schemas/ChartEditingUpdates","description":"The updates to apply to the chart."}},"additionalProperties":true,"type":"object","required":["updates"],"title":"ChartEditingPayloadStandalone","description":"Payload for editing a chart that has been copied outside of a chat history."},"ChartEditingUpdates":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"The title of the chart."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"The subtitle of the chart."},"llm_instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Instructions","description":"Instructions for the LLM to follow when editing the chart."},"datasetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datasetid","description":"The dataset ID of the chart."},"datasourceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datasourceid","description":"The datasource ID of the chart."},"source_type":{"anyOf":[{"type":"string","enum":["dataset","datasource"]},{"type":"null"}],"title":"Source Type","description":"Type of source to use (dataset or datasource)."}},"additionalProperties":true,"type":"object","title":"ChartEditingUpdates"},"ChartPayload":{"properties":{"chart_id":{"type":"integer","title":"Chart Id"}},"additionalProperties":true,"type":"object","required":["chart_id"],"title":"ChartPayload"},"ChartRefreshPayload":{"properties":{"chart_id":{"type":"integer","title":"Chart Id"}},"additionalProperties":true,"type":"object","required":["chart_id"],"title":"ChartRefreshPayload"},"ChartRefreshResult":{"properties":{"chart_id":{"type":"integer","title":"Chart Id"},"chart_metadata_id":{"type":"integer","title":"Chart Metadata Id"},"chart_data_id":{"type":"integer","title":"Chart Data Id"}},"additionalProperties":true,"type":"object","required":["chart_id","chart_metadata_id","chart_data_id"],"title":"ChartRefreshResult"},"ChatExploreImageFormat":{"type":"string","enum":["base64_png","plotly_json"],"title":"ChatExploreImageFormat"},"ChatExploreRequestPayload":{"properties":{"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"The project ID which you want to run a Chat Explore query against. Either this or dataset_id must be specified; if this is specified, custom instructions attached to the project will be provided as context to the query."},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id","description":"The dataset ID which you want to run a Chat Explore query against. Either this or project_id must be specified."},"messages":{"items":{"$ref":"#/components/schemas/APIChatMessage"},"type":"array","title":"Messages","description":"A list of messages to query Chat Explore with."},"chatContext":{"type":"string","title":"Chatcontext","description":"Anything you'd like Chat Explore to know about this application to provide better responses. For example: (1) This dataset is customer engagement data, (2) The units of the sales column are in millions, (3) The data is messy and contains typos","default":""},"chatInstructions":{"type":"string","title":"Chatinstructions","default":""}},"additionalProperties":true,"type":"object","required":["messages"],"title":"ChatExploreRequestPayload"},"ChatExploreSuggestionsRequestPayload":{"properties":{"source_type":{"$ref":"#/components/schemas/SourceType","default":"dataset"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"datasource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datasource Id"},"use_cache":{"type":"boolean","title":"Use Cache","default":true}},"additionalProperties":true,"type":"object","title":"ChatExploreSuggestionsRequestPayload"},"ChatMessage":{"properties":{"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"timestamp":{"type":"integer","title":"Timestamp"},"render":{"anyOf":[{"$ref":"#/components/schemas/Render"},{"items":{"$ref":"#/components/schemas/Render"},"type":"array"},{"type":"null"}],"title":"Render"},"render_storage_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Render Storage Key"},"userPython":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userpython"},"extra":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extra"},"chart":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Chart"},"sources":{"type":"object","title":"Sources"},"data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Url"},"data_url_description":{"type":"string","title":"Data Url Description","default":""},"diagnostic":{"type":"object","title":"Diagnostic"},"message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"},"chart_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chart Id"},"chart_metadata_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chart Metadata Id"},"chart_data_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chart Data Id"},"reduce_render_size":{"type":"boolean","title":"Reduce Render Size","default":false}},"additionalProperties":true,"type":"object","required":["role","content"],"title":"ChatMessage"},"ChurnableTable":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the table"},"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"The ID of the table"},"num_cols":{"type":"integer","title":"Num Cols","description":"The number of columns in the table"},"num_rows":{"type":"integer","title":"Num Rows","description":"The number of rows in the table"},"possible_date_columns":{"items":{"type":"string"},"type":"array","title":"Possible Date Columns","description":"The possible date columns in the table"},"possible_provider_columns":{"items":{"type":"string"},"type":"array","title":"Possible Provider Columns","description":"The possible provider columns in the table"}},"additionalProperties":true,"type":"object","required":["name","id","num_cols","num_rows","possible_date_columns","possible_provider_columns"],"title":"ChurnableTable"},"ClusterSuggestionsRequestPayload":{"properties":{"datasetId":{"type":"string","title":"Datasetid","description":"ID of the dataset to get clustering suggestions for"},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance","description":"Optionally provided guidance as to what clusters the user wants to create.","default":"Group in the way you think most usefully clusters the data."},"suggestions":{"items":{"type":"string"},"type":"array","title":"Suggestions","description":"Existing suggestions we should use as additional context in order to generate the rest.","default":[]}},"additionalProperties":true,"type":"object","required":["datasetId"],"title":"ClusterSuggestionsRequestPayload"},"ClusterSuggestionsResponsePayload":{"properties":{"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"on_columns":{"items":{"type":"string"},"type":"array","title":"On Columns"}},"additionalProperties":true,"type":"object","required":["categories","on_columns"],"title":"ClusterSuggestionsResponsePayload"},"CoPurchasedProduct":{"properties":{"product_name":{"type":"string","title":"Product Name","description":"Name of the co-purchased product"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","description":"Brand of the co-purchased product"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Category of the co-purchased product"},"subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory","description":"Subcategory of the co-purchased product"},"support":{"type":"number","title":"Support","description":"Percentage of all baskets containing both products"},"confidence":{"type":"number","title":"Confidence","description":"Percentage of focal product baskets that also contain this product"},"lift":{"type":"number","title":"Lift","description":"Ratio of observed co-occurrence to expected co-occurrence"}},"additionalProperties":true,"type":"object","required":["product_name","brand","category","subcategory","support","confidence","lift"],"title":"CoPurchasedProduct","description":"Details about a co-purchased product."},"Column":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the column."}},"additionalProperties":true,"type":"object","required":["name"],"title":"Column"},"CombinationMethod":{"type":"string","enum":["sainsbury","prod","sum"],"title":"CombinationMethod"},"ComcastPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"subscriberType":{"$ref":"#/components/schemas/ComcastSubscriberType","description":"Subscriber Type"},"segmentPrioritization":{"type":"boolean","title":"Segmentprioritization","description":"Segment Prioritization"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","subscriberType","segmentPrioritization"],"title":"ComcastPlatformOneTargetPayload"},"ComcastSubscriberType":{"type":"string","enum":["VOD","X1","UA","LSA"],"title":"ComcastSubscriberType"},"CommitImportPayload":{"properties":{"flow_id":{"type":"string","title":"Flow Id","description":"Flow ID that the import schedule should be tied to. Necessary in order to create a Flow -> Connection ID mapping so we can look up the set of credentials attached to a flow, which is useful for deployments."},"connection":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/OAuthConnectionPayload"},{"$ref":"#/components/schemas/ConnectionPayload"}],"title":"Connection","description":"An existing connection ID or the payload of the connection to create."},"specifier":{"additionalProperties":{"type":"string"},"type":"object","title":"Specifier","description":"The specifier used to track down the table. We expect a specifier rather than a full table specifier because we use this in a context where we are not working with an existing connection."},"table_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Table Config","description":"Any additional config used for the import, not on the general connection"},"dataset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Name","description":"Name of the dataset to create. If not provided, we'll create a dataset with a name derived from the table specifer."}},"additionalProperties":true,"type":"object","required":["flow_id","connection","specifier"],"title":"CommitImportPayload"},"CommitPredictPayload":{"properties":{"flow_id":{"type":"string","title":"Flow Id","description":"Flow ID these predictions will be run off of. Important to specify because this is how we track down the exact model we'll use for predictions."},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to use for credentials. If not provided, we use the connection attached to the flow (older meltano deployments)] = None."},"specifier":{"additionalProperties":{"type":"string"},"type":"object","title":"Specifier","description":"The specifier specifying the table where we'll be importing data from. For now, we derive the output table name from this table rather than allowing user-specified output table names."},"mappings":{"additionalProperties":{"type":"string"},"type":"object","title":"Mappings","description":"Field mappings, useful incase you are trying to run on a table with the same information but different column names. Keys of the object are keys on the table we'll be running predictions on, Values of the object are keys on our training table.","default":{}},"blocking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Blocking","description":"Whether or not to block until full job is done. For backwards compatbility with old UI","default":false},"step_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Title","description":"Which deployment user-friendly name (Snowflake, Postgres, etc) is running"},"step_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Key","description":"Which deployment key (postgre-sql-output, etc) is running"}},"additionalProperties":true,"type":"object","required":["flow_id","specifier"],"title":"CommitPredictPayload"},"CompareDecisionThresholdsPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for comparison"},"prediction_id":{"type":"integer","title":"Prediction Id","description":"The ID of the prediction to use for comparison"},"lower_threshold":{"type":"number","title":"Lower Threshold","description":"The lower threshold to use for comparison"},"upper_threshold":{"type":"number","title":"Upper Threshold","description":"The upper threshold to use for comparison"}},"additionalProperties":true,"type":"object","required":["model_id","prediction_id","lower_threshold","upper_threshold"],"title":"CompareDecisionThresholdsPayload"},"ConfidenceConeData":{"properties":{"initialErrorStdv":{"type":"number","title":"Initialerrorstdv"},"finalErrorStdv":{"type":"number","title":"Finalerrorstdv"},"isStrictlyNonnegative":{"type":"boolean","title":"Isstrictlynonnegative"},"upperBounds":{"items":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"array","title":"Upperbounds"},"lowerBounds":{"items":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"array","title":"Lowerbounds"}},"additionalProperties":true,"type":"object","required":["initialErrorStdv","finalErrorStdv","isStrictlyNonnegative","upperBounds","lowerBounds"],"title":"ConfidenceConeData"},"ConnectionPayload":{"properties":{"_owner":{"type":"string","title":" Owner","description":"ID of user that created this entry."},"_org":{"type":"string","title":" Org","description":"ID of user's active organization when creating this entry."},"validated":{"type":"boolean","title":"Validated","description":"Whether we've tested and validated these credentials actually work. Relevant due to us persisting credentials *before* we attempt imports (rather than how we used to do it, after) to help with bug triage, particularly when errors occur during the initial `/commit/import` call and not during the followup task doing the actual import.","default":true},"config":{"type":"object","title":"Config","description":"JSON object specifying config on the connection. This is a value whose format WE specify; it needs to have enough information that we can map it to either a Meltano extractor or loader, but is fully distinct from either of those concepts. Avoiding coupling both this and table specifiers to whether they are pulling data in or sending data out is very useful and gives us very powerful generalization capabilities."}},"additionalProperties":true,"type":"object","required":["_owner","_org","config"],"title":"ConnectionPayload"},"CountPct":{"properties":{"count":{"type":"number","title":"Count"},"pct":{"type":"number","title":"Pct"}},"additionalProperties":true,"type":"object","required":["count","pct"],"title":"CountPct","description":"Count and percentage values."},"CreateAudienceFromBacktestPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for backtest"},"audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Name","description":"The name of the audience to create"},"project_id":{"type":"string","title":"Project Id","description":"The ID of the project to create the audience in"},"loyals":{"type":"boolean","title":"Loyals","description":"Whether to create a loyal audience"}},"additionalProperties":true,"type":"object","required":["model_id","project_id","loyals"],"title":"CreateAudienceFromBacktestPayload"},"CreateAudienceFromPredictionsPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for prediction"},"prediction_id":{"type":"integer","title":"Prediction Id","description":"The ID of the prediction to use for audience creation"},"min_probability":{"type":"number","title":"Min Probability","description":"The minimum probability to include in the audience","default":0.0},"max_probability":{"type":"number","title":"Max Probability","description":"The maximum probability to include in the audience","default":1.0},"audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Name","description":"The name of the audience to create"},"project_id":{"type":"string","title":"Project Id","description":"The ID of the project to create the audience in"}},"additionalProperties":true,"type":"object","required":["model_id","prediction_id","project_id"],"title":"CreateAudienceFromPredictionsPayload"},"CreateProjectPayload":{"properties":{"_owner":{"type":"string","title":" Owner","description":"Foreign key to the user this object belongs to."},"_org":{"type":"string","title":" Org","description":"Foreign key to the organization this object belongs to."},"name":{"type":"string","title":"Name","description":"The name of the flow."},"chatInstructions":{"type":"string","title":"Chatinstructions","description":"\nHow would you like Chat Explore to respond? For example:\n- Respond only in spanish\n- Provide short and concise answers only\n- Make sure to always include a chart","default":""},"chatContext":{"type":"string","title":"Chatcontext","description":"\nWhat would you like Chat Explore to know about this application to provide better responses? For example:\n- This dataset is customer engagement data\n- The units of the sales column are in millions\n- The data is messy and contains typos\n","default":""},"chatSuggestions":{"type":"string","title":"Chatsuggestions","description":"\nCustomize the default chat suggestions by writing a list of suggestions separated by newlines. For example:\n- What is the average net media cost by campaign ID?\n- Make sure to always include a chart\n","default":""}},"additionalProperties":true,"type":"object","required":["_owner","_org","name"],"title":"CreateProjectPayload"},"CriteoPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"advertiserId":{"type":"string","title":"Advertiserid","description":"Criteo Advertiser Id"},"clientId":{"type":"string","title":"Clientid","description":"Listed as client id in the document created when making a new key on criteos website"},"clientSecret":{"type":"string","title":"Clientsecret","description":"Listed as client secret in the document created when making a new key on criteos website"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","advertiserId","clientId","clientSecret"],"title":"CriteoPlatformOneTargetPayload"},"CurveUnits":{"properties":{"allocation":{"$ref":"#/components/schemas/AllocationUnits","description":"Units of the allocation"},"response":{"$ref":"#/components/schemas/ResponseUnits","description":"Units of the response"}},"additionalProperties":true,"type":"object","required":["allocation","response"],"title":"CurveUnits"},"DMA":{"properties":{"value":{"type":"string","title":"Value","description":"DMA code value"},"label":{"type":"string","title":"Label","description":"DMA code label (code + name)"}},"additionalProperties":true,"type":"object","required":["value","label"],"title":"DMA"},"DV360PlatformOneProductEnum":{"type":"string","enum":["GOOGLE_ADS","DISPLAY_VIDEO_PARTNER","DISPLAY_VIDEO_ADVERTISER","GOOGLE_AD_MANAGER"],"title":"DV360PlatformOneProductEnum"},"DV360PlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"customerId":{"type":"string","title":"Customerid","description":"Customer ID for Google DV360 API."},"dv360Product":{"$ref":"#/components/schemas/DV360PlatformOneProductEnum","description":"Product for DV360 API."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","customerId","dv360Product"],"title":"DV360PlatformOneTargetPayload"},"DashboardNameRequestPayload":{"properties":{"chart_names":{"items":{"type":"string"},"type":"array","title":"Chart Names"}},"additionalProperties":true,"type":"object","required":["chart_names"],"title":"DashboardNameRequestPayload"},"DashboardNameResponsePayload":{"properties":{"name":{"type":"string","title":"Name"}},"additionalProperties":true,"type":"object","required":["name"],"title":"DashboardNameResponsePayload"},"DataSource":{"properties":{"_owner":{"type":"string","title":" Owner","description":"ID of user that created this entry."},"_org":{"type":"string","title":" Org","description":"ID of user's active organization when creating this entry."},"id":{"type":"string","title":"Id","description":"ID of this entry."},"name":{"type":"string","title":"Name"},"type":{"$ref":"#/components/schemas/DataSourceType"},"transient_view_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transient View Sql"},"creds":{"$ref":"#/components/schemas/DataSourceCreds"},"config":{"$ref":"#/components/schemas/DataSourceConfig"}},"additionalProperties":true,"type":"object","required":["_owner","_org","name","type","creds","config"],"title":"DataSource"},"DataSourceConfig":{"properties":{"tables":{"items":{"type":"string"},"type":"array","title":"Tables"},"skipSupplementalInfoRefresh":{"type":"boolean","title":"Skipsupplementalinforefresh","default":false},"chatOnlyTables":{"items":{"type":"string"},"type":"array","title":"Chatonlytables"},"tags":{"additionalProperties":{"type":"string"},"type":"object","title":"Tags"}},"additionalProperties":true,"type":"object","title":"DataSourceConfig"},"DataSourceCreds":{"properties":{},"additionalProperties":true,"type":"object","title":"DataSourceCreds"},"DataSourceType":{"type":"string","enum":["bigquery","s3","duckdb","snowflake","databricks","databricks_warehouse","databricks_volume"],"title":"DataSourceType"},"DatasetSnapshotRequest":{"properties":{"datasetId":{"type":"string","title":"Datasetid","description":"The ID of the dataset you'd like to retrieve the snapshot of.","default":""},"filter":{"type":"object","title":"Filter","default":{}},"sort":{"$ref":"#/components/schemas/SortOrder","default":{"sortField":"","sortDirection":""}},"make_download":{"type":"boolean","title":"Make Download","default":false},"regenerate":{"type":"boolean","title":"Regenerate","default":false},"projectId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Projectid"},"templateId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Templateid"}},"additionalProperties":true,"type":"object","title":"DatasetSnapshotRequest"},"DatasetUpdate":{"properties":{"updated_at":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Updated At"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"fields":{"items":{},"type":"array","title":"Fields"},"view":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"View"}},"additionalProperties":true,"type":"object","required":["fields"],"title":"DatasetUpdate"},"DateRangeDataAvailabilityPayload":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date","description":"Start date of the range to check data availability"},"end_date":{"type":"string","format":"date","title":"End Date","description":"End date of the range to check data availability"},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"Filter by audience ID"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","description":"Filter by genres"},"networks":{"items":{"type":"string"},"type":"array","title":"Networks","description":"Filter by networks"},"titles":{"items":{"type":"string"},"type":"array","title":"Titles","description":"Filter by titles"},"dma_codes":{"items":{"type":"integer"},"type":"array","title":"Dma Codes","description":"Filter by DMA codes"}},"additionalProperties":true,"type":"object","required":["start_date","end_date"],"title":"DateRangeDataAvailabilityPayload"},"DecisionThresholdResults":{"properties":{"overall":{"$ref":"#/components/schemas/DecisionThresholdStats"},"likely":{"$ref":"#/components/schemas/DecisionThresholdStats"},"uncertain":{"$ref":"#/components/schemas/DecisionThresholdStats"},"unlikely":{"$ref":"#/components/schemas/DecisionThresholdStats"}},"additionalProperties":true,"type":"object","required":["overall","likely","uncertain","unlikely"],"title":"DecisionThresholdResults"},"DecisionThresholdStats":{"properties":{"mean":{"type":"number","title":"Mean"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["mean","count"],"title":"DecisionThresholdStats"},"DirectTVSafeHavenPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"DirectTVSafeHavenPlatformOneTargetPayload"},"DishPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"dishAdvertiserName":{"type":"string","title":"Dishadvertisername","description":"Dish Network Advertiser Name."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","dishAdvertiserName"],"title":"DishPlatformOneTargetPayload"},"DisneyPlusPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"disneyClientName":{"type":"string","title":"Disneyclientname","description":"Disney Plus client name. Consists of alpha-numeric characters."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","disneyClientName"],"title":"DisneyPlusPlatformOneTargetPayload"},"DmaCodesFilterPayload":{"properties":{"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"Optional audience ID to filter DMA codes"}},"additionalProperties":true,"type":"object","title":"DmaCodesFilterPayload"},"DrilldownConfig":{"properties":{"current_level":{"type":"string","title":"Current Level","description":"Current drill-down level","default":"CAMPAIGN"},"next_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Level","description":"Next drill-down level to navigate to"},"drill_context":{"additionalProperties":{"type":"string"},"type":"object","title":"Drill Context","description":"Context for drill-down (parent selections)"}},"additionalProperties":true,"type":"object","title":"DrilldownConfig","description":"Configuration for drill-down navigation in charts"},"DrilldownTableData":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/DrilldownTableRow"},"type":"array","title":"Rows","description":"Table rows with hierarchical structure"},"title":{"type":"string","title":"Title","description":"Table title (e.g., 'Campaign conversions, compared to...')"},"type":{"type":"string","title":"Type","description":"Type of chart data"}},"additionalProperties":true,"type":"object","required":["rows","title","type"],"title":"DrilldownTableData"},"DrilldownTableRow":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the row"},"columns":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"type":"object","title":"Columns","description":"Dynamic column values"},"drill_options":{"items":{"type":"string"},"type":"array","title":"Drill Options","description":"Available drill-down options (empty list if no options available)"}},"additionalProperties":true,"type":"object","required":["id","columns","drill_options"],"title":"DrilldownTableRow"},"ESuiteAnalyticsPlotType":{"type":"string","enum":["SOURCE_TO_DESTINATION","COMBINATION","PURCHASE_BEHAVIOR_CATEGORY","PURCHASE_BEHAVIOR_BRAND","MINUTE_BY_MINUTE"],"title":"ESuiteAnalyticsPlotType"},"ESuiteTimeframe":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"}},"additionalProperties":true,"type":"object","required":["start_date","end_date"],"title":"ESuiteTimeframe"},"EditReachCurvePayload":{"properties":{"selectedCurve":{"$ref":"#/components/schemas/ReachCurve-Input","description":"Selected reach curve"},"response_unit":{"$ref":"#/components/schemas/ResponseUnits","description":"Response unit"},"allocation_unit":{"$ref":"#/components/schemas/AllocationUnits","description":"Allocation unit"},"newCpm":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Newcpm","description":"New CPM"},"newReach":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Newreach","description":"New Reach"},"newGrps":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Newgrps","description":"New GRP"}},"additionalProperties":true,"type":"object","required":["selectedCurve","response_unit","allocation_unit"],"title":"EditReachCurvePayload"},"EventCriteria":{"properties":{"event_count":{"type":"integer","title":"Event Count","description":"The number of events to be considered"},"interval_type":{"type":"string","enum":["day","week","month","year"],"title":"Interval Type","description":"The interval type to use for the event"},"interval_count":{"type":"integer","title":"Interval Count","description":"The interval count to use for the event"}},"additionalProperties":true,"type":"object","required":["event_count","interval_type","interval_count"],"title":"EventCriteria"},"ForecastLineChartPayload":{"properties":{"chatId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatid"},"chart":{"anyOf":[{"$ref":"#/components/schemas/Chart"},{"type":"null"}]},"scenario":{"type":"string","title":"Scenario"},"forecastDatapointsRatio":{"type":"number","title":"Forecastdatapointsratio","default":0.3},"maxForecastDatapoints":{"type":"integer","title":"Maxforecastdatapoints","default":64},"minForecastDatapoints":{"type":"integer","title":"Minforecastdatapoints","default":5},"previewMode":{"type":"boolean","title":"Previewmode","default":true},"backtestDatapointsRatio":{"type":"number","title":"Backtestdatapointsratio","default":0.1},"maxBacktestDatapoints":{"type":"integer","title":"Maxbacktestdatapoints","default":32},"minBacktestDatapoints":{"type":"integer","title":"Minbacktestdatapoints","default":1}},"additionalProperties":true,"type":"object","required":["scenario"],"title":"ForecastLineChartPayload"},"ForecastLineChartResult":{"properties":{"chatId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatid"},"chart":{"anyOf":[{"$ref":"#/components/schemas/Chart"},{"type":"null"}]},"chartJsonStr":{"type":"string","title":"Chartjsonstr"},"summary":{"$ref":"#/components/schemas/ForecastSummary"},"cutoffs":{"items":{"type":"string"},"type":"array","title":"Cutoffs"},"confidenceCones":{"anyOf":[{"items":{"$ref":"#/components/schemas/ConfidenceConeData"},"type":"array"},{"type":"null"}],"title":"Confidencecones"}},"additionalProperties":true,"type":"object","required":["chatId","chart","chartJsonStr","summary","cutoffs"],"title":"ForecastLineChartResult"},"ForecastSuggestionsPayload":{"properties":{"chatId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatid"},"chart":{"anyOf":[{"$ref":"#/components/schemas/Chart"},{"type":"null"}]}},"additionalProperties":true,"type":"object","title":"ForecastSuggestionsPayload"},"ForecastSuggestionsResult":{"properties":{"suggestions":{"items":{"type":"string"},"type":"array","title":"Suggestions"}},"additionalProperties":true,"type":"object","required":["suggestions"],"title":"ForecastSuggestionsResult"},"ForecastSummary":{"properties":{"scenarioDescription":{"type":"string","title":"Scenariodescription"},"analysis":{"type":"string","title":"Analysis"},"backtestDescription":{"type":"string","title":"Backtestdescription"},"backtestResults":{"type":"string","title":"Backtestresults"},"backtestContext":{"type":"string","title":"Backtestcontext"}},"additionalProperties":true,"type":"object","required":["scenarioDescription","analysis","backtestDescription","backtestResults","backtestContext"],"title":"ForecastSummary"},"FourInfoPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"fourInfoAdvertiserName":{"type":"string","title":"Fourinfoadvertisername","description":"FourInfo Advertiser Name."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","fourInfoAdvertiserName"],"title":"FourInfoPlatformOneTargetPayload"},"FromParsedJsonRequestPayload":{"properties":{"audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Name","description":"If provided, used as the name of the audience. If missing, we infer an accurate name via LLM call."},"audience_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Description","description":"If provided, used as the description of the audience. If missing, we infer an accurate description via LLM call."},"parsed_json":{"type":"object","title":"Parsed Json","description":"The parsed JSON object (corresponding to something created through the query builder) to create an `Audience` from."}},"additionalProperties":true,"type":"object","required":["parsed_json"],"title":"FromParsedJsonRequestPayload"},"GenerateChurnPreviewPayload":{"properties":{"table_name":{"type":"string","title":"Table Name","description":"The name of the table to use for the preview"},"date_column":{"type":"string","title":"Date Column","description":"The name of the date column"},"timeframe":{"anyOf":[{"$ref":"#/components/schemas/src__api__ad_analytics__model__Timeframe"},{"type":"null"}],"description":"The timeframe to use for the preview. Defaults to 1 year from the maximum date in the data"},"loyalty_criteria":{"$ref":"#/components/schemas/EventCriteria","description":"Criteria for defining customer loyalty"},"churn_criteria":{"$ref":"#/components/schemas/EventCriteria","description":"Criteria for defining customer churn"},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"The ID of the audience to use for the preview"},"provider_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Column","description":"Column that identifies the provider/service"},"provider_selections":{"anyOf":[{"$ref":"#/components/schemas/ProviderSelection"},{"type":"null"}],"description":"Provider selection criteria for churn tracking"},"churn_to_other_criteria":{"anyOf":[{"$ref":"#/components/schemas/EventCriteria"},{"type":"null"}],"description":"Criteria for loyalty to other providers after churn. Timeframe must match churn_criteria"}},"additionalProperties":true,"type":"object","required":["table_name","date_column","loyalty_criteria","churn_criteria"],"title":"GenerateChurnPreviewPayload"},"GenerateFIPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for training"},"ignore_columns":{"items":{"type":"string"},"type":"array","title":"Ignore Columns","description":"The columns to ignore"}},"additionalProperties":true,"type":"object","required":["model_id","ignore_columns"],"title":"GenerateFIPayload"},"GenerateLapsePreviewPayload":{"properties":{"product_selections":{"$ref":"#/components/schemas/SelectionPayload","description":"The product selections to use for the preview"},"timeframe":{"$ref":"#/components/schemas/src__api__ad_analytics__model__Timeframe","description":"The timeframe to use for the preview"},"lapse_criteria":{"$ref":"#/components/schemas/EventCriteria","description":"The criteria for a lapse event"},"loyalty_criteria":{"$ref":"#/components/schemas/EventCriteria","description":"The criteria for a loyalty event"},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"The ID of the audience to use for the preview"},"returning_is_loyal":{"type":"boolean","title":"Returning Is Loyal","description":"Whether the returning customer is loyal"},"lapse_to_other_criteria":{"anyOf":[{"$ref":"#/components/schemas/EventCriteria"},{"type":"null"}],"description":"The criteria for tracking lapses to other products. Must match loyalty_criteria timeframe"},"lapse_to_product_selections":{"anyOf":[{"$ref":"#/components/schemas/SelectionPayload"},{"type":"null"}],"description":"The product selections to track lapses TO. If not provided, tracks within same categories"}},"additionalProperties":true,"type":"object","required":["product_selections","timeframe","lapse_criteria","loyalty_criteria","audience_id","returning_is_loyal"],"title":"GenerateLapsePreviewPayload"},"GeneratePreviewPayload":{"properties":{"lapse_args":{"anyOf":[{"$ref":"#/components/schemas/GenerateLapsePreviewPayload"},{"type":"null"}],"description":"The arguments for a lapse preview"},"churn_args":{"anyOf":[{"$ref":"#/components/schemas/GenerateChurnPreviewPayload"},{"type":"null"}],"description":"The arguments for a churn preview"}},"additionalProperties":true,"type":"object","title":"GeneratePreviewPayload"},"GenerateShapValuesDownloadUrlPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for getting shap values"},"prediction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prediction Id","description":"The ID of the prediction to use for getting shap values"}},"additionalProperties":true,"type":"object","required":["model_id"],"title":"GenerateShapValuesDownloadUrlPayload"},"GenerateUploadUrlRequest":{"properties":{"file_name":{"type":"string","title":"File Name","description":"The name of the file to upload (including extension)"},"content_type":{"type":"string","title":"Content Type","description":"The MIME type of the file (e.g., text/csv for CSV files)"}},"additionalProperties":true,"type":"object","required":["file_name","content_type"],"title":"GenerateUploadUrlRequest","description":"Request model for generating a signed URL for direct uploads to S3."},"GenerateUploadUrlResponse":{"properties":{"signed_url":{"type":"string","title":"Signed Url","description":"The signed URL to use for direct upload to S3"},"s3_key":{"type":"string","title":"S3 Key","description":"The S3 key where the file will be uploaded"},"expires_in_seconds":{"type":"integer","title":"Expires In Seconds","description":"The number of seconds until the signed URL expires"}},"additionalProperties":true,"type":"object","required":["signed_url","s3_key","expires_in_seconds"],"title":"GenerateUploadUrlResponse","description":"Response model for the generate_upload_url endpoint."},"GenreFilterPayload":{"properties":{"starts_with":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Starts With","description":"Filter titles that start with this string"},"titles":{"items":{"type":"string"},"type":"array","title":"Titles","description":"Filter titles that belong to these genres"},"networks":{"items":{"type":"string"},"type":"array","title":"Networks","description":"Filter titles that belong to these networks"}},"additionalProperties":true,"type":"object","title":"GenreFilterPayload"},"GetDistinctValuesRequest":{"properties":{"table":{"type":"string","title":"Table","description":"Table name to query"},"column":{"type":"string","title":"Column","description":"Column to get distinct values from"},"predicates":{"additionalProperties":{"type":"string"},"type":"object","title":"Predicates","description":"WHERE clause predicates (column: value)"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"null"}]},"search":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},"additionalProperties":true,"type":"object","required":["table","column"],"title":"GetDistinctValuesRequest","description":"Request model for getting distinct values with predicates"},"GetFeatureValuesRequest":{"properties":{"feature":{"type":"string","title":"Feature"},"context":{"type":"string","title":"Context","default":"measurement"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"null"}]},"search":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},"additionalProperties":true,"type":"object","required":["feature"],"title":"GetFeatureValuesRequest"},"GetProjectResponse":{"properties":{"id":{"type":"string","title":"Id","description":"The ID of this object."},"name":{"type":"string","title":"Name","description":"The name of the flow.","default":""},"chatInstructions":{"type":"string","title":"Chatinstructions","description":"\nHow would you like Chat Explore to respond? For example:\n- Respond only in spanish\n- Provide short and concise answers only\n- Make sure to always include a chart","default":""},"chatContext":{"type":"string","title":"Chatcontext","description":"\nWhat would you like Chat Explore to know about this application to provide better responses? For example:\n- This dataset is customer engagement data\n- The units of the sales column are in millions\n- The data is messy and contains typos\n","default":""},"chatSuggestions":{"type":"string","title":"Chatsuggestions","description":"\nCustomize the default chat suggestions by writing a list of suggestions separated by newlines. For example:\n- What is the average net media cost by campaign ID?\n- Make sure to always include a chart\n","default":""}},"additionalProperties":true,"type":"object","required":["id"],"title":"GetProjectResponse"},"GetProviderFieldsPayload":{"properties":{"table_name":{"type":"string","title":"Table Name","description":"The name of the table"},"column_name":{"type":"string","title":"Column Name","description":"The name of the column"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"null"}],"description":"The pagination to use for getting provider fields"}},"additionalProperties":true,"type":"object","required":["table_name","column_name"],"title":"GetProviderFieldsPayload"},"GetShapValuesPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for getting shap values"},"prediction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prediction Id","description":"The ID of the prediction to use for getting shap values"},"feature_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feature Name","description":"The name of the feature to get shap values for"},"pagination":{"$ref":"#/components/schemas/Pagination","description":"The pagination to use for getting shap values"}},"additionalProperties":true,"type":"object","required":["model_id","pagination"],"title":"GetShapValuesPayload"},"GoogleAdsIntrospectionAccount":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"The ID of the account."},"customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Id","description":"The Customer ID of the account."},"login_customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Customer Id","description":"The Login Customer ID of the account (the manager account id when using linked accounts)."},"name":{"type":"string","title":"Name","description":"The name of the account."},"is_manager":{"type":"boolean","title":"Is Manager","description":"Whether this account is a manager account."},"linked_accounts":{"anyOf":[{"items":{"$ref":"#/components/schemas/GoogleAdsIntrospectionAccount"},"type":"array"},{"type":"null"}],"title":"Linked Accounts","description":"Any linked accounts, i.e. if this is a manager account"}},"additionalProperties":true,"type":"object","required":["name","is_manager"],"title":"GoogleAdsIntrospectionAccount"},"GroundTruthPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"GroundTruthPlatformOneTargetPayload"},"GrowthFramework":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"async_job_id":{"type":"integer","title":"Async Job Id","description":"ID of the async job used for this growth framework."},"rfm_id":{"type":"integer","title":"Rfm Id","description":"The ID of the RFM analysis this framework belongs to."},"category_selections":{"type":"object","title":"Category Selections","description":"Bounds for the category dimension."},"brand_selections":{"type":"object","title":"Brand Selections","description":"Bounds for the brand dimension."},"brand_thresholds":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Brand Thresholds","description":"Thresholds for the brand terciles. If None, equal width terciles are used."},"category_thresholds":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Category Thresholds","description":"Thresholds for the category terciles. If None, equal width terciles are used."}},"type":"object","required":["async_job_id","rfm_id","category_selections","brand_selections"],"title":"GrowthFramework","description":"Brand vs. category usage framework for analyzing customer behavior patterns."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HierarchySearchRequest":{"properties":{"table":{"type":"string","title":"Table","description":"Table name to search in"},"hierarchy":{"items":{"type":"string"},"type":"array","title":"Hierarchy","description":"Column hierarchy for search"},"search":{"type":"string","title":"Search","description":"Search string to match"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["table","hierarchy","search"],"title":"HierarchySearchRequest"},"HierarchySearchResult":{"properties":{"values":{"additionalProperties":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"type":"object","title":"Values","description":"Column-value mapping for this result"}},"additionalProperties":true,"type":"object","required":["values"],"title":"HierarchySearchResult"},"HubSpotPropertyInfo":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the property"},"label":{"type":"string","title":"Label","description":"Label of the property"},"hubspot_defined":{"type":"boolean","title":"Hubspot Defined","description":"Whether the property is defined by HubSpot"},"hidden":{"type":"boolean","title":"Hidden","description":"Whether the property is marked as 'hidden' in HubSpot"}},"additionalProperties":true,"type":"object","required":["name","label","hubspot_defined","hidden"],"title":"HubSpotPropertyInfo"},"ImportAudiencePayload":{"properties":{"audience_name":{"type":"string","title":"Audience Name","description":"Name of the audience to import"},"table_name":{"type":"string","title":"Table Name","description":"Name of the table to import from"}},"additionalProperties":true,"type":"object","required":["audience_name","table_name"],"title":"ImportAudiencePayload"},"InMobiPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"InMobiPlatformOneTargetPayload"},"IndexExchangePlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"IndexExchangePlatformOneTargetPayload"},"InsightContext":{"type":"string","enum":["AGE","GENDER","ETHNICITY_PREDICTION","EDUCATION","MARITAL_STATUS","LOCATION","STATE","OCCUPATION","HOUSEHOLD_MEDIAN_HOMEVALUE_BY_STATE","PRESENCE_OF_CHILDREN_IN_HOUSEHOLD","NUM_PEOPLE_IN_HOUSEHOLD","HOUSEHOLD_OWNS_HOME","AGE_OF_CHILDREN_IN_HOUSEHOLD","NUMBER_OF_CHILDREN_IN_HOUSEHOLD","INCOME","GENERAL_INTERESTS","SPORTS_INTERESTS","READING_INTERESTS","TRAVEL_INTERESTS","CAR_BRANDS","CAR_TYPES","CAR_MAKE_MODEL","CAR_FUEL_TYPES","CAR_SIZE","FINANCIAL_HEALTH","NET_WORTH","CREDIT_CARDS","INVESTMENTS","MEDIA_APPS","MEDIA_NETWORKS","MEDIA_TOP_TITLES","MEDIA_TOP_GENRES","MEDIA_INPUT_DEVICES","PURCHASE_CATEGORY","PURCHASE_AVERAGE_SPEND","ONLINE_CONTENT_CONSUMPTION","POI_CATEGORIES","POI_CHAINS","COUNTS"],"title":"InsightContext"},"InsightGroup":{"type":"array","enum":[["MEDIA_TOP_GENRES","COUNTS","AGE","GENDER"],["COUNTS","AGE","INCOME","GENDER","HOUSEHOLD_OWNS_HOME"],["EDUCATION","LOCATION","MARITAL_STATUS","AGE_OF_CHILDREN_IN_HOUSEHOLD","NUMBER_OF_CHILDREN_IN_HOUSEHOLD","STATE","ETHNICITY_PREDICTION","PRESENCE_OF_CHILDREN_IN_HOUSEHOLD","OCCUPATION"],["NUM_PEOPLE_IN_HOUSEHOLD","HOUSEHOLD_MEDIAN_HOMEVALUE_BY_STATE"],["FINANCIAL_HEALTH","NET_WORTH","CREDIT_CARDS","INVESTMENTS"],["PURCHASE_CATEGORY","PURCHASE_AVERAGE_SPEND"],["GENERAL_INTERESTS","SPORTS_INTERESTS","READING_INTERESTS","TRAVEL_INTERESTS"],["MEDIA_APPS","MEDIA_NETWORKS","MEDIA_TOP_TITLES","MEDIA_TOP_GENRES","MEDIA_INPUT_DEVICES"],["CAR_BRANDS","CAR_TYPES","CAR_MAKE_MODEL","CAR_FUEL_TYPES","CAR_SIZE"],["ONLINE_CONTENT_CONSUMPTION"],["POI_CATEGORIES"],["AGE","GENDER","ETHNICITY_PREDICTION","EDUCATION","MARITAL_STATUS","LOCATION","STATE","OCCUPATION","HOUSEHOLD_MEDIAN_HOMEVALUE_BY_STATE","PRESENCE_OF_CHILDREN_IN_HOUSEHOLD","NUM_PEOPLE_IN_HOUSEHOLD","HOUSEHOLD_OWNS_HOME","AGE_OF_CHILDREN_IN_HOUSEHOLD","NUMBER_OF_CHILDREN_IN_HOUSEHOLD","INCOME","GENERAL_INTERESTS","SPORTS_INTERESTS","READING_INTERESTS","TRAVEL_INTERESTS","CAR_BRANDS","CAR_TYPES","CAR_MAKE_MODEL","CAR_FUEL_TYPES","CAR_SIZE","FINANCIAL_HEALTH","NET_WORTH","CREDIT_CARDS","INVESTMENTS","POI_CHAINS","COUNTS"],["INCOME","HOUSEHOLD_OWNS_HOME","NUM_PEOPLE_IN_HOUSEHOLD","PRESENCE_OF_CHILDREN_IN_HOUSEHOLD","NUMBER_OF_CHILDREN_IN_HOUSEHOLD","AGE_OF_CHILDREN_IN_HOUSEHOLD","HOUSEHOLD_MEDIAN_HOMEVALUE_BY_STATE"]],"title":"InsightGroup"},"InsightsPayload":{"properties":{"audience_id":{"type":"string","title":"Audience Id","description":"Audience ID to generate insights for"},"insight_context":{"$ref":"#/components/schemas/InsightContext","description":"Insight context to generate"},"filters":{"additionalProperties":{"type":"string"},"type":"object","title":"Filters","description":"Filters to generate insights for"},"timeframe":{"anyOf":[{"$ref":"#/components/schemas/src__stats__insights__model__Timeframe"},{"type":"null"}],"description":"Timeframe to generate insights for"}},"additionalProperties":true,"type":"object","required":["audience_id","insight_context","filters"],"title":"InsightsPayload"},"IntrospectConnectionPayload":{"properties":{"connection":{"$ref":"#/components/schemas/ConnectionPayload","description":"Payload of the Connection object we'd like to introspect."}},"additionalProperties":true,"type":"object","required":["connection"],"title":"IntrospectConnectionPayload"},"IntrospectPropertiesPayload":{"properties":{"connection_id":{"type":"string","title":"Connection Id","description":"ID of the connection to introspect"}},"additionalProperties":true,"type":"object","required":["connection_id"],"title":"IntrospectPropertiesPayload"},"IntrospectTablePayload":{"properties":{"flow_id":{"type":"string","title":"Flow Id","description":"Flow ID that this is in context of. Necessary to track down the connection we should use for credentials."},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection to use for introspection. If not provided, use the connection attached to the flow (older meltano deployments)] = None."},"table_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Table Config","description":"Any additional config used for the introspection, not on the general connection"},"specifier":{"additionalProperties":{"type":"string"},"type":"object","title":"Specifier","description":"The specifier used to track down the table. We expect a specifier rather than a full table specifier because we use this in a context where we are not working with an existing connection"}},"additionalProperties":true,"type":"object","required":["flow_id","specifier"],"title":"IntrospectTablePayload"},"KargoPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"kargoAdvertiserName":{"type":"string","title":"Kargoadvertisername","description":"Advertiser Name specific to Kargo, not related to the chosen advertiser above. Consists of alpha-numeric and underscore characters."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","kargoAdvertiserName"],"title":"KargoPlatformOneTargetPayload"},"KnowledgeChatExploreSuggestionsRequestPayload":{"properties":{"knowledgeDocumentIds":{"items":{"type":"string"},"type":"array","title":"Knowledgedocumentids","description":"List of document ids"},"forceRefresh":{"type":"boolean","title":"Forcerefresh","description":"ignore cache and re-generate suggestions","default":false}},"additionalProperties":true,"type":"object","required":["knowledgeDocumentIds"],"title":"KnowledgeChatExploreSuggestionsRequestPayload"},"KnowledgeChatExploreSuggestionsResponsePayload":{"properties":{"suggestions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Suggestions","description":"List of suggestions"},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task."}},"additionalProperties":true,"type":"object","required":["status"],"title":"KnowledgeChatExploreSuggestionsResponsePayload"},"LGAdsPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"lgAdsAdvertiserName":{"type":"string","title":"Lgadsadvertisername","description":"LG Ads Advertiser Name."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","lgAdsAdvertiserName"],"title":"LGAdsPlatformOneTargetPayload"},"LinkedInIntrospectionAccount":{"properties":{"id":{"type":"string","title":"Id","description":"The ID of the account."},"name":{"type":"string","title":"Name","description":"The name of the account."}},"additionalProperties":true,"type":"object","required":["id","name"],"title":"LinkedInIntrospectionAccount"},"LinkedInPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"accountId":{"type":"string","title":"Accountid","description":"LinkedIn Account Id.  Do NOT include urn:li:sponsoredAccount: at the beginning. Consists of 9 to 19 digits."},"schema":{"type":"string","enum":["SHA256_EMAIL"],"const":"SHA256_EMAIL","title":"Schema","description":"Syndication Schema.","default":"SHA256_EMAIL"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","accountId"],"title":"LinkedInPlatformOneTargetPayload"},"LocalityType":{"type":"string","enum":["zip","dma"],"title":"LocalityType"},"LocationIntelligenceCategoriesPlacesPayload":{"properties":{"categories":{"items":{"type":"string"},"type":"array","title":"Categories","description":"categories to search places for."},"zip_codes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Zip Codes","description":"limit search to zip_codes."}},"additionalProperties":true,"type":"object","required":["categories"],"title":"LocationIntelligenceCategoriesPlacesPayload"},"LocationIntelligenceGenerateAudiencePayload":{"properties":{"teamId":{"type":"string","title":"Teamid","description":"team id"},"new_audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Audience Name","description":"Audience Name"},"zip_codes":{"items":{"type":"string"},"type":"array","title":"Zip Codes","description":"Zip codes of places visited"},"places":{"items":{"type":"string"},"type":"array","title":"Places","description":"places visited"},"timeframe":{"$ref":"#/components/schemas/src__ad_analytics__location_intelligence__model__Timeframe","description":"timeframe"},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"source audience id"}},"additionalProperties":true,"type":"object","required":["teamId","new_audience_name","zip_codes","places","timeframe"],"title":"LocationIntelligenceGenerateAudiencePayload"},"LocationIntelligenceGeneratePayload":{"properties":{"location_natural_language":{"type":"string","title":"Location Natural Language"},"zip_codes":{"items":{"type":"string"},"type":"array","title":"Zip Codes"},"places":{"items":{"type":"string"},"type":"array","title":"Places"},"timeframe":{"anyOf":[{"$ref":"#/components/schemas/src__ad_analytics__location_intelligence__model__Timeframe"},{"type":"null"}]},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id"}},"type":"object","required":["location_natural_language","zip_codes","places","timeframe","audience_id"],"title":"LocationIntelligenceGeneratePayload"},"LocationIntelligenceSearchPlacesPayload":{"properties":{"search_string":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search String","description":"search across categories and place names."},"zip_codes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Zip Codes","description":"limit search to zip_codes."}},"additionalProperties":true,"type":"object","title":"LocationIntelligenceSearchPlacesPayload"},"LoopMePlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"loopMeAdvertiserName":{"type":"string","title":"Loopmeadvertisername","description":"Advertiser Name used in filenames for delivery of data to LoopMe. Consists of alpha-numeric characters and dash."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","loopMeAdvertiserName"],"title":"LoopMePlatformOneTargetPayload"},"LotamePlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"clientID":{"type":"string","title":"Clientid","description":"Client ID which is 3 to 6 digits"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","clientID"],"title":"LotamePlatformOneTargetPayload"},"MagnitePlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"magniteSeatId":{"type":"string","title":"Magniteseatid","description":"Magnite Seat Id, Not the MetaData Seat Id. Consists of digits."},"magnitePartnerId":{"type":"string","title":"Magnitepartnerid","description":"Magnite provided DMP Partner ID representing the owner of the segment. Consists of digits."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","magniteSeatId","magnitePartnerId"],"title":"MagnitePlatformOneTargetPayload"},"MeasurementChartEnum":{"type":"string","enum":["creative_performance","pacing_campaign","pacing_channel","pacing_partner","kpi_timeline","kpi_scorecard","pacing_topline","campaign_drilldown","impressions_vs_spend","clicks_vs_spend","total_contribution_to_impressions","clicks_per_impression","total_cost_per_thousand_impressions","campaign_impressions_comparison","campaign_spend_comparison","channel_impression_metrics","partner_performance_comparison","weekly_performance_by_partner","weekly_performance_rankings_by_partner"],"title":"MeasurementChartEnum"},"MeasurementChartRefreshPayload":{"properties":{"chart_id":{"type":"integer","title":"Chart Id"},"measurementFilter":{"$ref":"#/components/schemas/MeasurementFilters"}},"additionalProperties":true,"type":"object","required":["chart_id","measurementFilter"],"title":"MeasurementChartRefreshPayload"},"MeasurementChartResult":{"properties":{"chart_metadata_id":{"type":"integer","title":"Chart Metadata Id"},"chart_data_id":{"type":"integer","title":"Chart Data Id"},"chart_id":{"type":"integer","title":"Chart Id"},"data":{"anyOf":[{"$ref":"#/components/schemas/Render"},{"$ref":"#/components/schemas/DrilldownTableData"},{"type":"null"}],"title":"Data"}},"additionalProperties":true,"type":"object","required":["chart_metadata_id","chart_data_id","chart_id","data"],"title":"MeasurementChartResult"},"MeasurementChartSummaryPayload":{"properties":{"filters":{"$ref":"#/components/schemas/MeasurementFilters"},"chart_metadata_id":{"type":"integer","title":"Chart Metadata Id"},"chart_data_id":{"type":"integer","title":"Chart Data Id"}},"additionalProperties":true,"type":"object","required":["filters","chart_metadata_id","chart_data_id"],"title":"MeasurementChartSummaryPayload"},"MeasurementChartSummaryResult":{"properties":{"summary":{"type":"string","title":"Summary"}},"additionalProperties":true,"type":"object","required":["summary"],"title":"MeasurementChartSummaryResult"},"MeasurementDashboardBannerPayload":{"properties":{"dashboard_id":{"type":"string","title":"Dashboard Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"additionalProperties":true,"type":"object","required":["dashboard_id"],"title":"MeasurementDashboardBannerPayload"},"MeasurementDashboardBannerResult":{"properties":{"presigned_url":{"type":"string","title":"Presigned Url"},"storage_path":{"type":"string","title":"Storage Path"}},"additionalProperties":true,"type":"object","required":["presigned_url","storage_path"],"title":"MeasurementDashboardBannerResult"},"MeasurementDashboardChartPayload":{"properties":{"chart_metadata_id":{"type":"integer","title":"Chart Metadata Id"},"chart_data_id":{"type":"integer","title":"Chart Data Id"}},"additionalProperties":true,"type":"object","required":["chart_metadata_id","chart_data_id"],"title":"MeasurementDashboardChartPayload"},"MeasurementDashboardSummaryPayload":{"properties":{"filters":{"$ref":"#/components/schemas/MeasurementFilters"},"charts":{"items":{"$ref":"#/components/schemas/MeasurementDashboardChartPayload"},"type":"array","title":"Charts"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"additionalProperties":true,"type":"object","required":["filters","charts"],"title":"MeasurementDashboardSummaryPayload"},"MeasurementDashboardSummaryResult":{"properties":{"summary":{"type":"string","title":"Summary"}},"additionalProperties":true,"type":"object","required":["summary"],"title":"MeasurementDashboardSummaryResult"},"MeasurementFilters":{"properties":{"timeframe":{"anyOf":[{"$ref":"#/components/schemas/MeasurementTimeframe"},{"type":"null"}],"description":"Timeframe of the filter"},"comparison_timeframe":{"anyOf":[{"$ref":"#/components/schemas/MeasurementTimeframe"},{"type":"null"}],"description":"Timeframe for comparison data"},"drilldown":{"anyOf":[{"$ref":"#/components/schemas/DrilldownConfig"},{"type":"null"}],"description":"Drill-down configuration"},"raw_measurement_filter":{"type":"object","title":"Raw Measurement Filter"}},"additionalProperties":true,"type":"object","title":"MeasurementFilters","description":"Measurement filter with dynamic field support for hierarchy-based filtering"},"MeasurementTimeframe":{"properties":{"start_date":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Date","description":"start date of the query in unix epoch milliseconds"},"end_date":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Date","description":"end date of the query in unix epoch milliseconds"}},"additionalProperties":true,"type":"object","title":"MeasurementTimeframe"},"MediaPlanScope":{"properties":{"optimization_type":{"$ref":"#/components/schemas/OptimizationType","description":"Optimization type"},"curve_units":{"$ref":"#/components/schemas/CurveUnits","description":"Curve units"},"region":{"type":"string","title":"Region","description":"Region to target for the media plan."},"combination_method":{"$ref":"#/components/schemas/CombinationMethod","description":"Combination method","default":"sainsbury"},"target_size":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Target Size","description":"Target size of the media plan."},"target_audience":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Audience","description":"Target audience."},"total_budget":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Total Budget","description":"Total budget for the media plan"},"response_target":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Response Target","description":"Response target for the media plan"},"media_plan_title":{"type":"string","title":"Media Plan Title","description":"A one line title for the media plan scope."},"media_plan_description":{"type":"string","title":"Media Plan Description","description":"A short explanation of the media plan scope."}},"additionalProperties":true,"type":"object","required":["optimization_type","curve_units","region","media_plan_title","media_plan_description"],"title":"MediaPlanScope","description":"Media Plan Scope"},"MetaIntrospectionAccount":{"properties":{"id":{"type":"string","title":"Id","description":"The ID of the account."},"name":{"type":"string","title":"Name","description":"The name of the account."}},"additionalProperties":true,"type":"object","required":["id","name"],"title":"MetaIntrospectionAccount"},"MetaPlatformOneDataSourceEnum":{"type":"string","enum":["BOTH_USER_AND_PARTNER_PROVIDED","USER_PROVIDED_ONLY","PARTNER_PROVIDED_ONLY"],"title":"MetaPlatformOneDataSourceEnum"},"MetaPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"accountId":{"type":"string","title":"Accountid","description":"Account ID for Meta Business API."},"metaDatasource":{"$ref":"#/components/schemas/MetaPlatformOneDataSourceEnum","description":"Data Source for Meta Business API."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","accountId","metaDatasource"],"title":"MetaPlatformOneTargetPayload"},"MinMaxPartitionDatePayload":{"properties":{"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"Filter by audience ID"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","description":"Filter by genres"},"networks":{"items":{"type":"string"},"type":"array","title":"Networks","description":"Filter by networks"},"titles":{"items":{"type":"string"},"type":"array","title":"Titles","description":"Filter by titles"},"dma_codes":{"items":{"type":"integer"},"type":"array","title":"Dma Codes","description":"Filter by DMA codes"}},"additionalProperties":true,"type":"object","title":"MinMaxPartitionDatePayload"},"ModelStatus":{"type":"string","enum":["PRESTART","FINDING_FEATURES","COLLECTING_IDS","STAGING_DATA","COMPLETED","FAILED","FITTING_SUPERVISED_MODEL","BACKTESTING_SUPERVISED_MODEL","CLUSTERING_RESULTS","TRAINING_STACK","PREDICTING_SUPERVISED_MODEL","PREDICTING_STACK_MODEL","RESCALING_RESULTS","WRITING","LOGGING_PROBABILITIES","LOGGING_INFERENCE_SET_SIZE","FINDING_OPTIMAL_K","FINDING_CENTERS","FINDING_SEGMENT_DIFFS","FINDING_SEGMENT_DIFFERENCES","REMOVING_REDUNDANT_FEATURES_VIA_SQL"],"title":"ModelStatus"},"MultiTableChatExploreSuggestionsRequestPayload":{"properties":{"useCache":{"type":"boolean","title":"Usecache","description":"ignore cache and re-generate suggestions","default":false}},"additionalProperties":true,"type":"object","title":"MultiTableChatExploreSuggestionsRequestPayload"},"MultiTableChatExploreSuggestionsResponsePayload":{"properties":{"suggestions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Suggestions","description":"List of suggestions"},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task."}},"additionalProperties":true,"type":"object","required":["status"],"title":"MultiTableChatExploreSuggestionsResponsePayload"},"NativoPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"nativoAdvertiserName":{"type":"string","title":"Nativoadvertisername","description":"Advertiser Name used in filenames for delivery of data to Nativo. Enter 'thirdparty' for AdAdvisor and 3rd-party Data Providers. Consists of alpha-numeric characters and dash."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","nativoAdvertiserName"],"title":"NativoPlatformOneTargetPayload"},"NetworkFilterPayload":{"properties":{"starts_with":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Starts With","description":"Filter titles that start with this string"},"titles":{"items":{"type":"string"},"type":"array","title":"Titles","description":"Filter titles that belong to these networks"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","description":"Filter titles that belong to these genres"}},"additionalProperties":true,"type":"object","title":"NetworkFilterPayload"},"OAuthConnectionPayload":{"properties":{"_owner":{"type":"string","title":" Owner","description":"ID of user that created this entry."},"_org":{"type":"string","title":" Org","description":"ID of user's active organization when creating this entry."},"validated":{"type":"boolean","title":"Validated","description":"Whether we've tested and validated these credentials actually work. Relevant due to us persisting credentials *before* we attempt imports (rather than how we used to do it, after) to help with bug triage, particularly when errors occur during the initial `/commit/import` call and not during the followup task doing the actual import.","default":true},"config":{"type":"object","title":"Config","description":"JSON object specifying config on the connection. This is a value whose format WE specify; it needs to have enough information that we can map it to either a Meltano extractor or loader, but is fully distinct from either of those concepts. Avoiding coupling both this and table specifiers to whether they are pulling data in or sending data out is very useful and gives us very powerful generalization capabilities."},"oauth_connection_id":{"type":"string","title":"Oauth Connection Id","description":"The pre-existing oauth connection to use"}},"additionalProperties":true,"type":"object","required":["_owner","_org","config","oauth_connection_id"],"title":"OAuthConnectionPayload"},"OpenXPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"uuid":{"type":"string","title":"Uuid","description":"OpenX Advertiser Account ID"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","uuid"],"title":"OpenXPlatformOneTargetPayload"},"OptimizationType":{"type":"string","enum":["response","allocation"],"title":"OptimizationType"},"OptimizeErrorPayload":{"properties":{"error":{"type":"string","title":"Error"}},"additionalProperties":true,"type":"object","required":["error"],"title":"OptimizeErrorPayload"},"OptimizePayload":{"properties":{"reach_curves":{"additionalProperties":{"$ref":"#/components/schemas/ReachCurve-Input"},"type":"object","title":"Reach Curves","description":"Reach curves"},"media_scope":{"$ref":"#/components/schemas/MediaPlanScope"},"bounds":{"anyOf":[{"additionalProperties":{"prefixItems":[{"anyOf":[{"type":"number"},{"type":"null"}]},{"anyOf":[{"type":"number"},{"type":"null"}]}],"type":"array","maxItems":2,"minItems":2},"type":"object"},{"type":"null"}],"title":"Bounds"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id","description":"User ID"},"org_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Id","description":"Organization ID"}},"additionalProperties":true,"type":"object","required":["reach_curves","media_scope"],"title":"OptimizePayload"},"OptimizedOverBudgetPayload":{"properties":{"reach_curves":{"additionalProperties":{"$ref":"#/components/schemas/ReachCurve-Input"},"type":"object","title":"Reach Curves","description":"Reach curves"},"media_scope":{"$ref":"#/components/schemas/MediaPlanScope"},"bounds":{"anyOf":[{"additionalProperties":{"prefixItems":[{"anyOf":[{"type":"number"},{"type":"null"}]},{"anyOf":[{"type":"number"},{"type":"null"}]}],"type":"array","maxItems":2,"minItems":2},"type":"object"},{"type":"null"}],"title":"Bounds"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id","description":"User ID"},"org_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Id","description":"Organization ID"},"budget_diff_pct":{"type":"integer","title":"Budget Diff Pct","description":"Percentage difference between budget values"},"num_iterations":{"type":"integer","title":"Num Iterations","description":"Number of iterations per direction"}},"additionalProperties":true,"type":"object","required":["reach_curves","media_scope","budget_diff_pct","num_iterations"],"title":"OptimizedOverBudgetPayload"},"POIGroupBreakdown":{"properties":{"group":{"type":"string","title":"Group"},"events":{"$ref":"#/components/schemas/CountPct"},"ids":{"$ref":"#/components/schemas/CountPct"}},"additionalProperties":true,"type":"object","required":["group","events","ids"],"title":"POIGroupBreakdown","description":"Group item for treemap visualization with event and id metrics."},"Pagination":{"properties":{"start":{"type":"integer","title":"Start","description":"The start index"},"limit":{"type":"integer","title":"Limit","description":"The limit"}},"additionalProperties":true,"type":"object","required":["start","limit"],"title":"Pagination"},"PandoraPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"dmpTaxonomyId":{"type":"integer","title":"Dmptaxonomyid","description":"DMP Taxonomy Id"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","dmpTaxonomyId"],"title":"PandoraPlatformOneTargetPayload"},"ParseErrorPayload":{"properties":{"error_msg":{"type":"string","title":"Error Msg","description":"Meltano raw error message"}},"additionalProperties":true,"type":"object","required":["error_msg"],"title":"ParseErrorPayload"},"PayloadResponseGetDatasetMapping":{"properties":{"exists":{"type":"boolean","title":"Exists"},"mapping":{"anyOf":[{"$ref":"#/components/schemas/SlackChannelMapping"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["exists"],"title":"PayloadResponseGetDatasetMapping"},"PinterestPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"advertiserId":{"type":"string","title":"Advertiserid","description":"Pinterest Account ID which is 10 to 18 digits"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","advertiserId"],"title":"PinterestPlatformOneTargetPayload"},"PlatformOneAudienceDistributionTarget":{"properties":{"id":{"type":"string","title":"Id","description":"ID of this object."},"_markedForDeletion":{"type":"boolean","title":" Markedfordeletion","description":"marked if record has been soft-deleted.","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"teamId":{"type":"string","title":"Teamid","description":"The team ID associated with the target."},"name":{"type":"string","title":"Name"},"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"config":{"$ref":"#/components/schemas/PlatformOneAudienceDistributionTargetConfig"}},"additionalProperties":true,"type":"object","required":["teamId","name","type","config"],"title":"PlatformOneAudienceDistributionTarget"},"PlatformOneAudienceDistributionTargetConfig":{"properties":{"platform_one_config_id":{"type":"string","title":"Platform One Config Id","description":"FK to PlatformOneAudienceDistributionTargetConfig record."},"syndication_group_id":{"type":"integer","title":"Syndication Group Id","description":"Syndication Group ID, selects Destination for deploying audience"}},"additionalProperties":true,"type":"object","required":["platform_one_config_id","syndication_group_id"],"title":"PlatformOneAudienceDistributionTargetConfig","description":"Useful base model for any distribution target that goes through Platform One."},"PredictPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for prediction"},"time_in_days":{"type":"integer","title":"Time In Days","description":"The time in days to predict"},"prediction_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prediction Sql","description":"The SQL to use for prediction."},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"The ID of the audience to use for prediction.  If set will override prediction_sql."}},"additionalProperties":true,"type":"object","required":["model_id","time_in_days"],"title":"PredictPayload"},"PreviewPredictPayload":{"properties":{"flow_id":{"type":"string","title":"Flow Id","description":"Flow ID these predictions will be run off of. Important to specify because this is how we track down the exact model we'll use for predictions."},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to use for credentials. If not provided, we use the connection attached to the flow (older meltano deployments)] = None."},"specifier":{"additionalProperties":{"type":"string"},"type":"object","title":"Specifier","description":"The table specifier specifying the table we'd like a preview of. We pull it down and run N predictions on it, then return the results."},"mappings":{"additionalProperties":{"type":"string"},"type":"object","title":"Mappings","description":"Field mappings, useful incase you are trying to run on a table with the same information but different column names. Keys of the object are keys on the table we'll be running predictions on, Values of the object are keys on our training table.","default":{}},"step_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Title","description":"Which deployment user-friendly name (Snowflake, Postgres, etc) is running"},"step_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step Key","description":"Which deployment key (postgre-sql-output, etc) is running"}},"additionalProperties":true,"type":"object","required":["flow_id","specifier"],"title":"PreviewPredictPayload"},"PreviewPredictResponse":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id","description":"Dataset created during the preview process."},"input_table_specifier_id":{"type":"string","title":"Input Table Specifier Id","description":"The table specifier of where the source data for predictions is."},"target_table_specifier_id":{"type":"string","title":"Target Table Specifier Id","description":"The table specifier of where we'll be placing predictions."}},"additionalProperties":true,"type":"object","required":["dataset_id","input_table_specifier_id","target_table_specifier_id"],"title":"PreviewPredictResponse"},"ProcessUPCFileRequest":{"properties":{"s3_key":{"type":"string","title":"S3 Key","description":"The S3 key where the file was uploaded (provided by generate-upload-url)"},"file_name":{"type":"string","title":"File Name","description":"The original name of the uploaded file"}},"additionalProperties":true,"type":"object","required":["s3_key","file_name"],"title":"ProcessUPCFileRequest","description":"Request model for processing a UPC file from S3."},"ProductAnalysisItem":{"properties":{"item":{"type":"string","title":"Item","description":"The item being analyzed (brand, category, product name, or UPC)"},"value":{"type":"number","title":"Value","description":"Value of the selected metric for this item"},"weighted_value":{"type":"number","title":"Weighted Value","description":"Weighted value of the selected metric for this item"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","description":"Brand of the product"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Category of the product"}},"additionalProperties":true,"type":"object","required":["item","value","weighted_value","brand","category"],"title":"ProductAnalysisItem","description":"Item for product analysis results."},"ProductAnalysisResponse":{"properties":{"grouping":{"$ref":"#/components/schemas/CPGAnalysisGrouping","description":"How the results were grouped"},"metric":{"$ref":"#/components/schemas/CPGAnalysisMetric","description":"The primary metric displayed"},"overall_value":{"type":"number","title":"Overall Value","description":"Overall total for the selected metric"},"weighted_overall_value":{"type":"number","title":"Weighted Overall Value","description":"Weighted overall total for the selected metric"},"products":{"items":{"$ref":"#/components/schemas/ProductAnalysisItem"},"type":"array","title":"Products","description":"List of top products"}},"additionalProperties":true,"type":"object","required":["grouping","metric","overall_value","weighted_overall_value","products"],"title":"ProductAnalysisResponse","description":"Response for product analysis."},"PropensityModelMetadataRecord":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"datasource_id":{"type":"string","title":"Datasource Id","description":"The ID of the datasource."},"preview_async_id":{"type":"integer","title":"Preview Async Id","description":"The ID of the preview async."},"lapse_args":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Lapse Args","description":"The arguments for the lapse analysis."},"churn_args":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Churn Args","description":"The arguments for the churn analysis."},"training_set_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Training Set Size","description":"The size of the training set."},"event_set_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Event Set Size","description":"The size of the event set."},"prediction_adjustment_factor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prediction Adjustment Factor","description":"The prediction adjustment factor."},"target_encodings":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Target Encodings","description":"The target encodings."},"preview_quality_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Quality Text","description":"The preview quality text."},"approach_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approach Text","description":"The approach text."},"feature_importances":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Feature Importances","description":"The feature importances."},"ignore_columns":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Ignore Columns","description":"The training columns to ignore."},"training_async_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Training Async Id","description":"The ID of the training async."},"shap_values":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Shap Values","description":"The SHAP values from the test set."},"performance_metrics":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Performance Metrics","description":"The performance metrics."},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Path","description":"The path to the model."},"feature_columns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Feature Columns","description":"The columns to use as features."},"hyperparams":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Hyperparams","description":"The hyperparams."},"model_text_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Text Summary","description":"The text summary of the model."},"training_duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Training Duration","description":"The duration of the training in seconds."},"model_results":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Model Results","description":"The results of the model."}},"type":"object","required":["datasource_id","preview_async_id"],"title":"PropensityModelMetadataRecord"},"PropensityPredictionMetadataRecord":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"async_job_id":{"type":"integer","title":"Async Job Id","description":"The ID of the async job."},"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model."},"prediction_timeframe":{"type":"integer","title":"Prediction Timeframe","description":"The time frame of the prediction in days."},"prediction_sql":{"type":"string","title":"Prediction Sql","description":"The SQL query for the prediction set."},"prediction_set_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prediction Set Name","description":"The name of the prediction set."},"prediction_set_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prediction Set Size","description":"The size of the prediction set."},"prediction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prediction Id","description":"The ID of the prediction."},"shap_values":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Shap Values","description":"The SHAP values."},"prediction_samples":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Prediction Samples","description":"The prediction samples."},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"The ID of the audience for which the prediction was made."}},"type":"object","required":["async_job_id","model_id","prediction_timeframe","prediction_sql","prediction_set_name"],"title":"PropensityPredictionMetadataRecord"},"ProviderSelection":{"properties":{"from_provider":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"From Provider","description":"Providers we're tracking churn FROM. Can be a single provider string or list of providers"},"to_providers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"To Providers","description":"Specific providers to track churn TO. If not provided, tracks any other provider"}},"additionalProperties":true,"type":"object","required":["from_provider"],"title":"ProviderSelection","description":"Defines provider selection criteria for churn tracking"},"PubmaticPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"pubmaticDataProviderId":{"type":"integer","title":"Pubmaticdataproviderid","description":"Pubmatic Data Provider ID, contains numeric characters only."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","pubmaticDataProviderId"],"title":"PubmaticPlatformOneTargetPayload"},"PurchaseFields":{"type":"string","enum":["BRAND","CATEGORY","SUBCATEGORY","PRODUCT_NAME","BASKET_TOTAL","BASKET_ID"],"title":"PurchaseFields"},"RFM":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"async_job_id":{"type":"integer","title":"Async Job Id","description":"ID of the async job used for this RFM analysis."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Optional name for this RFM analysis."},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"ID of the audience used for this RFM analysis."},"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date","description":"Start date for the RFM analysis."},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date","description":"End date for the RFM analysis."},"upc_batch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Upc Batch Id","description":"ID of the UPC batch used for this analysis."},"product_selections":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Product Selections","description":"Structured selection of brands, sub-brands, products, and categories for analysis."}},"type":"object","required":["async_job_id"],"title":"RFM","description":"Main RFM model for RFM analysis with equal-width segmentation and UPC upload support.\nSupports 1:N relationship with brands, sub-brands, products, and product categories."},"RFMBuildAudienceForGrowthFrameworkPayload":{"properties":{"cell_ids":{"items":{"type":"integer"},"type":"array","title":"Cell Ids","description":"The IDs of the cells to build audience for"},"project_id":{"type":"string","title":"Project Id","description":"The ID of the project to build audience for"},"new_audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Audience Name","description":"The name of the new audience to create"},"org_id":{"type":"string","title":"Org Id","description":"The ID of the organization to build audience for"}},"additionalProperties":true,"type":"object","required":["cell_ids","project_id","org_id"],"title":"RFMBuildAudienceForGrowthFrameworkPayload"},"RFMBuildAudienceForRfmPayload":{"properties":{"segment_ids":{"items":{"type":"integer"},"type":"array","title":"Segment Ids","description":"The IDs of the segments to build audience for"},"project_id":{"type":"string","title":"Project Id","description":"The ID of the project to build audience for"},"new_audience_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Audience Name","description":"The name of the new audience to create"},"org_id":{"type":"string","title":"Org Id","description":"The ID of the organization to build audience for"}},"additionalProperties":true,"type":"object","required":["segment_ids","project_id","org_id"],"title":"RFMBuildAudienceForRfmPayload"},"RFMBuildConfigurationPayload":{"properties":{"rfm_id":{"type":"integer","title":"Rfm Id","description":"The ID of the RFM model to build configuration for"},"num_segments":{"type":"integer","title":"Num Segments","description":"The number of segments to build for the RFM model"}},"additionalProperties":true,"type":"object","required":["rfm_id","num_segments"],"title":"RFMBuildConfigurationPayload"},"RFMBuildGrowthFrameworkPayload":{"properties":{"rfm_id":{"type":"integer","title":"Rfm Id","description":"The ID of the RFM model to build growth framework for"},"brand_selections":{"$ref":"#/components/schemas/SelectionPayload","description":"The brand selections for the growth framework"},"category_selections":{"$ref":"#/components/schemas/SelectionPayload","description":"The category selections for the growth framework"}},"additionalProperties":true,"type":"object","required":["rfm_id","brand_selections","category_selections"],"title":"RFMBuildGrowthFrameworkPayload"},"RFMBuildPayload":{"properties":{"product_selections":{"$ref":"#/components/schemas/SelectionPayload","description":"The product selections for the RFM model"},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id","description":"The ID of the audience to generate RFM segments for"},"timeframe":{"anyOf":[{"$ref":"#/components/schemas/src__api__ad_analytics__model__Timeframe"},{"type":"null"}],"description":"The timeframe for the RFM model"},"upc_batch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Upc Batch Id","description":"The ID of a UPC batch to use for product selections"}},"additionalProperties":true,"type":"object","required":["product_selections"],"title":"RFMBuildPayload"},"RFMConfiguration":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"async_job_id":{"type":"integer","title":"Async Job Id","description":"ID of the async job used for this RFM configuration."},"r_segments":{"type":"integer","title":"R Segments","description":"Number of segments for Recency dimension."},"f_segments":{"type":"integer","title":"F Segments","description":"Number of segments for Frequency dimension."},"m_segments":{"type":"integer","title":"M Segments","description":"Number of segments for Monetary dimension."},"boundary_method":{"$ref":"#/components/schemas/BoundaryMethod","description":"Method for calculating segment boundaries.","default":"equal_width"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Optional name for this configuration."},"insights":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Insights","description":"List of insights for this configuration."},"rfm_id":{"type":"integer","title":"Rfm Id","description":"The ID of the RFM analysis this configuration belongs to."}},"type":"object","required":["async_job_id","r_segments","f_segments","m_segments","rfm_id"],"title":"RFMConfiguration","description":"Configuration settings for RFM analysis, using equal-width boundaries\nfor segmentation. Supports configurable number of segments (3, 5, or 7)."},"Rating":{"properties":{"id":{"type":"string","title":"Id","description":"ID of this object."},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"messages":{"items":{"$ref":"#/components/schemas/ChatMessage"},"type":"array","title":"Messages"},"message_index":{"type":"integer","title":"Message Index"},"rating":{"type":"string","enum":["good","bad"],"title":"Rating"},"rating_source":{"type":"string","title":"Rating Source","default":""},"chart_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chart Data"},"feedback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback"},"audience_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Id"},"datasource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datasource Id"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"chat_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Error"}},"additionalProperties":true,"type":"object","required":["dataset_id","messages","message_index","rating"],"title":"Rating"},"ReachCurve-Input":{"properties":{"a":{"type":"number","exclusiveMinimum":0.0,"title":"A","description":"The a parameter of the reach curve"},"k":{"type":"number","exclusiveMinimum":0.0,"title":"K","description":"The k parameter of the reach curve"},"n":{"type":"number","exclusiveMinimum":0.0,"title":"N","description":"The n parameter of the reach curve"},"c":{"type":"number","minimum":0.0,"title":"C","description":"The c parameter of the reach curve"},"x_min":{"type":"number","minimum":0.0,"title":"X Min","description":"The minimum x value of the curve"},"x_max":{"type":"number","minimum":0.0,"title":"X Max","description":"The maximum x value of the curve"},"target_size":{"type":"integer","minimum":0.0,"title":"Target Size","description":"The target size of the curve","default":0},"min_cpm":{"type":"number","minimum":0.0,"title":"Min Cpm","description":"The minimum CPM of the curve","default":0.0},"cpm_curve":{"anyOf":[{"$ref":"#/components/schemas/CPMCurve"},{"type":"null"}],"description":"The CPM Curve"}},"additionalProperties":true,"type":"object","required":["a","k","n","c","x_min","x_max"],"title":"ReachCurve","description":"TODO: NOTE: THIS PURELY TO HANDLE FE, AS A SHIM. REMOVE AT THE EARLIEST\nA Hill function Reach Curve defined by a, k, n, and c parameters as follows:\nf(x) = a * (x**n / (k**n + x**n)) + c"},"ReachCurve-Output":{"properties":{"a":{"type":"number","exclusiveMinimum":0.0,"title":"A","description":"The a parameter of the reach curve"},"k":{"type":"number","exclusiveMinimum":0.0,"title":"K","description":"The k parameter of the reach curve"},"n":{"type":"number","exclusiveMinimum":0.0,"title":"N","description":"The n parameter of the reach curve"},"c":{"type":"number","minimum":0.0,"title":"C","description":"The c parameter of the reach curve"},"x_min":{"type":"number","minimum":0.0,"title":"X Min","description":"The minimum x value of the curve"},"x_max":{"type":"number","minimum":0.0,"title":"X Max","description":"The maximum x value of the curve"},"target_size":{"type":"integer","minimum":0.0,"title":"Target Size","description":"The target size of the curve","default":0},"min_cpm":{"type":"number","minimum":0.0,"title":"Min Cpm","description":"The minimum CPM of the curve","default":0.0},"cpm_curve":{"anyOf":[{"$ref":"#/components/schemas/CPMCurve"},{"type":"null"}],"description":"The CPM Curve"},"knee":{"type":"number","title":"Knee","description":"The knee is the 'Optimal' number of GRPs.","readOnly":true},"max_reach":{"type":"number","title":"Max Reach","description":"The maximum reach of the curve.","readOnly":true},"freq":{"type":"number","title":"Freq","description":"The frequency.","readOnly":true},"unoptimizable":{"type":"boolean","title":"Unoptimizable","description":"Whether the curve is unoptimizable.","readOnly":true}},"additionalProperties":true,"type":"object","required":["a","k","n","c","x_min","x_max","knee","max_reach","freq","unoptimizable"],"title":"ReachCurve","description":"TODO: NOTE: THIS PURELY TO HANDLE FE, AS A SHIM. REMOVE AT THE EARLIEST\nA Hill function Reach Curve defined by a, k, n, and c parameters as follows:\nf(x) = a * (x**n / (k**n + x**n)) + c"},"RefreshLiveFlowDatasetParams":{"properties":{"uid":{"type":"string","title":"Uid"},"org":{"type":"string","title":"Org"},"flowId":{"type":"string","title":"Flowid"},"integrationType":{"type":"string","title":"Integrationtype"}},"additionalProperties":true,"type":"object","required":["uid","org","flowId","integrationType"],"title":"RefreshLiveFlowDatasetParams"},"RefreshTargetEnum":{"type":"string","enum":["audience","overview","insights","lookalike"],"title":"RefreshTargetEnum"},"Render":{"properties":{"type":{"type":"string","title":"Type"},"chart_filter":{"type":"object","title":"Chart Filter"},"sql_metadata":{"type":"object","title":"Sql Metadata"},"title":{"type":"string","title":"Title","default":""},"description":{"type":"string","title":"Description","default":""},"data":{"anyOf":[{},{"type":"null"}],"title":"Data"},"download_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Path"},"transformed_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Transformed Data"},"sources":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sources"},"view":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"View"},"column_metadata":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Column Metadata"}},"additionalProperties":true,"type":"object","required":["type"],"title":"Render"},"ReportConfig":{"properties":{"metrics":{"items":{"type":"string"},"type":"array","title":"Metrics","description":"List of metrics to include in the report"},"dimensions":{"items":{"type":"string"},"type":"array","title":"Dimensions","description":"List of dimentions to include in the report"}},"additionalProperties":true,"type":"object","required":["metrics","dimensions"],"title":"ReportConfig"},"ResponseUnits":{"type":"string","enum":["REACH","REACH_PCT","IMPRESSIONS","IMPRESSIONS_PCT","VISITS"],"title":"ResponseUnits"},"RokuPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"advertiserName":{"type":"string","title":"Advertisername","description":"Advertiser Name"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","advertiserName"],"title":"RokuPlatformOneTargetPayload"},"RolesEnum":{"type":"string","enum":["user","assistant"],"title":"RolesEnum"},"SQLTransformCommitRequest":{"properties":{"flow_id":{"type":"string","title":"Flow Id","description":"The ID of the flow for this transform."},"transform_plan_ids":{"items":{"type":"integer"},"type":"array","title":"Transform Plan Ids","description":"A list of transform plans ids to formally commit. This performs these transform plans in sequence and hard-bakes the result, pointing the flow to the result instead.","default":[]}},"additionalProperties":true,"type":"object","required":["flow_id"],"title":"SQLTransformCommitRequest"},"SQLTransformPreviewRequest":{"properties":{"flow_id":{"type":"string","title":"Flow Id","description":"The ID of the flow for this transform."},"transform_plan_ids":{"items":{"type":"integer"},"type":"array","title":"Transform Plan Ids","description":"A list of prior transform plans to be applied before this one. This is the primary mechanism by which we support \"chaining\" transforms in a way that does not require you to actually commit in order to do the next one.","default":[]},"description":{"type":"string","title":"Description","description":"The user's plaintext request of what transform they want to see."}},"additionalProperties":true,"type":"object","required":["flow_id","description"],"title":"SQLTransformPreviewRequest"},"SabioPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"SabioPlatformOneTargetPayload"},"SamsungAdsPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"clientKey":{"type":"string","title":"Clientkey","description":"Consists of alpha-numeric and underscore characters."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","clientKey"],"title":"SamsungAdsPlatformOneTargetPayload"},"Segment":{"properties":{"id":{"type":"string","title":"Id","description":"ID of this object."},"_markedForDeletion":{"type":"boolean","title":" Markedfordeletion","description":"marked if record has been soft-deleted.","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"name":{"type":"string","title":"Name","description":"The name of the segment."},"description":{"type":"string","title":"Description","description":"description of the segment.","default":""},"owner":{"type":"string","title":"Owner","description":"The owner of the segment."},"teamId":{"type":"string","title":"Teamid","description":"The team ID associated with the segment."},"projectId":{"type":"string","title":"Projectid","description":"The ID of the project associated with the segment."},"chatRecordId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatrecordid","description":"The ID of the chat record associated with the segment."},"state":{"$ref":"#/components/schemas/TaskStatusEnum","description":"The state of the segment generation.","default":"PENDING"},"segmentSql":{"type":"string","title":"Segmentsql","description":"The SQL query defining the segment."},"region":{"type":"string","title":"Region","description":"The region for which the segment was built."},"wave":{"type":"string","title":"Wave","description":"The wave for which the segment was built."},"defaultCompareSegmentId":{"type":"string","title":"Defaultcomparesegmentid","description":"The default compare segment ID."},"saved_to_db":{"type":"boolean","title":"Saved To Db","description":"Whether the segment is saved to the database."},"llm_generated":{"type":"boolean","title":"Llm Generated","description":"Whether the segment was generated by LLM.","default":true},"isGlobalSegment":{"type":"boolean","title":"Isglobalsegment","description":"Whether the segment is global or pre-generated.","default":false},"isSavedByUser":{"type":"boolean","title":"Issavedbyuser","description":"Whether the segment was saved by the user.","default":false},"segmentInsights":{"type":"object","title":"Segmentinsights","description":"Insights related to the segment."},"bannerImagePath":{"type":"string","title":"Bannerimagepath","description":"storage path for the segment banner.","default":""},"data":{"items":{},"type":"array","title":"Data","description":"The data for the segment.","default":[]},"sources":{"items":{},"type":"array","title":"Sources","description":"The source tables used for the segment."},"comment":{"anyOf":[{"type":"string"},{"type":"object"},{"type":"null"}],"title":"Comment","description":"details on failure."},"imported":{"type":"boolean","title":"Imported","description":"Whether the segment was imported.","default":false},"num_rows":{"type":"integer","title":"Num Rows","description":"The number of rows in the segment.","default":0},"last_refreshed":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Refreshed","description":"datetime object representing when this segment was last refreshed."}},"additionalProperties":true,"type":"object","required":["name","owner","teamId","projectId","segmentSql","region","wave","defaultCompareSegmentId","saved_to_db","sources"],"title":"Segment"},"SegmentQuestionsPayload":{"properties":{"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"question_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Name"},"search":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},"additionalProperties":true,"type":"object","title":"SegmentQuestionsPayload"},"Selection":{"properties":{"field":{"type":"string","title":"Field"},"values":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Values"}},"additionalProperties":true,"type":"object","required":["field","values"],"title":"Selection"},"SelectionPayload":{"properties":{"selections":{"items":{"items":{"$ref":"#/components/schemas/Selection"},"type":"array"},"type":"array","title":"Selections"}},"additionalProperties":true,"type":"object","required":["selections"],"title":"SelectionPayload"},"SlackChannelMapping":{"properties":{"id":{"type":"string","title":"Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"slack_channel_id":{"type":"string","title":"Slack Channel Id"},"slack_channel_name":{"type":"string","title":"Slack Channel Name"},"flow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flow Id"}},"additionalProperties":true,"type":"object","required":["id","dataset_id","slack_channel_id","slack_channel_name"],"title":"SlackChannelMapping"},"SlingTvPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"slingTVAdvertiserName":{"type":"string","title":"Slingtvadvertisername","description":"slingTVAdvertiserName.This will be stored in seat.Input should consists of alphanumeric characters,underscores and hyphens."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","slingTVAdvertiserName"],"title":"SlingTvPlatformOneTargetPayload"},"SnapchatPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"organizationId":{"type":"string","title":"Organizationid","description":"Snapchat Organization ID. Consists of alpha-numeric characters and - in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},"adAccountId":{"type":"string","title":"Adaccountid","description":"The Ad Account Id is tied to a specific organisation, under which segments will be created. Consists of alpha-numeric characters and - in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","organizationId","adAccountId"],"title":"SnapchatPlatformOneTargetPayload"},"SortOrder":{"properties":{"sortField":{"type":"string","title":"Sortfield"},"sortDirection":{"type":"string","title":"Sortdirection"}},"type":"object","required":["sortField","sortDirection"],"title":"SortOrder"},"SourceType":{"type":"string","enum":["dataset","datasource"],"title":"SourceType","description":"Keep in sync with the DatasourceDatasetInfo.type in the frontend project-v2/shared/chat-explore/shared-chat-explore.ts"},"SpectrumTotalPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"customerName":{"type":"string","title":"Customername","description":"Customer Name"},"segmentPrioritization":{"type":"boolean","title":"Segmentprioritization","description":"Segment Prioritization"},"subscriberSegmentId":{"$ref":"#/components/schemas/SpectrumTotalSubscriberSegment","description":"Subscriber Segment ID"}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","customerName","segmentPrioritization","subscriberSegmentId"],"title":"SpectrumTotalPlatformOneTargetPayload"},"SpectrumTotalSubscriberSegment":{"type":"string","enum":["29825341","46105647","46501132"],"title":"SpectrumTotalSubscriberSegment"},"SqlParsePayload":{"properties":{"json_sql":{"type":"object","title":"Json Sql","description":"The JSON containing the SQL to parse"}},"additionalProperties":true,"type":"object","required":["json_sql"],"title":"SqlParsePayload"},"StatsLALPayload":{"properties":{"lal_id":{"type":"string","title":"Lal Id","description":"The ID of the lal model"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence","description":"The confidence threshold for the lookalike model"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size","description":"The number of audience members to return"}},"additionalProperties":true,"type":"object","required":["lal_id"],"title":"StatsLALPayload"},"SubcategoryAnalysisItem":{"properties":{"item":{"type":"string","title":"Item","description":"The item being analyzed (brand, category, product name, or UPC)"},"value":{"type":"number","title":"Value","description":"Value of the selected metric for this item"},"weighted_value":{"type":"number","title":"Weighted Value","description":"Weighted value of the selected metric for this item"}},"additionalProperties":true,"type":"object","required":["item","value","weighted_value"],"title":"SubcategoryAnalysisItem","description":"Item for subcategory analysis results."},"SubcategoryAnalysisResponse":{"properties":{"grouping":{"$ref":"#/components/schemas/CPGAnalysisGrouping","description":"How the results were grouped"},"metric":{"$ref":"#/components/schemas/CPGAnalysisMetric","description":"The primary metric displayed"},"overall_value":{"type":"number","title":"Overall Value","description":"Overall total for the selected metric"},"weighted_overall_value":{"type":"number","title":"Weighted Overall Value","description":"Weighted overall total for the selected metric"},"subcategories":{"items":{"$ref":"#/components/schemas/SubcategoryAnalysisItem"},"type":"array","title":"Subcategories","description":"List of top subcategories"}},"additionalProperties":true,"type":"object","required":["grouping","metric","overall_value","weighted_overall_value","subcategories"],"title":"SubcategoryAnalysisResponse","description":"Response for subcategory analysis."},"SubcategoryWithBrands":{"properties":{"subcategory":{"type":"string","title":"Subcategory","description":"The subcategory name"},"brands":{"items":{"type":"string"},"type":"array","title":"Brands","description":"The brands in the subcategory"}},"additionalProperties":true,"type":"object","required":["subcategory","brands"],"title":"SubcategoryWithBrands"},"SummaryGenerationPayload":{"properties":{"snippet":{"type":"string","title":"Snippet"},"generate_title":{"type":"boolean","title":"Generate Title","default":true},"generate_summary":{"type":"boolean","title":"Generate Summary","default":true},"title_max_length":{"type":"integer","title":"Title Max Length","default":5},"summary_max_length":{"type":"integer","title":"Summary Max Length","default":100},"additional_context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Context"}},"additionalProperties":true,"type":"object","required":["snippet"],"title":"SummaryGenerationPayload"},"SurveyQuestion":{"properties":{"topic":{"type":"string","title":"Topic"},"name":{"type":"string","title":"Name"},"question":{"type":"string","title":"Question"},"base":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base"},"values":{"additionalProperties":{"type":"string"},"type":"object","title":"Values"},"selection_type":{"type":"string","title":"Selection Type"},"sub_questions":{"anyOf":[{"items":{"$ref":"#/components/schemas/SurveyQuestion"},"type":"array"},{"type":"null"}],"title":"Sub Questions"}},"additionalProperties":true,"type":"object","required":["topic","name","question","values","selection_type"],"title":"SurveyQuestion"},"SurveyQuestions":{"properties":{"topic":{"type":"string","title":"Topic"},"questions":{"anyOf":[{"items":{"$ref":"#/components/schemas/SurveyQuestion"},"type":"array"},{"type":"null"}],"title":"Questions"}},"additionalProperties":true,"type":"object","required":["topic"],"title":"SurveyQuestions"},"SyntheticsDatasourcesSummaryResponse":{"properties":{"org_id":{"type":"string","title":"Org Id"},"total_datasources":{"type":"integer","title":"Total Datasources"}},"additionalProperties":true,"type":"object","required":["org_id","total_datasources"],"title":"SyntheticsDatasourcesSummaryResponse"},"SyntheticsInstanceDataSourceSuppInfoStatusResponse":{"properties":{"updated_within_range":{"items":{"$ref":"#/components/schemas/SyntheticsInstanceDataSourceSuppInfoTimeResponse"},"type":"array","title":"Updated Within Range"},"not_updated_within_range":{"items":{"$ref":"#/components/schemas/SyntheticsInstanceDataSourceSuppInfoTimeResponse"},"type":"array","title":"Not Updated Within Range"}},"additionalProperties":true,"type":"object","required":["updated_within_range","not_updated_within_range"],"title":"SyntheticsInstanceDataSourceSuppInfoStatusResponse"},"SyntheticsInstanceDataSourceSuppInfoTimeResponse":{"properties":{"datasource_id":{"type":"string","title":"Datasource Id"},"name":{"type":"string","title":"Name"},"last_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Updated At"}},"additionalProperties":true,"type":"object","required":["datasource_id","name","last_updated_at"],"title":"SyntheticsInstanceDataSourceSuppInfoTimeResponse"},"SyntheticsInstanceDatasourcesResponse":{"properties":{"total_datasources":{"type":"integer","title":"Total Datasources"}},"additionalProperties":true,"type":"object","required":["total_datasources"],"title":"SyntheticsInstanceDatasourcesResponse"},"SyntheticsInstanceOrganizationsResponse":{"properties":{"total_organizations":{"type":"integer","title":"Total Organizations"}},"additionalProperties":true,"type":"object","required":["total_organizations"],"title":"SyntheticsInstanceOrganizationsResponse"},"SyntheticsInstanceStaleDatasourceTablesResponse":{"properties":{"datasource_id":{"type":"string","title":"Datasource Id"},"table_name":{"type":"string","title":"Table Name"},"latest_partition_date":{"type":"string","format":"date","title":"Latest Partition Date"},"max_drift":{"type":"string","format":"duration","title":"Max Drift"}},"additionalProperties":true,"type":"object","required":["datasource_id","table_name","latest_partition_date","max_drift"],"title":"SyntheticsInstanceStaleDatasourceTablesResponse"},"Table":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the table."},"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema","description":"Schema of the table. Only provided for sources that have some concept of a 'wrapper' schema."},"columns":{"items":{"$ref":"#/components/schemas/Column"},"type":"array","title":"Columns","description":"List of columns in the table."}},"additionalProperties":true,"type":"object","required":["name","columns"],"title":"Table"},"TaboolaPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"TaboolaPlatformOneTargetPayload"},"TargetSelection":{"properties":{"field":{"$ref":"#/components/schemas/PurchaseFields","description":"The field to select from"},"value":{"type":"string","title":"Value","description":"The value to select"}},"additionalProperties":true,"type":"object","required":["field","value"],"title":"TargetSelection","description":"Selection for the target field."},"TaskStatus":{"type":"string","enum":["RUNNING","COMPLETED","FAILED"],"title":"TaskStatus"},"TaskStatusEnum":{"type":"string","enum":["PENDING","IN_PROGRESS","SUCCEEDED","FAILED","UNKNOWN_TIMEOUT"],"title":"TaskStatusEnum","description":"Celery task status enum. Update apps/web-backend-api/src/types/TaskStatusEnum.ts if you update this enum."},"TeadsPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"teadsDpId":{"type":"string","title":"Teadsdpid","description":"Teads DPID is a value that must be provided by Teads or the Advertiser. Consists of 5 or 6 alpha-numeric characters."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","teadsDpId"],"title":"TeadsPlatformOneTargetPayload"},"TikTokPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"businessAccount":{"type":"string","title":"Businessaccount","description":"Business Account for TikTok API. Business Account is used to select Access Token used with Advertiser ID.  If a new Business Account is needed, an engineer MUST get a new accessToken."},"advertiserId":{"type":"string","title":"Advertiserid","description":"Advertiser ID for TikTok API."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","businessAccount","advertiserId"],"title":"TikTokPlatformOneTargetPayload"},"TimeframeInsightsPayload":{"properties":{"audience_id":{"type":"string","title":"Audience Id","description":"Audience ID to generate insights for"},"timeframe":{"$ref":"#/components/schemas/src__stats__insights__model__Timeframe","description":"Timeframe to generate insights for"},"insight_group":{"$ref":"#/components/schemas/InsightGroup","description":"Page the request was sent for"}},"additionalProperties":true,"type":"object","required":["audience_id","timeframe","insight_group"],"title":"TimeframeInsightsPayload"},"TitleFilterPayload":{"properties":{"starts_with":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Starts With","description":"Filter titles that start with this string"},"networks":{"items":{"type":"string"},"type":"array","title":"Networks","description":"Filter titles that belong to these networks"},"genres":{"items":{"type":"string"},"type":"array","title":"Genres","description":"Filter titles that belong to these genres"}},"additionalProperties":true,"type":"object","title":"TitleFilterPayload"},"TopFactor":{"properties":{"name":{"type":"string","title":"Name"},"importance":{"type":"number","title":"Importance"},"keyDifferences":{"items":{"type":"object"},"type":"array","title":"Keydifferences"}},"additionalProperties":true,"type":"object","required":["name","importance","keyDifferences"],"title":"TopFactor"},"TradeDeskPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"firstPartyDataProviderId":{"type":"string","title":"Firstpartydataproviderid","description":"First Party Data Provider TradeDesk API."},"secretKey":{"type":"string","title":"Secretkey","description":"Secret Key for TradeDesk API."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","firstPartyDataProviderId","secretKey"],"title":"TradeDeskPlatformOneTargetPayload"},"TrainLALOptions":{"properties":{"household":{"type":"boolean","title":"Household","description":"Whether to train at the household level"},"locality_type":{"anyOf":[{"$ref":"#/components/schemas/LocalityType"},{"type":"null"}],"description":"If set will target people within the specified geographical delineation."}},"additionalProperties":true,"type":"object","required":["household"],"title":"TrainLALOptions"},"TrainLALPayload":{"properties":{"lal_id":{"type":"string","title":"Lal Id","description":"The ID of the lookalike model to train"},"audience_id":{"type":"string","title":"Audience Id","description":"The ID of the audience to train the lookalike model on"},"options":{"$ref":"#/components/schemas/TrainLALOptions","description":"The options to use when training the lookalike model"}},"additionalProperties":true,"type":"object","required":["lal_id","audience_id","options"],"title":"TrainLALPayload"},"TrainModelPayload":{"properties":{"model_id":{"type":"integer","title":"Model Id","description":"The ID of the model to use for training"},"ignore_columns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ignore Columns","description":"The columns to ignore"}},"additionalProperties":true,"type":"object","required":["model_id"],"title":"TrainModelPayload"},"TrainRequestPayload":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id","description":"The ID of the dataset to train the model on."},"predict_fields":{"items":{"type":"string"},"type":"array","title":"Predict Fields","description":"An array of field names to predict (case sensitive)."},"ignore_fields":{"items":{"type":"string"},"type":"array","title":"Ignore Fields","description":"An array of field names to ignore (case sensitive).","default":[]},"extra_attention":{"type":"boolean","title":"Extra Attention","description":"Helps with predicting rare cases.","default":false},"force":{"type":"boolean","title":"Force","description":"Forces the creation of a new model even if another currently exists.","default":false},"duration":{"type":"integer","title":"Duration","description":"Integer corresponding to how much time we should spend on training. Higher values will take longer but generally be more accurate. Allowed values: 10 (Fastest), 60 (High Quality), 300 (Higher Quality), 1800 (Production)"}},"additionalProperties":true,"type":"object","required":["dataset_id","predict_fields","duration"],"title":"TrainRequestPayload"},"TrainSegOptions":{"properties":{"k":{"anyOf":[{"type":"integer","enum":[3,4,5]},{"type":"string","enum":["dynamic"],"const":"dynamic"}],"title":"K","description":"The number of segments to create (allowed: 3, 4, 5, or 'dynamic')","default":3},"household":{"type":"boolean","title":"Household","description":"Whether to train at the household level","default":false}},"additionalProperties":true,"type":"object","title":"TrainSegOptions"},"TrainSegPayload":{"properties":{"seg_id":{"type":"string","title":"Seg Id","description":"The ID of the segmentation model to train"},"audience_id":{"type":"string","title":"Audience Id","description":"The ID of the audience to train the segmentation model on"},"options":{"$ref":"#/components/schemas/TrainSegOptions","description":"The options to use when training the segmentation model"}},"additionalProperties":true,"type":"object","required":["seg_id","audience_id","options"],"title":"TrainSegPayload"},"TrendsAnalysisMetric":{"type":"string","enum":["total_sales","transaction_count","customer_count","percent_of_total_sales"],"title":"TrendsAnalysisMetric","description":"Primary metrics for trends analysis."},"TrendsAnalysisRequest":{"properties":{"selection_1":{"$ref":"#/components/schemas/SelectionPayload","description":"First selection to compare"},"selection_2":{"$ref":"#/components/schemas/SelectionPayload","description":"Second selection to compare"},"metric":{"$ref":"#/components/schemas/TrendsAnalysisMetric","description":"The primary metric to display"},"filters":{"$ref":"#/components/schemas/CPGSuiteFilter","description":"Filters to apply to the data"},"aggregate_by_day_of_week":{"type":"boolean","title":"Aggregate By Day Of Week","description":"Aggregate by day of week instead of time periods","default":false}},"additionalProperties":true,"type":"object","required":["selection_1","selection_2","metric","filters"],"title":"TrendsAnalysisRequest","description":"Request for trends analysis comparing two selections over time."},"TrendsAnalysisResponse":{"properties":{"selection_1_name":{"type":"string","title":"Selection 1 Name","description":"Display name for first selection"},"selection_2_name":{"type":"string","title":"Selection 2 Name","description":"Display name for second selection"},"metric":{"$ref":"#/components/schemas/TrendsAnalysisMetric","description":"The primary metric displayed"},"time_period":{"$ref":"#/components/schemas/TrendsAnalysisTimePeriod","description":"Time period used for aggregation"},"data_points":{"items":{"$ref":"#/components/schemas/TrendsDataPoint"},"type":"array","title":"Data Points","description":"Time series data points"}},"additionalProperties":true,"type":"object","required":["selection_1_name","selection_2_name","metric","time_period","data_points"],"title":"TrendsAnalysisResponse","description":"Response for trends analysis request."},"TrendsAnalysisTimePeriod":{"type":"string","enum":["monthly","weekly","daily","day_of_week"],"title":"TrendsAnalysisTimePeriod","description":"Time period aggregation for trends analysis."},"TrendsDataPoint":{"properties":{"time_period":{"type":"string","title":"Time Period","description":"Time period (e.g., '2024-01', 'Week 1', etc.)"},"selection_name":{"type":"string","title":"Selection Name","description":"Name of the selection this data point represents"},"value":{"type":"number","title":"Value","description":"Value of the selected metric for this period"},"weighted_value":{"type":"number","title":"Weighted Value","description":"Weighted value of the selected metric for this period"}},"additionalProperties":true,"type":"object","required":["time_period","selection_name","value","weighted_value"],"title":"TrendsDataPoint","description":"A single data point in the trends analysis."},"TritonDigitalPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"publisherName":{"type":"string","title":"Publishername","description":"Publisher Name of Triton's client, not the end Advertiser. Consists of alpha-numeric characters."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","publisherName"],"title":"TritonDigitalPlatformOneTargetPayload"},"TurfAnalysisRequest":{"properties":{"steps":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Steps","description":"Number of steps/products to include in the analysis"},"filters":{"$ref":"#/components/schemas/CPGSuiteFilter","description":"Filters to apply to the data"}},"additionalProperties":true,"type":"object","required":["steps","filters"],"title":"TurfAnalysisRequest","description":"Request for turf analysis - finding optimal product combinations for maximum reach."},"TurfAnalysisResponse":{"properties":{"products":{"items":{"$ref":"#/components/schemas/TurfProduct"},"type":"array","title":"Products","description":"Ordered list of products that maximize reach"},"total_baskets":{"type":"integer","title":"Total Baskets","description":"Total number of baskets in the dataset"}},"additionalProperties":true,"type":"object","required":["products","total_baskets"],"title":"TurfAnalysisResponse","description":"Response for turf analysis request."},"TurfProduct":{"properties":{"product_name":{"type":"string","title":"Product Name","description":"Name of the product"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","description":"Brand of the product"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Category of the product"},"new_reach":{"type":"integer","title":"New Reach","description":"Number of new baskets reached by adding this product"},"new_reach_percentage":{"type":"number","title":"New Reach Percentage","description":"Percentage of new baskets reached by adding this product"},"cumulative_reach":{"type":"integer","title":"Cumulative Reach","description":"Cumulative number of baskets reached up to this step"},"cumulative_reach_percentage":{"type":"number","title":"Cumulative Reach Percentage","description":"Cumulative percentage of baskets reached up to this step"},"step":{"type":"integer","title":"Step","description":"Step number in the analysis (1-based)"}},"additionalProperties":true,"type":"object","required":["product_name","brand","category","new_reach","new_reach_percentage","cumulative_reach","cumulative_reach_percentage","step"],"title":"TurfProduct","description":"Details about a product in the turf analysis result."},"UPCAnalysisItem":{"properties":{"item":{"type":"string","title":"Item","description":"The item being analyzed (brand, category, product name, or UPC)"},"value":{"type":"number","title":"Value","description":"Value of the selected metric for this item"},"weighted_value":{"type":"number","title":"Weighted Value","description":"Weighted value of the selected metric for this item"},"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name","description":"Name of the product"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","description":"Brand of the product"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Category of the product"}},"additionalProperties":true,"type":"object","required":["item","value","weighted_value","product_name","brand","category"],"title":"UPCAnalysisItem","description":"Item for UPC analysis results."},"UPCAnalysisResponse":{"properties":{"grouping":{"$ref":"#/components/schemas/CPGAnalysisGrouping","description":"How the results were grouped"},"metric":{"$ref":"#/components/schemas/CPGAnalysisMetric","description":"The primary metric displayed"},"overall_value":{"type":"number","title":"Overall Value","description":"Overall total for the selected metric"},"weighted_overall_value":{"type":"number","title":"Weighted Overall Value","description":"Weighted overall total for the selected metric"},"upcs":{"items":{"$ref":"#/components/schemas/UPCAnalysisItem"},"type":"array","title":"Upcs","description":"List of top UPCs"}},"additionalProperties":true,"type":"object","required":["grouping","metric","overall_value","weighted_overall_value","upcs"],"title":"UPCAnalysisResponse","description":"Response for UPC analysis."},"UndertonePlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"undertoneAdvertiserName":{"type":"string","title":"Undertoneadvertisername","description":"Undertone Advertiser Name."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","undertoneAdvertiserName"],"title":"UndertonePlatformOneTargetPayload"},"UnityPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName"],"title":"UnityPlatformOneTargetPayload"},"UnivisionPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"univisionAdvertiserName":{"type":"string","title":"Univisionadvertisername","description":"Advertiser Name specific to Univision, not related to the chosen advertiser above. Used in filenames for delivery of data to Univision. Consists of alpha-numeric and underscore characters."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","univisionAdvertiserName"],"title":"UnivisionPlatformOneTargetPayload"},"UpdateAudiencePayload":{"properties":{"parsed_json":{"type":"object","title":"Parsed Json","description":"The JSON SQL to update the audience with"},"audience":{"$ref":"#/components/schemas/Audience","description":"The audience to update"}},"additionalProperties":true,"type":"object","required":["parsed_json","audience"],"title":"UpdateAudiencePayload"},"UpdateProjectPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The name of the flow."},"chatInstructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatinstructions","description":"\nHow would you like Chat Explore to respond? For example:\n- Respond only in spanish\n- Provide short and concise answers only\n- Make sure to always include a chart"},"chatContext":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatcontext","description":"\nWhat would you like Chat Explore to know about this application to provide better responses? For example:\n- This dataset is customer engagement data\n- The units of the sales column are in millions\n- The data is messy and contains typos\n"},"chatSuggestions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chatsuggestions","description":"\nCustomize the default chat suggestions by writing a list of suggestions separated by newlines. For example:\n- What is the average net media cost by campaign ID?\n- Make sure to always include a chart\n"}},"additionalProperties":true,"type":"object","title":"UpdateProjectPayload"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"YahooVerizonDSPPlatformOneTargetPayload":{"properties":{"type":{"$ref":"#/components/schemas/AudienceDistributionTargetType"},"platformOneConfigId":{"type":"string","title":"Platformoneconfigid","description":"ID of PlatformOne Config"},"teamId":{"type":"string","title":"Teamid","description":"ID of Team"},"distributionName":{"type":"string","title":"Distributionname","description":"Identifier for the account configuration."},"dataType":{"type":"string","enum":["3rd Party Data","AdAdvisor Data","Custom Data","Private Data","AdAdvisor by TransUnion Custom Data"],"title":"Datatype","description":"For 1st Party Data, Select \"Private Data\". For 3rd Party Data to a specific seat, Select \"Custom Data\". For 3rd Party Data to Yahoo’s MarketPlace, Select \"3rd Party Data\"."}},"additionalProperties":true,"type":"object","required":["type","platformOneConfigId","teamId","distributionName","dataType"],"title":"YahooVerizonDSPPlatformOneTargetPayload"},"_ApiBaseChatRecord":{"properties":{"_owner":{"type":"string","title":" Owner","description":"Foreign key to the user this object belongs to."},"_org":{"type":"string","title":" Org","description":"Foreign key to the organization this object belongs to."},"messages":{"items":{"$ref":"#/components/schemas/APIChatMessage"},"type":"array","title":"Messages","description":"List of messages in the chat."}},"additionalProperties":true,"type":"object","required":["_owner","_org","messages"],"title":"_ApiBaseChatRecord"},"_ChartUpdateParams":{"properties":{"chart_id":{"type":"string","title":"Chart Id"}},"additionalProperties":true,"type":"object","required":["chart_id"],"title":"_ChartUpdateParams"},"_CreateChannelPayload":{"properties":{"flow_id":{"type":"string","title":"Flow Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"owner_id":{"type":"string","title":"Owner Id"}},"additionalProperties":true,"type":"object","required":["flow_id","dataset_id","owner_id"],"title":"_CreateChannelPayload"},"_DataCleaningOp":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"enabled":{"type":"boolean","title":"Enabled"},"key":{"type":"string","title":"Key"}},"type":"object","required":["title","description","enabled","key"],"title":"_DataCleaningOp"},"_ParseDatasetRequestPayload":{"properties":{"datasetId":{"type":"string","title":"Datasetid"},"filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"fileSize":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Filesize"},"flowId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flowid"}},"additionalProperties":true,"type":"object","required":["datasetId"],"title":"_ParseDatasetRequestPayload"},"_SlackErrorCodes":{"type":"string","enum":["access_denied"],"const":"access_denied","title":"_SlackErrorCodes"},"src__ad_analytics__location_intelligence__model__Timeframe":{"properties":{"start_date":{"type":"string","format":"date-time","title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},"additionalProperties":true,"type":"object","required":["start_date","end_date"],"title":"Timeframe"},"src__api__ad_analytics__model__Timeframe":{"properties":{"start_date":{"type":"string","format":"date-time","title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},"additionalProperties":true,"type":"object","required":["start_date","end_date"],"title":"Timeframe"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__1":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response"}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__10":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/PropensityModelMetadataRecord"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__11":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/PropensityModelMetadataRecord"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__12":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/PropensityModelMetadataRecord"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__13":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/PropensityPredictionMetadataRecord"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__14":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/PropensityPredictionMetadataRecord"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__15":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/PropensityPredictionMetadataRecord"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__2":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/MeasurementChartResult"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__3":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Response"}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__4":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/RFM"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__5":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/RFMConfiguration"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__6":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/GrowthFramework"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__7":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/RFM"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__8":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{"$ref":"#/components/schemas/RFM"},{"type":"null"}]}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__async_job__service__build_concrete_async_job_record_class___locals___ConcreteAsyncJobRecord__9":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"ID of this object."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"datetime object representing when this object was created."},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"datetime object representing when this object was updated."},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"datetime object representing when this object was deleted."},"status":{"$ref":"#/components/schemas/TaskStatus","description":"The status of the task.","default":"RUNNING"},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint spawning async job","default":""},"request":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Request","description":"request sent to endpoint"},"sync_response":{"anyOf":[{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Sync Response","description":"sync response"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"error message"},"response":{"anyOf":[{},{"type":"null"}],"title":"Response"}},"type":"object","title":"ConcreteAsyncJobRecord"},"src__integrations__mysql__models__Credentials":{"properties":{"host":{"type":"string","title":"Host","description":"Host URL"},"username":{"type":"string","title":"Username","description":"Username"},"password":{"type":"string","title":"Password","description":"Password"},"port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Port","description":"Port","default":3306},"is_ssl":{"type":"boolean","title":"Is Ssl","description":"Whether to use SSL"}},"additionalProperties":true,"type":"object","required":["host","username","password","is_ssl"],"title":"Credentials"},"src__integrations__mysql__models__IntrospectDatabasesPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__mysql__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect/validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"}},"additionalProperties":true,"type":"object","title":"IntrospectDatabasesPayload"},"src__integrations__mysql__models__IntrospectTablesPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__mysql__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect/validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"},"database":{"type":"string","title":"Database","description":"Database to introspect"}},"additionalProperties":true,"type":"object","required":["database"],"title":"IntrospectTablesPayload"},"src__integrations__postgres__models__Credentials":{"properties":{"database":{"type":"string","title":"Database","description":"Database name"},"host":{"type":"string","title":"Host","description":"Host"},"username":{"type":"string","title":"Username","description":"Username"},"password":{"type":"string","title":"Password","description":"Password"},"port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Port","description":"Port"}},"additionalProperties":true,"type":"object","required":["database","host","username","password"],"title":"Credentials"},"src__integrations__postgres__models__IntrospectSchemasPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__postgres__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect/validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"}},"additionalProperties":true,"type":"object","title":"IntrospectSchemasPayload"},"src__integrations__postgres__models__IntrospectTablesPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__postgres__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect/validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"},"schema":{"type":"string","title":"Schema","description":"Schema to introspect"}},"additionalProperties":true,"type":"object","required":["schema"],"title":"IntrospectTablesPayload"},"src__integrations__snowflake__models__Credentials":{"properties":{"account":{"type":"string","title":"Account","description":"Snowflake account identifier"},"username":{"type":"string","title":"Username","description":"Username"},"password":{"type":"string","title":"Password","description":"Password"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"Role"},"warehouse":{"type":"string","title":"Warehouse","description":"Snowflake warehouse"}},"additionalProperties":true,"type":"object","required":["account","username","password","warehouse"],"title":"Credentials"},"src__integrations__snowflake__models__IntrospectDatabasesPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__snowflake__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect / validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"}},"additionalProperties":true,"type":"object","title":"IntrospectDatabasesPayload"},"src__integrations__snowflake__models__IntrospectSchemasPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__snowflake__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect / validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"},"database":{"type":"string","title":"Database","description":"Database to introspect"}},"additionalProperties":true,"type":"object","required":["database"],"title":"IntrospectSchemasPayload"},"src__integrations__snowflake__models__IntrospectTablesPayload":{"properties":{"credentials":{"anyOf":[{"$ref":"#/components/schemas/src__integrations__snowflake__models__Credentials"},{"type":"null"}],"description":"Credentials to introspect / validate"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id","description":"Connection ID to introspect/validate"},"database":{"type":"string","title":"Database","description":"Database to introspect"},"schema":{"type":"string","title":"Schema","description":"Schema to introspect"}},"additionalProperties":true,"type":"object","required":["database","schema"],"title":"IntrospectTablesPayload"},"src__stats__insights__model__Timeframe":{"properties":{"timeframe_start":{"type":"string","format":"date-time","title":"Timeframe Start"},"timeframe_end":{"type":"string","format":"date-time","title":"Timeframe End"}},"additionalProperties":true,"type":"object","required":["timeframe_start","timeframe_end"],"title":"Timeframe"}}}}