{"openapi":"3.1.0","info":{"title":"PerfOps Direct Statistics API","version":"0.0.0"},"paths":{"/api/source-exports/capabilities":{"get":{"tags":["source-exports"],"summary":"List Source Export Capabilities Api","operationId":"list_source_export_capabilities_api_api_source_exports_capabilities_get","parameters":[{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportCapabilitiesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-providers":{"get":{"tags":["source-exports"],"summary":"List Source Providers Api","operationId":"list_source_providers_api_api_source_providers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceProvidersOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-providers/{source}/capabilities":{"get":{"tags":["source-exports"],"summary":"List Source Provider Capabilities Api","operationId":"list_source_provider_capabilities_api_api_source_providers__source__capabilities_get","parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportCapabilitiesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-providers/{source}/connections":{"get":{"tags":["source-exports"],"summary":"List Source Provider Connections Api","operationId":"list_source_provider_connections_api_api_source_providers__source__connections_get","parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceProviderConnectionsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-providers/{source}/connections/{connection_id}/accounts":{"get":{"tags":["source-exports"],"summary":"List Source Provider Accounts Api","operationId":"list_source_provider_accounts_api_api_source_providers__source__connections__connection_id__accounts_get","parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","title":"Source"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceProviderAccountsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/preflight":{"post":{"tags":["source-exports"],"summary":"Preflight Source Export Api","operationId":"preflight_source_export_api_api_source_exports_preflight_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportPreflightRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportPreflightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/resolve-idempotency":{"post":{"tags":["source-exports"],"summary":"Resolve Source Export Idempotency Api","operationId":"resolve_source_export_idempotency_api_api_source_exports_resolve_idempotency_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportIdempotencyResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports":{"post":{"tags":["source-exports"],"summary":"Create Source Export Run Api","operationId":"create_source_export_run_api_api_source_exports_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["source-exports"],"summary":"List Source Export Runs Api","operationId":"list_source_export_runs_api_api_source_exports_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"capability_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability Id"}},{"name":"schedule_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule Id"}},{"name":"created_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created From"}},{"name":"created_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created To"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/{export_id}/execute":{"post":{"tags":["source-exports"],"summary":"Execute Source Export Run Api","operationId":"execute_source_export_run_api_api_source_exports__export_id__execute_post","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/{export_id}/result":{"get":{"tags":["source-exports"],"summary":"Get Source Export Result Api","operationId":"get_source_export_result_api_api_source_exports__export_id__result_get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportResultOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/{schedule_id}/delivery/latest":{"get":{"tags":["source-exports"],"summary":"Get Source Export Schedule Delivery Api","operationId":"get_source_export_schedule_delivery_api_api_source_export_schedules__schedule_id__delivery_latest_get","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"X-PerfOps-Source-Delivery-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Perfops-Source-Delivery-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleDeliveryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/{schedule_id}/delivery-credentials":{"get":{"tags":["source-exports"],"summary":"List Source Export Delivery Credentials Api","operationId":"list_source_export_delivery_credentials_api_api_source_export_schedules__schedule_id__delivery_credentials_get","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"include_revoked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Revoked"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportDeliveryCredentialsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["source-exports"],"summary":"Create Source Export Delivery Credential Api","operationId":"create_source_export_delivery_credential_api_api_source_export_schedules__schedule_id__delivery_credentials_post","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportDeliveryCredentialRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportDeliveryCredentialCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/{schedule_id}/delivery-credentials/{credential_id}":{"delete":{"tags":["source-exports"],"summary":"Revoke Source Export Delivery Credential Api","operationId":"revoke_source_export_delivery_credential_api_api_source_export_schedules__schedule_id__delivery_credentials__credential_id__delete","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/{export_id}/preview":{"get":{"tags":["source-exports"],"summary":"Get Source Export Preview Api","operationId":"get_source_export_preview_api_api_source_exports__export_id__preview_get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"view_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"View Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportPreviewOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/usage":{"get":{"tags":["source-exports"],"summary":"Get Source Export Usage Api","operationId":"get_source_export_usage_api_api_source_exports_usage_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportUsageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-exports/{export_id}":{"get":{"tags":["source-exports"],"summary":"Get Source Export Run Api","operationId":"get_source_export_run_api_api_source_exports__export_id__get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/preflight":{"post":{"tags":["source-exports"],"summary":"Preflight Source Export Schedule Api","operationId":"preflight_source_export_schedule_api_api_source_export_schedules_preflight_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportSchedulePreflightRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportSchedulePreflightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/resolve-idempotency":{"post":{"tags":["source-exports"],"summary":"Resolve Source Export Schedule Idempotency Api","operationId":"resolve_source_export_schedule_idempotency_api_api_source_export_schedules_resolve_idempotency_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportIdempotencyResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules":{"get":{"tags":["source-exports"],"summary":"List Source Export Schedules Api","operationId":"list_source_export_schedules_api_api_source_export_schedules_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["source-exports"],"summary":"Create Source Export Schedule Api","operationId":"create_source_export_schedule_api_api_source_export_schedules_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/{schedule_id}/runs":{"get":{"tags":["source-exports"],"summary":"List Source Export Schedule History Api","operationId":"list_source_export_schedule_history_api_api_source_export_schedules__schedule_id__runs_get","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/{schedule_id}/run":{"post":{"tags":["source-exports"],"summary":"Run Source Export Schedule Now Api","operationId":"run_source_export_schedule_now_api_api_source_export_schedules__schedule_id__run_post","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleRunNowRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportRunOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-export-schedules/{schedule_id}":{"get":{"tags":["source-exports"],"summary":"Get Source Export Schedule Api","operationId":"get_source_export_schedule_api_api_source_export_schedules__schedule_id__get","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["source-exports"],"summary":"Update Source Export Schedule Api","operationId":"update_source_export_schedule_api_api_source_export_schedules__schedule_id__patch","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["source-exports"],"summary":"Disable Source Export Schedule Api","operationId":"disable_source_export_schedule_api_api_source_export_schedules__schedule_id__delete","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceExportScheduleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-sessions/device/status":{"get":{"tags":["source-exports"],"summary":"Source Device Status","operationId":"source_device_status_api_source_sessions_device_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Source Device Status Api Source Sessions Device Status Get"}}}}}}},"/api/source-sessions/device/authorize":{"post":{"tags":["source-exports"],"summary":"Authorize Device","operationId":"authorize_device_api_source_sessions_device_authorize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceAuthorizeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Authorize Device Api Source Sessions Device Authorize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-sessions/device/lookup":{"post":{"tags":["source-exports"],"summary":"Lookup Device","operationId":"lookup_device_api_source_sessions_device_lookup_post","parameters":[{"name":"origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"perfops_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Perfops Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceLookupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Lookup Device Api Source Sessions Device Lookup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-sessions/device/decision":{"post":{"tags":["source-exports"],"summary":"Decide Device","operationId":"decide_device_api_source_sessions_device_decision_post","parameters":[{"name":"origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"perfops_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Perfops Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceDecisionRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/source-sessions/device/token":{"post":{"tags":["source-exports"],"summary":"Exchange Device","operationId":"exchange_device_api_source_sessions_device_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AccountPayload":{"properties":{"direct_connection_id":{"type":"string","title":"Direct Connection Id"},"account_login":{"type":"string","title":"Account Login"}},"type":"object","required":["direct_connection_id","account_login"],"title":"AccountPayload"},"ActionApplyRequest":{"properties":{"preview_version":{"type":"integer","minimum":1.0,"title":"Preview Version"}},"type":"object","required":["preview_version"],"title":"ActionApplyRequest"},"ActionByFilterRequest":{"properties":{"run_id":{"type":"string","minLength":1,"title":"Run Id"},"action":{"type":"string","maxLength":40,"minLength":1,"title":"Action"},"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/RowsFilter"},"type":"array"},{"type":"null"}],"title":"Filters"},"exclude_row_refs":{"items":{"$ref":"#/components/schemas/ActionRowRef"},"type":"array","maxItems":50000,"title":"Exclude Row Refs"}},"type":"object","required":["run_id","action"],"title":"ActionByFilterRequest"},"ActionRequest":{"properties":{"run_id":{"type":"string","maxLength":200,"minLength":1,"title":"Run Id"},"action":{"type":"string","maxLength":40,"minLength":1,"title":"Action"},"row_refs":{"items":{"$ref":"#/components/schemas/ActionRowRef"},"type":"array","maxItems":50000,"minItems":1,"title":"Row Refs"}},"type":"object","required":["run_id","action","row_refs"],"title":"ActionRequest"},"ActionRowRef":{"properties":{"run_id":{"type":"string","maxLength":200,"minLength":1,"title":"Run Id"},"row_no":{"type":"integer","minimum":1.0,"title":"Row No"}},"type":"object","required":["run_id","row_no"],"title":"ActionRowRef"},"AddCampaignPayload":{"properties":{"name":{"type":"string","title":"Name","default":""}},"type":"object","title":"AddCampaignPayload"},"AddNestedAccountsRequest":{"properties":{"logins":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Logins"}},"type":"object","required":["logins"],"title":"AddNestedAccountsRequest"},"AddThemePayload":{"properties":{"name":{"type":"string","title":"Name"},"context":{"type":"string","title":"Context","default":""},"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"}},"type":"object","required":["name"],"title":"AddThemePayload"},"AdsContextPayload":{"properties":{"product_name":{"type":"string","title":"Product Name","default":""},"url":{"type":"string","title":"Url","default":""},"context":{"type":"string","title":"Context","default":""},"additional_info":{"type":"string","title":"Additional Info","default":""},"use_campaign_landing":{"type":"boolean","title":"Use Campaign Landing","default":true},"context_url":{"type":"string","title":"Context Url","default":""},"per_cluster":{"type":"boolean","title":"Per Cluster","default":false},"granularity":{"type":"string","title":"Granularity","default":""}},"type":"object","title":"AdsContextPayload"},"ApplyNameTemplatePayload":{"properties":{"template":{"type":"string","title":"Template"},"geo":{"type":"string","title":"Geo","default":""},"placement":{"type":"string","title":"Placement","default":"search"},"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"}},"type":"object","required":["template"],"title":"ApplyNameTemplatePayload"},"ApplyPayload":{"properties":{"campaign_id":{"type":"string","title":"Campaign Id"},"selected":{"items":{"type":"string"},"type":"array","title":"Selected","default":[]},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"},"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"}},"type":"object","required":["campaign_id"],"title":"ApplyPayload"},"ArtifactCreate":{"properties":{"type":{"type":"string","maxLength":50,"minLength":1,"title":"Type"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"source_tool":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Source Tool"},"dataset_refs":{"items":{"type":"string"},"type":"array","title":"Dataset Refs"},"payload":{"type":"object","title":"Payload"},"ttl_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ttl Expires At"}},"type":"object","required":["type","title"],"title":"ArtifactCreate"},"ArtifactOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"source_tool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Tool"},"dataset_refs":{"items":{"type":"string"},"type":"array","title":"Dataset Refs"},"payload":{"type":"object","title":"Payload"},"ttl_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ttl Expires At"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"primary_action":{"anyOf":[{"$ref":"#/components/schemas/PrimaryActionOut"},{"type":"null"}]}},"type":"object","required":["id","project_id","type","title","source_tool","dataset_refs","payload","ttl_expires_at","created_at","updated_at"],"title":"ArtifactOut"},"AssetAssignment":{"properties":{"scope":{"type":"string","title":"Scope"},"target":{"type":"string","title":"Target","default":"*"},"landing_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Landing Url"},"creative_urls":{"items":{"type":"string"},"type":"array","title":"Creative Urls","default":[]},"group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Id"},"target_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Label"}},"type":"object","required":["scope"],"title":"AssetAssignment"},"AutoRefreshDueRunResponse":{"properties":{"processed":{"type":"integer","title":"Processed"},"succeeded":{"type":"integer","title":"Succeeded"},"failed":{"type":"integer","title":"Failed"},"paused_inactive":{"type":"integer","title":"Paused Inactive"}},"type":"object","required":["processed","succeeded","failed","paused_inactive"],"title":"AutoRefreshDueRunResponse"},"AutoRefreshRecipeOut":{"properties":{"connection_id":{"type":"string","title":"Connection Id"},"selected_account_login":{"type":"string","title":"Selected Account Login"},"selected_account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Name"},"level":{"type":"string","title":"Level"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"goals":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},{"type":"null"}],"title":"Goals"},"granularity":{"type":"string","title":"Granularity"},"dataset_id":{"type":"string","title":"Dataset Id"},"covered_through_date":{"type":"string","title":"Covered Through Date"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["connection_id","selected_account_login","selected_account_name","level","goal_id","granularity","dataset_id","covered_through_date","updated_at"],"title":"AutoRefreshRecipeOut"},"AutoRefreshRuleOut":{"properties":{"project_id":{"type":"string","title":"Project Id"},"provider":{"type":"string","title":"Provider"},"product":{"type":"string","title":"Product"},"status":{"type":"string","title":"Status"},"schedule_kind":{"type":"string","title":"Schedule Kind"},"schedule_time":{"type":"string","title":"Schedule Time"},"schedule_day_of_week":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Schedule Day Of Week"},"schedule_day_of_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Schedule Day Of Month"},"refresh_tail_days":{"type":"integer","title":"Refresh Tail Days"},"inactivity_pause_days":{"type":"integer","title":"Inactivity Pause Days"},"connection_id":{"type":"string","title":"Connection Id"},"selected_account_login":{"type":"string","title":"Selected Account Login"},"level":{"type":"string","title":"Level"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"granularity":{"type":"string","title":"Granularity"},"latest_dataset_id":{"type":"string","title":"Latest Dataset Id"},"covered_through_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Covered Through Date"},"last_success_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Success At"},"last_attempt_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Attempt At"},"next_run_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Run At"},"inactive_pause_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inactive Pause At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_launched_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Launched At"},"has_fresh_data":{"type":"boolean","title":"Has Fresh Data"},"project_timezone":{"type":"string","title":"Project Timezone"}},"type":"object","required":["project_id","provider","product","status","schedule_kind","schedule_time","schedule_day_of_week","schedule_day_of_month","refresh_tail_days","inactivity_pause_days","connection_id","selected_account_login","level","goal_id","granularity","latest_dataset_id","covered_through_date","last_success_at","last_attempt_at","next_run_at","inactive_pause_at","last_error","last_launched_at","has_fresh_data","project_timezone"],"title":"AutoRefreshRuleOut"},"BDBotLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/BDBotRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"BDBotLaunchResponse"},"BDBotRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false}},"type":"object","title":"BDBotRunCreateRequest"},"BDBotRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"BDBotRunOut"},"Body_create_feedback_submission_api_feedback_submissions_post":{"properties":{"kind":{"type":"string","title":"Kind"},"contact":{"type":"string","maxLength":200,"minLength":1,"title":"Contact"},"message":{"type":"string","maxLength":8000,"minLength":1,"title":"Message"},"page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Url"},"page_title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Page Title"},"route_path":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Route Path"},"project_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Project Id"},"tool_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Tool Id"},"run_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Run Id"},"artifact_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Artifact Id"},"client_context_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Context Json"},"attachment":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Attachment"}},"type":"object","required":["kind","contact","message"],"title":"Body_create_feedback_submission_api_feedback_submissions_post"},"Body_create_landings_file_draft_api_projects__project_id__campaign_editing_landings_drafts_upload_post":{"properties":{"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"target_selection_json":{"type":"string","maxLength":100000,"minLength":2,"title":"Target Selection Json"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["connection_id","account_login","target_selection_json","file"],"title":"Body_create_landings_file_draft_api_projects__project_id__campaign_editing_landings_drafts_upload_post"},"Body_create_preview_file_api_projects__project_id__campaign_editing_change_sets_preview_file_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"operation":{"type":"string","enum":["campaign_negative_keywords","adgroup_negative_keywords","keywords"],"title":"Operation"},"distribution_mode":{"type":"string","enum":["shared","individual"],"title":"Distribution Mode"},"connection_id":{"type":"string","title":"Connection Id"},"account_login":{"type":"string","title":"Account Login"},"target_selection_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Selection Json"}},"type":"object","required":["file","operation","distribution_mode","connection_id","account_login"],"title":"Body_create_preview_file_api_projects__project_id__campaign_editing_change_sets_preview_file_post"},"Body_create_widget_feedback_submission_api_feedback_widget_submissions_post":{"properties":{"kind":{"type":"string","title":"Kind"},"contact":{"type":"string","maxLength":200,"minLength":1,"title":"Contact"},"message":{"type":"string","maxLength":8000,"minLength":1,"title":"Message"},"feedback_token":{"type":"string","maxLength":2048,"minLength":1,"title":"Feedback Token"},"parent_origin":{"type":"string","maxLength":300,"minLength":1,"title":"Parent Origin"},"page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Url"},"page_title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Page Title"},"route_path":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Route Path"},"client_context_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Context Json"},"attachment":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Attachment"}},"type":"object","required":["kind","contact","message","feedback_token","parent_origin"],"title":"Body_create_widget_feedback_submission_api_feedback_widget_submissions_post"},"Body_crossminus_upload_tool_crossminus_runs__run_id__upload_post":{"properties":{"run_token":{"type":"string","title":"Run Token"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["run_token","file"],"title":"Body_crossminus_upload_tool_crossminus_runs__run_id__upload_post"},"Body_detect_assets_columns_file_api_campaign_creation_projects__project_id__assets_detect_columns_file_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_detect_assets_columns_file_api_campaign_creation_projects__project_id__assets_detect_columns_file_post"},"Body_import_assets_file_api_campaign_creation_projects__project_id__assets_import_file_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_assets_file_api_campaign_creation_projects__project_id__assets_import_file_post"},"Body_preview_landings_file_input_api_projects__project_id__campaign_editing_landings_input_preview_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_preview_landings_file_input_api_projects__project_id__campaign_editing_landings_input_preview_upload_post"},"Body_upload_creatives_api_campaign_creation_projects__project_id__assets_creatives_upload_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_creatives_api_campaign_creation_projects__project_id__assets_creatives_upload_post"},"Body_upload_csv_api_wizard_uploads_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_csv_api_wizard_uploads_post"},"Body_upload_source_file_api_campaign_creation_v2_projects__project_id__themes__theme_id__source_file_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"},"expected_theme_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Theme Revision"}},"type":"object","required":["file"],"title":"Body_upload_source_file_api_campaign_creation_v2_projects__project_id__themes__theme_id__source_file_post"},"CalculationAttemptAcquireOut":{"properties":{"result":{"type":"string","enum":["acquired","owned","busy","terminal"],"title":"Result"},"attempt":{"anyOf":[{"$ref":"#/components/schemas/CalculationAttemptOut"},{"type":"null"}]},"job_status":{"type":"string","title":"Job Status"}},"type":"object","required":["result","attempt","job_status"],"title":"CalculationAttemptAcquireOut"},"CalculationAttemptFailIn":{"properties":{"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"status":{"type":"string","enum":["failed","timed_out"],"title":"Status","default":"failed"},"error_code":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Error Message"},"error_metadata":{"type":"object","title":"Error Metadata"},"log_ref":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Log Ref"},"fail_job":{"type":"boolean","title":"Fail Job","default":false}},"type":"object","required":["lease_token"],"title":"CalculationAttemptFailIn"},"CalculationAttemptHeartbeatIn":{"properties":{"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"}},"type":"object","required":["lease_token"],"title":"CalculationAttemptHeartbeatIn"},"CalculationAttemptOut":{"properties":{"id":{"type":"string","title":"Id"},"job_id":{"type":"string","title":"Job Id"},"attempt_no":{"type":"integer","title":"Attempt No"},"status":{"type":"string","title":"Status"},"worker_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Worker Ref"},"lease_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lease Token"},"output_object_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Object Key"},"log_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Log Ref"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"error_metadata":{"type":"object","title":"Error Metadata"},"started_at":{"type":"string","title":"Started At"},"heartbeat_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heartbeat At"},"lease_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lease Expires At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","job_id","attempt_no","status","worker_ref","lease_token","output_object_key","log_ref","error_code","error_message","error_metadata","started_at","heartbeat_at","lease_expires_at","finished_at"],"title":"CalculationAttemptOut"},"CalculationAttemptStartIn":{"properties":{"worker_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Worker Ref"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"}},"type":"object","required":["worker_ref","lease_token"],"title":"CalculationAttemptStartIn"},"CalculationAttemptSucceedIn":{"properties":{"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"output_object_key":{"type":"string","maxLength":1024,"minLength":1,"title":"Output Object Key"},"result_ref":{"$ref":"#/components/schemas/CalculationResultRefIn"},"log_ref":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Log Ref"}},"type":"object","required":["lease_token","output_object_key","result_ref"],"title":"CalculationAttemptSucceedIn"},"CalculationInputRefIn":{"properties":{"role":{"type":"string","maxLength":64,"minLength":1,"title":"Role"},"object_key":{"type":"string","maxLength":1024,"minLength":1,"title":"Object Key"},"original_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Original Name"},"content_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Content Type"},"size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Size Bytes"},"sha256":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Sha256"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["role","object_key"],"title":"CalculationInputRefIn"},"CalculationInputRefOut":{"properties":{"role":{"type":"string","title":"Role"},"object_key":{"type":"string","title":"Object Key"},"original_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Name"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sha256"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["role","object_key","original_name","content_type","size_bytes","sha256","metadata"],"title":"CalculationInputRefOut"},"CalculationInputUploadHandleIn":{"properties":{"product":{"type":"string","maxLength":100,"minLength":1,"title":"Product"},"project_id":{"type":"string","maxLength":100,"minLength":1,"title":"Project Id"},"file_name":{"type":"string","maxLength":255,"minLength":1,"title":"File Name"},"content_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["product","project_id","file_name"],"title":"CalculationInputUploadHandleIn"},"CalculationInputUploadHandleOut":{"properties":{"bucket":{"type":"string","title":"Bucket"},"object_key":{"type":"string","title":"Object Key"},"upload_url":{"type":"string","title":"Upload Url"},"ttl_seconds":{"type":"integer","title":"Ttl Seconds"}},"type":"object","required":["bucket","object_key","upload_url","ttl_seconds"],"title":"CalculationInputUploadHandleOut"},"CalculationJobCancelIn":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"CalculationJobCancelIn"},"CalculationJobCreate":{"properties":{"product":{"type":"string","maxLength":100,"minLength":1,"title":"Product"},"project_id":{"type":"string","maxLength":100,"minLength":1,"title":"Project Id"},"input_refs":{"items":{"$ref":"#/components/schemas/CalculationInputRefIn"},"type":"array","title":"Input Refs"},"params":{"type":"object","title":"Params"},"idempotency_key":{"type":"string","maxLength":200,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["product","project_id","idempotency_key"],"title":"CalculationJobCreate"},"CalculationJobCreateOut":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"CalculationJobCreateOut"},"CalculationJobOut":{"properties":{"id":{"type":"string","title":"Id"},"product":{"type":"string","title":"Product"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"status":{"type":"string","title":"Status"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"contract_version":{"type":"string","title":"Contract Version"},"input_refs":{"items":{"$ref":"#/components/schemas/CalculationInputRefOut"},"type":"array","title":"Input Refs"},"params":{"type":"object","title":"Params"},"result_ref":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result Ref"},"latest_attempt_no":{"type":"integer","title":"Latest Attempt No"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"error_metadata":{"type":"object","title":"Error Metadata"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"queued_at":{"type":"string","title":"Queued At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","product","project_id","user_id","status","idempotency_key","contract_version","input_refs","params","result_ref","latest_attempt_no","error_code","error_message","error_metadata","created_at","updated_at","queued_at","started_at","finished_at"],"title":"CalculationJobOut"},"CalculationJobResultOut":{"properties":{"job_id":{"type":"string","title":"Job Id"},"result_ref":{"type":"object","title":"Result Ref"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"},"stable_download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stable Download Url"}},"type":"object","required":["job_id","result_ref"],"title":"CalculationJobResultOut"},"CalculationJobRuntimeOut":{"properties":{"id":{"type":"string","title":"Id"},"product":{"type":"string","title":"Product"},"project_id":{"type":"string","title":"Project Id"},"user_id":{"type":"string","title":"User Id"},"status":{"type":"string","title":"Status"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"contract_version":{"type":"string","title":"Contract Version"},"input_refs":{"items":{"type":"object"},"type":"array","title":"Input Refs"},"params":{"type":"object","title":"Params"},"result_ref":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result Ref"},"latest_attempt_no":{"type":"integer","title":"Latest Attempt No"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"error_metadata":{"type":"object","title":"Error Metadata"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"queued_at":{"type":"string","title":"Queued At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","product","project_id","user_id","status","idempotency_key","contract_version","input_refs","params","result_ref","latest_attempt_no","error_code","error_message","error_metadata","created_at","updated_at","queued_at","started_at","finished_at"],"title":"CalculationJobRuntimeOut"},"CalculationResultRefIn":{"properties":{"object_key":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Object Key"},"kind":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Kind"},"change_set_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Change Set Id"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"file_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"File Name"},"file_format":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"File Format"},"retention_policy":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Retention Policy"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","title":"CalculationResultRefIn"},"CampaignAnalysisLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/CampaignAnalysisRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"CampaignAnalysisLaunchResponse"},"CampaignAnalysisRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"}},"type":"object","title":"CampaignAnalysisRunCreateRequest"},"CampaignAnalysisRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"CampaignAnalysisRunOut"},"CampaignEditingAnalysisCompleteIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"config_patch":{"type":"object","title":"Config Patch"},"rows":{"items":{"type":"object"},"type":"array","maxItems":50000,"title":"Rows"}},"type":"object","required":["calculation_attempt_id","lease_token"],"title":"CampaignEditingAnalysisCompleteIn"},"CampaignEditingAnalysisProgressIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"stage":{"type":"string","maxLength":80,"minLength":1,"title":"Stage"},"completed":{"type":"integer","maximum":50000.0,"minimum":0.0,"title":"Completed"},"total":{"type":"integer","maximum":50000.0,"minimum":0.0,"title":"Total"}},"type":"object","required":["calculation_attempt_id","lease_token","stage","completed","total"],"title":"CampaignEditingAnalysisProgressIn"},"CampaignEditingCapabilitiesResponse":{"properties":{"capabilities":{"items":{"$ref":"#/components/schemas/CampaignEditingCapabilityResponse"},"type":"array","title":"Capabilities"},"limits":{"$ref":"#/components/schemas/CampaignEditingDistributionLimitsResponse"}},"additionalProperties":false,"type":"object","required":["capabilities","limits"],"title":"CampaignEditingCapabilitiesResponse"},"CampaignEditingCapabilityResponse":{"properties":{"tool":{"type":"string","enum":["semantics","landings"],"title":"Tool"},"enabled":{"type":"boolean","title":"Enabled"},"ready":{"type":"boolean","title":"Ready"},"available":{"type":"boolean","title":"Available"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"}},"additionalProperties":false,"type":"object","required":["tool","enabled","ready","available","reason_codes"],"title":"CampaignEditingCapabilityResponse"},"CampaignEditingDistributionLimitsResponse":{"properties":{"semantics_ad_groups":{"type":"integer","minimum":1.0,"title":"Semantics Ad Groups"},"semantics_candidates_per_ad_group":{"type":"integer","minimum":1.0,"title":"Semantics Candidates Per Ad Group"},"landings_urls":{"type":"integer","minimum":1.0,"title":"Landings Urls"},"landings_ad_groups":{"type":"integer","minimum":1.0,"title":"Landings Ad Groups"},"analysis_seconds":{"type":"integer","minimum":1.0,"title":"Analysis Seconds"}},"additionalProperties":false,"type":"object","required":["semantics_ad_groups","semantics_candidates_per_ad_group","landings_urls","landings_ad_groups","analysis_seconds"],"title":"CampaignEditingDistributionLimitsResponse"},"CampaignEditingWordstatStartIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"phrases":{"items":{"type":"string"},"type":"array","maxItems":50000,"title":"Phrases"}},"type":"object","required":["calculation_attempt_id","lease_token"],"title":"CampaignEditingWordstatStartIn"},"CampaignSettingsPayload":{"properties":{"direct_connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direct Connection Id"},"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"},"campaign_name":{"type":"string","title":"Campaign Name","default":""},"geo_regions":{"items":{"type":"integer"},"type":"array","title":"Geo Regions","default":[]},"placement":{"type":"string","title":"Placement","default":"search"},"strategy":{"type":"string","title":"Strategy","default":"max_clicks"},"payment":{"type":"string","title":"Payment","default":"clicks"},"weekly_budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weekly Budget"},"target_cpa":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Cpa"},"max_cpc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Cpc"},"counter_ids":{"items":{"type":"integer"},"type":"array","title":"Counter Ids","default":[]},"goal_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Goal Id"},"attribution_model":{"type":"string","title":"Attribution Model","default":"LYDC"},"url_params":{"items":{"$ref":"#/components/schemas/UrlParam"},"type":"array","title":"Url Params","default":[]},"utm_source":{"type":"string","title":"Utm Source","default":""},"utm_medium":{"type":"string","title":"Utm Medium","default":""},"utm_campaign":{"type":"string","title":"Utm Campaign","default":""},"utm_content":{"type":"string","title":"Utm Content","default":""},"utm_term":{"type":"string","title":"Utm Term","default":""},"minus_phrases":{"items":{"type":"string"},"type":"array","title":"Minus Phrases","default":[]},"name_template":{"type":"string","title":"Name Template","default":""}},"type":"object","title":"CampaignSettingsPayload"},"CampaignStructurePayload":{"properties":{"structure":{"type":"string","title":"Structure"}},"type":"object","required":["structure"],"title":"CampaignStructurePayload"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","maxLength":512,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","maxLength":512,"minLength":1,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"ChangePasswordRequest"},"ClustersPayload":{"properties":{"clusters":{"items":{"type":"object"},"type":"array","title":"Clusters"}},"type":"object","required":["clusters"],"title":"ClustersPayload"},"CollectModePayload":{"properties":{"mode":{"type":"string","title":"Mode"}},"type":"object","required":["mode"],"title":"CollectModePayload"},"CollectPayload":{"properties":{"mode":{"type":"string","title":"Mode","default":"balanced"},"phrases_count":{"type":"integer","title":"Phrases Count","default":200},"words_count":{"type":"integer","title":"Words Count","default":3},"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"},"expected_theme_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Theme Revision"}},"type":"object","title":"CollectPayload"},"CollectStartPayload":{"properties":{"topic":{"type":"string","title":"Topic"},"mode":{"type":"string","title":"Mode","default":"balanced"},"phrases_count":{"type":"integer","title":"Phrases Count","default":200},"words_count":{"type":"integer","title":"Words Count","default":3}},"type":"object","required":["topic"],"title":"CollectStartPayload"},"ConfirmAccountTypeRequest":{"properties":{"account_type":{"type":"string","enum":["regular","manager"],"title":"Account Type"}},"type":"object","required":["account_type"],"title":"ConfirmAccountTypeRequest"},"ConfirmRequest":{"properties":{"preview_version":{"type":"integer","minimum":1.0,"title":"Preview Version"}},"type":"object","required":["preview_version"],"title":"ConfirmRequest"},"ConnectionCreate":{"properties":{"type":{"type":"string","pattern":"^(direct|metrika)$","title":"Type"},"label":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Label"},"account_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Account Ref"},"secret_payload":{"type":"string","minLength":1,"title":"Secret Payload"}},"type":"object","required":["type","secret_payload"],"title":"ConnectionCreate"},"ConnectionOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"type":{"type":"string","title":"Type"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"account_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Ref"},"status":{"type":"string","enum":["connected","reauth_required","error"],"title":"Status"},"last_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Checked At"},"auth_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Mode"},"environment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment"},"authorized_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Login"},"authorized_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Name"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","type","label","account_ref","status","last_checked_at","created_at","updated_at"],"title":"ConnectionOut"},"CreativeUploadItem":{"properties":{"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"},"mime_type":{"type":"string","title":"Mime Type"},"size_bytes":{"type":"integer","title":"Size Bytes"}},"type":"object","required":["url","name","mime_type","size_bytes"],"title":"CreativeUploadItem"},"CreativeUploadResponse":{"properties":{"creatives":{"items":{"$ref":"#/components/schemas/CreativeUploadItem"},"type":"array","title":"Creatives"}},"type":"object","required":["creatives"],"title":"CreativeUploadResponse"},"CrossMinusLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/CrossMinusRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"CrossMinusLaunchResponse"},"CrossMinusRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false}},"type":"object","title":"CrossMinusRunCreateRequest"},"CrossMinusRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"CrossMinusRunOut"},"DashboardDirectImportRequest":{"properties":{"date_from":{"type":"string","maxLength":10,"minLength":10,"title":"Date From"},"date_to":{"type":"string","maxLength":10,"minLength":10,"title":"Date To"},"level":{"type":"string","pattern":"^(campaign|adgroup)$","title":"Level"},"selected_metrics":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Selected Metrics"},"selected_campaigns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Selected Campaigns"},"campaigns_filter_mode":{"type":"string","title":"Campaigns Filter Mode","default":"include"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"goals":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},{"type":"null"}],"title":"Goals"},"attribution_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution Model"}},"type":"object","required":["date_from","date_to","level"],"title":"DashboardDirectImportRequest"},"DashboardLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/DashboardRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"DashboardLaunchResponse"},"DashboardRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false}},"type":"object","title":"DashboardRunCreateRequest"},"DashboardRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"DashboardRunOut"},"DatasetCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"format":{"type":"string","maxLength":50,"minLength":1,"title":"Format"},"source":{"type":"string","maxLength":50,"minLength":1,"title":"Source"}},"type":"object","required":["name","format","source"],"title":"DatasetCreate"},"DatasetFormatOut":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"required_fields":{"items":{"type":"string"},"type":"array","title":"Required Fields"},"optional_fields":{"items":{"type":"string"},"type":"array","title":"Optional Fields"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"exchange_format":{"type":"boolean","title":"Exchange Format"},"semantic_invariants":{"items":{"type":"string"},"type":"array","title":"Semantic Invariants"}},"type":"object","required":["id","title","required_fields","optional_fields","version","exchange_format","semantic_invariants"],"title":"DatasetFormatOut"},"DatasetOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"name":{"type":"string","title":"Name"},"format":{"type":"string","title":"Format"},"format_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format Version"},"kind":{"type":"string","title":"Kind"},"source":{"type":"string","title":"Source"},"owner_tool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Tool"},"producer_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Producer Type"},"producer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Producer Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"tool_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Version"},"input_dataset_ids":{"items":{"type":"string"},"type":"array","title":"Input Dataset Ids"},"access_ref":{"type":"object","title":"Access Ref"},"lifecycle_status":{"type":"string","title":"Lifecycle Status"},"deprecated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deprecated At"},"invalidated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invalidated At"},"superseded_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded At"},"superseded_by_dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By Dataset Id"},"reusable":{"type":"boolean","title":"Reusable"},"cross_tool_eligible":{"type":"boolean","title":"Cross Tool Eligible"},"update_supported":{"type":"boolean","title":"Update Supported"},"recalc_supported":{"type":"boolean","title":"Recalc Supported"},"updated_at":{"type":"string","title":"Updated At"},"ttl_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ttl Expires At"},"created_at":{"type":"string","title":"Created At"},"primary_action":{"anyOf":[{"$ref":"#/components/schemas/PrimaryActionOut"},{"type":"null"}]}},"type":"object","required":["id","project_id","name","format","format_version","kind","source","owner_tool","producer_type","producer_id","run_id","tool_id","tool_version","input_dataset_ids","access_ref","lifecycle_status","deprecated_at","invalidated_at","superseded_at","superseded_by_dataset_id","reusable","cross_tool_eligible","update_supported","recalc_supported","updated_at","ttl_expires_at","created_at"],"title":"DatasetOut"},"DatasetPromoteRequest":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"format":{"type":"string","maxLength":50,"minLength":1,"title":"Format"},"format_version":{"anyOf":[{"type":"string","maxLength":20,"minLength":1},{"type":"null"}],"title":"Format Version"},"kind":{"type":"string","maxLength":50,"minLength":1,"title":"Kind","default":"tool-derived"},"source":{"type":"string","maxLength":50,"minLength":1,"title":"Source","default":"derived"},"owner_tool":{"type":"string","maxLength":100,"minLength":1,"title":"Owner Tool"},"producer_type":{"type":"string","maxLength":50,"minLength":1,"title":"Producer Type","default":"tool"},"producer_id":{"type":"string","maxLength":100,"minLength":1,"title":"Producer Id"},"run_id":{"type":"string","maxLength":100,"minLength":1,"title":"Run Id"},"tool_id":{"type":"string","maxLength":100,"minLength":1,"title":"Tool Id"},"tool_version":{"type":"string","maxLength":100,"minLength":1,"title":"Tool Version"},"input_dataset_ids":{"items":{"type":"string"},"type":"array","title":"Input Dataset Ids"},"access_ref":{"type":"object","title":"Access Ref"},"ttl_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ttl Expires At"}},"type":"object","required":["name","format","owner_tool","producer_id","run_id","tool_id","tool_version"],"title":"DatasetPromoteRequest"},"DatasetSupersedeRequest":{"properties":{"superseded_by_dataset_id":{"type":"string","maxLength":100,"minLength":1,"title":"Superseded By Dataset Id"}},"type":"object","required":["superseded_by_dataset_id"],"title":"DatasetSupersedeRequest"},"DatasetUpdateRequest":{"properties":{"file_a_upload_id":{"type":"string","minLength":1,"title":"File A Upload Id"},"file_b_upload_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File B Upload Id"},"policy":{"type":"string","pattern":"^(replace|append)$","title":"Policy","default":"replace"}},"type":"object","required":["file_a_upload_id"],"title":"DatasetUpdateRequest"},"DemoDatasetResponse":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"name":{"type":"string","title":"Name"},"already_existed":{"type":"boolean","title":"Already Existed"}},"type":"object","required":["dataset_id","name","already_existed"],"title":"DemoDatasetResponse"},"DetectColumnsPayload":{"properties":{"content":{"type":"string","title":"Content","default":""}},"type":"object","title":"DetectColumnsPayload"},"DeviceAuthorizeRequest":{"properties":{"client_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Id"}},"type":"object","required":["client_id"],"title":"DeviceAuthorizeRequest"},"DeviceDecisionRequest":{"properties":{"approval_token":{"type":"string","maxLength":4096,"minLength":1,"title":"Approval Token"},"decision":{"type":"string","enum":["approve","deny"],"title":"Decision"}},"type":"object","required":["approval_token","decision"],"title":"DeviceDecisionRequest"},"DeviceLookupRequest":{"properties":{"user_code":{"type":"string","maxLength":64,"minLength":1,"title":"User Code"}},"type":"object","required":["user_code"],"title":"DeviceLookupRequest"},"DeviceTokenRequest":{"properties":{"client_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Id"},"device_code":{"type":"string","maxLength":1024,"minLength":1,"title":"Device Code"}},"type":"object","required":["client_id","device_code"],"title":"DeviceTokenRequest"},"DirectAccountOut":{"properties":{"account_login":{"type":"string","title":"Account Login"},"account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Name"},"account_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Ref"},"role_type":{"type":"string","title":"Role Type"},"is_available":{"type":"boolean","title":"Is Available"},"access_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Level"},"availability_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Availability Status"},"last_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Checked At"},"added_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["account_login","account_name","account_ref","role_type","is_available"],"title":"DirectAccountOut"},"DirectCampaignOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"type":"object","required":["id","name"],"title":"DirectCampaignOut"},"DirectChangeBindingCheckIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"direct_change_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Direct Change Attempt Id"}},"type":"object","required":["calculation_attempt_id","lease_token","direct_change_attempt_id"],"title":"DirectChangeBindingCheckIn"},"DirectChangeFieldResultCheckpointIn":{"properties":{"effect_id":{"type":"string","maxLength":200,"minLength":1,"title":"Effect Id"},"field_results":{"items":{"type":"object"},"type":"array","maxItems":1000,"minItems":1,"title":"Field Results"}},"type":"object","required":["effect_id","field_results"],"title":"DirectChangeFieldResultCheckpointIn"},"DirectChangeReceiptIn":{"properties":{"kind":{"type":"string","enum":["effect","resource"],"title":"Kind"},"item_id":{"type":"string","maxLength":200,"minLength":1,"title":"Item Id"},"direct_entity_id":{"type":"string","maxLength":100,"minLength":1,"title":"Direct Entity Id"},"result_kind":{"type":"string","enum":["created","reused","warning"],"title":"Result Kind"},"stage":{"type":"string","const":"response_received","title":"Stage","default":"response_received"}},"type":"object","required":["kind","item_id","direct_entity_id","result_kind"],"title":"DirectChangeReceiptIn"},"DirectChangeTargetCheckpointIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"receipts":{"items":{"$ref":"#/components/schemas/DirectChangeReceiptIn"},"type":"array","maxItems":1000,"minItems":1,"title":"Receipts"}},"type":"object","required":["calculation_attempt_id","lease_token","receipts"],"title":"DirectChangeTargetCheckpointIn"},"DirectChangeTargetClaimIn":{"properties":{"worker_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Worker Ref"},"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"}},"type":"object","required":["worker_ref","calculation_attempt_id","lease_token"],"title":"DirectChangeTargetClaimIn"},"DirectChangeTargetClaimOut":{"properties":{"result":{"type":"string","enum":["claimed","busy","complete"],"title":"Result"},"claim":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Claim"}},"type":"object","required":["result","claim"],"title":"DirectChangeTargetClaimOut"},"DirectChangeTargetCompleteIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"target_status":{"type":"string","maxLength":40,"minLength":1,"title":"Target Status"},"effects":{"items":{"type":"object"},"type":"array","title":"Effects"},"resources":{"items":{"type":"object"},"type":"array","title":"Resources"},"safe_code":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Safe Code"}},"type":"object","required":["calculation_attempt_id","lease_token","target_status"],"title":"DirectChangeTargetCompleteIn"},"DirectChangeTargetFieldCheckpointIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"},"field_results":{"items":{"$ref":"#/components/schemas/DirectChangeFieldResultCheckpointIn"},"type":"array","maxItems":1000,"minItems":1,"title":"Field Results"}},"type":"object","required":["calculation_attempt_id","lease_token","field_results"],"title":"DirectChangeTargetFieldCheckpointIn"},"DirectChangeWriteAdmissionIn":{"properties":{"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"}},"type":"object","required":["calculation_attempt_id","lease_token"],"title":"DirectChangeWriteAdmissionIn"},"DirectConnectCompleteRequest":{"properties":{"token":{"type":"string","minLength":1,"title":"Token"}},"type":"object","required":["token"],"title":"DirectConnectCompleteRequest"},"DirectConnectStartOut":{"properties":{"oauth_url":{"type":"string","title":"Oauth Url"},"auth_mode":{"type":"string","const":"manual_token","title":"Auth Mode"},"environment":{"type":"string","enum":["sandbox","production"],"title":"Environment"}},"type":"object","required":["oauth_url","auth_mode","environment"],"title":"DirectConnectStartOut"},"DirectConnectionMetaOut":{"properties":{"id":{"type":"string","title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"status":{"type":"string","title":"Status"},"last_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Checked At"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"auth_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Mode"},"environment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environment"},"authorized_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Login"},"authorized_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Name"},"account_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Type"},"account_type_confirmed_by_user":{"type":"boolean","title":"Account Type Confirmed By User","default":false},"account_type_confirmed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Type Confirmed At"},"needs_account_type_choice":{"type":"boolean","title":"Needs Account Type Choice","default":false},"cabinets_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cabinets Count"},"access_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Level"},"account_is_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Account Is Available"},"account_availability_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Availability Status"},"account_error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Error Message"}},"type":"object","required":["id","label","status","last_checked_at","created_at","updated_at","auth_mode","environment","authorized_login","authorized_name"],"title":"DirectConnectionMetaOut"},"DirectConnectionStateOut":{"properties":{"connection":{"$ref":"#/components/schemas/DirectConnectionMetaOut"},"accounts":{"items":{"$ref":"#/components/schemas/DirectAccountOut"},"type":"array","title":"Accounts"}},"type":"object","required":["connection","accounts"],"title":"DirectConnectionStateOut"},"DirectGoalOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"counter_ids":{"items":{"type":"string"},"type":"array","title":"Counter Ids"},"goal_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Source"},"is_fallback_title":{"type":"boolean","title":"Is Fallback Title","default":true},"title_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Scope"}},"type":"object","required":["id","name"],"title":"DirectGoalOut"},"DirectImportRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"connection_id":{"type":"string","title":"Connection Id"},"selected_account_login":{"type":"string","title":"Selected Account Login"},"selected_account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Name"},"product":{"type":"string","title":"Product"},"profile_id":{"type":"string","title":"Profile Id"},"status":{"type":"string","title":"Status"},"params":{"type":"object","title":"Params"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"},"actual_date_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Date From"},"actual_date_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Date To"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","connection_id","selected_account_login","selected_account_name","product","profile_id","status","params","dataset_id","error","warning","actual_date_from","actual_date_to","created_at","updated_at"],"title":"DirectImportRunOut"},"DirectReportExportCreateIn":{"properties":{"sort":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sort"},"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/RowsFilter"},"type":"array"},{"type":"null"}],"title":"Filters"},"fmt":{"type":"string","title":"Fmt","default":"csv"},"confirm_truncate":{"type":"boolean","title":"Confirm Truncate","default":false}},"type":"object","title":"DirectReportExportCreateIn"},"DirectSourceBindRequest":{"properties":{"connection_id":{"type":"string","minLength":1,"title":"Connection Id"},"account_login":{"type":"string","minLength":1,"title":"Account Login"}},"type":"object","required":["connection_id","account_login"],"title":"DirectSourceBindRequest"},"DirectSourceManualBindRequest":{"properties":{"connection_id":{"type":"string","minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":200,"minLength":1,"title":"Account Login"}},"type":"object","required":["connection_id","account_login"],"title":"DirectSourceManualBindRequest"},"DirectStatisticsProductStateOut":{"properties":{"consumer":{"type":"string","const":"perfops_ui","title":"Consumer"},"connections":{"items":{"type":"object"},"type":"array","title":"Connections"},"runs":{"items":{"type":"object"},"type":"array","title":"Runs"},"schedules":{"items":{"type":"object"},"type":"array","title":"Schedules"}},"type":"object","required":["consumer"],"title":"DirectStatisticsProductStateOut"},"DirectWorkerTokenIn":{"properties":{"job_id":{"type":"string","maxLength":200,"minLength":1,"title":"Job Id"},"calculation_attempt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Calculation Attempt Id"},"lease_token":{"type":"string","maxLength":200,"minLength":32,"title":"Lease Token"}},"type":"object","required":["job_id","calculation_attempt_id","lease_token"],"title":"DirectWorkerTokenIn"},"DirectWorkerTokenOut":{"properties":{"token":{"type":"string","title":"Token"},"account_login":{"type":"string","title":"Account Login"},"api_base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Base Url"}},"type":"object","required":["token","account_login"],"title":"DirectWorkerTokenOut"},"DistributePayload":{"properties":{"content":{"type":"string","title":"Content","default":""},"mapping":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Mapping"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"}},"type":"object","title":"DistributePayload"},"DraftBulkDecisionApplyResponse":{"properties":{"draft_id":{"type":"string","title":"Draft Id"},"draft_version":{"type":"integer","title":"Draft Version"},"tool":{"type":"string","enum":["semantics","landings"],"title":"Tool"},"filters":{"$ref":"#/components/schemas/DraftBulkDecisionFiltersResponse"},"decision":{"$ref":"#/components/schemas/DraftBulkDecisionValueResponse"},"affected_count":{"type":"integer","minimum":0.0,"title":"Affected Count"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"},"previous_version":{"type":"integer","title":"Previous Version"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","enum":["ready","needs_decision"],"title":"Status"},"row_summary":{"$ref":"#/components/schemas/DraftRowSummaryResponse"}},"additionalProperties":false,"type":"object","required":["draft_id","draft_version","tool","filters","decision","affected_count","previous_version","version","status","row_summary"],"title":"DraftBulkDecisionApplyResponse"},"DraftBulkDecisionFiltersResponse":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Text"},"campaign_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Campaign Id"},"ad_group_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ad Group Id"},"status":{"anyOf":[{"type":"string","enum":["ready","needs_decision","already_exists","skipped"]},{"type":"null"}],"title":"Status"},"nesting":{"anyOf":[{"type":"string","enum":["nested","not_nested"]},{"type":"null"}],"title":"Nesting"},"frequency_below":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Frequency Below"},"has_suggested_group":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Suggested Group"}},"additionalProperties":false,"type":"object","title":"DraftBulkDecisionFiltersResponse"},"DraftBulkDecisionPreviewResponse":{"properties":{"draft_id":{"type":"string","title":"Draft Id"},"draft_version":{"type":"integer","title":"Draft Version"},"tool":{"type":"string","enum":["semantics","landings"],"title":"Tool"},"filters":{"$ref":"#/components/schemas/DraftBulkDecisionFiltersResponse"},"decision":{"$ref":"#/components/schemas/DraftBulkDecisionValueResponse"},"affected_count":{"type":"integer","minimum":0.0,"title":"Affected Count"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"}},"additionalProperties":false,"type":"object","required":["draft_id","draft_version","tool","filters","decision","affected_count"],"title":"DraftBulkDecisionPreviewResponse"},"DraftBulkDecisionRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"filters":{"$ref":"#/components/schemas/DraftRowFilters"},"action":{"type":"string","enum":["apply","skip"],"title":"Action"},"ad_group_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ad Group Id"},"replace_all_supported_ads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Replace All Supported Ads"}},"additionalProperties":false,"type":"object","required":["expected_version","action"],"title":"DraftBulkDecisionRequest"},"DraftBulkDecisionValueResponse":{"properties":{"action":{"type":"string","enum":["apply","skip"],"title":"Action"},"ad_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ad Group Id"},"replace_all_supported_ads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Replace All Supported Ads"}},"additionalProperties":false,"type":"object","required":["action"],"title":"DraftBulkDecisionValueResponse"},"DraftCancelRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","title":"DraftCancelRequest"},"DraftMaterializeRequest":{"properties":{"draft_version":{"type":"integer","minimum":1.0,"title":"Draft Version"}},"type":"object","required":["draft_version"],"title":"DraftMaterializeRequest"},"DraftPatchRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Config"},"decisions":{"anyOf":[{"additionalProperties":{"type":"object"},"type":"object"},{"type":"null"}],"title":"Decisions"}},"type":"object","required":["expected_version"],"title":"DraftPatchRequest"},"DraftRowFilters":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Text"},"campaign_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Campaign Id"},"ad_group_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ad Group Id"},"status":{"anyOf":[{"type":"string","enum":["ready","needs_decision","already_exists","skipped"]},{"type":"null"}],"title":"Status"},"nesting":{"anyOf":[{"type":"string","enum":["nested","not_nested"]},{"type":"null"}],"title":"Nesting"},"frequency_below":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Frequency Below"},"has_suggested_group":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Suggested Group"}},"additionalProperties":false,"type":"object","title":"DraftRowFilters"},"DraftRowSummaryResponse":{"properties":{"total":{"type":"integer","minimum":0.0,"title":"Total"},"ready":{"type":"integer","minimum":0.0,"title":"Ready"},"needs_decision":{"type":"integer","minimum":0.0,"title":"Needs Decision"},"already_exists":{"type":"integer","minimum":0.0,"title":"Already Exists"},"skipped":{"type":"integer","minimum":0.0,"title":"Skipped"},"apply":{"type":"integer","minimum":0.0,"title":"Apply"}},"additionalProperties":false,"type":"object","required":["total","ready","needs_decision","already_exists","skipped","apply"],"title":"DraftRowSummaryResponse"},"FeedbackSubmissionOut":{"properties":{"id":{"type":"string","title":"Id"},"notification_status":{"type":"string","title":"Notification Status"}},"type":"object","required":["id","notification_status"],"title":"FeedbackSubmissionOut"},"FeedbackWidgetBootstrapOut":{"properties":{"feedback_token":{"type":"string","title":"Feedback Token"},"widget_url":{"type":"string","title":"Widget Url"},"allowed_parent_origin":{"type":"string","title":"Allowed Parent Origin"},"expires_at":{"type":"string","title":"Expires At"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"tool_id":{"type":"string","title":"Tool Id"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"}},"type":"object","required":["feedback_token","widget_url","allowed_parent_origin","expires_at","tool_id"],"title":"FeedbackWidgetBootstrapOut"},"FeedbackWidgetSessionBootstrapIn":{"properties":{"allowed_parent_origin":{"type":"string","title":"Allowed Parent Origin"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"}},"type":"object","required":["allowed_parent_origin"],"title":"FeedbackWidgetSessionBootstrapIn"},"FetchRequest":{"properties":{"report_id":{"type":"string","maxLength":40,"minLength":1,"title":"Report Id"},"date_from":{"type":"string","maxLength":10,"minLength":10,"title":"Date From"},"date_to":{"type":"string","maxLength":10,"minLength":10,"title":"Date To"},"selected_metrics":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Selected Metrics"},"selected_campaigns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Selected Campaigns"},"campaigns_filter_mode":{"type":"string","title":"Campaigns Filter Mode","default":"include"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"counter_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counter Id"},"attribution_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution Model"},"metric_filters":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Metric Filters"},"include_zero_phrases":{"type":"boolean","title":"Include Zero Phrases","default":false},"groupings":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Groupings"}},"type":"object","required":["report_id","date_from","date_to"],"title":"FetchRequest"},"GoalNameOut":{"properties":{"goal_id":{"type":"string","title":"Goal Id"},"counter_id":{"type":"string","title":"Counter Id"},"title":{"type":"string","title":"Title"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"is_fallback":{"type":"boolean","title":"Is Fallback","default":true},"locked":{"type":"boolean","title":"Locked","default":false}},"type":"object","required":["goal_id","counter_id","title"],"title":"GoalNameOut"},"GoalNameRequest":{"properties":{"goal_id":{"type":"string","maxLength":40,"minLength":1,"title":"Goal Id"},"counter_id":{"type":"string","maxLength":40,"title":"Counter Id","default":""},"title":{"type":"string","maxLength":200,"title":"Title","default":""}},"type":"object","required":["goal_id"],"title":"GoalNameRequest"},"GoogleSheetImportPayload":{"properties":{"source":{"type":"string","title":"Source","default":""},"sheet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet"}},"type":"object","title":"GoogleSheetImportPayload"},"GusExportRequest":{"properties":{"owner_login":{"type":"string","maxLength":64,"minLength":1,"title":"Owner Login"},"connection_reference":{"type":"string","maxLength":256,"minLength":1,"title":"Connection Reference"},"account_id":{"type":"string","maxLength":200,"minLength":1,"title":"Account Id"},"period_start":{"type":"string","title":"Period Start"},"period_end":{"type":"string","title":"Period End"},"grain":{"items":{"type":"string"},"type":"array","maxItems":3,"minItems":2,"title":"Grain"},"source_fields":{"items":{"type":"string"},"type":"array","maxItems":512,"minItems":1,"title":"Source Fields"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"idempotency_key":{"type":"string","maxLength":256,"minLength":1,"title":"Idempotency Key"},"request_fingerprint":{"type":"string","maxLength":64,"minLength":64,"title":"Request Fingerprint"}},"additionalProperties":false,"type":"object","required":["owner_login","connection_reference","account_id","period_start","period_end","grain","source_fields","idempotency_key","request_fingerprint"],"title":"GusExportRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImportPayload":{"properties":{"content":{"type":"string","title":"Content","default":""},"mapping":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Mapping"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"}},"type":"object","title":"ImportPayload"},"ImpressionsFilterRecommendationOut":{"properties":{"metric":{"type":"string","const":"impressions","title":"Metric"},"op":{"type":"string","const":"gt","title":"Op"},"current_value":{"type":"integer","minimum":0.0,"title":"Current Value"},"recommended_value":{"type":"integer","minimum":0.0,"title":"Recommended Value"},"expected_rows":{"type":"integer","minimum":0.0,"title":"Expected Rows"},"basis":{"type":"string","const":"ordered_run_snapshot","title":"Basis"}},"type":"object","required":["metric","op","current_value","recommended_value","expected_rows","basis"],"title":"ImpressionsFilterRecommendationOut"},"LandingsInputPreviewRequest":{"properties":{"input_text":{"type":"string","maxLength":26214400,"minLength":1,"title":"Input Text"}},"type":"object","required":["input_text"],"title":"LandingsInputPreviewRequest"},"LandingsTextDraftRequest":{"properties":{"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"target_selection":{"$ref":"#/components/schemas/WriteTargetSelection"},"input_text":{"type":"string","maxLength":26214400,"minLength":1,"title":"Input Text"}},"type":"object","required":["connection_id","account_login","target_selection","input_text"],"title":"LandingsTextDraftRequest"},"LastStepIn":{"properties":{"step":{"type":"integer","title":"Step"}},"type":"object","required":["step"],"title":"LastStepIn"},"LaunchProfileIn":{"properties":{"placement_mode":{"type":"string","title":"Placement Mode","default":"search"},"direct_connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direct Connection Id"},"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"},"counter_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counter Id"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"strategy_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strategy Type"},"budget_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget Amount"},"default_geo_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Default Geo Id"},"default_geo_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Geo Name"},"tracking_params":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Params"},"use_standard_negative_pack":{"type":"boolean","title":"Use Standard Negative Pack","default":false},"common_negative_words":{"items":{"type":"string"},"type":"array","title":"Common Negative Words","default":[]},"autotargeting_types":{"items":{"type":"string"},"type":"array","title":"Autotargeting Types","default":[]},"naming_template":{"items":{"$ref":"#/components/schemas/NamingSegmentIn"},"type":"array","title":"Naming Template","default":[]}},"type":"object","title":"LaunchProfileIn"},"LauncherRunRequest":{"properties":{"tool_id":{"type":"string","maxLength":100,"minLength":1,"title":"Tool Id"},"project_id":{"type":"string","maxLength":100,"minLength":1,"title":"Project Id"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"}},"type":"object","required":["tool_id","project_id"],"title":"LauncherRunRequest"},"LauncherRunResponse":{"properties":{"run_id":{"type":"string","title":"Run Id"},"url":{"type":"string","title":"Url"}},"type":"object","required":["run_id","url"],"title":"LauncherRunResponse"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":512,"minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MergeKeyInfo":{"properties":{"time_candidates":{"items":{"type":"string"},"type":"array","title":"Time Candidates"},"object_candidates":{"items":{"type":"string"},"type":"array","title":"Object Candidates"},"suggested_time_a":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Time A"},"suggested_time_b":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Time B"},"suggested_object_a":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Object A"},"suggested_object_b":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Object B"}},"type":"object","required":["time_candidates","object_candidates","suggested_time_a","suggested_time_b","suggested_object_a","suggested_object_b"],"title":"MergeKeyInfo"},"MergePreviewRequest":{"properties":{"upload_id_a":{"type":"string","title":"Upload Id A"},"upload_id_b":{"type":"string","title":"Upload Id B"}},"type":"object","required":["upload_id_a","upload_id_b"],"title":"MergePreviewRequest"},"MergePreviewResponse":{"properties":{"left_total":{"type":"integer","title":"Left Total"},"right_total":{"type":"integer","title":"Right Total"},"left_match_rate":{"type":"number","title":"Left Match Rate"},"right_match_rate":{"type":"number","title":"Right Match Rate"},"left_only":{"type":"integer","title":"Left Only"},"right_only":{"type":"integer","title":"Right Only"},"estimated_rows":{"type":"integer","title":"Estimated Rows"},"keys":{"$ref":"#/components/schemas/MergeKeyInfo"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"type":"object","required":["left_total","right_total","left_match_rate","right_match_rate","left_only","right_only","estimated_rows","keys","warnings"],"title":"MergePreviewResponse"},"NamePreviewPayload":{"properties":{"template":{"type":"string","title":"Template"},"values":{"type":"object","title":"Values","default":{}}},"type":"object","required":["template"],"title":"NamePreviewPayload"},"NameSuggestPayload":{"properties":{"theme_ids":{"items":{"type":"string"},"type":"array","title":"Theme Ids","default":[]}},"type":"object","title":"NameSuggestPayload"},"NamingSegmentIn":{"properties":{"type":{"type":"string","title":"Type"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},"type":"object","required":["type"],"title":"NamingSegmentIn"},"NestedAccountResultOut":{"properties":{"login":{"type":"string","title":"Login"},"status":{"type":"string","enum":["added","no_access"],"title":"Status"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"access_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Level"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["login","status"],"title":"NestedAccountResultOut"},"PasswordResetConfirmRequest":{"properties":{"token":{"type":"string","maxLength":2048,"minLength":1,"title":"Token"},"new_password":{"type":"string","maxLength":512,"minLength":1,"title":"New Password"}},"type":"object","required":["token","new_password"],"title":"PasswordResetConfirmRequest"},"PasswordResetRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"PasswordResetRequest"},"PhraseMutationPayload":{"properties":{"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"},"expected_theme_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Theme Revision"},"phrases":{"items":{"type":"string"},"type":"array","title":"Phrases","default":[]}},"type":"object","title":"PhraseMutationPayload"},"PreviewRequest":{"properties":{"operation":{"type":"string","enum":["campaign_negative_keywords","adgroup_negative_keywords","keywords"],"title":"Operation"},"distribution_mode":{"type":"string","enum":["shared","individual"],"title":"Distribution Mode"},"input_text":{"type":"string","maxLength":26214400,"minLength":1,"title":"Input Text"},"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"target_selection":{"anyOf":[{"$ref":"#/components/schemas/WriteTargetSelection"},{"type":"null"}]}},"type":"object","required":["operation","distribution_mode","input_text","connection_id","account_login"],"title":"PreviewRequest"},"PrimaryActionOut":{"properties":{"kind":{"type":"string","pattern":"^(open|download)$","title":"Kind"},"href":{"type":"string","minLength":1,"title":"Href"},"label":{"type":"string","maxLength":50,"minLength":1,"title":"Label"}},"type":"object","required":["kind","href","label"],"title":"PrimaryActionOut"},"ProjectActivationOut":{"properties":{"ok":{"type":"boolean","title":"Ok"},"project_id":{"type":"string","title":"Project Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"}},"type":"object","required":["ok","project_id"],"title":"ProjectActivationOut"},"ProjectAutoRefreshHistoryOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"requested_date_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Date From"},"requested_date_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Date To"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"covered_through_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Covered Through Date"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","requested_date_from","requested_date_to","dataset_id","covered_through_date","error","created_at","updated_at"],"title":"ProjectAutoRefreshHistoryOut"},"ProjectAutoRefreshSaveRequest":{"properties":{"schedule_kind":{"type":"string","minLength":1,"title":"Schedule Kind"},"schedule_time":{"type":"string","maxLength":5,"minLength":5,"title":"Schedule Time"},"schedule_day_of_week":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Schedule Day Of Week"},"schedule_day_of_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Schedule Day Of Month"},"refresh_tail_days":{"type":"integer","title":"Refresh Tail Days","default":3},"inactivity_pause_days":{"type":"integer","title":"Inactivity Pause Days","default":14}},"type":"object","required":["schedule_kind","schedule_time"],"title":"ProjectAutoRefreshSaveRequest"},"ProjectAutoRefreshStateOut":{"properties":{"project_id":{"type":"string","title":"Project Id"},"eligible":{"type":"boolean","title":"Eligible"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"recipe":{"anyOf":[{"$ref":"#/components/schemas/AutoRefreshRecipeOut"},{"type":"null"}]},"rule":{"anyOf":[{"$ref":"#/components/schemas/AutoRefreshRuleOut"},{"type":"null"}]}},"type":"object","required":["project_id","eligible","reason","recipe","rule"],"title":"ProjectAutoRefreshStateOut"},"ProjectCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"product":{"anyOf":[{"type":"string","enum":["dashboard","campaign_analysis","semantics","crossminus","bdbot","wordstat","texts","campaign_creation","direct_reports","campaign_editing"]},{"type":"null"}],"title":"Product"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone","default":"UTC"},"currency":{"type":"string","maxLength":16,"minLength":1,"title":"Currency","default":"USD"},"default_conversion_source":{"type":"string","maxLength":64,"minLength":1,"title":"Default Conversion Source","default":"unknown"},"campaign_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Campaign Version"},"semantics_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Semantics Version"}},"type":"object","required":["name"],"title":"ProjectCreate"},"ProjectDirectSourceOut":{"properties":{"project_id":{"type":"string","title":"Project Id"},"direct_connection_id":{"type":"string","title":"Direct Connection Id"},"connection_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Label"},"connection_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Status"},"connection_environment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Environment"},"authorized_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Login"},"authorized_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorized Name"},"selected_account_login":{"type":"string","title":"Selected Account Login"},"selected_account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Name"},"selected_account_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Ref"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["project_id","direct_connection_id","connection_label","connection_status","connection_environment","authorized_login","authorized_name","selected_account_login","selected_account_name","selected_account_ref","updated_at"],"title":"ProjectDirectSourceOut"},"ProjectDirectSourceStateOut":{"properties":{"project_id":{"type":"string","title":"Project Id"},"binding":{"anyOf":[{"$ref":"#/components/schemas/ProjectDirectSourceOut"},{"type":"null"}]}},"type":"object","required":["project_id","binding"],"title":"ProjectDirectSourceStateOut"},"ProjectOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"timezone":{"type":"string","title":"Timezone"},"currency":{"type":"string","title":"Currency"},"default_conversion_source":{"type":"string","title":"Default Conversion Source"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","name","timezone","currency","default_conversion_source","created_at","updated_at"],"title":"ProjectOut"},"PublicDemoLaunchOut":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"PublicDemoLaunchOut"},"PublicProductOut":{"properties":{"tool_id":{"type":"string","title":"Tool Id"},"title":{"type":"string","title":"Title"},"base_url":{"type":"string","title":"Base Url"},"supported_input_formats":{"items":{"type":"string"},"type":"array","title":"Supported Input Formats"},"result_types":{"items":{"type":"string"},"type":"array","title":"Result Types"},"allow_public_share_links":{"type":"boolean","title":"Allow Public Share Links"},"guest_demo_available":{"type":"boolean","title":"Guest Demo Available"},"project_backed":{"type":"boolean","title":"Project Backed","default":true}},"type":"object","required":["tool_id","title","base_url","supported_input_formats","result_types","allow_public_share_links","guest_demo_available"],"title":"PublicProductOut"},"ReferenceCopyPreviewRequest":{"properties":{"source_campaign_id":{"type":"string","maxLength":32,"minLength":1,"title":"Source Campaign Id"},"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"block_ids":{"items":{"type":"string","enum":["tracking_params","campaign_settings","sitelinks","callouts"]},"type":"array","maxItems":4,"minItems":1,"title":"Block Ids"},"target_selection":{"$ref":"#/components/schemas/WriteTargetSelection"}},"type":"object","required":["source_campaign_id","connection_id","account_login","block_ids","target_selection"],"title":"ReferenceCopyPreviewRequest"},"ReferenceSourceRequest":{"properties":{"source_campaign_id":{"type":"string","maxLength":32,"minLength":1,"title":"Source Campaign Id"},"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"}},"type":"object","required":["source_campaign_id","connection_id","account_login"],"title":"ReferenceSourceRequest"},"RegisterRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":512,"minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"RenameCampaignPayload":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"RenameCampaignPayload"},"RevisionPayload":{"properties":{"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"},"expected_theme_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Theme Revision"}},"type":"object","title":"RevisionPayload"},"RowLimitContextOut":{"properties":{"limit_rows":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit Rows"},"observed_rows":{"type":"integer","minimum":0.0,"title":"Observed Rows"},"observed_rows_is_lower_bound":{"type":"boolean","title":"Observed Rows Is Lower Bound"},"recommendation":{"$ref":"#/components/schemas/ImpressionsFilterRecommendationOut"}},"type":"object","required":["limit_rows","observed_rows","observed_rows_is_lower_bound","recommendation"],"title":"RowLimitContextOut"},"RowsFilter":{"properties":{"field":{"type":"string","title":"Field"},"op":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Op"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"include":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include"},"include_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Include Mode"},"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude"}},"type":"object","required":["field"],"title":"RowsFilter"},"RowsQuery":{"properties":{"page":{"type":"integer","title":"Page","default":1},"size":{"type":"integer","title":"Size","default":100},"sort":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Sort"},"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/RowsFilter"},"type":"array"},{"type":"null"}],"title":"Filters"},"fmt":{"type":"string","title":"Fmt","default":"csv"}},"type":"object","title":"RowsQuery"},"RunScheduleNowRequest":{"properties":{"idempotency_key":{"type":"string","maxLength":256,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["idempotency_key"],"title":"RunScheduleNowRequest"},"RuntimeCalculationInputHandleIn":{"properties":{"file_name":{"type":"string","maxLength":255,"minLength":1,"title":"File Name"},"content_type":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["file_name"],"title":"RuntimeCalculationInputHandleIn"},"RuntimeCalculationJobCreateIn":{"properties":{"input_refs":{"items":{"$ref":"#/components/schemas/CalculationInputRefIn"},"type":"array","title":"Input Refs"},"params":{"type":"object","title":"Params"},"idempotency_key":{"type":"string","maxLength":200,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["idempotency_key"],"title":"RuntimeCalculationJobCreateIn"},"RuntimeDirectAccountOutV2":{"properties":{"account_login":{"type":"string","title":"Account Login"},"account_title":{"type":"string","title":"Account Title"},"is_available":{"type":"boolean","title":"Is Available","default":true},"availability_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Availability Status"},"access_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Level"}},"type":"object","required":["account_login","account_title"],"title":"RuntimeDirectAccountOutV2"},"RuntimeDirectBindingOutV2":{"properties":{"slot":{"type":"integer","title":"Slot"},"kind":{"type":"string","title":"Kind"},"provider":{"type":"string","title":"Provider"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"},"selected_account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Login"},"selected_account_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Title"},"selected_object_types":{"items":{"type":"string"},"type":"array","title":"Selected Object Types"}},"type":"object","required":["slot","kind","provider","connection_id","selected_account_login","selected_account_title","selected_object_types"],"title":"RuntimeDirectBindingOutV2"},"RuntimeDirectBindingRequestV2":{"properties":{"slot":{"type":"integer","maximum":2.0,"minimum":1.0,"title":"Slot"},"connection_id":{"type":"string","minLength":1,"title":"Connection Id"},"account_login":{"type":"string","minLength":1,"title":"Account Login"},"selected_object_types":{"items":{"type":"string"},"type":"array","title":"Selected Object Types"}},"type":"object","required":["slot","connection_id","account_login"],"title":"RuntimeDirectBindingRequestV2"},"RuntimeDirectBindingStateOutV2":{"properties":{"slot":{"type":"integer","title":"Slot"},"binding":{"anyOf":[{"$ref":"#/components/schemas/RuntimeDirectBindingOutV2"},{"type":"null"}]}},"type":"object","required":["slot","binding"],"title":"RuntimeDirectBindingStateOutV2"},"RuntimeDirectCampaignCatalogOutV2":{"properties":{"catalog_run_id":{"type":"string","title":"Catalog Run Id"},"slot":{"type":"integer","title":"Slot"},"status":{"type":"string","title":"Status"},"date_from":{"type":"string","title":"Date From"},"date_to":{"type":"string","title":"Date To"},"campaigns":{"items":{"$ref":"#/components/schemas/RuntimeDirectCampaignOutV2"},"type":"array","title":"Campaigns"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"retry_after_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retry After Ms"}},"type":"object","required":["catalog_run_id","slot","status","date_from","date_to"],"title":"RuntimeDirectCampaignCatalogOutV2"},"RuntimeDirectCampaignCatalogRequestV2":{"properties":{"slot":{"type":"integer","maximum":2.0,"minimum":1.0,"title":"Slot"},"date_from":{"type":"string","maxLength":10,"minLength":10,"title":"Date From"},"date_to":{"type":"string","maxLength":10,"minLength":10,"title":"Date To"}},"type":"object","required":["slot","date_from","date_to"],"title":"RuntimeDirectCampaignCatalogRequestV2"},"RuntimeDirectCampaignOutV2":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"type":"object","required":["id","name"],"title":"RuntimeDirectCampaignOutV2"},"RuntimeDirectConnectionOutV2":{"properties":{"connection_id":{"type":"string","title":"Connection Id"},"provider":{"type":"string","title":"Provider","default":"direct"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"has_child_accounts":{"type":"boolean","title":"Has Child Accounts"},"account_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Type"}},"type":"object","required":["connection_id","login","title","status","has_child_accounts"],"title":"RuntimeDirectConnectionOutV2"},"RuntimeDirectGoalOutV2":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"},"counter_ids":{"items":{"type":"string"},"type":"array","title":"Counter Ids"},"goal_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Source"},"is_fallback_title":{"type":"boolean","title":"Is Fallback Title","default":true}},"type":"object","required":["id","name","title"],"title":"RuntimeDirectGoalOutV2"},"RuntimeDirectImportOutV2":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v2"},"slot":{"type":"integer","title":"Slot"},"status":{"type":"string","title":"Status"},"datasets":{"items":{"$ref":"#/components/schemas/RuntimePreparedDatasetOutV2"},"type":"array","title":"Datasets"}},"type":"object","required":["slot","status","datasets"],"title":"RuntimeDirectImportOutV2"},"RuntimeDirectImportProgressOutV2":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v2"},"import_run_id":{"type":"string","title":"Import Run Id"},"slot":{"type":"integer","title":"Slot"},"status":{"type":"string","title":"Status"},"phase":{"type":"string","title":"Phase"},"deadline_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deadline At"},"retry_after_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retry After Ms"},"datasets":{"items":{"$ref":"#/components/schemas/RuntimePreparedDatasetOutV2"},"type":"array","title":"Datasets"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["import_run_id","slot","status","phase"],"title":"RuntimeDirectImportProgressOutV2"},"RuntimeDirectImportRequestV2":{"properties":{"slot":{"type":"integer","maximum":2.0,"minimum":1.0,"title":"Slot"},"date_from":{"type":"string","maxLength":10,"minLength":10,"title":"Date From"},"date_to":{"type":"string","maxLength":10,"minLength":10,"title":"Date To"},"granularity":{"type":"string","pattern":"^(daily|weekly|monthly)$","title":"Granularity"},"selected_object_types":{"items":{"type":"string"},"type":"array","title":"Selected Object Types"},"selected_metrics":{"items":{"type":"string"},"type":"array","title":"Selected Metrics"},"selected_campaigns":{"items":{"type":"string"},"type":"array","title":"Selected Campaigns"},"campaigns_filter_mode":{"type":"string","title":"Campaigns Filter Mode","default":"include"},"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"goals":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},{"type":"null"}],"title":"Goals"},"attribution_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution Model"}},"type":"object","required":["slot","date_from","date_to","granularity"],"title":"RuntimeDirectImportRequestV2"},"RuntimeOpenDatasetsRequestV2":{"properties":{"datasets":{"items":{"$ref":"#/components/schemas/RuntimePreparedDatasetOutV2"},"type":"array","minItems":1,"title":"Datasets"}},"type":"object","required":["datasets"],"title":"RuntimeOpenDatasetsRequestV2"},"RuntimeOpenDatasetsResponseV2":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v2"},"run_id":{"type":"string","title":"Run Id"},"datasets":{"items":{"type":"object"},"type":"array","title":"Datasets"},"launch_code":{"type":"string","title":"Launch Code"},"url":{"type":"string","title":"Url"},"feedback_widget":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Feedback Widget"}},"type":"object","required":["run_id","datasets","launch_code","url"],"title":"RuntimeOpenDatasetsResponseV2"},"RuntimePreparedDatasetOutV2":{"properties":{"slot":{"type":"integer","title":"Slot"},"kind":{"type":"string","title":"Kind"},"provider":{"type":"string","title":"Provider"},"object_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"},"granularity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granularity"},"selected_metrics":{"items":{"type":"string"},"type":"array","title":"Selected Metrics"},"attribution_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution Model"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"},"actual_date_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Date From"},"actual_date_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Date To"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"error_contract":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Error Contract"},"status":{"type":"string","title":"Status"},"import_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Import Run Id"}},"type":"object","required":["slot","kind","provider","object_type","dataset_id","status"],"title":"RuntimePreparedDatasetOutV2"},"RuntimeSourceOpenRequest":{"properties":{"dataset_id":{"type":"string","minLength":1,"title":"Dataset Id"}},"type":"object","required":["dataset_id"],"title":"RuntimeSourceOpenRequest"},"RuntimeSourceOpenResponse":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v1"},"run_id":{"type":"string","title":"Run Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"launch_code":{"type":"string","title":"Launch Code"},"url":{"type":"string","title":"Url"}},"type":"object","required":["run_id","dataset_id","launch_code","url"],"title":"RuntimeSourceOpenResponse"},"RuntimeSourceProviderOut":{"properties":{"kind":{"type":"string","title":"Kind"},"provider":{"type":"string","title":"Provider"},"title":{"type":"string","title":"Title"}},"type":"object","required":["kind","provider","title"],"title":"RuntimeSourceProviderOut"},"RuntimeSourceProviderOutV2":{"properties":{"kind":{"type":"string","title":"Kind"},"provider":{"type":"string","title":"Provider"},"title":{"type":"string","title":"Title"},"supports_child_accounts":{"type":"boolean","title":"Supports Child Accounts"},"supports_object_selection":{"type":"boolean","title":"Supports Object Selection"},"supported_object_types":{"items":{"type":"string"},"type":"array","title":"Supported Object Types"},"max_selected_object_types":{"type":"integer","title":"Max Selected Object Types"},"supported_granularities":{"items":{"type":"string"},"type":"array","title":"Supported Granularities"},"default_granularity":{"type":"string","title":"Default Granularity"},"supported_metrics":{"items":{"type":"object"},"type":"array","title":"Supported Metrics"},"default_metrics":{"items":{"type":"string"},"type":"array","title":"Default Metrics"},"derived_metrics":{"items":{"type":"string"},"type":"array","title":"Derived Metrics"},"goal_metadata_level":{"type":"string","title":"Goal Metadata Level"},"supported_attribution_models":{"items":{"type":"object"},"type":"array","title":"Supported Attribution Models"},"default_attribution_model":{"type":"string","title":"Default Attribution Model"}},"type":"object","required":["kind","provider","title","supports_child_accounts","supports_object_selection","supported_object_types","max_selected_object_types","supported_granularities","default_granularity","supported_metrics","default_metrics","derived_metrics","goal_metadata_level","supported_attribution_models","default_attribution_model"],"title":"RuntimeSourceProviderOutV2"},"RuntimeSourceSelectionOut":{"properties":{"kind":{"type":"string","title":"Kind"},"provider":{"type":"string","title":"Provider"},"summary":{"type":"object","title":"Summary"}},"type":"object","required":["kind","provider"],"title":"RuntimeSourceSelectionOut"},"RuntimeSourceSelectionOutV2":{"properties":{"slot":{"type":"integer","title":"Slot"},"kind":{"type":"string","title":"Kind"},"provider":{"type":"string","title":"Provider"},"summary":{"$ref":"#/components/schemas/RuntimeSourceSelectionSummaryOutV2"}},"type":"object","required":["slot","kind","provider","summary"],"title":"RuntimeSourceSelectionOutV2"},"RuntimeSourceSelectionSummaryOutV2":{"properties":{"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"},"login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"has_child_accounts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Child Accounts"},"account_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Type"},"selected_account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Login"},"selected_account_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Account Title"},"selected_object_types":{"items":{"type":"string"},"type":"array","title":"Selected Object Types"}},"type":"object","title":"RuntimeSourceSelectionSummaryOutV2"},"RuntimeSourceStateOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v1"},"project_id":{"type":"string","title":"Project Id"},"tool_id":{"type":"string","title":"Tool Id"},"available_source_kinds":{"items":{"type":"string"},"type":"array","title":"Available Source Kinds"},"available_providers":{"items":{"$ref":"#/components/schemas/RuntimeSourceProviderOut"},"type":"array","title":"Available Providers"},"current_selection":{"anyOf":[{"$ref":"#/components/schemas/RuntimeSourceSelectionOut"},{"type":"null"}]}},"type":"object","required":["project_id","tool_id","available_source_kinds","available_providers","current_selection"],"title":"RuntimeSourceStateOut"},"RuntimeSourceStateOutV2":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v2"},"project_id":{"type":"string","title":"Project Id"},"tool_id":{"type":"string","title":"Tool Id"},"max_source_slots":{"type":"integer","title":"Max Source Slots"},"available_source_kinds":{"items":{"type":"string"},"type":"array","title":"Available Source Kinds"},"available_providers":{"items":{"$ref":"#/components/schemas/RuntimeSourceProviderOutV2"},"type":"array","title":"Available Providers"},"current_selections":{"items":{"$ref":"#/components/schemas/RuntimeSourceSelectionOutV2"},"type":"array","title":"Current Selections"}},"type":"object","required":["project_id","tool_id","max_source_slots","available_source_kinds","available_providers","current_selections"],"title":"RuntimeSourceStateOutV2"},"ScheduleRequest":{"properties":{"report_type":{"type":"string","minLength":1,"title":"Report Type"},"params":{"type":"object","title":"Params"},"schedule":{"type":"object","title":"Schedule"}},"type":"object","required":["report_type"],"title":"ScheduleRequest"},"ScheduleStatusRequest":{"properties":{"status":{"type":"string","enum":["active","paused"],"title":"Status"}},"type":"object","required":["status"],"title":"ScheduleStatusRequest"},"SemanticsDraftRequest":{"properties":{"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"target_selection":{"$ref":"#/components/schemas/WriteTargetSelection"}},"type":"object","required":["connection_id","account_login","target_selection"],"title":"SemanticsDraftRequest"},"SemanticsLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/SemanticsRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"SemanticsLaunchResponse"},"SemanticsPayload":{"properties":{"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"}},"type":"object","required":["keywords"],"title":"SemanticsPayload"},"SemanticsRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false}},"type":"object","title":"SemanticsRunCreateRequest"},"SemanticsRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"SemanticsRunOut"},"SetCampaignNamePayload":{"properties":{"node_id":{"type":"string","title":"Node Id"},"name":{"type":"string","title":"Name","default":""},"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"}},"type":"object","required":["node_id"],"title":"SetCampaignNamePayload"},"ShareCreateResponse":{"properties":{"token":{"type":"string","title":"Token"},"url_path":{"type":"string","title":"Url Path"},"ttl_expires_at":{"type":"string","title":"Ttl Expires At"}},"type":"object","required":["token","url_path","ttl_expires_at"],"title":"ShareCreateResponse"},"ShareLinkOut":{"properties":{"token":{"type":"string","title":"Token"},"url_path":{"type":"string","title":"Url Path"},"ttl_expires_at":{"type":"string","title":"Ttl Expires At"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"status":{"type":"string","title":"Status"}},"type":"object","required":["token","url_path","ttl_expires_at","revoked_at","status"],"title":"ShareLinkOut"},"SourceExportCapabilitiesOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"catalogs":{"type":"object","title":"Catalogs"},"capabilities":{"items":{"type":"object"},"type":"array","title":"Capabilities"}},"type":"object","required":["contract_version","capabilities"],"title":"SourceExportCapabilitiesOut"},"SourceExportDebugEventsOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"events":{"items":{"type":"object"},"type":"array","title":"Events"}},"type":"object","required":["contract_version","events"],"title":"SourceExportDebugEventsOut"},"SourceExportDebugRunsOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"runs":{"items":{"type":"object"},"type":"array","title":"Runs"}},"type":"object","required":["contract_version","runs"],"title":"SourceExportDebugRunsOut"},"SourceExportDebugSchedulesOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"schedules":{"items":{"type":"object"},"type":"array","title":"Schedules"}},"type":"object","required":["contract_version","schedules"],"title":"SourceExportDebugSchedulesOut"},"SourceExportDeliveryCredentialCreatedOut":{"properties":{"credential_id":{"type":"string","title":"Credential Id"},"schedule_id":{"type":"string","title":"Schedule Id"},"label":{"type":"string","title":"Label"},"token":{"type":"string","title":"Token"},"created_at":{"type":"string","title":"Created At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["credential_id","schedule_id","label","token","created_at"],"title":"SourceExportDeliveryCredentialCreatedOut"},"SourceExportDeliveryCredentialRequest":{"properties":{"label":{"type":"string","maxLength":100,"minLength":1,"title":"Label"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["label"],"title":"SourceExportDeliveryCredentialRequest","example":{"label":"dashboard-production"}},"SourceExportDeliveryCredentialsOut":{"properties":{"items":{"items":{"type":"object"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"SourceExportDeliveryCredentialsOut"},"SourceExportIdempotencyResolveRequest":{"properties":{"source":{"type":"string","maxLength":64,"minLength":1,"title":"Source"},"idempotency_key":{"type":"string","maxLength":256,"minLength":1,"title":"Idempotency Key"},"request_fingerprint":{"type":"string","maxLength":128,"minLength":1,"title":"Request Fingerprint"}},"type":"object","required":["source","idempotency_key","request_fingerprint"],"title":"SourceExportIdempotencyResolveRequest"},"SourceExportOperatorUsageOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"runs":{"type":"object","title":"Runs"},"runs_by_consumer_source_kind":{"items":{"type":"object"},"type":"array","title":"Runs By Consumer Source Kind"},"runs_by_status":{"items":{"type":"object"},"type":"array","title":"Runs By Status"},"runs_by_fail_reason":{"items":{"type":"object"},"type":"array","title":"Runs By Fail Reason"},"runs_by_destination":{"items":{"type":"object"},"type":"array","title":"Runs By Destination"},"schedules_by_status":{"items":{"type":"object"},"type":"array","title":"Schedules By Status"}},"type":"object","required":["contract_version","runs","runs_by_consumer_source_kind","runs_by_status","runs_by_fail_reason","runs_by_destination","schedules_by_status"],"title":"SourceExportOperatorUsageOut"},"SourceExportPreflightOut":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"warning_codes":{"items":{"type":"string"},"type":"array","title":"Warning Codes"},"issues":{"items":{"type":"object"},"type":"array","title":"Issues"},"normalizations":{"items":{"type":"object"},"type":"array","title":"Normalizations"},"plan_summary":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Plan Summary"},"campaign_snapshot":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Campaign Snapshot"},"result_schemas":{"items":{"type":"object"},"type":"array","title":"Result Schemas"},"limits":{"type":"object","title":"Limits"},"normalized_recipe":{"type":"object","title":"Normalized Recipe"},"request_fingerprint":{"type":"string","title":"Request Fingerprint"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["id","status","warning_codes","limits","normalized_recipe","request_fingerprint","expires_at"],"title":"SourceExportPreflightOut"},"SourceExportPreflightRequest":{"properties":{"recipe":{"type":"object","title":"Recipe"}},"type":"object","title":"SourceExportPreflightRequest","example":{"recipe":{"account_login":"example-account","capability_id":"direct.reports.performance","connection_id":"dcn_example","consumer":"api_client","destination":{"format":"csv","kind":"object_storage"},"params":{"attribution_models":["LSC"],"campaign_selector":{"exclude_terms":["referral","education","bnp"],"include_mode":"any","include_terms":["search"],"kind":"name_filter"},"date_from":"2026-06-01","date_to":"2026-07-31","goal_ids":["123456789"],"metrics":["Impressions","Clicks","Cost","Conversions"],"views":[{"granularity":"monthly","id":"adgroups_monthly","level":"adgroup"}]},"request_context":{},"source":"direct"}}},"SourceExportPreviewOut":{"properties":{"export_id":{"type":"string","title":"Export Id"},"status":{"type":"string","title":"Status"},"limit":{"type":"integer","title":"Limit"},"view_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"View Id"},"rows":{"items":{"type":"object"},"type":"array","title":"Rows"}},"type":"object","required":["export_id","status","limit","rows"],"title":"SourceExportPreviewOut"},"SourceExportResultOut":{"properties":{"export_id":{"type":"string","title":"Export Id"},"status":{"type":"string","title":"Status"},"result_ref":{"type":"object","title":"Result Ref"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"download":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Download"},"artifacts":{"items":{"type":"object"},"type":"array","title":"Artifacts"}},"type":"object","required":["export_id","status","result_ref","row_count","size_bytes"],"title":"SourceExportResultOut"},"SourceExportRetentionOut":{"properties":{"expired_runs":{"type":"integer","title":"Expired Runs"},"expired_manual_runs":{"type":"integer","title":"Expired Manual Runs"},"expired_scheduled_runs":{"type":"integer","title":"Expired Scheduled Runs"},"deleted_events":{"type":"integer","title":"Deleted Events"},"deleted_preflights":{"type":"integer","title":"Deleted Preflights"}},"type":"object","required":["expired_runs","expired_manual_runs","expired_scheduled_runs","deleted_events","deleted_preflights"],"title":"SourceExportRetentionOut"},"SourceExportRunDueOut":{"properties":{"started":{"type":"integer","title":"Started"},"succeeded":{"type":"integer","title":"Succeeded"},"failed":{"type":"integer","title":"Failed"},"skipped":{"type":"integer","title":"Skipped"},"exports":{"items":{"type":"object"},"type":"array","title":"Exports"}},"type":"object","required":["started","succeeded","failed","skipped","exports"],"title":"SourceExportRunDueOut"},"SourceExportRunDueRequest":{"properties":{"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"owner_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner User Id"}},"type":"object","title":"SourceExportRunDueRequest"},"SourceExportRunOut":{"properties":{"id":{"type":"string","title":"Id"},"consumer":{"type":"string","title":"Consumer"},"source":{"type":"string","title":"Source"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"},"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"},"capability_id":{"type":"string","title":"Capability Id"},"params":{"type":"object","title":"Params"},"destination":{"type":"object","title":"Destination"},"request_context":{"type":"object","title":"Request Context"},"run_kind":{"type":"string","title":"Run Kind"},"schedule_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule Id"},"status":{"type":"string","title":"Status"},"fail_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fail Reason"},"warning_codes":{"items":{"type":"string"},"type":"array","title":"Warning Codes"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"result_ref":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result Ref"},"external_run_ref":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"External Run Ref"},"progress":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Progress"},"error":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Error"},"links":{"additionalProperties":{"type":"string"},"type":"object","title":"Links"},"poll_after_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Poll After Seconds"},"deadline_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deadline At"},"last_progress_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Progress At"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","consumer","source","connection_id","account_login","capability_id","params","destination","request_context","run_kind","schedule_id","status","fail_reason","warning_codes","row_count","size_bytes","result_ref","external_run_ref","created_at","updated_at","started_at","finished_at"],"title":"SourceExportRunOut"},"SourceExportRunRequest":{"properties":{"recipe":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Recipe"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Idempotency Key"},"preflight_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Preflight Id"},"execute":{"type":"boolean","title":"Execute","default":false}},"type":"object","title":"SourceExportRunRequest","example":{"execute":true,"idempotency_key":"client-generated-export-key","preflight_id":"sxpf_example"}},"SourceExportRunsOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"items":{"items":{"type":"object"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["contract_version","items"],"title":"SourceExportRunsOut"},"SourceExportScheduleDeliveryOut":{"properties":{"export_id":{"type":"string","title":"Export Id"},"status":{"type":"string","title":"Status"},"result_ref":{"type":"object","title":"Result Ref"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"download":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Download"},"artifacts":{"items":{"type":"object"},"type":"array","title":"Artifacts"},"schedule_id":{"type":"string","title":"Schedule Id"},"export_params":{"type":"object","title":"Export Params"},"data_period_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Period From"},"data_period_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Period To"},"last_success_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Success At"},"last_attempt":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Last Attempt"}},"type":"object","required":["export_id","status","result_ref","row_count","size_bytes","schedule_id","export_params"],"title":"SourceExportScheduleDeliveryOut"},"SourceExportScheduleListOut":{"properties":{"items":{"items":{"type":"object"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"SourceExportScheduleListOut"},"SourceExportScheduleOut":{"properties":{"id":{"type":"string","title":"Id"},"consumer":{"type":"string","title":"Consumer"},"source":{"type":"string","title":"Source"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Id"},"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"},"capability_id":{"type":"string","title":"Capability Id"},"params":{"type":"object","title":"Params"},"destination":{"type":"object","title":"Destination"},"request_context":{"type":"object","title":"Request Context"},"schedule":{"type":"object","title":"Schedule"},"status":{"type":"string","title":"Status"},"latest_export_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Export Id"},"latest_result_ref":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Latest Result Ref"},"external_scheduler_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Scheduler Ref"},"next_run_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Run At"},"last_run_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Run At"},"last_success_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Success At"},"last_attempt":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Last Attempt"},"latest_success":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Latest Success"},"pause_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pause Reason"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","consumer","source","connection_id","account_login","capability_id","params","destination","request_context","schedule","status","latest_export_id","latest_result_ref","external_scheduler_ref","next_run_at","created_at","updated_at"],"title":"SourceExportScheduleOut"},"SourceExportSchedulePreflightOut":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"issues":{"items":{"type":"object"},"type":"array","title":"Issues"},"normalizations":{"items":{"type":"object"},"type":"array","title":"Normalizations"},"normalized_recipe":{"type":"object","title":"Normalized Recipe"},"normalized_schedule":{"type":"object","title":"Normalized Schedule"},"request_fingerprint":{"type":"string","title":"Request Fingerprint"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["id","status","normalized_recipe","normalized_schedule","request_fingerprint","expires_at"],"title":"SourceExportSchedulePreflightOut"},"SourceExportSchedulePreflightRequest":{"properties":{"recipe":{"type":"object","title":"Recipe"},"schedule":{"type":"object","title":"Schedule"}},"type":"object","title":"SourceExportSchedulePreflightRequest","example":{"recipe":{"account_login":"example-account","capability_id":"direct.reports.performance","connection_id":"dcn_example","consumer":"api_client","destination":{"format":"csv","kind":"object_storage"},"params":{"attribution_models":["LSC"],"campaign_selector":{"exclude_terms":["referral","education","bnp"],"include_mode":"any","include_terms":["search"],"kind":"name_filter"},"date_from":"2026-01-01","date_to":"{{schedule.interval_end_date_minus_1d}}","goal_ids":["123456789"],"metrics":["Impressions","Clicks","Cost","Conversions"],"views":[{"granularity":"monthly","id":"adgroups_monthly","level":"adgroup"}]},"request_context":{},"source":"direct"},"schedule":{"kind":"daily","time":"06:00","timezone":"Europe/Moscow"}}},"SourceExportScheduleRequest":{"properties":{"recipe":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Recipe"},"schedule":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schedule"},"preflight_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Preflight Id"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","title":"SourceExportScheduleRequest"},"SourceExportScheduleRunNowRequest":{"properties":{"idempotency_key":{"type":"string","maxLength":256,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["idempotency_key"],"title":"SourceExportScheduleRunNowRequest","example":{"idempotency_key":"client-generated-run-key"}},"SourceExportScheduleUpdateRequest":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"schedule":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schedule"}},"type":"object","title":"SourceExportScheduleUpdateRequest"},"SourceExportUsageOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"owner_user_id":{"type":"string","title":"Owner User Id"},"runs_by_status":{"items":{"type":"object"},"type":"array","title":"Runs By Status"},"runs_by_capability":{"items":{"type":"object"},"type":"array","title":"Runs By Capability"},"schedules":{"type":"object","title":"Schedules"}},"type":"object","required":["contract_version","owner_user_id","runs_by_status","runs_by_capability","schedules"],"title":"SourceExportUsageOut"},"SourceFileSelectionPayload":{"properties":{"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"},"expected_theme_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Theme Revision"},"selected_sheet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Sheet"},"selected_column":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Selected Column"}},"type":"object","title":"SourceFileSelectionPayload"},"SourceProviderAccountsOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"source":{"type":"string","title":"Source"},"connection_id":{"type":"string","title":"Connection Id"},"accounts":{"items":{"type":"object"},"type":"array","title":"Accounts"}},"type":"object","required":["contract_version","source","connection_id","accounts"],"title":"SourceProviderAccountsOut"},"SourceProviderConnectionsOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"source":{"type":"string","title":"Source"},"connections":{"items":{"type":"object"},"type":"array","title":"Connections"}},"type":"object","required":["contract_version","source","connections"],"title":"SourceProviderConnectionsOut"},"SourceProvidersOut":{"properties":{"contract_version":{"type":"string","title":"Contract Version"},"providers":{"items":{"type":"object"},"type":"array","title":"Providers"}},"type":"object","required":["contract_version","providers"],"title":"SourceProvidersOut"},"SourceSessionOut":{"properties":{"token":{"type":"string","title":"Token"},"token_type":{"type":"string","title":"Token Type"},"consumer":{"type":"string","title":"Consumer"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"ttl_seconds":{"type":"integer","title":"Ttl Seconds"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["token","token_type","consumer","scopes","ttl_seconds","expires_at"],"title":"SourceSessionOut"},"SourceSessionRequest":{"properties":{"consumer":{"type":"string","title":"Consumer","default":"stefania"}},"type":"object","title":"SourceSessionRequest","example":{"consumer":"api_client"}},"SsoIssueRequest":{"properties":{"tool_id":{"type":"string","maxLength":100,"minLength":1,"title":"Tool Id"},"project_id":{"type":"string","maxLength":100,"minLength":1,"title":"Project Id"}},"type":"object","required":["tool_id","project_id"],"title":"SsoIssueRequest"},"SsoIssueResponse":{"properties":{"token":{"type":"string","title":"Token"},"expires_in_seconds":{"type":"integer","title":"Expires In Seconds"}},"type":"object","required":["token","expires_in_seconds"],"title":"SsoIssueResponse"},"TelemetryBootstrapOut":{"properties":{"yandex_metrika":{"$ref":"#/components/schemas/YandexMetrikaBootstrapOut"}},"type":"object","required":["yandex_metrika"],"title":"TelemetryBootstrapOut"},"TemplateRequest":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"report_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Type"},"conditions":{"type":"object","title":"Conditions"}},"type":"object","required":["name"],"title":"TemplateRequest"},"TextsLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/TextsRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"TextsLaunchResponse"},"TextsRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false}},"type":"object","title":"TextsRunCreateRequest"},"TextsRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"TextsRunOut"},"ToolOut":{"properties":{"tool_id":{"type":"string","title":"Tool Id"},"title":{"type":"string","title":"Title"},"base_url":{"type":"string","title":"Base Url"},"supported_input_formats":{"items":{"type":"string"},"type":"array","title":"Supported Input Formats"},"result_types":{"items":{"type":"string"},"type":"array","title":"Result Types"},"allow_public_share_links":{"type":"boolean","title":"Allow Public Share Links"},"guest_demo_available":{"type":"boolean","title":"Guest Demo Available"},"project_backed":{"type":"boolean","title":"Project Backed","default":true}},"type":"object","required":["tool_id","title","base_url","supported_input_formats","result_types","allow_public_share_links","guest_demo_available"],"title":"ToolOut"},"ToolRuntimeArtifactEnvelope":{"properties":{"type":{"type":"string","minLength":1,"title":"Type"},"tool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool"},"title":{"type":"string","minLength":1,"title":"Title"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["type","title"],"title":"ToolRuntimeArtifactEnvelope"},"ToolRuntimeExchangeRequest":{"properties":{"contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Version"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"launch_code":{"type":"string","minLength":1,"title":"Launch Code"}},"type":"object","required":["launch_code"],"title":"ToolRuntimeExchangeRequest"},"ToolRuntimeExchangeResponse":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v1"},"run_id":{"type":"string","title":"Run Id"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"project_id":{"type":"string","title":"Project Id"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"dataset_download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Download Url"},"prepared_datasets":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Prepared Datasets"},"run_token":{"type":"string","title":"Run Token"},"tool_id":{"type":"string","title":"Tool Id"},"tool_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Title"},"semantics_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Semantics Version"}},"type":"object","required":["run_id","project_id","dataset_id","dataset_download_url","run_token","tool_id"],"title":"ToolRuntimeExchangeResponse"},"ToolRuntimeRegisterArtifactRequest":{"properties":{"contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Version"},"idempotency_key":{"type":"string","minLength":1,"title":"Idempotency Key"},"artifact":{"$ref":"#/components/schemas/ToolRuntimeArtifactEnvelope"}},"type":"object","required":["idempotency_key","artifact"],"title":"ToolRuntimeRegisterArtifactRequest"},"ToolRuntimeRegisterArtifactResponse":{"properties":{"contract_version":{"type":"string","title":"Contract Version","default":"v1"},"artifact_id":{"type":"string","title":"Artifact Id"},"project_id":{"type":"string","title":"Project Id"},"run_id":{"type":"string","title":"Run Id"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"idempotency_replayed":{"type":"boolean","title":"Idempotency Replayed"}},"type":"object","required":["artifact_id","project_id","run_id","type","title","created_at","updated_at","idempotency_replayed"],"title":"ToolRuntimeRegisterArtifactResponse"},"ToolRuntimeRegisterResultRequest":{"properties":{"contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Version"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"run_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Token"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","title":"ToolRuntimeRegisterResultRequest"},"ToolRuntimeRegisterResultResponse":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id"}},"type":"object","required":["artifact_id"],"title":"ToolRuntimeRegisterResultResponse"},"ToolRuntimeStatusRequest":{"properties":{"contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Version"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"status":{"type":"string","minLength":1,"title":"Status"},"current_phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Phase"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"}},"type":"object","required":["status"],"title":"ToolRuntimeStatusRequest"},"UnificationDraftRequest":{"properties":{"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"data_type":{"type":"string","enum":["sitelinks","callouts","campaign_settings"],"title":"Data Type"},"target_selection":{"$ref":"#/components/schemas/WriteTargetSelection"}},"type":"object","required":["connection_id","account_login","data_type","target_selection"],"title":"UnificationDraftRequest"},"UpdateThemePayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"},"phrases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Phrases"},"clusters":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Clusters"},"brand_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand Mode"},"context_include_phrases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Context Include Phrases"},"site_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Url"},"file_include_phrases":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"File Include Phrases"},"expected_themes_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Themes Revision"},"expected_theme_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Theme Revision"}},"additionalProperties":false,"type":"object","title":"UpdateThemePayload"},"UploadResponse":{"properties":{"upload_id":{"type":"string","title":"Upload Id"},"original_name":{"type":"string","title":"Original Name"},"sha256":{"type":"string","title":"Sha256"},"size_bytes":{"type":"integer","title":"Size Bytes"},"headers":{"items":{"type":"string"},"type":"array","title":"Headers"},"source_id":{"type":"string","title":"Source Id"},"format_id":{"type":"string","title":"Format Id"},"confidence":{"type":"number","title":"Confidence"}},"type":"object","required":["upload_id","original_name","sha256","size_bytes","headers","source_id","format_id","confidence"],"title":"UploadResponse"},"UrlParam":{"properties":{"name":{"type":"string","title":"Name","default":""},"value":{"type":"string","title":"Value","default":""}},"type":"object","title":"UrlParam"},"UrlParameterRule":{"properties":{"action":{"type":"string","enum":["set","remove"],"title":"Action"},"name":{"type":"string","maxLength":256,"minLength":1,"title":"Name"},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Value"}},"type":"object","required":["action","name"],"title":"UrlParameterRule"},"UrlParamsDraftRequest":{"properties":{"connection_id":{"type":"string","maxLength":128,"minLength":1,"title":"Connection Id"},"account_login":{"type":"string","maxLength":256,"minLength":1,"title":"Account Login"},"target_selections":{"items":{"$ref":"#/components/schemas/WriteTargetSelection"},"type":"array","maxItems":2,"minItems":1,"title":"Target Selections"},"mode":{"type":"string","enum":["patch","exact"],"title":"Mode"},"rules":{"items":{"$ref":"#/components/schemas/UrlParameterRule"},"type":"array","maxItems":200,"minItems":1,"title":"Rules"}},"type":"object","required":["connection_id","account_login","target_selections","mode","rules"],"title":"UrlParamsDraftRequest"},"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"},"WizardCreateApiImportDatasetRequest":{"properties":{"project_id":{"type":"string","minLength":1,"title":"Project Id"},"connection_id":{"type":"string","minLength":1,"title":"Connection Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"period":{"type":"string","maxLength":100,"minLength":1,"title":"Period","default":"last_30_days"},"metrics":{"items":{"type":"string"},"type":"array","title":"Metrics"}},"type":"object","required":["project_id","connection_id","name"],"title":"WizardCreateApiImportDatasetRequest"},"WizardCreateDatasetRequest":{"properties":{"project_id":{"type":"string","minLength":1,"title":"Project Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"format":{"type":"string","maxLength":50,"minLength":1,"title":"Format"},"file_a_upload_id":{"type":"string","minLength":1,"title":"File A Upload Id"},"file_b_upload_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File B Upload Id"},"mapping_a":{"additionalProperties":{"type":"string"},"type":"object","title":"Mapping A"},"mapping_b":{"additionalProperties":{"type":"string"},"type":"object","title":"Mapping B"},"join_key_a":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Join Key A"},"join_key_b":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Join Key B"}},"type":"object","required":["project_id","name","format","file_a_upload_id"],"title":"WizardCreateDatasetRequest"},"WizardCreateDatasetResponse":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"}},"type":"object","required":["dataset_id"],"title":"WizardCreateDatasetResponse"},"WizardCreateSemanticsSeedDatasetRequest":{"properties":{"project_id":{"type":"string","minLength":1,"title":"Project Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"input_mode":{"type":"string","pattern":"^(topic|url|list)$","title":"Input Mode"},"processing_mode":{"type":"string","maxLength":100,"minLength":1,"title":"Processing Mode"},"phrases_count":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Phrases Count"},"words_per_phrase":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Words Per Phrase"},"exclude_phrases":{"items":{"type":"string"},"type":"array","title":"Exclude Phrases"},"text_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text Value"},"url_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url Value"}},"type":"object","required":["project_id","name","input_mode","processing_mode","phrases_count","words_per_phrase"],"title":"WizardCreateSemanticsSeedDatasetRequest"},"WordstatLaunchResponse":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"launch_code_expires_at":{"type":"string","title":"Launch Code Expires At"},"run":{"$ref":"#/components/schemas/WordstatRunOut"}},"type":"object","required":["launch_url","launch_code_expires_at","run"],"title":"WordstatLaunchResponse"},"WordstatPhrasesPayload":{"properties":{"phrases":{"items":{"type":"string"},"type":"array","title":"Phrases"}},"type":"object","required":["phrases"],"title":"WordstatPhrasesPayload"},"WordstatRunCreateRequest":{"properties":{"force_new":{"type":"boolean","title":"Force New","default":false}},"type":"object","title":"WordstatRunCreateRequest"},"WordstatRunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"status":{"type":"string","title":"Status"},"step_key":{"type":"string","title":"Step Key"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"result_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Title"},"context":{"type":"object","title":"Context"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","status","step_key","error","dataset_id","artifact_id","result_url","result_title","context","created_at","updated_at"],"title":"WordstatRunOut"},"WriteTargetSelection":{"properties":{"mode":{"type":"string","enum":["all_eligible","explicit"],"title":"Mode"},"entity_type":{"type":"string","enum":["campaign","ad_group"],"title":"Entity Type"},"explicit_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Explicit Ids"}},"type":"object","required":["mode","entity_type"],"title":"WriteTargetSelection"},"YandexMetrikaBootstrapOut":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"counter_id":{"type":"string","title":"Counter Id"}},"type":"object","required":["enabled","counter_id"],"title":"YandexMetrikaBootstrapOut"},"app__api__campaign_creation__ads__AdsSelectionPayload":{"properties":{"shared":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Shared"},"by_campaign":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"By Campaign"},"by_cluster":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"By Cluster"},"pairs":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Pairs"},"mode":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Mode"}},"type":"object","title":"AdsSelectionPayload"},"app__api__campaign_creation__assets__AssetsPayload":{"properties":{"assignments":{"items":{"$ref":"#/components/schemas/AssetAssignment"},"type":"array","title":"Assignments","default":[]},"unassigned":{"items":{"type":"string"},"type":"array","title":"Unassigned","default":[]}},"type":"object","title":"AssetsPayload"},"app__api__campaign_creation__builder__ads__AdsSelectionPayload":{"properties":{"by_cluster":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"By Cluster"}},"type":"object","title":"AdsSelectionPayload"},"app__api__campaign_creation__builder__assets__AssetsPayload":{"properties":{"assignments":{"items":{"type":"object"},"type":"array","title":"Assignments","default":[]}},"type":"object","title":"AssetsPayload"},"app__api__direct_reports__RunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"report_type":{"type":"string","title":"Report Type"},"status":{"type":"string","title":"Status"},"row_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row Count"},"rows_ingested":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows Ingested"},"data_received_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Received At"},"direct_connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direct Connection Id"},"account_login":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Login"},"params":{"type":"object","title":"Params"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"},"completeness":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completeness"},"fail_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fail Reason"},"row_limit_context":{"anyOf":[{"$ref":"#/components/schemas/RowLimitContextOut"},{"type":"null"}]},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"partition_done":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Partition Done"},"partition_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Partition Total"}},"type":"object","required":["id","project_id","report_type","status","params","created_at","updated_at"],"title":"RunOut"},"app__api__runs__RunOut":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"tool_id":{"type":"string","title":"Tool Id"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","project_id","tool_id","dataset_id","status","error","created_at","updated_at"],"title":"RunOut"}}}}