{"openapi":"3.1.0","info":{"title":"defapi","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Ping","operationId":"ping__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Ping  Get"}}}}}}},"/health":{"get":{"summary":"Health check with egress test","description":"Health check to verify that egress connectivity is working.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Health Health Get"}}}}}}},"/v4/admin/lake/health":{"get":{"tags":["v4","Admin"],"summary":"Check the health of the lake catalog","operationId":"check_lake_catalog_health_v4_admin_lake_health_get","parameters":[{"name":"teamIds","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]}},{"type":"null"}],"description":"Scope the report to these teams' catalogs","title":"Teamids"},"description":"Scope the report to these teams' catalogs"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeHealthReport_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/health/{integration_id}":{"get":{"tags":["v4","Admin"],"summary":"Check the health of a single DuckLake integration's catalog","operationId":"check_lake_catalog_health_for_integration_v4_admin_lake_health__integration_id__get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeHealthReport_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/storage/{integration_id}":{"get":{"tags":["v4","Admin"],"summary":"Catalog-tracked vs. actual GCS storage size for a DuckLake integration","operationId":"get_lake_storage_sizes_v4_admin_lake_storage__integration_id__get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeStorageSizeResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/maintenance/schedules":{"get":{"tags":["v4","Admin"],"summary":"List all scheduled DuckLake maintenance jobs for the current team","operationId":"list_maintenance_schedules_v4_admin_lake_maintenance_schedules_get","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_DuckLakeMaintenanceScheduleResponse__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/maintenance/{integration_id}":{"post":{"tags":["v4","Admin"],"summary":"Submit a DuckLake maintenance job","operationId":"submit_maintenance_job_v4_admin_lake_maintenance__integration_id__post","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DuckLakeMaintenanceRequest"},{"type":"null"}],"title":"Req"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceJobResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["v4","Admin"],"summary":"Get DuckLake maintenance status for an integration","operationId":"get_maintenance_status_v4_admin_lake_maintenance__integration_id__get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"duckdbJobId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duckdbjobid"}},{"name":"maintenanceId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenanceid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceStatusResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/maintenance/{integration_id}/job-logs/last-failed":{"get":{"tags":["v4","Admin"],"summary":"Get pod logs for the most recent failed DuckLake maintenance job","operationId":"get_last_failed_maintenance_job_logs_v4_admin_lake_maintenance__integration_id__job_logs_last_failed_get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceJobLogsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/maintenance/{integration_id}/job-logs/{job_id}":{"get":{"tags":["v4","Admin"],"summary":"Get pod logs for a DuckLake maintenance job","operationId":"get_maintenance_job_logs_v4_admin_lake_maintenance__integration_id__job_logs__job_id__get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceJobLogsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/lake/maintenance/{integration_id}/schedule":{"put":{"tags":["v4","Admin"],"summary":"Create or replace the scheduled DuckLake maintenance for an integration","operationId":"upsert_maintenance_schedule_v4_admin_lake_maintenance__integration_id__schedule_put","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["full","daily"],"type":"string","description":"Which maintenance schedule to operate on: 'full' (weekly) or 'daily'.","default":"full","title":"Kind"},"description":"Which maintenance schedule to operate on: 'full' (weekly) or 'daily'."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuckLakeMaintenanceSchedule"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceScheduleResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["v4","Admin"],"summary":"Fetch the scheduled DuckLake maintenance for an integration","operationId":"get_maintenance_schedule_v4_admin_lake_maintenance__integration_id__schedule_get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["full","daily"],"type":"string","description":"Which maintenance schedule to operate on: 'full' (weekly) or 'daily'.","default":"full","title":"Kind"},"description":"Which maintenance schedule to operate on: 'full' (weekly) or 'daily'."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceScheduleResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["v4","Admin"],"summary":"Delete the scheduled DuckLake maintenance for an integration","operationId":"delete_maintenance_schedule_v4_admin_lake_maintenance__integration_id__schedule_delete","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["full","daily"],"type":"string","description":"Which maintenance schedule to operate on: 'full' (weekly) or 'daily'.","default":"full","title":"Kind"},"description":"Which maintenance schedule to operate on: 'full' (weekly) or 'daily'."}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/statistics":{"get":{"tags":["v4","Admin"],"summary":"Batched event durations for several event types and teams in one request","operationId":"get_event_duration_stats_batch_v4_admin_statistics_get","parameters":[{"name":"types","in":"query","required":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventType"},"minItems":1,"maxItems":8,"title":"Types"}},{"name":"teamIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":50,"title":"Teamids"}},{"name":"bucketMinutes","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":10,"title":"Bucketminutes"}},{"name":"windowHours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"default":24,"title":"Windowhours"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AdminEventDurationStatsBatchResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/statistics/{type}":{"get":{"tags":["v4","Admin"],"summary":"Average event durations per team for an event type, bucketed over a recent window","operationId":"get_event_duration_stats_v4_admin_statistics__type__get","parameters":[{"name":"type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/EventType"}},{"name":"bucketMinutes","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":10,"title":"Bucketminutes"}},{"name":"windowHours","in":"query","required":false,"schema":{"type":"integer","maximum":168,"minimum":1,"default":24,"title":"Windowhours"}},{"name":"teamId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Teamid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AdminEventDurationStatsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/teams":{"get":{"tags":["v4","Admin"],"summary":"List all teams","operationId":"list_all_teams_v4_admin_teams_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderBy","in":"query","required":false,"schema":{"enum":["created_at","updated_at","domain","plan"],"type":"string","default":"created_at","title":"Orderby"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"title":"Search"}},{"name":"plans","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["free","trial","standard","enterprise"],"type":"string"}},{"type":"null"}],"title":"Plans"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Paginated_TeamSchema__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/teams/{team_id}":{"get":{"tags":["v4","Admin"],"summary":"Get a team by ID","operationId":"get_team_v4_admin_teams__team_id__get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TeamSchema_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["v4","Admin"],"summary":"Delete a team and all associated resources","operationId":"delete_team_v4_admin_teams__team_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/teams/{team_id}/magic-link":{"post":{"tags":["v4","Admin"],"summary":"Generate a magic link signing in as the team's first admin","operationId":"generate_team_admin_magic_link_v4_admin_teams__team_id__magic_link_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TeamAdminMagicLinkResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/teams/{team_id}/maintenance":{"post":{"tags":["v4","Admin"],"summary":"Submit a DuckLake maintenance job for a team","operationId":"submit_team_maintenance_v4_admin_teams__team_id__maintenance_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DuckLakeMaintenanceRequest"},{"type":"null"}],"title":"Req"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceJobResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["v4","Admin"],"summary":"Get DuckLake maintenance status for a team","operationId":"get_team_maintenance_status_v4_admin_teams__team_id__maintenance_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceStatusResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/teams/{team_id}/maintenance/job-logs/last-failed":{"get":{"tags":["v4","Admin"],"summary":"Get pod logs for the most recent failed DuckLake maintenance job for a team","operationId":"get_team_last_failed_maintenance_job_logs_v4_admin_teams__team_id__maintenance_job_logs_last_failed_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceJobLogsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/admin/teams/{team_id}/maintenance/job-logs/{job_id}":{"get":{"tags":["v4","Admin"],"summary":"Get pod logs for a DuckLake maintenance job for a team","operationId":"get_team_maintenance_job_logs_v4_admin_teams__team_id__maintenance_job_logs__job_id__get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceJobLogsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs":{"get":{"tags":["v4","Automations"],"summary":"List jobs","operationId":"fetch_jobs_v4_automations_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderedBy","in":"query","required":false,"schema":{"const":"created_at","type":"string","default":"created_at","title":"Orderedby"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}},{"name":"id","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Id"}},{"name":"enabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},{"name":"resourceId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Resourceid"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Paginated_AutomationJobsSchema__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["v4","Automations"],"summary":"Create job","operationId":"create_job_v4_automations_jobs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateDocAutomationJobRequest"},{"$ref":"#/components/schemas/CreateDuckLakeMaintenanceAutomationJobRequest"}],"discriminator":{"propertyName":"resourceType","mapping":{"doc":"#/components/schemas/CreateDocAutomationJobRequest","ducklake_integration_maintenance":"#/components/schemas/CreateDuckLakeMaintenanceAutomationJobRequest"}},"title":"Req"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AutomationJobsSchema_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs/{job_id}":{"get":{"tags":["v4","Automations"],"summary":"Fetch job","operationId":"fetch_job_v4_automations_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AutomationJobsSchema_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["v4","Automations"],"summary":"Update job","operationId":"update_job_v4_automations_jobs__job_id__patch","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAutomationJobRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AutomationJobsSchema_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["v4","Automations"],"summary":"Delete job","operationId":"delete_job_v4_automations_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs/{job_id}/process":{"post":{"tags":["v4","Automations"],"summary":"Process job","operationId":"process_job_rpc_v4_automations_jobs__job_id__process_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}},{"name":"dryRun","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dryrun"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunAutomationJobRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AutomationRunsSchema_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs/{job_id}/maintenance/sync":{"post":{"tags":["v4","Automations"],"summary":"Reconcile the latest DuckLake maintenance attempt from K8s job status","operationId":"sync_ducklake_maintenance_attempt_v4_automations_jobs__job_id__maintenance_sync_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckLakeMaintenanceAttemptSyncResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs/{job_id}/runs":{"get":{"tags":["v4","Automations"],"summary":"List runs for job","operationId":"fetch_runs_v4_automations_jobs__job_id__runs_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderedBy","in":"query","required":false,"schema":{"const":"created_at","type":"string","default":"created_at","title":"Orderedby"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Paginated_AutomationRunsSchema__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs/{job_id}/runs/{run_id}/attempts":{"get":{"tags":["v4","Automations"],"summary":"List attempts for run","operationId":"fetch_attempts_v4_automations_jobs__job_id__runs__run_id__attempts_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}},{"name":"run_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Run Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderedBy","in":"query","required":false,"schema":{"const":"created_at","type":"string","default":"created_at","title":"Orderedby"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Ascending"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Paginated_AutomationRunAttemptsSchema__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/automations/jobs/{job_id}/runs/{run_id}/attempts/{attempt_id}/logs":{"get":{"tags":["v4","Automations"],"summary":"List logs for attempt","operationId":"fetch_logs_v4_automations_jobs__job_id__runs__run_id__attempts__attempt_id__logs_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id"}},{"name":"run_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Run Id"}},{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderedBy","in":"query","required":false,"schema":{"const":"created_at","type":"string","default":"created_at","title":"Orderedby"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Paginated_AutomationLogsSchema__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/catalog/integrations/{integration_id}/tables":{"get":{"tags":["v4","Catalog"],"summary":"List Lakehouse tables for a DuckLake integration","operationId":"list_tables_v4_catalog_integrations__integration_id__tables_get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CatalogTablesResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/catalog/integrations/{integration_id}/tables/{schema_name}/{table_name}":{"get":{"tags":["v4","Catalog"],"summary":"Get one Lakehouse table with columns","operationId":"get_table_v4_catalog_integrations__integration_id__tables__schema_name___table_name__get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"schema_name","in":"path","required":true,"schema":{"type":"string","title":"Schema Name"}},{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CatalogTableDetail_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/catalog/integrations/{integration_id}/tables/{schema_name}/{table_name}/snapshots":{"get":{"tags":["v4","Catalog"],"summary":"Get the snapshot timeline for a Lakehouse table","operationId":"get_snapshots_v4_catalog_integrations__integration_id__tables__schema_name___table_name__snapshots_get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"schema_name","in":"path","required":true,"schema":{"type":"string","title":"Schema Name"}},{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":28,"title":"Limit"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CatalogSnapshotsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/catalog/integrations/{integration_id}/tables/{schema_name}/{table_name}/columns/{column_name}/profile":{"get":{"tags":["v4","Catalog"],"summary":"Profile a single column (catalog stats first, fall back to live query)","operationId":"get_column_profile_v4_catalog_integrations__integration_id__tables__schema_name___table_name__columns__column_name__profile_get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"schema_name","in":"path","required":true,"schema":{"type":"string","title":"Schema Name"}},{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"column_name","in":"path","required":true,"schema":{"type":"string","title":"Column Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CatalogColumnProfile_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/me":{"get":{"tags":["v4","Data Access"],"summary":"Resolve the current user's effective data-access state","operationId":"get_me_v4_data_access_me_get","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ResolvedDataAccessResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/roles":{"get":{"tags":["v4","Data Access"],"summary":"List data-access roles","operationId":"list_roles_v4_data_access_roles_get","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_DataAccessRole__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["v4","Data Access"],"summary":"Create data-access role","operationId":"create_role_v4_data_access_roles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDataAccessRoleRequest"}}},"required":true},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DataAccessRole_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/roles/{role_id}":{"get":{"tags":["v4","Data Access"],"summary":"Get data-access role","operationId":"get_role_v4_data_access_roles__role_id__get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Role Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DataAccessRole_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["v4","Data Access"],"summary":"Update data-access role","operationId":"update_role_v4_data_access_roles__role_id__patch","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDataAccessRoleRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DataAccessRole_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["v4","Data Access"],"summary":"Delete data-access role","operationId":"delete_role_v4_data_access_roles__role_id__delete","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Role Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/roles/{role_id}/grants":{"get":{"tags":["v4","Data Access"],"summary":"List grants for a data-access role","operationId":"list_grants_v4_data_access_roles__role_id__grants_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Role Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_DataAccessGrant__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["v4","Data Access"],"summary":"Add grant to a data-access role","operationId":"add_grant_v4_data_access_roles__role_id__grants_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDataAccessGrantRequest"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DataAccessGrant_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/roles/{role_id}/grants/{grant_id}":{"delete":{"tags":["v4","Data Access"],"summary":"Remove grant from a data-access role","operationId":"remove_grant_v4_data_access_roles__role_id__grants__grant_id__delete","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Role Id"}},{"name":"grant_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Grant Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/assignments":{"get":{"tags":["v4","Data Access"],"summary":"List user data-access role assignments","operationId":"list_assignments_v4_data_access_assignments_get","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_UserDataAccessRole__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["v4","Data Access"],"summary":"Assign or reassign user to a data-access role","operationId":"assign_user_v4_data_access_assignments_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignDataAccessRoleRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserDataAccessRole_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-access/assignments/{user_id}":{"delete":{"tags":["v4","Data Access"],"summary":"Remove user's data-access role assignment","operationId":"unassign_user_v4_data_access_assignments__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-apps/resolve":{"post":{"tags":["v4","Data Apps","__public__"],"summary":"Resolve a manifest-backed data-apps resource for an authenticated session or embed token","operationId":"resolve_resource_v4_data_apps_resolve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppResolveRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DataAppResolveResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/data-apps/query":{"post":{"tags":["v4","Data Apps"],"summary":"Execute a manifest-backed SQL or Cube resource with required_filters applied","operationId":"query_resource_v4_data_apps_query_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppQueryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v4/data-apps/embed":{"get":{"tags":["v4","Data Apps"],"summary":"Serve an embedded data-app HTML artifact with the signed token injected","description":"Serve the stripped data-app HTML with the embed token injected.\n\nThis is the top-level navigation URL that customers drop into an iframe on\ntheir own site. The token lives in the URL query string (``?t=...``); there\nis no separate header. Auth is handled by\n:class:`DataAppEmbedTokenFromQuery` which verifies the signed token before\nthe handler body runs. On success, the HTML arrives with:\n\n- Cache-Control: private, no-store  (tokens are per-request)\n- Referrer-Policy: no-referrer       (prevents URL leak via Referer)\n- Content-Security-Policy: frame-ancestors <hosts>  (click-jack protection)\n\nThe browser's ``definite-runtime`` reads ``window.__DEFINITE_EMBED`` from\nthe injected script tag and sends the token as ``Authorization: Bearer ...``\non every ``/v4/data-apps/query`` call.","operationId":"serve_embedded_data_app_v4_data_apps_embed_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v4/data-apps-v2/resolve":{"post":{"tags":["v4","Data Apps (deprecated)"],"summary":"[DEPRECATED] Resolve a data-apps resource. Use /v4/data-apps/resolve instead.","operationId":"resolve_resource_v2_compat_v4_data_apps_v2_resolve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppResolveRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DataAppResolveResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/executions/{execution_id}/logs":{"get":{"tags":["v4","Executions"],"summary":"Fetch execution logs for a dataset execution","operationId":"fetch_execution_logs_v4_executions__execution_id__logs_get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Execution Id"}},{"name":"afterSequence","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return logs after this sequence number","title":"Aftersequence"},"description":"Return logs after this sequence number"},{"name":"stream","in":"query","required":false,"schema":{"anyOf":[{"enum":["stdout","stderr"],"type":"string"},{"type":"null"}],"description":"Filter by stream type","title":"Stream"},"description":"Filter by stream type"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Max number of log entries to return","default":200,"title":"Limit"},"description":"Max number of log entries to return"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ExecutionLogsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/fi-fast":{"post":{"tags":["v4","Fi Fast"],"summary":"Thin authenticated proxy to Vertex AI generateContent","operationId":"generate_v4_fi_fast_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiFastRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_FiFastResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"External Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"External Service Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/fi/hook":{"post":{"tags":["v4","Fi","__public__"],"summary":"Claude Code hook event from a Fi sandbox","operationId":"receive_fi_hook_v4_fi_hook_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/FiHookEvent"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_FiHookResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/fi/run":{"post":{"tags":["v4","Fi Run"],"summary":"One-shot Fi run for testing without the UI","description":"Block until Fi completes; persist a `[API run]` fi_thread for debugging.","operationId":"run_v4_fi_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiRunRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_FiRunResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"External Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"External Service Timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/integrations/catalog":{"get":{"tags":["v4","Integrations"],"summary":"Get catalog","operationId":"fetch_catalog_v4_integrations_catalog_get","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_IntegrationCatalog_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/integrations":{"get":{"tags":["v4","Integrations"],"summary":"Get integrations","operationId":"fetch_integrations_v4_integrations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderBy","in":"query","required":false,"schema":{"enum":["created_at","updated_at"],"type":"string","default":"created_at","title":"Orderby"}},{"name":"ascending","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Ascending"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]}},{"type":"null"}],"title":"Id"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Type"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Name"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["extractor","database","productivity","metadata","other"],"type":"string"}},{"type":"null"}],"title":"Category"}},{"name":"includeArchived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Includearchived"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Paginated_Integration__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["v4","Integrations"],"summary":"Create integration","operationId":"create_integration_v4_integrations_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegrationRequest"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Integration_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/integrations/{integration_id}":{"patch":{"tags":["v4","Integrations"],"summary":"Update integration","operationId":"update_integration_v4_integrations__integration_id__patch","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIntegrationRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Integration_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["v4","Integrations"],"summary":"Delete integration","operationId":"delete_integration_v4_integrations__integration_id__delete","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/integrations/{integration_id}/sync":{"patch":{"tags":["v4","Integrations"],"summary":"Toggle integration sync","operationId":"toggle_sync_v4_integrations__integration_id__sync_patch","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToggleSyncRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Integration_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/integrations/sync/reconcile":{"post":{"tags":["v4","Integrations"],"summary":"Reconcile sync_enabled with Airflow","operationId":"reconcile_sync_v4_integrations_sync_reconcile_post","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SyncReconcileSummary_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/settings":{"patch":{"tags":["v4","Settings"],"summary":"Update team settings","operationId":"update_settings_v4_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamSettingsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TeamSchema_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/sso/check":{"get":{"tags":["v4","SSO","__public__"],"summary":"Check SSO status for an email or domain","operationId":"check_sso_v4_sso_check_get","parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string","description":"Email address to check SSO status for","format":"email","title":"Email"},"description":"Email address to check SSO status for"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SsoCheckResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/users/members":{"get":{"tags":["v4","Users"],"summary":"List team members with invite status and last sign-in","operationId":"list_members_v4_users_members_get","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_TeamMember__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/users":{"post":{"tags":["v4","Users"],"summary":"Invite user to team","operationId":"invite_v4_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNewTeamMemberRequest"}}},"required":true},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TeamMember_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/users/{user_id}/resend-invite":{"post":{"tags":["v4","Users"],"summary":"Resend invite email to a pending team member","operationId":"resend_invite_v4_users__user_id__resend_invite_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/users/{user_id}":{"delete":{"tags":["v4","Users"],"summary":"Delete user from team and transfer their content to another team member","operationId":"delete_v4_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}},{"name":"transferToUserId","in":"query","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"description":"Existing active member to inherit the deleted user's integrations, docs, blocks, canvas, functions, and projects.","title":"Transfertouserid"},"description":"Existing active member to inherit the deleted user's integrations, docs, blocks, canvas, functions, and projects."}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/users/{user_id}/role":{"patch":{"tags":["v4","Users"],"summary":"Update user role","operationId":"update_role_v4_users__user_id__role_patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamRoleRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Role_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/query/jobs":{"post":{"tags":["v4","Query Jobs"],"summary":"Submit async DuckDB job - returns immediately with job ID for polling","operationId":"submit_job_v4_query_jobs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitDuckDBJobRequest"}}},"required":true},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckDBJobResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/query/jobs/batch":{"post":{"tags":["v4","Query Jobs"],"summary":"Submit async batch DuckDB job","operationId":"submit_batch_job_v4_query_jobs_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitDuckDBBatchJobRequest"}}},"required":true},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckDBJobResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/query/jobs/batch/run":{"post":{"tags":["v4","Query Jobs"],"summary":"Run a batch of DuckDB queries synchronously and return results","description":"Run multiple DuckDB queries on a single K8s container and wait for completion.\n\nReturns results directly once the job finishes. Timeout is bounded by Cloud Run's\nrequest limit (3600s). For longer workloads use POST /v4/query/jobs/batch with polling.","operationId":"run_batch_job_v4_query_jobs_batch_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitDuckDBBatchJobRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckDBBatchJobResultResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/query/jobs/{job_id}":{"get":{"tags":["v4","Query Jobs"],"summary":"Get job status and metadata","operationId":"get_job_status_v4_query_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckDBJobResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["v4","Query Jobs"],"summary":"Cancel a running or pending job","operationId":"cancel_job_v4_query_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"204":{"description":"Success"},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/query/jobs/{job_id}/result":{"get":{"tags":["v4","Query Jobs"],"summary":"Get job results","description":"Fetch results for a completed job.\n\nArgs:\n    cleanup: If False (default), keep results in GCS for multiple fetches.\n             Set to True to delete GCS blob and Redis metadata after fetching.","operationId":"get_job_result_v4_query_jobs__job_id__result_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"cleanup","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cleanup"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckDBJobResultResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Resource Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/query/jobs/{job_id}/batch-result":{"get":{"tags":["v4","Query Jobs"],"summary":"Get batch job results","description":"Fetch results for all queries in a completed batch job.\n\nArgs:\n    cleanup: If False (default), keep results in GCS for multiple fetches.\n             Set to True to delete GCS blobs and Redis metadata after fetching.","operationId":"get_batch_job_result_v4_query_jobs__job_id__batch_result_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"cleanup","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cleanup"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DuckDBBatchJobResultResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Resource Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/billing/usage":{"get":{"tags":["v4","Billing"],"summary":"Get usage","operationId":"fetch_usage_v4_billing_usage_get","parameters":[{"name":"unit","in":"query","required":false,"schema":{"enum":["MS","TOK"],"type":"string","default":"MS","title":"Unit"}},{"name":"fromInterval","in":"query","required":true,"schema":{"type":"string","title":"Frominterval"}},{"name":"toInterval","in":"query","required":true,"schema":{"type":"string","title":"Tointerval"}},{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]}},{"type":"null"}],"title":"Userid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UsageReport_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/webhook/docs/{doc_id}/execute":{"post":{"tags":["v4","Webhooks"],"summary":"Execute doc Python datasets via webhook","operationId":"execute_doc_webhook_v4_webhook_docs__doc_id__execute_post","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDocExecuteRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_Union_WebhookDocExecuteResponse__WebhookDocExecuteAsyncResponse__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v4/webhook/docs/runs/{run_id}":{"get":{"tags":["v4","Webhooks"],"summary":"Poll async webhook execution status","operationId":"get_webhook_run_status_v4_webhook_docs_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Run Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookRunStatusResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/activate":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Activate an on-prem license and return a signed entitlement JWT","operationId":"activate_onprem_v1_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ActivateResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-upgrade/checkout":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Create a Stripe Checkout URL to upgrade a hosted trial to paid","operationId":"hosted_upgrade_checkout_onprem_v1_hosted_upgrade_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedUpgradeRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedUpgradeCheckoutResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-upgrade/portal":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Create a Stripe billing-portal URL for a paid hosted deployment","operationId":"hosted_billing_portal_onprem_v1_hosted_upgrade_portal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedUpgradeRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedBillingPortalResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/stripe/webhook":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Stripe webhook: drive the hosted license lifecycle on subscription events","operationId":"stripe_webhook_onprem_v1_stripe_webhook_post","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_str__bool__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/email/send":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Relay an email for a Definite-hosted on-prem deployment","operationId":"send_hosted_email_onprem_v1_email_send_post","parameters":[{"name":"X-Definite-License","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-License"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnPremEmailSendRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_OnPremEmailSendResponse_"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"External Service Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/telemetry":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Ingest a daily on-prem telemetry snapshot","operationId":"telemetry_onprem_v1_telemetry_post","parameters":[{"name":"X-Definite-License","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-License"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TelemetryResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/recovery/poll":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Lease a pending support recovery command","operationId":"poll_recovery_command_onprem_v1_recovery_poll_post","parameters":[{"name":"X-Definite-License","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-License"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_RecoveryCommandPollResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/recovery/commands/{command_id}/ack":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Acknowledge a support recovery command","operationId":"acknowledge_recovery_command_onprem_v1_recovery_commands__command_id__ack_post","parameters":[{"name":"command_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Command Id"}},{"name":"X-Definite-License","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-License"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCommandAckRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_RecoveryCommandAckResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Validation Payload Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/deployments/{deployment_id}/recovery-commands":{"post":{"tags":["onprem","onprem"],"summary":"Queue an audited support recovery command for a deployment","operationId":"queue_recovery_command_onprem_v1_deployments__deployment_id__recovery_commands_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCommandQueueRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_RecoveryCommandQueueResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/support-token":{"post":{"tags":["onprem","onprem"],"summary":"Mint a short-lived support-login token for an on-prem deployment","operationId":"support_token_onprem_v1_support_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTokenRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SupportTokenResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Create a Definite signup and send an email verification code","operationId":"create_hosted_signup_onprem_v1_hosted_signups_post","parameters":[{"name":"X-Definite-Hosted-Signup-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-Hosted-Signup-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedSignupRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedSignupResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups/{signup_id}/status":{"get":{"tags":["onprem","onprem","__public__"],"summary":"Fetch signup and provisioning status using the signup status token","operationId":"hosted_signup_status_onprem_v1_hosted_signups__signup_id__status_get","parameters":[{"name":"signup_id","in":"path","required":true,"schema":{"type":"string","title":"Signup Id"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedStatusResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups/{signup_id}/verify-code":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Verify the signup email code","operationId":"verify_hosted_signup_code_onprem_v1_hosted_signups__signup_id__verify_code_post","parameters":[{"name":"signup_id","in":"path","required":true,"schema":{"type":"string","title":"Signup Id"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedVerifyCodeRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedStatusResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups/{signup_id}/resend-code":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Send a fresh signup verification code","operationId":"resend_hosted_signup_code_onprem_v1_hosted_signups__signup_id__resend_code_post","parameters":[{"name":"signup_id","in":"path","required":true,"schema":{"type":"string","title":"Signup Id"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedStatusResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups/{signup_id}/reveal-code":{"get":{"tags":["onprem","onprem"],"summary":"Reveal the active signup verification code for ops","operationId":"reveal_hosted_signup_code_onprem_v1_hosted_signups__signup_id__reveal_code_get","parameters":[{"name":"signup_id","in":"path","required":true,"schema":{"type":"string","title":"Signup Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedRevealCodeResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups/{signup_id}/approve":{"post":{"tags":["onprem","onprem"],"summary":"Approve a free-email Definite Cloud signup and queue provisioning","operationId":"approve_hosted_signup_onprem_v1_hosted_signups__signup_id__approve_post","parameters":[{"name":"signup_id","in":"path","required":true,"schema":{"type":"string","title":"Signup Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedApprovalRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedApprovalResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-signups/{signup_id}/reject":{"post":{"tags":["onprem","onprem"],"summary":"Reject a free-email Definite Cloud signup","operationId":"reject_hosted_signup_onprem_v1_hosted_signups__signup_id__reject_post","parameters":[{"name":"signup_id","in":"path","required":true,"schema":{"type":"string","title":"Signup Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedApprovalRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedApprovalResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments":{"get":{"tags":["onprem","onprem"],"summary":"List hosted on-prem deployments for ops","operationId":"list_hosted_deployments_onprem_v1_hosted_deployments_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["pending","provisioning","ready","failed","destroying","destroyed","upgrade_pending","upgrading","pause_pending","pausing","resume_after_pause","paused","pause_failed","resume_pending","resuming","resume_failed"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_HostedDeploymentRow__"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments/{deployment_id}":{"get":{"tags":["onprem","onprem"],"summary":"Show hosted on-prem deployment details and recent provisioning events","operationId":"show_hosted_deployment_onprem_v1_hosted_deployments__deployment_id__get","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Event Limit"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedDeploymentDetail_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments/{deployment_id}/retry":{"post":{"tags":["onprem","onprem"],"summary":"Retry a failed hosted on-prem deployment","operationId":"retry_hosted_deployment_onprem_v1_hosted_deployments__deployment_id__retry_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Event Limit"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedDeploymentRetryRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedDeploymentDetail_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments/{deployment_id}/upgrade":{"post":{"tags":["onprem","onprem"],"summary":"Roll a hosted on-prem deployment to a new image tag","operationId":"upgrade_hosted_deployment_onprem_v1_hosted_deployments__deployment_id__upgrade_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Event Limit"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedDeploymentUpgradeRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedDeploymentDetail_"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments/{deployment_id}/pause":{"post":{"tags":["onprem","onprem"],"summary":"Hibernate a GCP-hosted on-prem deployment while retaining customer data","operationId":"pause_hosted_deployment_onprem_v1_hosted_deployments__deployment_id__pause_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Event Limit"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HostedDeploymentLifecycleRequest"},{"type":"null"}],"title":"Req"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedDeploymentDetail_"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments/{deployment_id}/resume":{"post":{"tags":["onprem","onprem"],"summary":"Restore compute for a hibernated GCP-hosted on-prem deployment","operationId":"resume_hosted_deployment_onprem_v1_hosted_deployments__deployment_id__resume_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Event Limit"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HostedDeploymentResumeRequest"},{"type":"null"}],"title":"Req"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedDeploymentDetail_"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-deployments/{deployment_id}/inactivity-exemption":{"post":{"tags":["onprem","onprem"],"summary":"Temporarily exempt a hosted deployment from automatic inactivity hibernation","operationId":"set_hosted_deployment_inactivity_exemption_onprem_v1_hosted_deployments__deployment_id__inactivity_exemption_post","parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","title":"Deployment Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Event Limit"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HostedDeploymentInactivityExemptionRequest"},{"type":"null"}],"title":"Req"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedDeploymentDetail_"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-sso/start":{"get":{"tags":["onprem","onprem","__public__"],"summary":"Start Definite-managed Google SSO for a hosted on-prem deployment","operationId":"start_hosted_sso_onprem_v1_hosted_sso_start_get","parameters":[{"name":"deployment_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Deployment Id"}},{"name":"return_url","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Return Url"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"State"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-sso/callback":{"get":{"tags":["onprem","onprem","__public__"],"summary":"Complete Definite-managed Google SSO for a hosted on-prem deployment","operationId":"hosted_sso_callback_onprem_v1_hosted_sso_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"definite_hosted_sso_flow","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Definite Hosted Sso Flow"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/setup-authorizations":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Create a short-lived broker setup token from customer cloud attestation","operationId":"create_setup_authorization_onprem_v1_setup_authorizations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupAuthorizationCreateRequest"}}},"required":true},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SetupAuthorizationResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/setup-sessions":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Create a brokered on-prem setup session","operationId":"create_setup_session_onprem_v1_setup_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupSessionCreateRequest"}}},"required":true},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SetupSessionResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/setup-sessions/{setup_id}":{"get":{"tags":["onprem","onprem","__public__"],"summary":"Fetch brokered on-prem setup status without reissuing secrets","operationId":"get_setup_session_onprem_v1_setup_sessions__setup_id__get","parameters":[{"name":"setup_id","in":"path","required":true,"schema":{"type":"string","title":"Setup Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SetupSessionResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/setup-sessions/{setup_id}/dns":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Re-point a setup session's brokered DNS at a new ingress target","operationId":"repoint_setup_session_dns_onprem_v1_setup_sessions__setup_id__dns_post","parameters":[{"name":"setup_id","in":"path","required":true,"schema":{"type":"string","title":"Setup Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupSessionRepointRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SetupSessionResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/oauth/broker/sessions":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Open a brokered OAuth flow and return the provider authorize URL","operationId":"create_broker_session_onprem_v1_oauth_broker_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthBrokerSessionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_OAuthBrokerSessionCreateResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/oauth/broker/callback":{"get":{"tags":["onprem","onprem","__public__"],"summary":"OAuth provider redirect target (public)","operationId":"broker_callback_onprem_v1_oauth_broker_callback_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_object_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/oauth/broker/sessions/{session_id}/result":{"get":{"tags":["onprem","onprem","__public__"],"summary":"Poll/claim a brokered session result (single-use)","operationId":"claim_broker_result_onprem_v1_oauth_broker_sessions__session_id__result_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_object_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"Resource Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/oauth/broker/grants/{broker_handle}/refresh":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Refresh a custodied grant and return a fresh access token","operationId":"refresh_broker_grant_onprem_v1_oauth_broker_grants__broker_handle__refresh_post","parameters":[{"name":"broker_handle","in":"path","required":true,"schema":{"type":"string","title":"Broker Handle"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_OAuthBrokerRefreshResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/oauth/broker/grants/revoke":{"post":{"tags":["onprem","onprem"],"summary":"Revoke every brokered grant for a deployment (internal)","operationId":"revoke_broker_grants_onprem_v1_oauth_broker_grants_revoke_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeGrantsRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/oauth/broker/grants/import":{"post":{"tags":["onprem","onprem"],"summary":"Import a cloud team's OAuth refresh tokens as broker grants (internal)","description":"Custody a cloud team's refresh tokens as grants for a deployment.\n\nRestricted to non-rotating provider families (the Amazon/LWA family) so a\nshared token can serve cloud and on-prem during a migration window. The\nresponse carries one ``{broker_handle, provider, extras}`` row per\nintegration — feed it to ``scripts/import_amazon_broker_grants.py`` to\nmaterialize broker-mode integrations on the deployment.","operationId":"import_broker_grants_onprem_v1_oauth_broker_grants_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthBrokerGrantImportRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_OAuthBrokerGrantImportResponse_"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Resource Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Resource Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/hosted-models":{"get":{"tags":["onprem","onprem","__public__"],"summary":"Fetch the fleet-wide whitelisted LLM model list","operationId":"hosted_models_onprem_v1_hosted_models_get","parameters":[{"name":"upstream","in":"query","required":false,"schema":{"anyOf":[{"enum":["vertex","bedrock"],"type":"string"},{"type":"null"}],"description":"Filter to models advertised for this litellm upstream (vertex | bedrock). Omit to return the full enabled whitelist.","title":"Upstream"},"description":"Filter to models advertised for this litellm upstream (vertex | bedrock). Omit to return the full enabled whitelist."},{"name":"X-Definite-License","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-License"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_HostedModelsResponse_"}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/onprem/v1/slack/interactions":{"post":{"tags":["onprem","onprem","__public__"],"summary":"Handle Slack Approve/Reject clicks on hosted-signup approval alerts","operationId":"slack_interactions_onprem_v1_slack_interactions_post","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"426":{"description":"Business Quota Exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Validation Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Auth Invalid Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden Insufficient Permissions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"External Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v3/cube/models/{integration_id}/{path}":{"get":{"tags":["v3","CubeV3"],"summary":"Get cube model content","operationId":"get_cube_model_content_v3_cube_models__integration_id___path__get","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","format":"binary","title":"Response Get Cube Model Content V3 Cube Models  Integration Id   Path  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v3","CubeV3"],"summary":"Upload cube model content","operationId":"upload_cube_model_content_v3_cube_models__integration_id___path__post","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string","format":"binary","maxLength":1048576,"default":"","title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v3","CubeV3"],"summary":"Delete cube model content","operationId":"delete_cube_model_content_v3_cube_models__integration_id___path__delete","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/docs/{doc_id}/snapshots":{"post":{"tags":["v3","Doc Snapshots"],"summary":"Submit a doc snapshot capture job","operationId":"create_snapshot_v3_teams__team_id__docs__doc_id__snapshots_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocSnapshotResponse"}}}},"404":{"description":"Doc or snapshot not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Snapshot not ready for download","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v3/teams/{team_id}/docs/{doc_id}/snapshots/{snapshot_id}":{"get":{"tags":["v3","Doc Snapshots"],"summary":"Get snapshot job status","operationId":"get_snapshot_status_v3_teams__team_id__docs__doc_id__snapshots__snapshot_id__get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","title":"Snapshot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocSnapshotResponse"}}}},"404":{"description":"Doc or snapshot not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Snapshot not ready for download","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["v3","Doc Snapshots"],"summary":"Delete a snapshot and its image","operationId":"delete_snapshot_v3_teams__team_id__docs__doc_id__snapshots__snapshot_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","title":"Snapshot Id"}}],"responses":{"204":{"description":"Successful Response"},"404":{"description":"Doc or snapshot not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Snapshot not ready for download","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v3/teams/{team_id}/docs/{doc_id}/snapshots/{snapshot_id}/image":{"get":{"tags":["v3","Doc Snapshots"],"summary":"Download the captured snapshot image","operationId":"get_snapshot_image_v3_teams__team_id__docs__doc_id__snapshots__snapshot_id__image_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","title":"Snapshot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Doc or snapshot not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Snapshot not ready for download","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v3/teams/{team_id}/drive/upload-url":{"post":{"tags":["v3","Drive"],"summary":"Get a signed URL for uploading a file to Definite Drive","description":"Generate a signed URL for directly uploading a file to Definite Drive (GCS).\n\n    The file will be accessible in E2B sandboxes at `/home/user/drive/{file_name}`\n    via the gcsfuse mount. Files persist across sessions and are shared with all\n    team members.","operationId":"get_drive_upload_url_v3_teams__team_id__drive_upload_url_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveUploadUrlRequest"}}}},"responses":{"200":{"description":"Signed URL generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveUploadUrlResponse"}}}},"500":{"description":"Failed to generate signed URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/drive/upload-url":{"post":{"tags":["v3","Drive"],"summary":"Get a signed URL for uploading a file to Definite Drive (API)","description":"Generate a signed URL for directly uploading a file to Definite Drive (GCS).\n\n    Authenticate with your API key in the Authorization header:\n    `Authorization: Bearer <your-api-key>`\n\n    The file will be accessible in E2B sandboxes at `/home/user/drive/{path}`\n    via the gcsfuse mount. Files persist across sessions and are shared with all\n    team members.\n\n    **Example:**\n    ```\n    POST /v3/drive/upload-url\n    Authorization: Bearer def-xxxx-your-api-key\n    Content-Type: application/json\n\n    {\"path\": \"data/reports/q4-2024.csv\"}\n    ```","operationId":"get_drive_upload_url_api_v3_drive_upload_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveApiUploadUrlRequest"}}},"required":true},"responses":{"200":{"description":"Signed URL generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveUploadUrlResponse"}}}},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to generate signed URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AsyncAPIKeyHeaderAuthenticator":[]}]}},"/v3/teams/{team_id}/drive/files":{"get":{"tags":["v3","Drive"],"summary":"List files in Definite Drive","description":"List all files in Definite Drive for the team.\n\n    Optionally filter by prefix to list files in a specific directory.\n    Files are returned with metadata including size, creation time, and content type.","operationId":"list_drive_files_v3_teams__team_id__drive_files_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"prefix","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefix"}}],"responses":{"200":{"description":"List of files","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveListResponse"}}}},"500":{"description":"Failed to list files","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v3","Drive"],"summary":"Delete a file from Definite Drive","description":"Delete a file from Definite Drive (GCS).\n\n    This operation is permanent and cannot be undone.","operationId":"delete_drive_file_v3_teams__team_id__drive_files_delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"204":{"description":"File deleted successfully"},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to delete file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/drive/download-url":{"get":{"tags":["v3","Drive"],"summary":"Get a signed URL for downloading a file from Definite Drive","description":"Generate a signed URL for downloading a file from Definite Drive (GCS).\n\n    The URL is valid for 1 hour and can be used to download the file directly.","operationId":"get_drive_download_url_v3_teams__team_id__drive_download_url_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Signed download URL generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveDownloadUrlResponse"}}}},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to generate signed URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/drive/folders":{"post":{"tags":["v3","Drive"],"summary":"Create a folder in Definite Drive","description":"Create a new folder in Definite Drive.\n\n    Folders in GCS are represented as empty blobs with trailing slashes.","operationId":"create_drive_folder_v3_teams__team_id__drive_folders_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFolderCreateRequest"}}}},"responses":{"201":{"description":"Folder created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveFolderCreateResponse"}}}},"400":{"description":"Invalid folder path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Folder already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to create folder","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/drive/files/versions":{"get":{"tags":["v3","Drive"],"summary":"List retained generations of a Drive file","description":"List all retained GCS generations for a single Drive file path.\n\n    Versions are returned newest first. Use the `generation` from a non-current\n    entry as the input to `POST /v3/teams/{team_id}/drive/files/restore` to roll\n    the live file back to that point in time.\n\n    Versioning is a property of the underlying GCS bucket; this endpoint exposes\n    those generations without any caching layer.","operationId":"list_drive_file_versions_v3_teams__team_id__drive_files_versions_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Retained generations for the path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveVersionListResponse"}}}},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cannot access files outside your team","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to list versions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/drive/files/restore":{"post":{"tags":["v3","Drive"],"summary":"Restore a Drive file to a prior generation","description":"Restore a Drive file to a previously retained GCS generation.\n\n    The restore is atomic: GCS uses `if_generation_match` against the current\n    live generation, so a half-restored read is impossible. The chosen\n    generation is copied on top of the live path, becoming the new live\n    generation while the prior live generation is retained as noncurrent.","operationId":"restore_drive_file_v3_teams__team_id__drive_files_restore_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveRestoreRequest"}}}},"responses":{"200":{"description":"File restored successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveRestoreResponse"}}}},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cannot access files outside your team","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to restore file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/drive/files/versions":{"get":{"tags":["v3","Drive"],"summary":"List retained generations of a Drive file (API)","description":"List retained generations for a Drive file path. Authenticate with your API\n    key in the Authorization header: `Authorization: Bearer <your-api-key>`.","operationId":"list_drive_file_versions_api_v3_drive_files_versions_get","security":[{"AsyncAPIKeyHeaderAuthenticator":[]}],"parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Retained generations for the path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveVersionListResponse"}}}},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to list versions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/drive/files/restore":{"post":{"tags":["v3","Drive"],"summary":"Restore a Drive file to a prior generation (API)","description":"Restore a Drive file to a prior generation. Authenticate with your API key\n    in the Authorization header: `Authorization: Bearer <your-api-key>`.","operationId":"restore_drive_file_api_v3_drive_files_restore_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveRestoreRequest"}}},"required":true},"responses":{"200":{"description":"File restored successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveRestoreResponse"}}}},"400":{"description":"Invalid path","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Failed to restore file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AsyncAPIKeyHeaderAuthenticator":[]}]}},"/v3/email/message":{"post":{"tags":["v3","Email"],"summary":"Send an email","description":"Send an email via SendGrid.\n\nThis endpoint allows sending emails via Definite's API using the platform SendGrid integration.\nUseful for alert workflows where scheduled Python scripts need to send notification emails.","operationId":"send_email_message_v3_email_message_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailMessageRequest"}}},"required":true},"responses":{"200":{"description":"Email sent successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailMessageResponse"}}}},"400":{"description":"Bad request - invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Email delivery error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeaderAuthenticator":[]}]}},"/v3/teams/{team_id}/users/{user_id}/fi3/thread":{"post":{"tags":["v3","Fi3"],"summary":"Create, update, or read a fi3 thread","description":"Handle fi3 thread requests.","operationId":"fi3_thread_v3_teams__team_id__users__user_id__fi3_thread_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fi3ThreadRequest"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fi2BackgroundResponse"}}}},"500":{"description":"Server exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/users/{user_id}/fi3/upload":{"post":{"tags":["v3","Fi3"],"summary":"Upload a file to the E2B sandbox for a Fi3 Ultra thread","description":"Upload a file to the E2B sandbox for a given thread.","operationId":"fi3_upload_file_v3_teams__team_id__users__user_id__fi3_upload_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"thread_id","in":"query","required":true,"schema":{"type":"string","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_fi3_upload_file_v3_teams__team_id__users__user_id__fi3_upload_post"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fi2UploadFileResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Sandbox not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/threads/{thread_id}/secrets":{"post":{"tags":["v3","Fi3"],"summary":"Submit secrets for an MCP collect_secrets request","description":"Receive secrets from frontend form and publish to waiting MCP tool.\n\nThis endpoint is called by the frontend when a user submits credentials\nin a secrets_form panel created by the collect_secrets MCP tool.","operationId":"submit_thread_secrets_v3_teams__team_id__threads__thread_id__secrets_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretsSubmitRequest"}}}},"responses":{"202":{"description":"Secrets received and published","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/invite":{"post":{"tags":["v3","User Invitation"],"summary":"Invite users by email","description":"This endpoint invites a list of users by email using the Supabase invite_user_by_email method.","operationId":"invite_users_by_email_v3_teams__team_id__invite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_invite_users_by_email_v3_teams__team_id__invite_post"}}},"required":true},"responses":{"200":{"description":"Invitations sent successfully","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Invite Users By Email V3 Teams  Team Id  Invite Post"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/mcp/http":{"post":{"tags":["v3","MCP"],"summary":"Mcp Http Post","description":"Handle MCP JSON-RPC requests via HTTP Streamable transport.\n\nThis endpoint implements the MCP Streamable HTTP transport (spec 2025-03-26).\n\n- Accepts JSON-RPC requests via POST\n- Returns either immediate JSON response OR SSE stream on same connection\n- Session management via Mcp-Session-Id header\n- Content negotiation via Accept header\n\nThe response format is determined by:\n1. Message type (notifications return 202 Accepted)\n2. Accept header (must include text/event-stream for SSE)\n3. Tool execution characteristics (long-running tools may stream)\n\nArgs:\n    request: FastAPI request\n    message: JSON-RPC message\n    auth_api_key: API key authentication\n    mcp_session_id: Optional session ID from header\n    mcp_protocol_version: MCP-Protocol-Version header (defaults to 2025-03-26 if absent)\n    accept: Accept header for content negotiation\n\nReturns:\n    JSONResponse with immediate result OR EventSourceResponse with SSE stream","operationId":"mcp_http_post_v3_mcp_http_post","security":[{"McpAuthenticator":[]}],"parameters":[{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}},{"name":"MCP-Protocol-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Protocol-Version"}},{"name":"X-Thread-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Thread-Id"}},{"name":"X-Definite-MCP-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Definite-Mcp-Client"}},{"name":"accept","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Message"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v3","MCP"],"summary":"Mcp Http Delete","description":"Explicitly terminate an MCP HTTP session.\n\nThis endpoint allows clients to cleanly close their session and free\nserver resources. Part of the MCP Streamable HTTP transport spec.\n\nArgs:\n    auth_api_key: API key authentication\n    mcp_session_id: Required session ID from header\n    mcp_protocol_version: MCP-Protocol-Version header (defaults to 2025-03-26 if absent)\n\nReturns:\n    204 No Content on success, 404 if session not found","operationId":"mcp_http_delete_v3_mcp_http_delete","security":[{"McpAuthenticator":[]}],"parameters":[{"name":"Mcp-Session-Id","in":"header","required":true,"schema":{"type":"string","title":"Mcp-Session-Id"}},{"name":"MCP-Protocol-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Protocol-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/mcp/credential-sessions/{session_id}":{"get":{"tags":["v3","MCP"],"summary":"Get Credential Session Info","description":"Get credential session info for the frontend form page.\n\nThis endpoint is called by the hosted credential page at\n/mcp/credentials/{session_id} to fetch the field definitions\nand render the appropriate form.\n\nNo API key required; the session_id itself acts as a bearer token.\nSessions are short-lived (10 minutes) and single-use.","operationId":"get_credential_session_info_v3_mcp_credential_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/mcp/credential-sessions/{session_id}/submit":{"post":{"tags":["v3","MCP"],"summary":"Submit Credential Session Endpoint","description":"Submit credentials from the hosted credential page.\n\nCalled by the frontend form when the user enters their credentials.\nNo API key required; the session_id acts as a bearer token.","operationId":"submit_credential_session_endpoint_v3_mcp_credential_sessions__session_id__submit_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialSubmitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/mcp/credential-sessions/{session_id}/oauth-callback":{"post":{"tags":["v3","MCP"],"summary":"Submit Oauth Session Endpoint","description":"Submit OAuth completion from the hosted OAuth page.\n\nCalled by the frontend after the OAuth flow completes.\nNo API key required; the session_id acts as a bearer token.","operationId":"submit_oauth_session_endpoint_v3_mcp_credential_sessions__session_id__oauth_callback_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthSubmitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/integrations/{integration_id}/schema":{"get":{"tags":["v3","Schema"],"summary":"Get integration schema","description":"Supported for any integration type that provides schema and metadata information.\nCurrently, this is only databases- and cube-type integrations.","operationId":"get_schema_v3_teams__team_id__integrations__integration_id__schema_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"maxAge","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Max age acceptable for when schema was last refreshed (minutes)","lte":1440,"default":1440,"title":"Maxage"},"description":"Max age acceptable for when schema was last refreshed (minutes)"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaResponse"}}}},"400":{"description":"Integration type does not provide a schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Integration or schema not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"424":{"description":"Connection details are invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Upstream service timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v3","Schema"],"summary":"Delete schema object","operationId":"delete_schema_v3_teams__team_id__integrations__integration_id__schema_delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"204":{"description":"Deleted"},"404":{"description":"Integration not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/integrations/{integration_id}/semantic-models/query":{"post":{"tags":["v3","Semantic Modeling"],"summary":"Execute a query against a semantic model","description":"Execute a Cube query against an semantic model and return the generated SQL.\n\nThe semantic model is loaded from GCS and the query is parsed to generate\nthe corresponding SQL query.","operationId":"query_semantic_model_v3_teams__team_id__integrations__integration_id__semantic_models_query_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Team Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticModelQueryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticModelQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/slack/message":{"post":{"tags":["v3","Slack"],"summary":"Send a message to Slack","description":"Send a message to a Slack channel using the team's Slack integration.\n\nThis endpoint allows sending messages to Slack channels via Definite's API.\nThe team must have a configured Slack integration with appropriate permissions.","operationId":"send_slack_message_v3_slack_message_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackMessageRequest"}}},"required":true},"responses":{"200":{"description":"Message sent successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackMessageResponse"}}}},"400":{"description":"Bad request - invalid parameters or Slack integration not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Slack API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeaderAuthenticator":[]}]}},"/v3/slack/events":{"post":{"tags":["v3","Slack"],"summary":"Endpoint","operationId":"endpoint_v3_slack_events_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v3/teams/{team_id}/slack/{integration_id}/conversations_list":{"get":{"tags":["v3","Slack"],"summary":"List slack conversations","operationId":"conversations_list_v3_teams__team_id__slack__integration_id__conversations_list_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"exclusiveMinimum":0,"default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_SlackChannel_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/integrations/{integration_id}/syncs":{"get":{"tags":["v3","Syncs"],"summary":"Get syncs for integration","operationId":"fetch_syncs_v3_teams__team_id__integrations__integration_id__syncs_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Desc"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_DagRunSchema_"}}}},"404":{"description":"Integration not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/teams/{team_id}/integrations/{integration_id}/syncs/{dag_id}/runs/{run_id}/logs":{"get":{"tags":["v3","Syncs"],"summary":"Get logs for sync run","operationId":"fetch_run_logs_v3_teams__team_id__integrations__integration_id__syncs__dag_id__runs__run_id__logs_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"dag_id","in":"path","required":true,"schema":{"type":"string","title":"Dag Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Fetch Run Logs V3 Teams  Team Id  Integrations  Integration Id  Syncs  Dag Id  Runs  Run Id  Logs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/magic_link":{"post":{"tags":["v1","Admin"],"summary":"Generate magic link","operationId":"generate_magic_link_v1_admin_magic_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateMagicLinkRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLink"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/api/integrations":{"get":{"tags":["v1","ApiIntegration"],"summary":"Get integrations","operationId":"fetch_integrations_v1_api_integrations_get","deprecated":true,"security":[{"AsyncAPIKeyHeaderAuthenticator":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderBy","in":"query","required":false,"schema":{"enum":["created_at","updated_at"],"type":"string","default":"created_at","title":"Orderby"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Desc"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]}},{"type":"null"}],"title":"Id"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"enum":["extractor","database","productivity","metadata","other"],"type":"string"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Integration_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","ApiIntegration"],"summary":"Create integration","description":"Create a new integration with the provided credentials.\n\n**Credential requirements by integration type:**\n\n- **PostgreSQL/MySQL/Redshift/SQL Server**: host, port, database, username, password\n- **BigQuery**: project_id, credentials_json (service account JSON)\n- **Snowflake**: account, username, password, warehouse, database\n- **Stripe**: account_id, client_secret\n- **Custom**: Any key-value pairs in a `secrets` object\n\nThe integration will be validated (connection tested) before being saved.","operationId":"create_integration_v1_api_integrations_post","deprecated":true,"security":[{"AsyncAPIKeyHeaderAuthenticator":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegrationApiRequest"}}}},"responses":{"201":{"description":"Integration created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegrationApiResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed - could not connect to integration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/api/integrations/{integration_id}/syncs":{"get":{"tags":["v1","ApiIntegration"],"summary":"Get syncs for integration","description":"Fetch DAG runs (syncs) for a specific integration.\n\nThe integration must belong to the team associated with the API key.","operationId":"fetch_integration_syncs_v1_api_integrations__integration_id__syncs_get","security":[{"AsyncAPIKeyHeaderAuthenticator":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderBy","in":"query","required":false,"schema":{"enum":["created_at","updated_at"],"type":"string","default":"created_at","title":"Orderby"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Desc"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DagRunStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_DagRunSchema_"}}}},"404":{"description":"Integration not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/api/integrations/{integration_id}/sync":{"post":{"tags":["v1","ApiIntegration"],"summary":"Configure sync","description":"Configure a data sync from a source integration to DuckLake/DuckDB.\n\n**Parameters:**\n\n- **dest_integration_id**: UUID of the destination (use GET /api/integrations?type=ducklake to find)\n- **dest_schema**: Schema name in the destination (e.g., 'POSTGRES_DATA')\n- **schedule**: How often to sync (hourly, every_4_hours, every_6_hours, every_12_hours, daily, weekly)\n- **tables**: For database sources, specify tables to sync:\n  - Use `schema.table` for specific tables (e.g., `public.users`)\n  - Use `schema.*` to sync all tables in a schema (e.g., `public.*`)\n- **load_method**: How to load data (merge, append, overwrite). Default: merge\n\n**Notes:**\n\n- For database sources (postgres, mysql, etc.), the `tables` parameter is required\n- For extractor sources (stripe, hubspot, etc.), `tables` is optional (all data is synced)\n- The sync will start automatically based on the schedule after configuration","operationId":"configure_sync_v1_api_integrations__integration_id__sync_post","security":[{"AsyncAPIKeyHeaderAuthenticator":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureSyncApiRequest"}}}},"responses":{"200":{"description":"Sync configured successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureSyncApiResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Integration not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid sync configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/get_embedded_url":{"post":{"tags":["v1","Embedded"],"summary":"Get an embedded url for the given user identifier.","operationId":"get_embedded_url_v1_get_embedded_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbeddedUrlRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbeddedUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AsyncAPIKeyHeaderAuthenticator":[]}]}},"/v1/users/{user_id}":{"get":{"tags":["v1","Users"],"summary":"Get User","operationId":"read_user_v1_users__user_id__get","parameters":[{"name":"underprovision","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Underprovision"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoSecretUser"}}}},"404":{"description":"User Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/{user_id}/provisioning-status":{"get":{"tags":["v1","Users"],"summary":"Get Team Provisioning Status","description":"Get real-time provisioning status for a user's team.\n\nThis endpoint is polled by the frontend to show accurate progress during team setup.\nReturns 404 if no provisioning is in progress (team already provisioned).","operationId":"get_provisioning_status_v1_users__user_id__provisioning_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisioningStatus"}}}},"404":{"description":"Provisioning status not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/teams/{team_id}/users/{user_id}/files":{"post":{"tags":["v1","Upload Files"],"summary":"Upload File","operationId":"upload_file_v1_teams__team_id__users__user_id__files_post","deprecated":true,"parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileResponse"}}}},"201":{"description":"File Uploaded Successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileResponse"}}}},"404":{"description":"User Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/teams/{team_id}/users/{user_id}/files/signed_url":{"post":{"tags":["v1","Upload Files"],"summary":"Get a signed link to a file in GCS for upload or download.","operationId":"generate_signed_url_v1_teams__team_id__users__user_id__files_signed_url_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedUrlRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SignedUrlResponse"},{"$ref":"#/components/schemas/Error"}],"title":"Response Generate Signed Url V1 Teams  Team Id  Users  User Id  Files Signed Url Post"}}}},"201":{"description":"File Uploaded Successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFileResponse"}}}},"404":{"description":"User Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/query":{"post":{"tags":["v1","Query"],"summary":"Queries an integration","operationId":"query_v1_query_post","security":[{"AsyncAPIKeyHeaderAuthenticator":[]}],"parameters":[{"name":"raw","in":"query","required":false,"schema":{"type":"boolean","description":"Whether to return raw data","default":false,"title":"Raw"},"description":"Whether to return raw data"},{"name":"format","in":"query","required":false,"schema":{"enum":["json","arrow"],"type":"string","description":"Response format: 'json' (default) or 'arrow'","default":"json","title":"Format"},"description":"Response format: 'json' (default) or 'arrow'"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiQueryRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiQueryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store/{name}":{"get":{"tags":["v1","Store"],"summary":"KV store read","operationId":"read_v1_store__name__get","security":[{"APIKeyHeaderAuthenticator":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store":{"post":{"tags":["v1","Store"],"summary":"KV store write","operationId":"write_v1_store_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWriteRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWriteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeaderAuthenticator":[]}]},"delete":{"tags":["v1","Store"],"summary":"KV store delete","operationId":"delete_v1_store_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreDeleteRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeaderAuthenticator":[]}]}},"/v2/teams/{team_id}/users/{user_id}/integrations/{integration_id}/cubes":{"get":{"tags":["v2","CubeV2"],"summary":"List cube model files","operationId":"list_cube_models_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","default":"","title":"Prefix"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Cube Models V2 Teams  Team Id  Users  User Id  Integrations  Integration Id  Cubes Get","$ref":"#/components/schemas/CubeModelListSchema"}}}},"404":{"description":"Model not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/users/{user_id}/integrations/{integration_id}/cubes/versions":{"get":{"tags":["v2","CubeV2"],"summary":"List cube model file versions","operationId":"list_cube_model_versions_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_versions_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Cube Model Versions V2 Teams  Team Id  Users  User Id  Integrations  Integration Id  Cubes Versions Get","$ref":"#/components/schemas/CubeObjectVersionListSchema"}}}},"404":{"description":"Model not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v2","CubeV2"],"summary":"Restore model to a specified version","operationId":"restore_cube_model_version_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_versions_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_restore_cube_model_version_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_versions_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Restore Cube Model Version V2 Teams  Team Id  Users  User Id  Integrations  Integration Id  Cubes Versions Post","$ref":"#/components/schemas/CubeObjectVersionListSchema"}}}},"404":{"description":"Model not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/users/{user_id}/integrations/{integration_id}/cubes/exists":{"get":{"tags":["v2","CubeV2"],"summary":"Performs a check whether the specified model exists","operationId":"exists_cube_model_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_exists_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","default":"","title":"Prefix"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Exists Cube Model V2 Teams  Team Id  Users  User Id  Integrations  Integration Id  Cubes Exists Get","$ref":"#/components/schemas/CubeModelExistsSchema"}}}},"500":{"description":"Server exception.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/users/{user_id}/integrations/{integration_id}/cubes/model/rename":{"post":{"tags":["v2","CubeV2"],"summary":"Rename model to a specified version","operationId":"move_cube_model_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_model_rename_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"expiration","in":"query","required":false,"schema":{"type":"integer","default":86400,"title":"Expiration"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_move_cube_model_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_model_rename_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"title":"Response Move Cube Model V2 Teams  Team Id  Users  User Id  Integrations  Integration Id  Cubes Model Rename Post","$ref":"#/components/schemas/CubeObjectVersionListSchema"}}}},"404":{"description":"Model not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/users/{user_id}/integrations/{integration_id}/cubes/sync-model-version":{"post":{"tags":["v2","CubeV2"],"summary":"Update model version reported by cube","operationId":"sync_model_version_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_sync_model_version_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Version"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sync Model Version V2 Teams  Team Id  Users  User Id  Integrations  Integration Id  Cubes Sync Model Version Post","$ref":"#/components/schemas/CubeBuildStatusSchema"}}}},"404":{"description":"Model not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server exception.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/users/{user_id}/integrations/{integration_id}/cubes/drop-cache":{"post":{"tags":["v2","CubeV2"],"summary":"Drop cube caches","operationId":"drop_cube_cache_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_drop_cache_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_drop_cube_cache_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_drop_cache_post"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{}}}},"500":{"description":"Server exception."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs":{"get":{"tags":["v2","Docs"],"summary":"List docs","operationId":"list_docs_v2_teams__team_id__docs_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"orderBy","in":"query","required":false,"schema":{"enum":["updated_at","created_at"],"type":"string","default":"updated_at","title":"Orderby"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Desc"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]}},{"type":"null"}],"title":"Id"}},{"name":"pinned","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pinned"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"projectId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Projectid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Doc_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v2","Docs"],"summary":"Create doc","operationId":"create_doc_v2_teams__team_id__docs_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDocRequest"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Doc"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/pinned":{"get":{"tags":["v2","Docs"],"summary":"List user's pinned docs","description":"List docs pinned by the current user.","operationId":"list_pinned_docs_v2_teams__team_id__docs_pinned_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"responses":{"200":{"description":"Pinned docs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Doc"},"title":"Response 200 List Pinned Docs V2 Teams  Team Id  Docs Pinned Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/recent":{"get":{"tags":["v2","Docs"],"summary":"List recently viewed docs","description":"List docs recently viewed by the current user.","operationId":"list_recent_docs_v2_teams__team_id__docs_recent_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"exclusiveMinimum":0,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Recently viewed docs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Doc"},"title":"Response 200 List Recent Docs V2 Teams  Team Id  Docs Recent Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/popular":{"get":{"tags":["v2","Docs"],"summary":"List popular docs across team","description":"List most popular docs in the team by total view count across all users.","operationId":"list_popular_docs_v2_teams__team_id__docs_popular_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"exclusiveMinimum":0,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Popular docs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Doc"},"title":"Response 200 List Popular Docs V2 Teams  Team Id  Docs Popular Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}":{"get":{"tags":["v2","Docs"],"summary":"Get doc","operationId":"get_doc_v2_teams__team_id__docs__doc_id__get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Doc"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v2","Docs"],"summary":"Update doc","operationId":"update_doc_v2_teams__team_id__docs__doc_id__patch","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDocRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Doc"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/duplicate":{"post":{"tags":["v2","Docs"],"summary":"Duplicate doc","description":"Duplicate a doc, forking every Drive file referenced in its YAML so the copy is fully decoupled.","operationId":"duplicate_doc_v2_teams__team_id__docs__doc_id__duplicate_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateDocRequest"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Doc"}}}},"404":{"description":"Source doc not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/history":{"get":{"tags":["v2","Docs"],"summary":"Get doc history","operationId":"fetch_doc_history_v2_teams__team_id__docs__doc_id__history_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"afterVersion","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Afterversion"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"lte":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Desc"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_DocHistory_"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/dataset/execute":{"post":{"tags":["v2","Docs"],"summary":"Execute dataset","operationId":"execute_dataset_v2_teams__team_id__docs_dataset_execute_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ExecuteDatasetWithCubeEngineRequest"},{"$ref":"#/components/schemas/ExecuteDatasetWithSqlEngineRequest"},{"$ref":"#/components/schemas/ExecuteDatasetWithPythonEngineRequest"}],"discriminator":{"propertyName":"engine","mapping":{"cube":"#/components/schemas/ExecuteDatasetWithCubeEngineRequest","sql":"#/components/schemas/ExecuteDatasetWithSqlEngineRequest","python":"#/components/schemas/ExecuteDatasetWithPythonEngineRequest"}},"title":"Req"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetExecuteResponse","oneOf":[{"$ref":"#/components/schemas/ExecuteDatasetWithCubeEngineRequest"},{"$ref":"#/components/schemas/ExecuteDatasetWithSqlEngineRequest"},{"$ref":"#/components/schemas/ExecuteDatasetWithPythonEngineRequest"}],"discriminator":{"propertyName":"engine","mapping":{"cube":"#/components/schemas/ExecuteDatasetWithCubeEngineRequest","sql":"#/components/schemas/ExecuteDatasetWithSqlEngineRequest","python":"#/components/schemas/ExecuteDatasetWithPythonEngineRequest"}},"title":"Response 200 Execute Dataset V2 Teams  Team Id  Docs Dataset Execute Post"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/execute":{"post":{"tags":["v2","Docs"],"summary":"Execute doc datasets","operationId":"execute_doc_v2_teams__team_id__docs__doc_id__execute_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocExecuteRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocExecuteResponse"}}}},"404":{"description":"Doc not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/pin":{"put":{"tags":["v2","Docs"],"summary":"Pin doc for current user","description":"Pin a doc to the current user's home screen. Only requires read access.","operationId":"pin_doc_v2_teams__team_id__docs__doc_id__pin_put","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"200":{"description":"Doc pinned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_PinResponse"}}}},"404":{"description":"Doc not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v2","Docs"],"summary":"Unpin doc for current user","description":"Unpin a doc from the current user's home screen.","operationId":"unpin_doc_v2_teams__team_id__docs__doc_id__pin_delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"200":{"description":"Doc unpinned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_PinResponse"}}}},"404":{"description":"Doc not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/view":{"post":{"tags":["v2","Docs"],"summary":"Record doc view","description":"Record that the current user viewed a doc.","operationId":"record_doc_view_v2_teams__team_id__docs__doc_id__view_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/public-tokens":{"post":{"tags":["v2","Docs"],"summary":"Create public embed token","description":"Create a new public embed token for a doc. Requires write permission.","operationId":"create_public_token_v2_teams__team_id__docs__doc_id__public_tokens_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePublicTokenRequest"}}}},"responses":{"201":{"description":"Token created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePublicTokenResponse"}}}},"404":{"description":"Doc not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["v2","Docs"],"summary":"List public embed tokens","description":"List all public embed tokens for a doc. Requires read permission.","operationId":"list_public_tokens_v2_teams__team_id__docs__doc_id__public_tokens_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"includeRevoked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Includerevoked"}}],"responses":{"200":{"description":"List of tokens","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPublicTokensResponse"}}}},"404":{"description":"Doc not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/public-tokens/{token_id}":{"delete":{"tags":["v2","Docs"],"summary":"Revoke public embed token","description":"Revoke a public embed token. Requires write permission.","operationId":"revoke_public_token_v2_teams__team_id__docs__doc_id__public_tokens__token_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"token_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Token Id"}}],"responses":{"200":{"description":"Token revoked","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocPublicToken"}}}},"404":{"description":"Token not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/docs/{doc_id}/public-tokens/{token_id}/password":{"patch":{"tags":["v2","Docs"],"summary":"Set or remove password on public embed token","description":"Set or remove password on a public embed token. Requires write permission.","operationId":"update_public_token_password_v2_teams__team_id__docs__doc_id__public_tokens__token_id__password_patch","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}},{"name":"token_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Token Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePublicTokenPasswordRequest"}}}},"responses":{"200":{"description":"Token updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocPublicToken"}}}},"404":{"description":"Doc or token not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects":{"get":{"tags":["v2","Projects"],"summary":"List projects","operationId":"list_projects_v2_teams__team_id__projects_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"orderBy","in":"query","required":false,"schema":{"enum":["updated_at","created_at","name"],"type":"string","default":"updated_at","title":"Orderby"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Desc"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectWithCounts"},"title":"Response 200 List Projects V2 Teams  Team Id  Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v2","Projects"],"summary":"Create project","operationId":"create_project_v2_teams__team_id__projects_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}":{"get":{"tags":["v2","Projects"],"summary":"Get project","operationId":"get_project_v2_teams__team_id__projects__project_id__get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWithCounts"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v2","Projects"],"summary":"Update project","operationId":"update_project_v2_teams__team_id__projects__project_id__patch","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v2","Projects"],"summary":"Archive project","description":"Archive a project. This will unassign all docs and threads from the project.","operationId":"archive_project_v2_teams__team_id__projects__project_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}/docs":{"get":{"tags":["v2","Projects"],"summary":"List docs in project","operationId":"list_project_docs_v2_teams__team_id__projects__project_id__docs_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Doc"},"title":"Response 200 List Project Docs V2 Teams  Team Id  Projects  Project Id  Docs Get"}}}},"404":{"description":"Project not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}/threads":{"get":{"tags":["v2","Projects"],"summary":"List threads in project","operationId":"list_project_threads_v2_teams__team_id__projects__project_id__threads_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response 200 List Project Threads V2 Teams  Team Id  Projects  Project Id  Threads Get"}}}},"404":{"description":"Project not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}/docs/{doc_id}":{"post":{"tags":["v2","Projects"],"summary":"Add doc to project","operationId":"add_doc_to_project_v2_teams__team_id__projects__project_id__docs__doc_id__post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Doc To Project V2 Teams  Team Id  Projects  Project Id  Docs  Doc Id  Post"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v2","Projects"],"summary":"Remove doc from project","operationId":"remove_doc_from_project_v2_teams__team_id__projects__project_id__docs__doc_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Doc From Project V2 Teams  Team Id  Projects  Project Id  Docs  Doc Id  Delete"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}/threads/{thread_id}":{"post":{"tags":["v2","Projects"],"summary":"Add thread to project","operationId":"add_thread_to_project_v2_teams__team_id__projects__project_id__threads__thread_id__post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Thread To Project V2 Teams  Team Id  Projects  Project Id  Threads  Thread Id  Post"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v2","Projects"],"summary":"Remove thread from project","operationId":"remove_thread_from_project_v2_teams__team_id__projects__project_id__threads__thread_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Thread From Project V2 Teams  Team Id  Projects  Project Id  Threads  Thread Id  Delete"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}/members":{"get":{"tags":["v2","Projects"],"summary":"List project members","operationId":"list_project_members_v2_teams__team_id__projects__project_id__members_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectMember"},"title":"Response 200 List Project Members V2 Teams  Team Id  Projects  Project Id  Members Get"}}}},"404":{"description":"Project not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v2","Projects"],"summary":"Add or update a project member","description":"Idempotent upsert: re-posting the same user updates their permission.","operationId":"add_project_member_v2_teams__team_id__projects__project_id__members_post","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddProjectMemberRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMember"}}}},"404":{"description":"Project not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/teams/{team_id}/projects/{project_id}/members/{user_id}":{"patch":{"tags":["v2","Projects"],"summary":"Update a project member's permission","operationId":"update_project_member_v2_teams__team_id__projects__project_id__members__user_id__patch","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}},{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectMemberRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMember"}}}},"404":{"description":"Project not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v2","Projects"],"summary":"Remove a project member","operationId":"remove_project_member_v2_teams__team_id__projects__project_id__members__user_id__delete","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"}},{"name":"project_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id"}},{"name":"user_id","in":"path","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Project Member V2 Teams  Team Id  Projects  Project Id  Members  User Id  Delete"}}}},"404":{"description":"Project not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}/meta":{"get":{"tags":["v2","Public"],"summary":"Get public doc metadata (password requirement)","description":"Check if a public doc requires a password. No authentication required.","operationId":"get_public_doc_meta_v2_public_docs__token__meta_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Token metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTokenMetaResponse"}}}},"404":{"description":"Token not found or revoked"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}/auth":{"post":{"tags":["v2","Public"],"summary":"Authenticate against a password-protected embed","description":"Verify password for a password-protected embed and return a session token.\n\nTODO: Add rate limiting (e.g. Redis-backed attempt counter) to prevent brute-force attacks.\nCurrently relies on infrastructure-level rate limiting (Cloud Run concurrency limits).","operationId":"authenticate_public_doc_v2_public_docs__token__auth_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedAuthRequest"}}}},"responses":{"200":{"description":"Session token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedAuthResponse"}}}},"401":{"description":"Incorrect password"},"404":{"description":"Token not found or revoked"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}":{"get":{"tags":["v2","Public"],"summary":"Get public doc by token","description":"Get a doc by its public embed token.\n\nNo authentication required - the token grants access.\nOnly returns doc data needed for rendering (no sensitive info).","operationId":"get_public_doc_v2_public_docs__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"x-embed-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Embed-Session"}}],"responses":{"200":{"description":"Doc data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicDocResponse"}}}},"401":{"description":"Password required or session expired"},"404":{"description":"Token not found or revoked"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}/execute":{"post":{"tags":["v2","Public"],"summary":"Execute public doc dataset","description":"Execute a dataset for a public doc.\n\nNo authentication required - the token grants access.\nOnly Cube queries are allowed (SQL/Python are blocked for security).\nExecutes using the doc owner's team context.","operationId":"execute_public_dataset_v2_public_docs__token__execute_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"x-embed-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Embed-Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicDatasetExecuteRequest"}}}},"responses":{"200":{"description":"Dataset results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetExecuteResponse"}}}},"400":{"description":"Invalid request or unsupported engine"},"404":{"description":"Token not found or revoked"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}/drive-file":{"get":{"tags":["v2","Public"],"summary":"Get signed URL for a public doc's Drive file","description":"Get a signed download URL for a Drive file associated with a public doc.\n\nNo authentication required - the token grants access.\nOnly files referenced in the doc's YAML layout tiles are allowed.","operationId":"get_public_drive_file_v2_public_docs__token__drive_file_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","description":"Drive file path (must be referenced in doc's YAML tiles)","title":"Path"},"description":"Drive file path (must be referenced in doc's YAML tiles)"},{"name":"x-embed-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Embed-Session"}}],"responses":{"200":{"description":"Signed download URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DriveDownloadUrlResponse"}}}},"400":{"description":"Invalid path or path not allowed for this doc"},"404":{"description":"Token not found, revoked, or file not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}/data-apps/resolve":{"post":{"tags":["v2","Public"],"summary":"Resolve a manifest-backed data-apps resource for a public doc","operationId":"resolve_public_data_app_resource_v2_public_docs__token__data_apps_resolve_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"x-embed-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Embed-Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppResolveRequest"}}}},"responses":{"200":{"description":"Resolved public data app resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppResolveResponse"}}}},"400":{"description":"Invalid request or resource is not snapshot-backed"},"403":{"description":"Resource is not marked public"},"404":{"description":"Token, doc, drive file, or resource not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/public/docs/{token}/data-apps-v2/resolve":{"post":{"tags":["v2","Public"],"summary":"[DEPRECATED] Resolve a public data-apps resource. Use /public/docs/{token}/data-apps/resolve instead.","operationId":"resolve_public_data_app_resource_v2_compat_v2_public_docs__token__data_apps_v2_resolve_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"x-embed-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Embed-Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppResolveRequest"}}}},"responses":{"200":{"description":"Resolved public data app resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataAppResolveResponse"}}}},"400":{"description":"Invalid request or resource is not snapshot-backed"},"403":{"description":"Resource is not marked public"},"404":{"description":"Token, doc, drive file, or resource not found"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/stream":{"post":{"tags":["v2","Stream"],"summary":"Ingest JSON/NDJSON data into Ducklake","description":"Ingest JSON/NDJSON data into Ducklake tables.\n\nThis endpoint accepts:\n- JSON objects or arrays (Content-Type: application/json)\n- NDJSON streams (Content-Type: application/x-ndjson)\n- Optional compression with gzip or zstd (Content-Encoding: gzip|zstd)\n\nTwo modes are supported via `config.mode`:\n- `append` (default): inserts rows into the target table.\n- `merge`: atomic delete-then-insert keyed on `config.primary_key`\n  (exactly one field for v2). Existing rows whose PK matches an\n  incoming row are deleted; all incoming rows are then inserted.\n  Within-batch duplicate PKs are rejected before any duckserver call.\n\nPartitioning uses the table's existing partition spec.\n\nType-coercion notes:\n- Values are inlined as SQL literals and `CAST(... AS <target_type>)`\n  to the target column's type from DESCRIBE, so mixed-type input\n  (e.g. an int and a string in the same VARCHAR column) inserts cleanly.\n- Python `bool` values land via DuckDB's CAST semantics: `TRUE`/`FALSE`\n  for BOOLEAN columns, lowercase `'true'`/`'false'` for VARCHAR columns.\n  Send a string if you need case preservation.\n\nAuthentication is required via API key or JWT token in Authorization header.","operationId":"stream_ingest_v2_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"AsyncAPIKeyHeaderAuthenticator":[]}]}}},"components":{"schemas":{"ActivateRequest":{"properties":{"license_key":{"type":"string","minLength":1,"title":"License Key","description":"Raw license key issued to the customer"},"deployment_id":{"type":"string","minLength":1,"title":"Deployment Id","description":"Stable uuid string self-generated by the install on first boot"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version","description":"On-prem build version, for bookkeeping"},"deployment_mode":{"anyOf":[{"type":"string","enum":["self_hosted","definite_hosted"]},{"type":"null"}],"title":"Deployment Mode","description":"self_hosted for customer infra, definite_hosted for Definite-operated infra; omitted means preserve existing mode or default first activation to self_hosted"},"cloud_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cloud Provider","description":"Cloud provider for hosted deployments"},"broker_public_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Broker Public Key","description":"Ed25519 public key (PEM) the deployment uses to sign OAuth-broker calls. Optional and backward-compatible; re-activation rotates it (contract §3)."},"upgrade_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upgrade Policy","description":"Remote-upgrade consent policy the deployment runs under (manual|notify|auto). Observability only."},"release_channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Channel","description":"Release channel the deployment follows (e.g. stable/canary/pinned). Non-pinned channels are advertised the blessed release."}},"type":"object","required":["license_key","deployment_id"],"title":"ActivateRequest"},"ActivateResponse":{"properties":{"entitlement":{"type":"string","title":"Entitlement","description":"Signed Ed25519 entitlement JWT"},"expires_at":{"type":"string","format":"date-time","title":"Expires At","description":"When the entitlement JWT expires"},"release":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release","description":"Signed Ed25519 release manifest JWT, or null when no newer release is advertised."}},"type":"object","required":["entitlement","expires_at"],"title":"ActivateResponse"},"AddProjectMemberRequest":{"properties":{"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id","description":"User to add to the project"},"permission":{"type":"string","enum":["read","write"],"title":"Permission","description":"Permission level to grant"}},"type":"object","required":["user_id","permission"],"title":"AddProjectMemberRequest"},"AdminEventDurationStatsBatchResponse":{"properties":{"bucketMinutes":{"type":"integer","title":"Bucketminutes","description":"Width of each time bucket, in minutes"},"windowHours":{"type":"integer","title":"Windowhours","description":"Length of the reporting window, in hours"},"stats":{"items":{"$ref":"#/components/schemas/TeamEventDurationStatsGroup"},"type":"array","title":"Stats","description":"One group per requested event type, each holding the per-team buckets for the requested teams"}},"type":"object","required":["bucketMinutes","windowHours","stats"],"title":"AdminEventDurationStatsBatchResponse"},"AdminEventDurationStatsResponse":{"properties":{"eventType":{"type":"string","title":"Eventtype","description":"Event type the durations were aggregated for"},"bucketMinutes":{"type":"integer","title":"Bucketminutes","description":"Width of each time bucket, in minutes"},"windowHours":{"type":"integer","title":"Windowhours","description":"Length of the reporting window, in hours"},"teams":{"items":{"$ref":"#/components/schemas/TeamEventDurationStats"},"type":"array","title":"Teams","description":"Per-team duration buckets; only teams with matching events in the window are included"}},"type":"object","required":["eventType","bucketMinutes","windowHours","teams"],"title":"AdminEventDurationStatsResponse"},"AnyIntegrationDetailsSchema-Input":{"oneOf":[{"$ref":"#/components/schemas/IntegrationDetailsSchemaKeap"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAcuite"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaActiveCampaign"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLightdash"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTypeform"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSegment"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMailerlite"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaIterable"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTwilio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaRedshift"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBigMarker"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLoopreturns"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLessonly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMySql"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPartoo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFacebookAdsSystemUser"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSquare"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBigquery"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSleeper"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDatadog"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSumologic"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGreenhouse"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaZohoCrm-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShipstation"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSalesforce-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNiceIncontact"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFullstory"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSendinblue"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaZammad"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSlack-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPodBean"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMindstamp"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAppleHealth"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaClickcast"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMarketo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaS3"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAtInternet"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaImmuta"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaClickup"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDagster"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFishbowl"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPicqer"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaStripe"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaIntercom-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDucklake"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaVeeqo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSailthru"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTradera"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAppStore"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCloseio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDashHudson"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPartnerize"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAircall"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHubspot"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaQualified"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGong"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCanvas"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMegaphone"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleSheets-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSalesloft"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleSearchConsole-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCoinGecko"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMode"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFreshworks"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaADP"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGcs"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaApaleo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLinkedinAds"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCustom"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaEmarsys"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPostgres"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmplitude"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHotjar"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaExcel-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaWoocommerce"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSheets-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMongoDB"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetrivals"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMsGraph"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSnowflake"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMoosend"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaUnleashed"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBazaarvoice"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaQuickbooks-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMetronome"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAwsCostExplorer"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAbra"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLinear"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMercadopago"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGladly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAttio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShowpad"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAftership"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFreshcaller"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetohq"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaQls"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFastly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAirtable"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaUdemyForBusiness"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGetPocket"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSellsy"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShopify"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMailjet"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLinkedinPages-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTrustrace"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMaestroqa"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaOmnisend"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPeloton"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaKlaviyo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaStamped"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAbicart"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGithub"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaRecurly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaThinkific"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBexio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSmartsheet"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaKrow"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaJudgeme"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFreshdesk"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAskNicely"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaOrdoro"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAcumatica"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaIceberg"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaClientSuccess"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaInstagram-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShipbob"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaJira"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleAnalytics-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleAds-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMiro"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDomo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBrillium"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPlentymarkets"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMavenLink"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCloudwatch"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaWebflow"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmazonSellingPartner-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaChorusai"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMontapacking"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCurrencyFreaks"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaRecruitee"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHellobaton"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFacebookAds-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCube"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaZendesk"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPulumiCloud"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetsuite"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShiphero"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAnvil"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGainsightPx"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSqlServer"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetlify"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTravefy"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmazonAdvertising-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTikTokAds"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaJotform"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMixpanel"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBambooHr"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMessagebird"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPipedrive"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSharepointSites-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMemberful"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTalkable"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNotion-Input"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHolidays"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMonday"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmazonAssociates"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAwsCognito"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShoplazza"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDixa"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaOkta"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMarketplacer"}],"discriminator":{"propertyName":"integration_type","mapping":{"abicart":"#/components/schemas/IntegrationDetailsSchemaAbicart","abra":"#/components/schemas/IntegrationDetailsSchemaAbra","activecampaign":"#/components/schemas/IntegrationDetailsSchemaActiveCampaign","acuite":"#/components/schemas/IntegrationDetailsSchemaAcuite","acumatica":"#/components/schemas/IntegrationDetailsSchemaAcumatica","adp":"#/components/schemas/IntegrationDetailsSchemaADP","aftership":"#/components/schemas/IntegrationDetailsSchemaAftership","aircall":"#/components/schemas/IntegrationDetailsSchemaAircall","airtable":"#/components/schemas/IntegrationDetailsSchemaAirtable","amazonadvertising":"#/components/schemas/IntegrationDetailsSchemaAmazonAdvertising-Input","amazonassociates":"#/components/schemas/IntegrationDetailsSchemaAmazonAssociates","amazonsellingpartner":"#/components/schemas/IntegrationDetailsSchemaAmazonSellingPartner-Input","amplitude":"#/components/schemas/IntegrationDetailsSchemaAmplitude","anvil":"#/components/schemas/IntegrationDetailsSchemaAnvil","apaleo":"#/components/schemas/IntegrationDetailsSchemaApaleo","applehealth":"#/components/schemas/IntegrationDetailsSchemaAppleHealth","appstore":"#/components/schemas/IntegrationDetailsSchemaAppStore","asknicely":"#/components/schemas/IntegrationDetailsSchemaAskNicely","atinternet":"#/components/schemas/IntegrationDetailsSchemaAtInternet","attio":"#/components/schemas/IntegrationDetailsSchemaAttio","awscognito":"#/components/schemas/IntegrationDetailsSchemaAwsCognito","awscostexplorer":"#/components/schemas/IntegrationDetailsSchemaAwsCostExplorer","bamboohr":"#/components/schemas/IntegrationDetailsSchemaBambooHr","bazaarvoice":"#/components/schemas/IntegrationDetailsSchemaBazaarvoice","bexio":"#/components/schemas/IntegrationDetailsSchemaBexio","bigmarker":"#/components/schemas/IntegrationDetailsSchemaBigMarker","bigquery":"#/components/schemas/IntegrationDetailsSchemaBigquery","brillium":"#/components/schemas/IntegrationDetailsSchemaBrillium","canvas":"#/components/schemas/IntegrationDetailsSchemaCanvas","chorusai":"#/components/schemas/IntegrationDetailsSchemaChorusai","clickcast":"#/components/schemas/IntegrationDetailsSchemaClickcast","clickup":"#/components/schemas/IntegrationDetailsSchemaClickup","clientsuccess":"#/components/schemas/IntegrationDetailsSchemaClientSuccess","closeio":"#/components/schemas/IntegrationDetailsSchemaCloseio","cloudwatch":"#/components/schemas/IntegrationDetailsSchemaCloudwatch","coingecko":"#/components/schemas/IntegrationDetailsSchemaCoinGecko","cube":"#/components/schemas/IntegrationDetailsSchemaCube","currencyfreaks":"#/components/schemas/IntegrationDetailsSchemaCurrencyFreaks","custom":"#/components/schemas/IntegrationDetailsSchemaCustom","dagster":"#/components/schemas/IntegrationDetailsSchemaDagster","dashhudson":"#/components/schemas/IntegrationDetailsSchemaDashHudson","datadog":"#/components/schemas/IntegrationDetailsSchemaDatadog","dixa":"#/components/schemas/IntegrationDetailsSchemaDixa","domo":"#/components/schemas/IntegrationDetailsSchemaDomo","ducklake":"#/components/schemas/IntegrationDetailsSchemaDucklake","emarsys":"#/components/schemas/IntegrationDetailsSchemaEmarsys","excel":"#/components/schemas/IntegrationDetailsSchemaExcel-Input","facebookads":"#/components/schemas/IntegrationDetailsSchemaFacebookAds-Input","facebookads_system_user":"#/components/schemas/IntegrationDetailsSchemaFacebookAdsSystemUser","fastly":"#/components/schemas/IntegrationDetailsSchemaFastly","fishbowl":"#/components/schemas/IntegrationDetailsSchemaFishbowl","freshcaller":"#/components/schemas/IntegrationDetailsSchemaFreshcaller","freshdesk":"#/components/schemas/IntegrationDetailsSchemaFreshdesk","freshworks":"#/components/schemas/IntegrationDetailsSchemaFreshworks","fullstory":"#/components/schemas/IntegrationDetailsSchemaFullstory","gainsightpx":"#/components/schemas/IntegrationDetailsSchemaGainsightPx","gcs":"#/components/schemas/IntegrationDetailsSchemaGcs","getpocket":"#/components/schemas/IntegrationDetailsSchemaGetPocket","github":"#/components/schemas/IntegrationDetailsSchemaGithub","gladly":"#/components/schemas/IntegrationDetailsSchemaGladly","gong":"#/components/schemas/IntegrationDetailsSchemaGong","googleads":"#/components/schemas/IntegrationDetailsSchemaGoogleAds-Input","googleanalytics":"#/components/schemas/IntegrationDetailsSchemaGoogleAnalytics-Input","googlesearchconsole":"#/components/schemas/IntegrationDetailsSchemaGoogleSearchConsole-Input","googlesheets":"#/components/schemas/IntegrationDetailsSchemaGoogleSheets-Input","greenhouse":"#/components/schemas/IntegrationDetailsSchemaGreenhouse","hellobaton":"#/components/schemas/IntegrationDetailsSchemaHellobaton","holidays":"#/components/schemas/IntegrationDetailsSchemaHolidays","hotjar":"#/components/schemas/IntegrationDetailsSchemaHotjar","hubspot":"#/components/schemas/IntegrationDetailsSchemaHubspot","iceberg":"#/components/schemas/IntegrationDetailsSchemaIceberg","immuta":"#/components/schemas/IntegrationDetailsSchemaImmuta","instagram":"#/components/schemas/IntegrationDetailsSchemaInstagram-Input","intercom":"#/components/schemas/IntegrationDetailsSchemaIntercom-Input","iterable":"#/components/schemas/IntegrationDetailsSchemaIterable","jira":"#/components/schemas/IntegrationDetailsSchemaJira","jotform":"#/components/schemas/IntegrationDetailsSchemaJotform","judgeme":"#/components/schemas/IntegrationDetailsSchemaJudgeme","keap":"#/components/schemas/IntegrationDetailsSchemaKeap","klaviyo":"#/components/schemas/IntegrationDetailsSchemaKlaviyo","krow":"#/components/schemas/IntegrationDetailsSchemaKrow","lessonly":"#/components/schemas/IntegrationDetailsSchemaLessonly","lightdash":"#/components/schemas/IntegrationDetailsSchemaLightdash","linear":"#/components/schemas/IntegrationDetailsSchemaLinear","linkedinads":"#/components/schemas/IntegrationDetailsSchemaLinkedinAds","linkedinpages":"#/components/schemas/IntegrationDetailsSchemaLinkedinPages-Input","loopreturns":"#/components/schemas/IntegrationDetailsSchemaLoopreturns","maestroqa":"#/components/schemas/IntegrationDetailsSchemaMaestroqa","mailerlite":"#/components/schemas/IntegrationDetailsSchemaMailerlite","mailjet":"#/components/schemas/IntegrationDetailsSchemaMailjet","marketo":"#/components/schemas/IntegrationDetailsSchemaMarketo","marketplacer":"#/components/schemas/IntegrationDetailsSchemaMarketplacer","mavenlink":"#/components/schemas/IntegrationDetailsSchemaMavenLink","megaphone":"#/components/schemas/IntegrationDetailsSchemaMegaphone","memberful":"#/components/schemas/IntegrationDetailsSchemaMemberful","mercadopago":"#/components/schemas/IntegrationDetailsSchemaMercadopago","messagebird":"#/components/schemas/IntegrationDetailsSchemaMessagebird","metronome":"#/components/schemas/IntegrationDetailsSchemaMetronome","mindstamp":"#/components/schemas/IntegrationDetailsSchemaMindstamp","miro":"#/components/schemas/IntegrationDetailsSchemaMiro","mixpanel":"#/components/schemas/IntegrationDetailsSchemaMixpanel","mode":"#/components/schemas/IntegrationDetailsSchemaMode","monday":"#/components/schemas/IntegrationDetailsSchemaMonday","mongodb":"#/components/schemas/IntegrationDetailsSchemaMongoDB","montapacking":"#/components/schemas/IntegrationDetailsSchemaMontapacking","moosend":"#/components/schemas/IntegrationDetailsSchemaMoosend","msgraph":"#/components/schemas/IntegrationDetailsSchemaMsGraph","mysql":"#/components/schemas/IntegrationDetailsSchemaMySql","netlify":"#/components/schemas/IntegrationDetailsSchemaNetlify","netohq":"#/components/schemas/IntegrationDetailsSchemaNetohq","netrivals":"#/components/schemas/IntegrationDetailsSchemaNetrivals","netsuite":"#/components/schemas/IntegrationDetailsSchemaNetsuite","niceincontact":"#/components/schemas/IntegrationDetailsSchemaNiceIncontact","notion":"#/components/schemas/IntegrationDetailsSchemaNotion-Input","okta":"#/components/schemas/IntegrationDetailsSchemaOkta","omnisend":"#/components/schemas/IntegrationDetailsSchemaOmnisend","ordoro":"#/components/schemas/IntegrationDetailsSchemaOrdoro","partnerize":"#/components/schemas/IntegrationDetailsSchemaPartnerize","partoo":"#/components/schemas/IntegrationDetailsSchemaPartoo","peloton":"#/components/schemas/IntegrationDetailsSchemaPeloton","picqer":"#/components/schemas/IntegrationDetailsSchemaPicqer","pipedrive":"#/components/schemas/IntegrationDetailsSchemaPipedrive","plentymarkets":"#/components/schemas/IntegrationDetailsSchemaPlentymarkets","podbean":"#/components/schemas/IntegrationDetailsSchemaPodBean","postgres":"#/components/schemas/IntegrationDetailsSchemaPostgres","pulumicloud":"#/components/schemas/IntegrationDetailsSchemaPulumiCloud","qls":"#/components/schemas/IntegrationDetailsSchemaQls","qualified":"#/components/schemas/IntegrationDetailsSchemaQualified","quickbooks":"#/components/schemas/IntegrationDetailsSchemaQuickbooks-Input","recruitee":"#/components/schemas/IntegrationDetailsSchemaRecruitee","recurly":"#/components/schemas/IntegrationDetailsSchemaRecurly","redshift":"#/components/schemas/IntegrationDetailsSchemaRedshift","s3":"#/components/schemas/IntegrationDetailsSchemaS3","sailthru":"#/components/schemas/IntegrationDetailsSchemaSailthru","salesforce":"#/components/schemas/IntegrationDetailsSchemaSalesforce-Input","salesloft":"#/components/schemas/IntegrationDetailsSchemaSalesloft","segment":"#/components/schemas/IntegrationDetailsSchemaSegment","sellsy":"#/components/schemas/IntegrationDetailsSchemaSellsy","sendinblue":"#/components/schemas/IntegrationDetailsSchemaSendinblue","sharepointsites":"#/components/schemas/IntegrationDetailsSchemaSharepointSites-Input","sheets":"#/components/schemas/IntegrationDetailsSchemaSheets-Input","shipbob":"#/components/schemas/IntegrationDetailsSchemaShipbob","shiphero":"#/components/schemas/IntegrationDetailsSchemaShiphero","shipstation":"#/components/schemas/IntegrationDetailsSchemaShipstation","shopify":"#/components/schemas/IntegrationDetailsSchemaShopify","shoplazza":"#/components/schemas/IntegrationDetailsSchemaShoplazza","showpad":"#/components/schemas/IntegrationDetailsSchemaShowpad","slack":"#/components/schemas/IntegrationDetailsSchemaSlack-Input","sleeper":"#/components/schemas/IntegrationDetailsSchemaSleeper","smartsheet":"#/components/schemas/IntegrationDetailsSchemaSmartsheet","snowflake":"#/components/schemas/IntegrationDetailsSchemaSnowflake","sqlserver":"#/components/schemas/IntegrationDetailsSchemaSqlServer","square":"#/components/schemas/IntegrationDetailsSchemaSquare","stamped":"#/components/schemas/IntegrationDetailsSchemaStamped","stripe":"#/components/schemas/IntegrationDetailsSchemaStripe","sumologic":"#/components/schemas/IntegrationDetailsSchemaSumologic","talkable":"#/components/schemas/IntegrationDetailsSchemaTalkable","thinkific":"#/components/schemas/IntegrationDetailsSchemaThinkific","tiktokads":"#/components/schemas/IntegrationDetailsSchemaTikTokAds","tradera":"#/components/schemas/IntegrationDetailsSchemaTradera","travefy":"#/components/schemas/IntegrationDetailsSchemaTravefy","trustrace":"#/components/schemas/IntegrationDetailsSchemaTrustrace","twilio":"#/components/schemas/IntegrationDetailsSchemaTwilio","typeform":"#/components/schemas/IntegrationDetailsSchemaTypeform","udemyforbusiness":"#/components/schemas/IntegrationDetailsSchemaUdemyForBusiness","unleashed":"#/components/schemas/IntegrationDetailsSchemaUnleashed","veeqo":"#/components/schemas/IntegrationDetailsSchemaVeeqo","webflow":"#/components/schemas/IntegrationDetailsSchemaWebflow","woocommerce":"#/components/schemas/IntegrationDetailsSchemaWoocommerce","zammad":"#/components/schemas/IntegrationDetailsSchemaZammad","zendesk":"#/components/schemas/IntegrationDetailsSchemaZendesk","zohocrm":"#/components/schemas/IntegrationDetailsSchemaZohoCrm-Input"}}},"AnyIntegrationDetailsSchema-Output":{"oneOf":[{"$ref":"#/components/schemas/IntegrationDetailsSchemaKeap"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAcuite"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaActiveCampaign"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLightdash"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTypeform"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSegment"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMailerlite"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaIterable"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTwilio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaRedshift"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBigMarker"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLoopreturns"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLessonly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMySql"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPartoo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFacebookAdsSystemUser"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSquare"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBigquery"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSleeper"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDatadog"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSumologic"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGreenhouse"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaZohoCrm-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShipstation"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSalesforce-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNiceIncontact"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFullstory"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSendinblue"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaZammad"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSlack-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPodBean"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMindstamp"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAppleHealth"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaClickcast"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMarketo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaS3"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAtInternet"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaImmuta"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaClickup"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDagster"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFishbowl"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPicqer"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaStripe"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaIntercom-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDucklake"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaVeeqo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSailthru"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTradera"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAppStore"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCloseio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDashHudson"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPartnerize"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAircall"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHubspot"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaQualified"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGong"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCanvas"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMegaphone"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleSheets-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSalesloft"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleSearchConsole-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCoinGecko"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMode"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFreshworks"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaADP"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGcs"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaApaleo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLinkedinAds"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCustom"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaEmarsys"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPostgres"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmplitude"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHotjar"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaExcel-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaWoocommerce"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSheets-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMongoDB"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetrivals"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMsGraph"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSnowflake"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMoosend"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaUnleashed"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBazaarvoice"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaQuickbooks-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMetronome"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAwsCostExplorer"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAbra"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLinear"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMercadopago"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGladly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAttio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShowpad"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAftership"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFreshcaller"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetohq"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaQls"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFastly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAirtable"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaUdemyForBusiness"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGetPocket"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSellsy"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShopify"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMailjet"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaLinkedinPages-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTrustrace"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMaestroqa"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaOmnisend"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPeloton"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaKlaviyo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaStamped"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAbicart"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGithub"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaRecurly"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaThinkific"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBexio"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSmartsheet"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaKrow"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaJudgeme"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFreshdesk"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAskNicely"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaOrdoro"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAcumatica"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaIceberg"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaClientSuccess"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaInstagram-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShipbob"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaJira"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleAnalytics-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGoogleAds-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMiro"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDomo"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBrillium"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPlentymarkets"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMavenLink"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCloudwatch"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaWebflow"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmazonSellingPartner-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaChorusai"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMontapacking"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCurrencyFreaks"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaRecruitee"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHellobaton"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaFacebookAds-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaCube"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaZendesk"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPulumiCloud"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetsuite"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShiphero"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAnvil"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaGainsightPx"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSqlServer"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNetlify"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTravefy"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmazonAdvertising-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTikTokAds"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaJotform"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMixpanel"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaBambooHr"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMessagebird"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaPipedrive"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaSharepointSites-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMemberful"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaTalkable"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaNotion-Output"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaHolidays"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMonday"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAmazonAssociates"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaAwsCognito"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaShoplazza"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaDixa"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaOkta"},{"$ref":"#/components/schemas/IntegrationDetailsSchemaMarketplacer"}],"discriminator":{"propertyName":"integration_type","mapping":{"abicart":"#/components/schemas/IntegrationDetailsSchemaAbicart","abra":"#/components/schemas/IntegrationDetailsSchemaAbra","activecampaign":"#/components/schemas/IntegrationDetailsSchemaActiveCampaign","acuite":"#/components/schemas/IntegrationDetailsSchemaAcuite","acumatica":"#/components/schemas/IntegrationDetailsSchemaAcumatica","adp":"#/components/schemas/IntegrationDetailsSchemaADP","aftership":"#/components/schemas/IntegrationDetailsSchemaAftership","aircall":"#/components/schemas/IntegrationDetailsSchemaAircall","airtable":"#/components/schemas/IntegrationDetailsSchemaAirtable","amazonadvertising":"#/components/schemas/IntegrationDetailsSchemaAmazonAdvertising-Output","amazonassociates":"#/components/schemas/IntegrationDetailsSchemaAmazonAssociates","amazonsellingpartner":"#/components/schemas/IntegrationDetailsSchemaAmazonSellingPartner-Output","amplitude":"#/components/schemas/IntegrationDetailsSchemaAmplitude","anvil":"#/components/schemas/IntegrationDetailsSchemaAnvil","apaleo":"#/components/schemas/IntegrationDetailsSchemaApaleo","applehealth":"#/components/schemas/IntegrationDetailsSchemaAppleHealth","appstore":"#/components/schemas/IntegrationDetailsSchemaAppStore","asknicely":"#/components/schemas/IntegrationDetailsSchemaAskNicely","atinternet":"#/components/schemas/IntegrationDetailsSchemaAtInternet","attio":"#/components/schemas/IntegrationDetailsSchemaAttio","awscognito":"#/components/schemas/IntegrationDetailsSchemaAwsCognito","awscostexplorer":"#/components/schemas/IntegrationDetailsSchemaAwsCostExplorer","bamboohr":"#/components/schemas/IntegrationDetailsSchemaBambooHr","bazaarvoice":"#/components/schemas/IntegrationDetailsSchemaBazaarvoice","bexio":"#/components/schemas/IntegrationDetailsSchemaBexio","bigmarker":"#/components/schemas/IntegrationDetailsSchemaBigMarker","bigquery":"#/components/schemas/IntegrationDetailsSchemaBigquery","brillium":"#/components/schemas/IntegrationDetailsSchemaBrillium","canvas":"#/components/schemas/IntegrationDetailsSchemaCanvas","chorusai":"#/components/schemas/IntegrationDetailsSchemaChorusai","clickcast":"#/components/schemas/IntegrationDetailsSchemaClickcast","clickup":"#/components/schemas/IntegrationDetailsSchemaClickup","clientsuccess":"#/components/schemas/IntegrationDetailsSchemaClientSuccess","closeio":"#/components/schemas/IntegrationDetailsSchemaCloseio","cloudwatch":"#/components/schemas/IntegrationDetailsSchemaCloudwatch","coingecko":"#/components/schemas/IntegrationDetailsSchemaCoinGecko","cube":"#/components/schemas/IntegrationDetailsSchemaCube","currencyfreaks":"#/components/schemas/IntegrationDetailsSchemaCurrencyFreaks","custom":"#/components/schemas/IntegrationDetailsSchemaCustom","dagster":"#/components/schemas/IntegrationDetailsSchemaDagster","dashhudson":"#/components/schemas/IntegrationDetailsSchemaDashHudson","datadog":"#/components/schemas/IntegrationDetailsSchemaDatadog","dixa":"#/components/schemas/IntegrationDetailsSchemaDixa","domo":"#/components/schemas/IntegrationDetailsSchemaDomo","ducklake":"#/components/schemas/IntegrationDetailsSchemaDucklake","emarsys":"#/components/schemas/IntegrationDetailsSchemaEmarsys","excel":"#/components/schemas/IntegrationDetailsSchemaExcel-Output","facebookads":"#/components/schemas/IntegrationDetailsSchemaFacebookAds-Output","facebookads_system_user":"#/components/schemas/IntegrationDetailsSchemaFacebookAdsSystemUser","fastly":"#/components/schemas/IntegrationDetailsSchemaFastly","fishbowl":"#/components/schemas/IntegrationDetailsSchemaFishbowl","freshcaller":"#/components/schemas/IntegrationDetailsSchemaFreshcaller","freshdesk":"#/components/schemas/IntegrationDetailsSchemaFreshdesk","freshworks":"#/components/schemas/IntegrationDetailsSchemaFreshworks","fullstory":"#/components/schemas/IntegrationDetailsSchemaFullstory","gainsightpx":"#/components/schemas/IntegrationDetailsSchemaGainsightPx","gcs":"#/components/schemas/IntegrationDetailsSchemaGcs","getpocket":"#/components/schemas/IntegrationDetailsSchemaGetPocket","github":"#/components/schemas/IntegrationDetailsSchemaGithub","gladly":"#/components/schemas/IntegrationDetailsSchemaGladly","gong":"#/components/schemas/IntegrationDetailsSchemaGong","googleads":"#/components/schemas/IntegrationDetailsSchemaGoogleAds-Output","googleanalytics":"#/components/schemas/IntegrationDetailsSchemaGoogleAnalytics-Output","googlesearchconsole":"#/components/schemas/IntegrationDetailsSchemaGoogleSearchConsole-Output","googlesheets":"#/components/schemas/IntegrationDetailsSchemaGoogleSheets-Output","greenhouse":"#/components/schemas/IntegrationDetailsSchemaGreenhouse","hellobaton":"#/components/schemas/IntegrationDetailsSchemaHellobaton","holidays":"#/components/schemas/IntegrationDetailsSchemaHolidays","hotjar":"#/components/schemas/IntegrationDetailsSchemaHotjar","hubspot":"#/components/schemas/IntegrationDetailsSchemaHubspot","iceberg":"#/components/schemas/IntegrationDetailsSchemaIceberg","immuta":"#/components/schemas/IntegrationDetailsSchemaImmuta","instagram":"#/components/schemas/IntegrationDetailsSchemaInstagram-Output","intercom":"#/components/schemas/IntegrationDetailsSchemaIntercom-Output","iterable":"#/components/schemas/IntegrationDetailsSchemaIterable","jira":"#/components/schemas/IntegrationDetailsSchemaJira","jotform":"#/components/schemas/IntegrationDetailsSchemaJotform","judgeme":"#/components/schemas/IntegrationDetailsSchemaJudgeme","keap":"#/components/schemas/IntegrationDetailsSchemaKeap","klaviyo":"#/components/schemas/IntegrationDetailsSchemaKlaviyo","krow":"#/components/schemas/IntegrationDetailsSchemaKrow","lessonly":"#/components/schemas/IntegrationDetailsSchemaLessonly","lightdash":"#/components/schemas/IntegrationDetailsSchemaLightdash","linear":"#/components/schemas/IntegrationDetailsSchemaLinear","linkedinads":"#/components/schemas/IntegrationDetailsSchemaLinkedinAds","linkedinpages":"#/components/schemas/IntegrationDetailsSchemaLinkedinPages-Output","loopreturns":"#/components/schemas/IntegrationDetailsSchemaLoopreturns","maestroqa":"#/components/schemas/IntegrationDetailsSchemaMaestroqa","mailerlite":"#/components/schemas/IntegrationDetailsSchemaMailerlite","mailjet":"#/components/schemas/IntegrationDetailsSchemaMailjet","marketo":"#/components/schemas/IntegrationDetailsSchemaMarketo","marketplacer":"#/components/schemas/IntegrationDetailsSchemaMarketplacer","mavenlink":"#/components/schemas/IntegrationDetailsSchemaMavenLink","megaphone":"#/components/schemas/IntegrationDetailsSchemaMegaphone","memberful":"#/components/schemas/IntegrationDetailsSchemaMemberful","mercadopago":"#/components/schemas/IntegrationDetailsSchemaMercadopago","messagebird":"#/components/schemas/IntegrationDetailsSchemaMessagebird","metronome":"#/components/schemas/IntegrationDetailsSchemaMetronome","mindstamp":"#/components/schemas/IntegrationDetailsSchemaMindstamp","miro":"#/components/schemas/IntegrationDetailsSchemaMiro","mixpanel":"#/components/schemas/IntegrationDetailsSchemaMixpanel","mode":"#/components/schemas/IntegrationDetailsSchemaMode","monday":"#/components/schemas/IntegrationDetailsSchemaMonday","mongodb":"#/components/schemas/IntegrationDetailsSchemaMongoDB","montapacking":"#/components/schemas/IntegrationDetailsSchemaMontapacking","moosend":"#/components/schemas/IntegrationDetailsSchemaMoosend","msgraph":"#/components/schemas/IntegrationDetailsSchemaMsGraph","mysql":"#/components/schemas/IntegrationDetailsSchemaMySql","netlify":"#/components/schemas/IntegrationDetailsSchemaNetlify","netohq":"#/components/schemas/IntegrationDetailsSchemaNetohq","netrivals":"#/components/schemas/IntegrationDetailsSchemaNetrivals","netsuite":"#/components/schemas/IntegrationDetailsSchemaNetsuite","niceincontact":"#/components/schemas/IntegrationDetailsSchemaNiceIncontact","notion":"#/components/schemas/IntegrationDetailsSchemaNotion-Output","okta":"#/components/schemas/IntegrationDetailsSchemaOkta","omnisend":"#/components/schemas/IntegrationDetailsSchemaOmnisend","ordoro":"#/components/schemas/IntegrationDetailsSchemaOrdoro","partnerize":"#/components/schemas/IntegrationDetailsSchemaPartnerize","partoo":"#/components/schemas/IntegrationDetailsSchemaPartoo","peloton":"#/components/schemas/IntegrationDetailsSchemaPeloton","picqer":"#/components/schemas/IntegrationDetailsSchemaPicqer","pipedrive":"#/components/schemas/IntegrationDetailsSchemaPipedrive","plentymarkets":"#/components/schemas/IntegrationDetailsSchemaPlentymarkets","podbean":"#/components/schemas/IntegrationDetailsSchemaPodBean","postgres":"#/components/schemas/IntegrationDetailsSchemaPostgres","pulumicloud":"#/components/schemas/IntegrationDetailsSchemaPulumiCloud","qls":"#/components/schemas/IntegrationDetailsSchemaQls","qualified":"#/components/schemas/IntegrationDetailsSchemaQualified","quickbooks":"#/components/schemas/IntegrationDetailsSchemaQuickbooks-Output","recruitee":"#/components/schemas/IntegrationDetailsSchemaRecruitee","recurly":"#/components/schemas/IntegrationDetailsSchemaRecurly","redshift":"#/components/schemas/IntegrationDetailsSchemaRedshift","s3":"#/components/schemas/IntegrationDetailsSchemaS3","sailthru":"#/components/schemas/IntegrationDetailsSchemaSailthru","salesforce":"#/components/schemas/IntegrationDetailsSchemaSalesforce-Output","salesloft":"#/components/schemas/IntegrationDetailsSchemaSalesloft","segment":"#/components/schemas/IntegrationDetailsSchemaSegment","sellsy":"#/components/schemas/IntegrationDetailsSchemaSellsy","sendinblue":"#/components/schemas/IntegrationDetailsSchemaSendinblue","sharepointsites":"#/components/schemas/IntegrationDetailsSchemaSharepointSites-Output","sheets":"#/components/schemas/IntegrationDetailsSchemaSheets-Output","shipbob":"#/components/schemas/IntegrationDetailsSchemaShipbob","shiphero":"#/components/schemas/IntegrationDetailsSchemaShiphero","shipstation":"#/components/schemas/IntegrationDetailsSchemaShipstation","shopify":"#/components/schemas/IntegrationDetailsSchemaShopify","shoplazza":"#/components/schemas/IntegrationDetailsSchemaShoplazza","showpad":"#/components/schemas/IntegrationDetailsSchemaShowpad","slack":"#/components/schemas/IntegrationDetailsSchemaSlack-Output","sleeper":"#/components/schemas/IntegrationDetailsSchemaSleeper","smartsheet":"#/components/schemas/IntegrationDetailsSchemaSmartsheet","snowflake":"#/components/schemas/IntegrationDetailsSchemaSnowflake","sqlserver":"#/components/schemas/IntegrationDetailsSchemaSqlServer","square":"#/components/schemas/IntegrationDetailsSchemaSquare","stamped":"#/components/schemas/IntegrationDetailsSchemaStamped","stripe":"#/components/schemas/IntegrationDetailsSchemaStripe","sumologic":"#/components/schemas/IntegrationDetailsSchemaSumologic","talkable":"#/components/schemas/IntegrationDetailsSchemaTalkable","thinkific":"#/components/schemas/IntegrationDetailsSchemaThinkific","tiktokads":"#/components/schemas/IntegrationDetailsSchemaTikTokAds","tradera":"#/components/schemas/IntegrationDetailsSchemaTradera","travefy":"#/components/schemas/IntegrationDetailsSchemaTravefy","trustrace":"#/components/schemas/IntegrationDetailsSchemaTrustrace","twilio":"#/components/schemas/IntegrationDetailsSchemaTwilio","typeform":"#/components/schemas/IntegrationDetailsSchemaTypeform","udemyforbusiness":"#/components/schemas/IntegrationDetailsSchemaUdemyForBusiness","unleashed":"#/components/schemas/IntegrationDetailsSchemaUnleashed","veeqo":"#/components/schemas/IntegrationDetailsSchemaVeeqo","webflow":"#/components/schemas/IntegrationDetailsSchemaWebflow","woocommerce":"#/components/schemas/IntegrationDetailsSchemaWoocommerce","zammad":"#/components/schemas/IntegrationDetailsSchemaZammad","zendesk":"#/components/schemas/IntegrationDetailsSchemaZendesk","zohocrm":"#/components/schemas/IntegrationDetailsSchemaZohoCrm-Output"}}},"ApiKey":{"properties":{"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id","description":"User ID"},"api_key":{"type":"string","title":"Api Key","description":"User's API key"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"API key created at"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"API key updated at"}},"type":"object","required":["user_id","api_key","created_at","updated_at"],"title":"ApiKey"},"ApiQueryRequest":{"properties":{"sql":{"type":"string","title":"Sql","description":"SQL query to execute","default":""},"cube_query":{"anyOf":[{"$ref":"#/components/schemas/ExtendedV1LoadRequestQuery"},{"type":"null"}],"description":"Cube query to execute"},"integration_id":{"type":"string","title":"Integration Id","description":"Optional integration ID to execute query on","default":""},"log_event":{"type":"boolean","title":"Log Event","description":"Flag enabling or disabling event logging for the request","default":true},"persist":{"type":"boolean","title":"Persist","description":"Whether to cache sql query result","default":false},"invalidate":{"type":"boolean","title":"Invalidate","description":"Invalidates sql query result","default":false},"raw":{"type":"boolean","title":"Raw","description":"Whether to return raw data","default":false},"resources":{"anyOf":[{"$ref":"#/components/schemas/ComputeResourceRequest"},{"type":"null"}],"description":"If set, runs the query as a K8s Job with specified CPU/memory resources"}},"type":"object","title":"ApiQueryRequest"},"ApiQueryResponse":{"properties":{"data":{"items":{},"type":"array","title":"Data","description":"Output data.","default":[]},"raw_data":{"anyOf":[{},{"type":"null"}],"title":"Raw Data","description":"Raw output data."},"schema":{"items":{"$ref":"#/components/schemas/BlockResultsRowSchema"},"type":"array","title":"Schema","description":"Schema of rows.","default":[]},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"},"executed_query":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Executed Query","description":"The SQL or Cube query that was executed (for debugging/display)"},"query_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Type","description":"Type of query executed: 'sql' or 'cube'"}},"type":"object","required":["integration_id"],"title":"ApiQueryResponse"},"AssignDataAccessRoleRequest":{"properties":{"userId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Userid","description":"User to assign"},"dataAccessRoleId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Dataaccessroleid","description":"Role to assign"}},"type":"object","required":["userId","dataAccessRoleId"],"title":"AssignDataAccessRoleRequest"},"AutomationCronScheduledTriggerConfig":{"properties":{"type":{"type":"string","const":"cron","title":"Type","description":"Schedule type","default":"cron"},"cron":{"type":"string","title":"Cron","description":"Cron expression for schedule","default":"0 0 * * *"}},"type":"object","title":"AutomationCronScheduledTriggerConfig"},"AutomationEmailDestinationSchema":{"properties":{"format":{"type":"string","enum":["json","parquet","txt","csv","png","pdf","auto"],"title":"Format","description":"Export format","default":"auto"},"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"email","title":"Type","description":"Destination type","default":"email"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"Email address"}},"type":"object","title":"AutomationEmailDestinationSchema"},"AutomationEventTriggerDetailsSchema":{"properties":{"type":{"type":"string","const":"event","title":"Type","description":"Trigger type","default":"event"},"config":{"oneOf":[{"$ref":"#/components/schemas/AutomationOnJobEndEventTriggerConfig"},{"$ref":"#/components/schemas/AutomationOnSyncEndEventTriggerConfig"},{"$ref":"#/components/schemas/AutomationOnWebhookEventTriggerConfig"}],"title":"Config","description":"Trigger configuration","discriminator":{"propertyName":"type","mapping":{"on_job_end":"#/components/schemas/AutomationOnJobEndEventTriggerConfig","on_sync_end":"#/components/schemas/AutomationOnSyncEndEventTriggerConfig","webhook":"#/components/schemas/AutomationOnWebhookEventTriggerConfig"}}}},"type":"object","required":["config"],"title":"AutomationEventTriggerDetailsSchema"},"AutomationExcelDestinationSchema":{"properties":{"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Integration ID"},"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"excel","title":"Type","description":"Destination type","default":"excel"},"workbookId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workbookid","description":"Workbook ID"},"worksheet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Worksheet","description":"Worksheet name"},"header":{"type":"boolean","title":"Header","description":"Include header row","default":true},"range":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range","description":"Sheet range"},"overwriteSheet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Overwritesheet","description":"Overwrite sheet"},"overwriteRange":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Overwriterange","description":"Overwrite range"}},"type":"object","title":"AutomationExcelDestinationSchema"},"AutomationFiThreadDestinationSchema":{"properties":{"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"fi_thread","title":"Type","description":"Destination type","default":"fi_thread"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id","description":"Thread UUID (required)"},"row_cap":{"type":"integer","title":"Row Cap","description":"Maximum rows to include in XML (default 100)","default":100},"slack_integration_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slack Integration Id","description":"Slack integration ID for optional follow-up message"},"slack_channel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slack Channel Id","description":"Slack channel ID for optional follow-up message"},"slack_template":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Slack Template","description":"Slack message template (blocks + fallback text)"}},"type":"object","title":"AutomationFiThreadDestinationSchema"},"AutomationGcsDestinationSchema":{"properties":{"format":{"type":"string","enum":["json","parquet","txt","csv","png","pdf","auto"],"title":"Format","description":"Export format","default":"auto"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Integration ID"},"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"gcs","title":"Type","description":"Destination type","default":"gcs"},"bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bucket","description":"Bucket name"},"blobName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blobname","description":"Blob name"}},"type":"object","title":"AutomationGcsDestinationSchema"},"AutomationJobsSchema":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Job ID"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Team ID"},"name":{"type":"string","title":"Name","description":"Job name (unique for resource)"},"resource_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Resource Id","description":"Associated resource ID"},"resource_type":{"type":"string","enum":["doc","ducklake_integration_maintenance"],"title":"Resource Type","description":"Associated resource type"},"trigger":{"oneOf":[{"$ref":"#/components/schemas/AutomationEventTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationNoneTriggerDetailsSchema"}],"title":"Trigger","description":"Trigger details","discriminator":{"propertyName":"type","mapping":{"event":"#/components/schemas/AutomationEventTriggerDetailsSchema","none":"#/components/schemas/AutomationNoneTriggerDetailsSchema","schedule":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"}}},"destination":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AutomationNoneDestinationSchema"},{"$ref":"#/components/schemas/AutomationSlackDestinationSchema"},{"$ref":"#/components/schemas/AutomationEmailDestinationSchema"},{"$ref":"#/components/schemas/AutomationSheetsDestinationSchema"},{"$ref":"#/components/schemas/AutomationExcelDestinationSchema"},{"$ref":"#/components/schemas/AutomationGcsDestinationSchema"},{"$ref":"#/components/schemas/AutomationWebhookDestinationSchema"},{"$ref":"#/components/schemas/AutomationFiThreadDestinationSchema"}],"discriminator":{"propertyName":"type","mapping":{"email":"#/components/schemas/AutomationEmailDestinationSchema","excel":"#/components/schemas/AutomationExcelDestinationSchema","fi_thread":"#/components/schemas/AutomationFiThreadDestinationSchema","gcs":"#/components/schemas/AutomationGcsDestinationSchema","none":"#/components/schemas/AutomationNoneDestinationSchema","sheets":"#/components/schemas/AutomationSheetsDestinationSchema","slack":"#/components/schemas/AutomationSlackDestinationSchema","webhook":"#/components/schemas/AutomationWebhookDestinationSchema"}}},{"type":"null"}],"title":"Destination","description":"Destination details"},"enabled":{"type":"boolean","title":"Enabled","description":"Job enabled flag","default":true},"disabled_by":{"anyOf":[{"type":"string","enum":["user","definite-admin"]},{"type":"null"}],"title":"Disabled By","description":"Who disabled this job. Null iff enabled=true."},"max_attempts":{"type":"integer","title":"Max Attempts","description":"Max attempts for job","default":1},"details":{"additionalProperties":true,"type":"object","title":"Details","description":"Resource-type-specific job configuration. Must be empty for doc jobs. For ducklake_integration_maintenance: a DuckLakeMaintenanceRequest payload plus optional `created_by` (UUID) for acting-user fallback."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Job created at timestamp"}},"type":"object","required":["team_id","name","resource_id","resource_type","trigger"],"title":"AutomationJobsSchema"},"AutomationLogsSchema":{"properties":{"id":{"type":"integer","title":"Id","description":"Log ID","default":0},"run_attempt_id":{"type":"integer","title":"Run Attempt Id","description":"Run attempt ID"},"level":{"type":"string","enum":["info","warning","error"],"title":"Level","description":"Log level"},"message":{"type":"string","title":"Message","description":"Log message"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Additional metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Log created at timestamp"}},"type":"object","required":["run_attempt_id","level","message","metadata"],"title":"AutomationLogsSchema"},"AutomationNoneDestinationSchema":{"properties":{"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"none","title":"Type","description":"Destination type","default":"none"}},"type":"object","title":"AutomationNoneDestinationSchema"},"AutomationNoneTriggerDetailsSchema":{"properties":{"type":{"type":"string","const":"none","title":"Type","description":"Trigger type","default":"none"}},"type":"object","title":"AutomationNoneTriggerDetailsSchema"},"AutomationOnJobEndEventTriggerConfig":{"properties":{"type":{"type":"string","const":"on_job_end","title":"Type","description":"Trigger configuration type","default":"on_job_end"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Job Id","description":"Upstream doc automation job (same team) whose successful completion triggers this job"}},"type":"object","title":"AutomationOnJobEndEventTriggerConfig","description":"Fires when the referenced upstream doc job completes successfully.\n\n`job_id` must reference a same-team doc automation job; save paths enforce\nthis (and acyclicity) via `AutomationJobsTableClient.validate_trigger_references`.\nThe field stays optional here so historical rows saved while the trigger was\na no-op (DEF-2903) never break reads -- a null upstream is rejected on write."},"AutomationOnSyncEndEventTriggerConfig":{"properties":{"type":{"type":"string","const":"on_sync_end","title":"Type","description":"Trigger configuration type","default":"on_sync_end"},"src_integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Src Integration Id","description":"Source integration ID"}},"type":"object","title":"AutomationOnSyncEndEventTriggerConfig"},"AutomationOnWebhookEventTriggerConfig":{"properties":{"type":{"type":"string","const":"webhook","title":"Type","description":"Trigger configuration type","default":"webhook"}},"type":"object","title":"AutomationOnWebhookEventTriggerConfig"},"AutomationRunAttemptsSchema":{"properties":{"id":{"type":"integer","title":"Id","description":"Run attempt ID","default":0},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Run Id","description":"Run ID"},"attempt_number":{"type":"integer","title":"Attempt Number","description":"Attempt number"},"status":{"type":"string","enum":["running","success","failure","expired"],"title":"Status","description":"Attempt status"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"Attempt started timestamp"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At","description":"Attempt completed timestamp"},"expires_at":{"type":"string","format":"date-time","title":"Expires At","description":"Attempt expiration timestamp"},"expired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expired At","description":"Attempt expired timestamp"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message","description":"Error message if failed"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"General-purpose metadata for the attempt"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Run attempt created at timestamp"}},"type":"object","required":["run_id","attempt_number","status"],"title":"AutomationRunAttemptsSchema"},"AutomationRunsSchema":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Run ID"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Job Id","description":"Job ID"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Run created at timestamp"}},"type":"object","required":["job_id"],"title":"AutomationRunsSchema"},"AutomationScheduledTriggerDetailsSchema":{"properties":{"type":{"type":"string","const":"schedule","title":"Type","description":"Trigger type","default":"schedule"},"config":{"$ref":"#/components/schemas/AutomationCronScheduledTriggerConfig","description":"Schedule configuration"}},"type":"object","required":["config"],"title":"AutomationScheduledTriggerDetailsSchema"},"AutomationSheetsDestinationSchema":{"properties":{"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Integration ID"},"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"sheets","title":"Type","description":"Destination type","default":"sheets"},"spreadsheetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spreadsheetid","description":"Spreadsheet ID"},"sheet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet","description":"Sheet name"},"header":{"type":"boolean","title":"Header","description":"Include header row","default":true},"range":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range","description":"Sheet range"},"overwriteSheet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Overwritesheet","description":"Overwrite sheet"},"overwriteRange":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Overwriterange","description":"Overwrite range"}},"type":"object","title":"AutomationSheetsDestinationSchema"},"AutomationSlackDestinationSchema":{"properties":{"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Integration ID"},"format":{"type":"string","enum":["json","parquet","txt","csv","png","pdf","auto"],"title":"Format","description":"Export format","default":"auto"},"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"slack","title":"Type","description":"Destination type","default":"slack"},"channelId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channelid","description":"Channel ID"}},"type":"object","title":"AutomationSlackDestinationSchema"},"AutomationWebhookDestinationSchema":{"properties":{"skipIfEmpty":{"type":"boolean","title":"Skipifempty","description":"Skip writing to destination if results are empty","default":true},"type":{"type":"string","const":"webhook","title":"Type","description":"Destination type","default":"webhook"},"url":{"type":"string","title":"Url","description":"URL where the data (JSON encoded) will be sent as a POST request"}},"type":"object","required":["url"],"title":"AutomationWebhookDestinationSchema"},"BatchExecutionMode":{"type":"string","enum":["serial","parallel"],"title":"BatchExecutionMode"},"BatchQueryItem":{"properties":{"sql":{"type":"string","title":"Sql","description":"SQL query to execute"},"queryType":{"type":"string","enum":["json","arrow","exec"],"title":"Querytype","description":"Query type for this item: 'arrow', 'json', or 'exec'","default":"arrow"}},"type":"object","required":["sql"],"title":"BatchQueryItem"},"BlockResultsRowSchema":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"sql_value_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql Value Type"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"additionalProperties":false,"type":"object","required":["name","type"],"title":"BlockResultsRowSchema"},"Body_drop_cube_cache_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_drop_cache_post":{"properties":{"canvas_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Id"},"block_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Id"}},"type":"object","title":"Body_drop_cube_cache_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_drop_cache_post"},"Body_fi3_upload_file_v3_teams__team_id__users__user_id__fi3_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_fi3_upload_file_v3_teams__team_id__users__user_id__fi3_upload_post"},"Body_invite_users_by_email_v3_teams__team_id__invite_post":{"properties":{"emails":{"items":{"type":"string"},"type":"array","title":"Emails","description":"List of emails of the users to invite"}},"type":"object","required":["emails"],"title":"Body_invite_users_by_email_v3_teams__team_id__invite_post"},"Body_move_cube_model_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_model_rename_post":{"properties":{"source_path":{"type":"string","title":"Source Path"},"destination_path":{"type":"string","title":"Destination Path"}},"type":"object","required":["source_path","destination_path"],"title":"Body_move_cube_model_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_model_rename_post"},"Body_restore_cube_model_version_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_versions_post":{"properties":{"path":{"type":"string","title":"Path"},"generation":{"type":"integer","title":"Generation"}},"type":"object","required":["path","generation"],"title":"Body_restore_cube_model_version_v2_teams__team_id__users__user_id__integrations__integration_id__cubes_versions_post"},"CatalogColumn":{"properties":{"column_name":{"type":"string","title":"Column Name"},"column_type":{"type":"string","title":"Column Type"},"column_order":{"type":"integer","title":"Column Order","default":0},"nulls_allowed":{"type":"boolean","title":"Nulls Allowed","default":true},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_primary_key":{"type":"boolean","title":"Is Primary Key","default":false}},"type":"object","required":["column_name","column_type"],"title":"CatalogColumn"},"CatalogColumnProfile":{"properties":{"column_name":{"type":"string","title":"Column Name"},"distinct_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Distinct Count"},"null_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Null Count"},"null_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Null Pct"},"min_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Value"},"histogram_bins":{"items":{"type":"integer"},"type":"array","title":"Histogram Bins"},"source":{"type":"string","enum":["catalog","duckdb","unavailable"],"title":"Source","default":"unavailable"}},"type":"object","required":["column_name"],"title":"CatalogColumnProfile"},"CatalogPartitionColumn":{"properties":{"column_name":{"type":"string","title":"Column Name"},"transform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transform"}},"type":"object","required":["column_name"],"title":"CatalogPartitionColumn"},"CatalogSnapshot":{"properties":{"snapshot_id":{"type":"integer","title":"Snapshot Id"},"committed_at":{"type":"string","format":"date-time","title":"Committed At"},"file_count":{"type":"integer","title":"File Count","default":0},"row_delta":{"type":"integer","title":"Row Delta","default":0}},"type":"object","required":["snapshot_id","committed_at"],"title":"CatalogSnapshot"},"CatalogSnapshotsResponse":{"properties":{"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"},"schema_name":{"type":"string","title":"Schema Name"},"table_name":{"type":"string","title":"Table Name"},"snapshots":{"items":{"$ref":"#/components/schemas/CatalogSnapshot"},"type":"array","title":"Snapshots"}},"type":"object","required":["integration_id","schema_name","table_name","snapshots"],"title":"CatalogSnapshotsResponse"},"CatalogTableDetail":{"properties":{"schema_name":{"type":"string","title":"Schema Name","description":"Lakehouse schema name"},"table_name":{"type":"string","title":"Table Name"},"table_id":{"type":"integer","title":"Table Id"},"kind":{"type":"string","enum":["table","view"],"title":"Kind","description":"DuckLake object kind. Views have no storage / snapshots / partitions.","default":"table"},"file_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Format","description":"parquet | iceberg | ..."},"size_bytes":{"type":"integer","title":"Size Bytes","description":"Live storage in bytes (alias for live_size_bytes; kept for back-compat)","default":0},"row_count":{"type":"integer","title":"Row Count","description":"Live row count (sum of record_count across live data files)","default":0},"live_size_bytes":{"type":"integer","title":"Live Size Bytes","description":"Live storage in bytes (current snapshot)","default":0},"total_size_bytes":{"type":"integer","title":"Total Size Bytes","description":"Total storage across all snapshots (live + tombstoned)","default":0},"live_file_count":{"type":"integer","title":"Live File Count","description":"Number of live data files","default":0},"total_file_count":{"type":"integer","title":"Total File Count","description":"Total data files across all snapshots","default":0},"total_inserted_rows":{"type":"integer","title":"Total Inserted Rows","description":"Sum of record_count across ALL data files (lifetime inserts)","default":0},"partition_columns":{"items":{"$ref":"#/components/schemas/CatalogPartitionColumn"},"type":"array","title":"Partition Columns"},"partition_count":{"type":"integer","title":"Partition Count","default":0},"snapshot_count":{"type":"integer","title":"Snapshot Count","default":0},"last_write":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Write"},"columns":{"items":{"$ref":"#/components/schemas/CatalogColumn"},"type":"array","title":"Columns"},"view_sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"View Sql","description":"View definition SQL (only set when kind == 'view')"}},"type":"object","required":["schema_name","table_name","table_id"],"title":"CatalogTableDetail"},"CatalogTableSummary":{"properties":{"schema_name":{"type":"string","title":"Schema Name","description":"Lakehouse schema name"},"table_name":{"type":"string","title":"Table Name"},"table_id":{"type":"integer","title":"Table Id"},"kind":{"type":"string","enum":["table","view"],"title":"Kind","description":"DuckLake object kind. Views have no storage / snapshots / partitions.","default":"table"},"file_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Format","description":"parquet | iceberg | ..."},"size_bytes":{"type":"integer","title":"Size Bytes","description":"Live storage in bytes (alias for live_size_bytes; kept for back-compat)","default":0},"row_count":{"type":"integer","title":"Row Count","description":"Live row count (sum of record_count across live data files)","default":0},"live_size_bytes":{"type":"integer","title":"Live Size Bytes","description":"Live storage in bytes (current snapshot)","default":0},"total_size_bytes":{"type":"integer","title":"Total Size Bytes","description":"Total storage across all snapshots (live + tombstoned)","default":0},"live_file_count":{"type":"integer","title":"Live File Count","description":"Number of live data files","default":0},"total_file_count":{"type":"integer","title":"Total File Count","description":"Total data files across all snapshots","default":0},"total_inserted_rows":{"type":"integer","title":"Total Inserted Rows","description":"Sum of record_count across ALL data files (lifetime inserts)","default":0},"partition_columns":{"items":{"$ref":"#/components/schemas/CatalogPartitionColumn"},"type":"array","title":"Partition Columns"},"partition_count":{"type":"integer","title":"Partition Count","default":0},"snapshot_count":{"type":"integer","title":"Snapshot Count","default":0},"last_write":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Write"}},"type":"object","required":["schema_name","table_name","table_id"],"title":"CatalogTableSummary"},"CatalogTablesResponse":{"properties":{"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id"},"tables":{"items":{"$ref":"#/components/schemas/CatalogTableSummary"},"type":"array","title":"Tables"}},"type":"object","required":["integration_id","tables"],"title":"CatalogTablesResponse"},"Column":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Optional tags","default":[]},"type":{"type":"string","title":"Type"}},"type":"object","required":["name","path","type"],"title":"Column"},"ComputeResourceRequest":{"properties":{"cpu":{"type":"string","title":"Cpu","description":"CPU cores in Kubernetes format (e.g., '4', '2.5', '500m')","default":"30"},"memory":{"type":"string","title":"Memory","description":"Memory in Kubernetes format (e.g., '16Gi', '512Mi', '1G')","default":"224Gi"},"timeoutSeconds":{"type":"integer","maximum":604800.0,"title":"Timeoutseconds","description":"Job timeout in seconds (60-604800, default 3600)","default":3600}},"type":"object","title":"ComputeResourceRequest","description":"Compute resource request shared by the DuckDB cluster and E2B sandbox paths.\n\nDefaults are sized for the DuckDB cluster. Non-DuckDB callers must check `model_fields_set`\nbefore reading `cpu`/`memory`, otherwise the DuckDB defaults will be used for other engines —\nsee `defapi.config.e2b.select_e2b_sandbox_tier` for an example."},"ConfigureSyncApiRequest":{"properties":{"dest_integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Dest Integration Id","description":"UUID of the destination integration (DuckLake or DuckDB). Defaults to team's DuckLake if not specified."},"dest_schema":{"type":"string","title":"Dest Schema","description":"Destination schema name (e.g., 'POSTGRES_DATA')"},"schedule":{"$ref":"#/components/schemas/SyncSchedule","description":"Sync frequency"},"tables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tables","description":"Tables to sync. For databases: use 'schema.table' for specific tables or 'schema.*' for all tables in a schema. Required for database sources."},"load_method":{"$ref":"#/components/schemas/LoadMethod","description":"How to load data: merge, append, or overwrite","default":"merge"}},"type":"object","required":["dest_schema","schedule"],"title":"ConfigureSyncApiRequest","description":"Request body for configuring a data sync."},"ConfigureSyncApiResponse":{"properties":{"integration":{"$ref":"#/components/schemas/Integration"},"sync_config":{"additionalProperties":true,"type":"object","title":"Sync Config"},"dag_generated":{"type":"boolean","title":"Dag Generated"},"message":{"type":"string","title":"Message","default":"Sync configured successfully"}},"type":"object","required":["integration","sync_config","dag_generated"],"title":"ConfigureSyncApiResponse","description":"Response for successful sync configuration."},"ContextBlock":{"properties":{"id":{"type":"string","title":"Id","description":"Unique UUID identifier for the context block","default":""},"query":{"type":"string","title":"Query","description":"Query for the context block.","default":""},"didAgentChange":{"type":"boolean","title":"Didagentchange","description":"Whether the agent changed the query - determines if it gets applied or not","default":false},"results":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Results","description":"Result rows from the block, if available"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the context block"}},"type":"object","title":"ContextBlock"},"CreateDataAccessGrantRequest":{"properties":{"schemaPattern":{"type":"string","title":"Schemapattern","description":"Glob pattern for schema names"},"tablePattern":{"type":"string","title":"Tablepattern","description":"Glob pattern for table names"}},"type":"object","required":["schemaPattern","tablePattern"],"title":"CreateDataAccessGrantRequest"},"CreateDataAccessRoleRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Human-readable role name"},"isDefault":{"type":"boolean","title":"Isdefault","description":"Whether this role is the team default","default":false},"accessMode":{"type":"string","enum":["read_write","read_only"],"title":"Accessmode","description":"read_write (default) allows writes on visible tables; read_only restricts the role to SELECTs","default":"read_write"}},"type":"object","required":["name"],"title":"CreateDataAccessRoleRequest"},"CreateDocAutomationJobRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Job name (unique for resource)"},"resourceId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Resourceid","description":"Resource ID"},"trigger":{"oneOf":[{"$ref":"#/components/schemas/AutomationEventTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationNoneTriggerDetailsSchema"}],"title":"Trigger","description":"Trigger details","discriminator":{"propertyName":"type","mapping":{"event":"#/components/schemas/AutomationEventTriggerDetailsSchema","none":"#/components/schemas/AutomationNoneTriggerDetailsSchema","schedule":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"}}},"maxAttempts":{"type":"integer","title":"Maxattempts","description":"Max attempts allowed for job run","default":1},"resourceType":{"type":"string","const":"doc","title":"Resourcetype","description":"Resource type"},"destination":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AutomationNoneDestinationSchema"},{"$ref":"#/components/schemas/AutomationSlackDestinationSchema"},{"$ref":"#/components/schemas/AutomationEmailDestinationSchema"},{"$ref":"#/components/schemas/AutomationSheetsDestinationSchema"},{"$ref":"#/components/schemas/AutomationExcelDestinationSchema"},{"$ref":"#/components/schemas/AutomationGcsDestinationSchema"},{"$ref":"#/components/schemas/AutomationWebhookDestinationSchema"},{"$ref":"#/components/schemas/AutomationFiThreadDestinationSchema"}],"discriminator":{"propertyName":"type","mapping":{"email":"#/components/schemas/AutomationEmailDestinationSchema","excel":"#/components/schemas/AutomationExcelDestinationSchema","fi_thread":"#/components/schemas/AutomationFiThreadDestinationSchema","gcs":"#/components/schemas/AutomationGcsDestinationSchema","none":"#/components/schemas/AutomationNoneDestinationSchema","sheets":"#/components/schemas/AutomationSheetsDestinationSchema","slack":"#/components/schemas/AutomationSlackDestinationSchema","webhook":"#/components/schemas/AutomationWebhookDestinationSchema"}}},{"type":"null"}],"title":"Destination","description":"Destination details"}},"additionalProperties":false,"type":"object","required":["name","resourceId","trigger","resourceType"],"title":"CreateDocAutomationJobRequest"},"CreateDocRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Doc name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug","description":"Optional URL slug (must be unique within a team)"},"raw_yaml":{"type":"string","title":"Raw Yaml","description":"Raw YAML content (UTF-8)"},"is_public":{"type":"boolean","title":"Is Public","description":"Make doc public","default":false},"is_pinned":{"type":"boolean","title":"Is Pinned","description":"Initialize a doc to being pinned for team","default":false},"is_archived":{"type":"boolean","title":"Is Archived","description":"Archive doc (soft delete)","default":false},"permissions":{"anyOf":[{"additionalProperties":{"type":"string","enum":["read","write"]},"type":"object"},{"type":"null"}],"title":"Permissions","description":"Initial permissions for doc"}},"type":"object","required":["name","raw_yaml"],"title":"CreateDocRequest"},"CreateDuckLakeMaintenanceAutomationJobRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Job name (unique for resource)"},"resourceId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Resourceid","description":"Resource ID"},"trigger":{"oneOf":[{"$ref":"#/components/schemas/AutomationEventTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationNoneTriggerDetailsSchema"}],"title":"Trigger","description":"Trigger details","discriminator":{"propertyName":"type","mapping":{"event":"#/components/schemas/AutomationEventTriggerDetailsSchema","none":"#/components/schemas/AutomationNoneTriggerDetailsSchema","schedule":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"}}},"maxAttempts":{"type":"integer","title":"Maxattempts","description":"Max attempts allowed for job run","default":1},"resourceType":{"type":"string","const":"ducklake_integration_maintenance","title":"Resourcetype","description":"Resource type"},"details":{"$ref":"#/components/schemas/DuckLakeMaintenanceRequest","description":"DuckLake maintenance configuration (memory, steps, delete_threshold, ...)."}},"additionalProperties":false,"type":"object","required":["name","resourceId","trigger","resourceType"],"title":"CreateDuckLakeMaintenanceAutomationJobRequest"},"CreateIntegrationApiRequest":{"properties":{"type":{"$ref":"#/components/schemas/IntegrationType","description":"Integration type (e.g., postgres, mysql, stripe)"},"credentials":{"additionalProperties":true,"type":"object","title":"Credentials","description":"Integration credentials. For databases: host, port, database, username, password. For APIs: varies by integration type."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Optional display name for the integration"}},"type":"object","required":["type","credentials"],"title":"CreateIntegrationApiRequest","description":"Request body for creating a new integration via API."},"CreateIntegrationApiResponse":{"properties":{"integration":{"$ref":"#/components/schemas/Integration"},"message":{"type":"string","title":"Message","default":"Integration created successfully"}},"type":"object","required":["integration"],"title":"CreateIntegrationApiResponse","description":"Response for successful integration creation."},"CreateIntegrationRequest":{"properties":{"type":{"$ref":"#/components/schemas/IntegrationType","description":"Integration type"},"details":{"$ref":"#/components/schemas/AnyIntegrationDetailsSchema-Input"}},"type":"object","required":["type","details"],"title":"CreateIntegrationRequest"},"CreateNewTeamMemberRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email","description":"Email to add to team"}},"type":"object","required":["email"],"title":"CreateNewTeamMemberRequest"},"CreateProjectRequest":{"properties":{"name":{"type":"string","title":"Name","description":"Project name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"}},"type":"object","required":["name"],"title":"CreateProjectRequest"},"CreatePublicTokenRequest":{"properties":{"password":{"anyOf":[{"type":"string","maxLength":128,"minLength":4},{"type":"null"}],"title":"Password","description":"Optional password to protect the embed"}},"type":"object","title":"CreatePublicTokenRequest","description":"Request body when creating a new public token (optional)."},"CreatePublicTokenResponse":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Token ID"},"token":{"type":"string","title":"Token","description":"The token string"},"embed_url":{"type":"string","title":"Embed Url","description":"Full embed URL for the doc"},"hasPassword":{"type":"boolean","title":"Haspassword","description":"Whether this token is password-protected","default":false}},"type":"object","required":["id","token","embed_url"],"title":"CreatePublicTokenResponse","description":"Response when creating a new public token."},"CredentialSubmitRequest":{"properties":{"secrets":{"additionalProperties":{"type":"string"},"type":"object","title":"Secrets"}},"type":"object","required":["secrets"],"title":"CredentialSubmitRequest","description":"Request body for submitting credentials via the hosted page."},"CubeBuildStatusSchema":{"properties":{"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id","description":"Cube Integration ID"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"build_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Build Id","description":"Cloud build build identifier"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Build status"},"version":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Version","description":"Cube model version UUID"},"synced_model_version":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Synced Model Version","description":"Model version reported by cube"},"last_model_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Model Error","description":"Last model error"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time","description":"Build start time"},"finish_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finish Time","description":"Build finish time"}},"type":"object","required":["integration_id"],"title":"CubeBuildStatusSchema"},"CubeMemberSubset":{"properties":{"name":{"type":"string","title":"Name","description":"Full member name (e.g., 'sales.count')"},"title":{"type":"string","title":"Title","description":"Display title"},"type":{"type":"string","title":"Type","description":"Member type (string, number, time, etc.)"}},"type":"object","required":["name","title","type"],"title":"CubeMemberSubset","description":"Minimal Cube member info for public docs."},"CubeMetadataResponse":{"properties":{"version":{"type":"string","title":"Version","default":""},"type":{"type":"string","const":"cubes","title":"Type","default":"cubes"},"cubes":{"items":{"$ref":"#/components/schemas/ExtendedCubeMeta"},"type":"array","title":"Cubes"}},"type":"object","required":["cubes"],"title":"CubeMetadataResponse"},"CubeModelExistsSchema":{"properties":{"integration_id":{"type":"string","title":"Integration Id","description":"Requested integration id"},"prefix":{"type":"string","title":"Prefix","description":"Requested model path prefix"},"path":{"type":"string","title":"Path","description":"Requested model full path"},"exists":{"type":"boolean","title":"Exists","description":"Indicates whether the requested model exist"}},"type":"object","required":["integration_id","prefix","path","exists"],"title":"CubeModelExistsSchema"},"CubeModelListSchema":{"properties":{"tree":{"items":{"type":"string"},"type":"array","title":"Tree","description":"List of cube model files","default":[]}},"type":"object","title":"CubeModelListSchema"},"CubeObjectVersionListSchema":{"properties":{"versions":{"items":{"$ref":"#/components/schemas/CubeObjectVersionSchema"},"type":"array","title":"Versions","description":"Object versions"}},"type":"object","required":["versions"],"title":"CubeObjectVersionListSchema"},"CubeObjectVersionSchema":{"properties":{"generation":{"type":"integer","title":"Generation","description":"Object generation"},"size":{"type":"integer","title":"Size","description":"Object file size"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"Object update date"}},"type":"object","required":["generation","size","updated"],"title":"CubeObjectVersionSchema"},"CubeQueryFilterSchema":{"properties":{"member":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Member"},"dimension":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dimension"},"measure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measure"},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","gt","gte","lt","lte","set","notSet","inDateRange","notInDateRange","beforeDate","afterDate","startsWith","endsWith"],"title":"Operator","default":"equals"},"values":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Values"}},"type":"object","title":"CubeQueryFilterSchema","description":"Schema for filter in Cube query."},"CubeQueryOrderSchema":{"properties":{"id":{"type":"string","title":"Id"},"desc":{"type":"boolean","title":"Desc","default":false}},"type":"object","required":["id"],"title":"CubeQueryOrderSchema","description":"Schema for order in Cube query."},"CubeQuerySchema":{"properties":{"dimensions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dimensions"},"measures":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Measures"},"filters":{"anyOf":[{"items":{"$ref":"#/components/schemas/CubeQueryFilterSchema"},"type":"array"},{"type":"null"}],"title":"Filters"},"timeDimensions":{"anyOf":[{"items":{"$ref":"#/components/schemas/CubeQueryTimeDimensionSchema"},"type":"array"},{"type":"null"}],"title":"Timedimensions"},"segments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Segments"},"order":{"anyOf":[{"items":{"$ref":"#/components/schemas/CubeQueryOrderSchema"},"type":"array"},{"type":"null"}],"title":"Order"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"ungrouped":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ungrouped"}},"type":"object","title":"CubeQuerySchema","description":"Schema for Cube query request."},"CubeQueryTimeDimensionSchema":{"properties":{"dimension":{"type":"string","title":"Dimension"},"dateRange":{"anyOf":[{"type":"string"},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Daterange"},"compareDateRange":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2}]},"type":"array"},{"type":"null"}],"title":"Comparedaterange","description":"List of date ranges for period-over-period comparison. Mutually exclusive with dateRange."},"granularity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granularity"}},"type":"object","required":["dimension"],"title":"CubeQueryTimeDimensionSchema","description":"Schema for time dimension in Cube query."},"CubeSubset":{"properties":{"dimensions":{"items":{"$ref":"#/components/schemas/CubeMemberSubset"},"type":"array","title":"Dimensions","description":"Dimensions used by this doc"},"measures":{"items":{"$ref":"#/components/schemas/CubeMemberSubset"},"type":"array","title":"Measures","description":"Measures used by this doc"}},"type":"object","title":"CubeSubset","description":"Minimal Cube info for public docs."},"CursorPage_DagRunSchema_":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Page limit"},"offset":{"type":"integer","title":"Offset","description":"Page offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Attribute that the items are ordered by","default":""},"ascending":{"type":"boolean","title":"Ascending","description":"Whether items are in ascending order"},"data":{"items":{"$ref":"#/components/schemas/DagRunSchema"},"type":"array","title":"Data","description":"List of items","default":[]},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional additional metadata"}},"type":"object","required":["limit","offset","ascending"],"title":"CursorPage[DagRunSchema]"},"CursorPage_DocHistory_":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Page limit"},"offset":{"type":"integer","title":"Offset","description":"Page offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Attribute that the items are ordered by","default":""},"ascending":{"type":"boolean","title":"Ascending","description":"Whether items are in ascending order"},"data":{"items":{"$ref":"#/components/schemas/DocHistory"},"type":"array","title":"Data","description":"List of items","default":[]},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional additional metadata"}},"type":"object","required":["limit","offset","ascending"],"title":"CursorPage[DocHistory]"},"CursorPage_Doc_":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Page limit"},"offset":{"type":"integer","title":"Offset","description":"Page offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Attribute that the items are ordered by","default":""},"ascending":{"type":"boolean","title":"Ascending","description":"Whether items are in ascending order"},"data":{"items":{"$ref":"#/components/schemas/Doc"},"type":"array","title":"Data","description":"List of items","default":[]},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional additional metadata"}},"type":"object","required":["limit","offset","ascending"],"title":"CursorPage[Doc]"},"CursorPage_Integration_":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Page limit"},"offset":{"type":"integer","title":"Offset","description":"Page offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Attribute that the items are ordered by","default":""},"ascending":{"type":"boolean","title":"Ascending","description":"Whether items are in ascending order"},"data":{"items":{"$ref":"#/components/schemas/Integration"},"type":"array","title":"Data","description":"List of items","default":[]},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional additional metadata"}},"type":"object","required":["limit","offset","ascending"],"title":"CursorPage[Integration]"},"CursorPage_SlackChannel_":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Page limit"},"offset":{"type":"integer","title":"Offset","description":"Page offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Attribute that the items are ordered by","default":""},"ascending":{"type":"boolean","title":"Ascending","description":"Whether items are in ascending order"},"data":{"items":{"$ref":"#/components/schemas/SlackChannel"},"type":"array","title":"Data","description":"List of items","default":[]},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional additional metadata"}},"type":"object","required":["limit","offset","ascending"],"title":"CursorPage[SlackChannel]"},"DagRunDetails":{"properties":{"temp_db_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temp Db File","description":"Temporary DB file path. Only used in duckdb runs."},"prior_meltano_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Prior Meltano State","description":"Meltano state before running."},"post_meltano_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Post Meltano State","description":"Meltano state after running."},"airflow_merge":{"type":"boolean","title":"Airflow Merge","description":"Whether the run is using airflow dag to merge.","default":false}},"type":"object","title":"DagRunDetails"},"DagRunSchema":{"properties":{"dag_name":{"type":"string","title":"Dag Name","description":"Name of the DAG"},"run_id":{"type":"string","title":"Run Id","description":"Unique ID for this DAG run"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp when updated"},"src_integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Src Integration Id","description":"Source integration UUID"},"dst_integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Dst Integration Id","description":"Destination integration UUID"},"status":{"anyOf":[{"$ref":"#/components/schemas/DagRunStatus"},{"type":"null"}],"description":"Status of DAG run"},"details":{"$ref":"#/components/schemas/DagRunDetails","description":"Detailed run information"}},"type":"object","required":["dag_name","run_id","src_integration_id","dst_integration_id"],"title":"DagRunSchema"},"DagRunStatus":{"type":"string","enum":["STARTED","SUCCESS","FAILED"],"title":"DagRunStatus"},"DataAccessGrant":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Id","description":"Unique grant identifier (DB-generated)"},"roleId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Roleid","description":"Parent data-access role"},"schemaPattern":{"type":"string","title":"Schemapattern","description":"Glob pattern matched against the DuckLake schema name"},"tablePattern":{"type":"string","title":"Tablepattern","description":"Glob pattern matched against the table name"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Creation timestamp (DB-generated)"}},"type":"object","required":["roleId","schemaPattern","tablePattern"],"title":"DataAccessGrant","description":"An allowlist entry that maps a data-access role to a set of visible tables.\n\nUses glob-style patterns: ``*`` matches everything, ``sales_*`` matches\ntables prefixed with ``sales_``. Role with no grants has no access;\na grant of ``schema_pattern='*', table_pattern='*'`` means full access."},"DataAccessRole":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Id","description":"Unique role identifier (DB-generated)"},"teamId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Teamid","description":"Owning team"},"name":{"type":"string","title":"Name","description":"Human-readable role name"},"isDefault":{"type":"boolean","title":"Isdefault","description":"Whether this role is automatically assigned to new team members","default":false},"accessMode":{"type":"string","enum":["read_write","read_only"],"title":"Accessmode","description":"Whether the role may issue write statements (INSERT/UPDATE/DELETE/MERGE/DDL/COPY) against visible tables. Defaults to read_write.","default":"read_write"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Creation timestamp (DB-generated)"}},"type":"object","required":["teamId","name"],"title":"DataAccessRole"},"DataAppQueryRequest":{"properties":{"drive_file":{"type":"string","title":"Drive File","description":"Path to the published data-app HTML artifact in Drive"},"resource_key":{"type":"string","title":"Resource Key","description":"Resource key from app.json to execute. Intentionally snake_case on the wire to match DataAppResolveRequest; the runtime sends this field as snake_case so there is no camelCase alias. Don't 'fix' this to resourceKey without also updating defapi/.../definite-runtime.tsx."}},"type":"object","required":["drive_file","resource_key"],"title":"DataAppQueryRequest","description":"Request shape for ``POST /v4/data-apps/query``.\n\nThe browser's data-apps runtime sends this to fetch live query results for\na manifest-backed SQL or Cube resource, applying any required_filters that\nlive on the authenticated embedded user.\n\nBoth fields use snake_case on the wire to match ``DataAppResolveRequest``.\nThe runtime in ``definite-runtime.tsx`` sends ``{drive_file, resource_key}``\ndirectly, so no camelCase alias is needed."},"DataAppResolveRequest":{"properties":{"drive_file":{"type":"string","title":"Drive File","description":"Published data-apps HTML driveFile path"},"key":{"type":"string","title":"Key","description":"Resource key from the app manifest"},"kind":{"type":"string","enum":["dataset","json"],"title":"Kind","description":"Expected resource kind"},"mode":{"type":"string","enum":["auto","live","snapshot"],"title":"Mode","description":"Requested resolution mode","default":"auto"}},"type":"object","required":["drive_file","key","kind"],"title":"DataAppResolveRequest"},"DataAppResolveResponse":{"properties":{"key":{"type":"string","title":"Key","description":"Resolved resource key"},"kind":{"type":"string","enum":["dataset","json"],"title":"Kind","description":"Resolved resource kind"},"resolvedMode":{"type":"string","enum":["live","snapshot"],"title":"Resolvedmode","description":"Effective runtime mode"},"source":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Source","description":"Normalized resource source object"},"snapshot":{"anyOf":[{"$ref":"#/components/schemas/DataAppSnapshotRef"},{"type":"null"}],"description":"Normalized snapshot metadata"},"downloadUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Downloadurl","description":"Signed download URL if applicable"},"manifestVersion":{"type":"integer","title":"Manifestversion","description":"Embedded manifest version"}},"type":"object","required":["key","kind","resolvedMode","manifestVersion"],"title":"DataAppResolveResponse"},"DataAppSnapshotRef":{"properties":{"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","description":"Snapshot format, for example json or duckdb"},"drivePath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Drivepath","description":"Drive path for the snapshot"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Signed or public GCS URL"},"alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alias","description":"Optional DuckDB alias for duckdbFile resources"}},"type":"object","title":"DataAppSnapshotRef"},"DatabaseSchemaResponse":{"properties":{"version":{"type":"string","title":"Version","default":""},"type":{"type":"string","const":"databases","title":"Type","default":"databases"},"databases":{"items":{"oneOf":[{"$ref":"#/components/schemas/DatabaseWithTables"},{"$ref":"#/components/schemas/DatabaseWithSchemas"}],"discriminator":{"propertyName":"childType","mapping":{"schemas":"#/components/schemas/DatabaseWithSchemas","tables":"#/components/schemas/DatabaseWithTables"}}},"type":"array","title":"Databases"}},"type":"object","required":["databases"],"title":"DatabaseSchemaResponse"},"DatabaseWithSchemas":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Optional tags","default":[]},"childType":{"type":"string","const":"schemas","title":"Childtype"},"schemas":{"items":{"$ref":"#/components/schemas/Schema"},"type":"array","title":"Schemas"}},"type":"object","required":["name","path","childType","schemas"],"title":"DatabaseWithSchemas"},"DatabaseWithTables":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Optional tags","default":[]},"childType":{"type":"string","const":"tables","title":"Childtype"},"tables":{"items":{"$ref":"#/components/schemas/Table"},"type":"array","title":"Tables"}},"type":"object","required":["name","path","childType","tables"],"title":"DatabaseWithTables"},"DatasetExecuteResponse":{"properties":{"rows":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Rows","description":"Result rows"},"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Schema","description":"Column schema"},"html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html","description":"HTML content for html tiles"},"error":{"type":"boolean","title":"Error","description":"Flag indicating if an error occurred","default":false},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Optional developer message"},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"Generated SQL query (for debug)"},"sql_args":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Sql Args","description":"SQL query parameters (for debug)"},"cached":{"type":"boolean","title":"Cached","description":"Whether the result was served from cache.","default":false},"duckdbJobId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duckdbjobid","description":"DuckDB job ID for SQL execution logs, status polling, and failure diagnostics."},"executionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Executionid","description":"ID for fetching execution logs via /v4/executions/{id}/logs"}},"type":"object","title":"DatasetExecuteResponse"},"Doc":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Doc ID"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Team ID"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id","description":"User ID"},"name":{"type":"string","title":"Name","description":"Doc name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug","description":"Optional URL slug (must be unique within a team)"},"raw_yaml":{"type":"string","title":"Raw Yaml","description":"Raw YAML content (UTF-8)"},"version":{"type":"integer","title":"Version","description":"Version number","default":1},"details":{"$ref":"#/components/schemas/DocDetails","description":"Doc metadata"},"is_public":{"type":"boolean","title":"Is Public","description":"Doc is public (outside of team)","default":false},"is_archived":{"type":"boolean","title":"Is Archived","description":"Grave marker for soft deletion","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Doc created at"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Doc updated at"},"permissions":{"additionalProperties":{"type":"string","enum":["read","write"]},"type":"object","title":"Permissions","description":"Permission mapping"},"is_pinned":{"type":"boolean","title":"Is Pinned","description":"Deprecated: use is_pinned_by_user instead","default":false},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Project Id","description":"Optional project this doc belongs to"},"is_pinned_by_user":{"type":"boolean","title":"Is Pinned By User","description":"Pinned by the requesting user","default":false},"user_last_viewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"User Last Viewed At","description":"Last viewed by the requesting user"}},"type":"object","required":["team_id","user_id","name","raw_yaml","details"],"title":"Doc"},"DocDetails":{"properties":{"parse_error":{"$ref":"#/components/schemas/DocDetailsParseError"}},"type":"object","title":"DocDetails"},"DocDetailsParseError":{"properties":{"details":{"type":"string","title":"Details"}},"type":"object","title":"DocDetailsParseError"},"DocExecuteRequest":{"properties":{"datasets":{"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/ExecuteDatasetWithCubeEngineRequest"},{"$ref":"#/components/schemas/ExecuteDatasetWithSqlEngineRequest"},{"$ref":"#/components/schemas/ExecuteDatasetWithPythonEngineRequest"}],"discriminator":{"propertyName":"engine","mapping":{"cube":"#/components/schemas/ExecuteDatasetWithCubeEngineRequest","python":"#/components/schemas/ExecuteDatasetWithPythonEngineRequest","sql":"#/components/schemas/ExecuteDatasetWithSqlEngineRequest"}}},"type":"object","title":"Datasets"}},"type":"object","required":["datasets"],"title":"DocExecuteRequest"},"DocExecuteResponse":{"properties":{"results":{"additionalProperties":{"$ref":"#/components/schemas/DatasetExecuteResponse"},"type":"object","title":"Results"}},"type":"object","required":["results"],"title":"DocExecuteResponse"},"DocHistory":{"properties":{"id":{"type":"integer","title":"Id","description":"Doc history ID"},"doc_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id","description":"Doc ID"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id","description":"User ID"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Team ID"},"raw_yaml":{"type":"string","title":"Raw Yaml","description":"Raw YAML"},"version":{"type":"integer","title":"Version","description":"Doc version number"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Updated at"}},"type":"object","required":["id","doc_id","user_id","team_id","raw_yaml","version","updated_at"],"title":"DocHistory"},"DocPublicToken":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Token ID"},"doc_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Doc Id","description":"Doc this token grants access to"},"token":{"type":"string","title":"Token","description":"64-char hex string for URL"},"created_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Created By","description":"User who created this token"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When token was created"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At","description":"When token was revoked (null if active)"},"last_accessed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Accessed At","description":"Last time token was used"},"access_count":{"type":"integer","title":"Access Count","description":"Number of times token has been used","default":0},"hasPassword":{"type":"boolean","title":"Haspassword","description":"Whether this token requires a password to access.","readOnly":true}},"type":"object","required":["doc_id","token","created_by","hasPassword"],"title":"DocPublicToken","description":"A token that grants public access to a doc without authentication."},"DocSnapshotResponse":{"properties":{"snapshotId":{"type":"string","title":"Snapshotid","description":"Unique snapshot job identifier"},"docId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Docid","description":"Doc that was captured"},"status":{"$ref":"#/components/schemas/DocSnapshotStatus","description":"Current status of the snapshot job"},"format":{"type":"string","title":"Format","description":"Output format","default":"png"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"When the snapshot was requested"},"completedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completedat","description":"When the snapshot finished"},"imageSizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imagesizebytes","description":"Size of the captured image in bytes"},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Errormessage","description":"Error message if the snapshot failed"}},"type":"object","required":["snapshotId","docId","status","createdAt"],"title":"DocSnapshotResponse"},"DocSnapshotStatus":{"type":"string","enum":["pending","capturing","completed","failed"],"title":"DocSnapshotStatus"},"DriveApiUploadUrlRequest":{"properties":{"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path","description":"Destination path within the drive (e.g., 'data/reports/q4.csv'). Required when temporary=False; ignored when temporary=True (the server chooses a path)."},"temporary":{"type":"boolean","title":"Temporary","description":"If True, the file is written under '_tmp/<date>/<uuid>/...' and auto-deleted after ttl_days via a GCS lifecycle rule on the bucket's customTime. path is ignored.","default":false},"ttl_days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Ttl Days","description":"Only applies when temporary=True. Days until the temporary file is auto-deleted.","default":7},"filename_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename Hint","description":"Only applies when temporary=True. Suggested filename (preserves suffix for UX)."}},"type":"object","title":"DriveApiUploadUrlRequest","description":"Request to generate a signed URL for uploading to Definite Drive (API)."},"DriveDownloadUrlResponse":{"properties":{"download_url":{"type":"string","title":"Download Url","description":"Signed GET URL for downloading the file"},"file_name":{"type":"string","title":"File Name","description":"Name of the file"},"expires_in":{"type":"integer","title":"Expires In","description":"Seconds until the URL expires"}},"type":"object","required":["download_url","file_name","expires_in"],"title":"DriveDownloadUrlResponse","description":"Response containing signed URL for downloading a file from Definite Drive."},"DriveFile":{"properties":{"name":{"type":"string","title":"Name","description":"Filename only (e.g., 'report.csv')"},"path":{"type":"string","title":"Path","description":"Full path within drive (e.g., 'data/reports/report.csv')"},"size":{"type":"integer","title":"Size","description":"File size in bytes"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the file was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"When the file was last modified"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type","description":"MIME type of the file"}},"type":"object","required":["name","path","size","created_at","updated_at"],"title":"DriveFile","description":"Metadata for a file in Definite Drive."},"DriveFileVersion":{"properties":{"generation":{"type":"integer","title":"Generation","description":"GCS generation ID"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"When this generation was written"},"size_bytes":{"type":"integer","title":"Size Bytes","description":"Size of this generation in bytes"},"is_current":{"type":"boolean","title":"Is Current","description":"True if this is the live generation"}},"type":"object","required":["generation","updated","size_bytes","is_current"],"title":"DriveFileVersion","description":"A single retained generation of a Drive file."},"DriveFolderCreateRequest":{"properties":{"path":{"type":"string","title":"Path","description":"Folder path to create (e.g., 'reports/2024')"}},"type":"object","required":["path"],"title":"DriveFolderCreateRequest","description":"Request to create a folder in Definite Drive."},"DriveFolderCreateResponse":{"properties":{"path":{"type":"string","title":"Path","description":"Path of the created folder"}},"type":"object","required":["path"],"title":"DriveFolderCreateResponse","description":"Response for folder creation."},"DriveListResponse":{"properties":{"files":{"items":{"$ref":"#/components/schemas/DriveFile"},"type":"array","title":"Files","description":"List of files"},"total_count":{"type":"integer","title":"Total Count","description":"Total number of files"}},"type":"object","required":["files","total_count"],"title":"DriveListResponse","description":"Response containing list of files in Definite Drive."},"DriveRestoreRequest":{"properties":{"path":{"type":"string","title":"Path","description":"Drive-relative path of the file to restore"},"generation":{"type":"integer","title":"Generation","description":"GCS generation ID to restore as the new live version"}},"type":"object","required":["path","generation"],"title":"DriveRestoreRequest","description":"Request body for restoring a Drive file to a prior generation."},"DriveRestoreResponse":{"properties":{"path":{"type":"string","title":"Path","description":"Drive-relative path that was restored"},"new_generation":{"type":"integer","title":"New Generation","description":"New live generation ID after the restore"},"restored_from":{"type":"integer","title":"Restored From","description":"Generation ID that was promoted to live"},"updated":{"type":"string","format":"date-time","title":"Updated","description":"Timestamp of the new live generation"},"size_bytes":{"type":"integer","title":"Size Bytes","description":"Size of the restored file in bytes"}},"type":"object","required":["path","new_generation","restored_from","updated","size_bytes"],"title":"DriveRestoreResponse","description":"Response after a successful Drive file restore."},"DriveUploadUrlRequest":{"properties":{"file_name":{"type":"string","title":"File Name","description":"Name of the file to upload"},"folder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder","description":"Optional folder path to upload to (e.g., 'reports/2024')"}},"type":"object","required":["file_name"],"title":"DriveUploadUrlRequest","description":"Request to generate a signed URL for uploading to Definite Drive (frontend)."},"DriveUploadUrlResponse":{"properties":{"upload_url":{"type":"string","title":"Upload Url","description":"Signed PUT URL for direct upload to GCS"},"http_method":{"type":"string","title":"Http Method","description":"HTTP method to use with upload_url","default":"PUT"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers","description":"Headers that the client MUST send with the upload request. Includes Content-Type and, for temporary uploads, X-Goog-Custom-Time."},"gcs_path":{"type":"string","title":"Gcs Path","description":"Full GCS path where the file will be stored"},"drive_path":{"type":"string","title":"Drive Path","description":"Path in sandbox where the file will be accessible: /home/user/drive/{file_name}"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At","description":"When the file will be auto-deleted. Only set for temporary uploads."}},"type":"object","required":["upload_url","gcs_path","drive_path"],"title":"DriveUploadUrlResponse","description":"Response containing signed URL and instructions for direct GCS upload."},"DriveVersionListResponse":{"properties":{"path":{"type":"string","title":"Path","description":"Drive-relative path that was queried"},"versions":{"items":{"$ref":"#/components/schemas/DriveFileVersion"},"type":"array","title":"Versions","description":"Versions sorted newest first"}},"type":"object","required":["path","versions"],"title":"DriveVersionListResponse","description":"Response listing retained generations for a Drive file path."},"DuckDBBatchJobResultResponse":{"properties":{"jobId":{"type":"string","title":"Jobid","description":"Job identifier"},"results":{"items":{"$ref":"#/components/schemas/DuckDBBatchQueryResult"},"type":"array","title":"Results","description":"Per-query results, index-aligned with the original request's queries list"},"durationMs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationms","description":"Total job execution duration in milliseconds"}},"type":"object","required":["jobId","results"],"title":"DuckDBBatchJobResultResponse"},"DuckDBBatchQueryResult":{"properties":{"queryIndex":{"type":"integer","title":"Queryindex","description":"Zero-based index of this query in the original batch"},"data":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Data","description":"Query result rows (empty for exec queries)"},"rowCount":{"type":"integer","title":"Rowcount","description":"Number of rows returned"}},"type":"object","required":["queryIndex","rowCount"],"title":"DuckDBBatchQueryResult"},"DuckDBJobResponse":{"properties":{"jobId":{"type":"string","title":"Jobid","description":"Unique job identifier (e.g., 'duckdb-job-abc123')"},"status":{"$ref":"#/components/schemas/DuckDBJobStatus","description":"Current job status"},"teamId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Teamid","description":"Team that submitted the job"},"userId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Userid","description":"User that submitted the job"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Integration used"},"blockId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Blockid","description":"Associated block ID"},"queryType":{"anyOf":[{"$ref":"#/components/schemas/DuckDBQueryType"},{"type":"null"}],"description":"Query type"},"cpu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cpu","description":"CPU resources requested"},"memory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory","description":"Memory requested"},"timeoutSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeoutseconds","description":"Job timeout"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Job submission time"}},"type":"object","required":["jobId","status"],"title":"DuckDBJobResponse"},"DuckDBJobResultResponse":{"properties":{"jobId":{"type":"string","title":"Jobid","description":"Job identifier"},"data":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Data","description":"Query result rows"},"rowCount":{"type":"integer","title":"Rowcount","description":"Number of rows returned"},"durationMs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationms","description":"Job execution duration in milliseconds"}},"type":"object","required":["jobId","rowCount"],"title":"DuckDBJobResultResponse"},"DuckDBJobStatus":{"type":"string","enum":["pending","running","succeeded","failed","unknown"],"title":"DuckDBJobStatus","description":"Status of an async DuckDB K8s job."},"DuckDBQueryType":{"type":"string","enum":["json","arrow","exec","batch"],"title":"DuckDBQueryType"},"DuckLakeHealthReport":{"properties":{"environment":{"type":"string","title":"Environment","description":"Environment the report was generated for"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Timestamp of report generation"},"totalTeams":{"type":"integer","title":"Totalteams","description":"Total number of teams with ducklake catalogs"},"healthyCount":{"type":"integer","title":"Healthycount","description":"Number of healthy teams"},"warningCount":{"type":"integer","title":"Warningcount","description":"Number of teams with warnings"},"criticalCount":{"type":"integer","title":"Criticalcount","description":"Number of teams in critical state"},"teams":{"items":{"$ref":"#/components/schemas/DuckLakeTeamHealth"},"type":"array","title":"Teams","description":"Per-team health details, sorted by severity"}},"type":"object","required":["environment","timestamp","totalTeams","healthyCount","warningCount","criticalCount","teams"],"title":"DuckLakeHealthReport"},"DuckLakeMaintenanceAttemptSyncResponse":{"properties":{"attemptId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attemptid","description":"Reconciled automation run attempt id, if one exists"},"attemptStatus":{"anyOf":[{"type":"string","enum":["running","success","failure","expired"]},{"type":"null"}],"title":"Attemptstatus","description":"Attempt status after reconciliation (unchanged when not reconciled)"},"verdictOutcome":{"type":"string","title":"Verdictoutcome","description":"Prior maintenance verdict: in_flight, terminal, failed, not_current, status_unavailable, no_maintenance_attempt, or integration_not_found"},"maintenanceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenanceid","description":"DuckLake maintenance run id from the attempt metadata"},"jobStatus":{"anyOf":[{"type":"string","enum":["pending","running","succeeded","failed","unknown"]},{"type":"null"}],"title":"Jobstatus","description":"K8s maintenance job status from the verdict, when available"},"reconciled":{"type":"boolean","title":"Reconciled","description":"Whether the attempt row was updated in the database","default":false}},"type":"object","required":["verdictOutcome"],"title":"DuckLakeMaintenanceAttemptSyncResponse"},"DuckLakeMaintenanceJobLogsResponse":{"properties":{"jobId":{"type":"string","title":"Jobid","description":"K8s batch job name"},"maintenanceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenanceid","description":"Maintenance run ID from job labels"},"logs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logs","description":"Tail of pod logs for the maintenance job"}},"type":"object","required":["jobId"],"title":"DuckLakeMaintenanceJobLogsResponse"},"DuckLakeMaintenanceJobResponse":{"properties":{"jobId":{"type":"string","title":"Jobid","description":"K8s batch job name for polling"},"maintenanceId":{"type":"string","title":"Maintenanceid","description":"ID used to track steps in __definite.maintenance"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integrationid","description":"DuckLake integration used"},"status":{"$ref":"#/components/schemas/DuckDBJobStatus","description":"Initial job status"}},"type":"object","required":["jobId","maintenanceId","integrationId","status"],"title":"DuckLakeMaintenanceJobResponse"},"DuckLakeMaintenanceRequest":{"properties":{"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/DuckLakeMaintenanceStepName"},"type":"array"},{"type":"null"}],"title":"Steps","description":"Subset of maintenance steps to run. If omitted, all steps run. Steps are always executed in the canonical order regardless of input order."},"deleteThreshold":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Deletethreshold","description":"Delete ratio threshold for ducklake_rewrite_data_files (0.0–1.0). Files with a delete ratio above this value are rewritten. Default is 0.95 if omitted."},"expireSnapshotsOlderThan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiresnapshotsolderthan","description":"Interval for ducklake_expire_snapshots older_than parameter (e.g. '1 week', '1 month'). Snapshots older than this are expired. If omitted, the integration's history_days setting is used."},"cleanupAll":{"type":"boolean","title":"Cleanupall","description":"When true, ducklake_cleanup_old_files and ducklake_delete_orphaned_files clean up all files regardless of age. When false, DuckLake's default age-based behaviour is used.","default":true},"cpu":{"type":"string","title":"Cpu","description":"CPU cores for the K8s job in Kubernetes format (e.g., '4', '15', '500m'). Defaults to 15 cores.","default":"15"},"memory":{"type":"string","title":"Memory","description":"Memory for the K8s job in Kubernetes format (e.g., '96Gi', '192Gi'). Increase for catalogs with many files (150K+). Defaults to 96Gi.","default":"96Gi"},"timeoutSeconds":{"type":"integer","maximum":604800.0,"minimum":60.0,"title":"Timeoutseconds","description":"Pod timeout in seconds for the maintenance K8s job (60–604800). Defaults to 43200 (12 hours).","default":43200},"thinKeepLast":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Thinkeeplast","description":"Always keep the N most recent snapshots (safety floor)","default":10},"thinKeepDailyForDays":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Thinkeepdailyfordays","description":"Keep 1 snapshot per day for the last D days","default":7},"vacuumFull":{"type":"boolean","title":"Vacuumfull","description":"When true (default), the vacuum_catalog step runs VACUUM FULL ANALYZE, rewriting catalog metadata tables to reclaim bloat and refresh pg_stat row counts. When false, runs VACUUM ANALYZE only.","default":true},"mergeConcurrency":{"type":"integer","maximum":32.0,"minimum":1.0,"title":"Mergeconcurrency","description":"Number of tables to merge in parallel. Higher values speed up catalogs with many tables but use more memory. Defaults to 4.","default":4},"runThreshold":{"$ref":"#/components/schemas/DuckLakeMaintenanceRunThreshold","description":"Catalog health severity gate for scheduled maintenance.","default":"critical"}},"additionalProperties":false,"type":"object","title":"DuckLakeMaintenanceRequest"},"DuckLakeMaintenanceRunThreshold":{"type":"string","enum":["any","warning","critical"],"title":"DuckLakeMaintenanceRunThreshold","description":"Minimum catalog health severity at which scheduled maintenance runs."},"DuckLakeMaintenanceSchedule":{"properties":{"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/DuckLakeMaintenanceStepName"},"type":"array"},{"type":"null"}],"title":"Steps","description":"Subset of maintenance steps to run. If omitted, all steps run. Steps are always executed in the canonical order regardless of input order."},"deleteThreshold":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Deletethreshold","description":"Delete ratio threshold for ducklake_rewrite_data_files (0.0–1.0). Files with a delete ratio above this value are rewritten. Default is 0.95 if omitted."},"expireSnapshotsOlderThan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiresnapshotsolderthan","description":"Interval for ducklake_expire_snapshots older_than parameter (e.g. '1 week', '1 month'). Snapshots older than this are expired. If omitted, the integration's history_days setting is used."},"cleanupAll":{"type":"boolean","title":"Cleanupall","description":"When true, ducklake_cleanup_old_files and ducklake_delete_orphaned_files clean up all files regardless of age. When false, DuckLake's default age-based behaviour is used.","default":true},"cpu":{"type":"string","title":"Cpu","description":"CPU cores for the K8s job in Kubernetes format (e.g., '4', '15', '500m'). Defaults to 15 cores.","default":"15"},"memory":{"type":"string","title":"Memory","description":"Memory for the K8s job in Kubernetes format (e.g., '96Gi', '192Gi'). Increase for catalogs with many files (150K+). Defaults to 96Gi.","default":"96Gi"},"timeoutSeconds":{"type":"integer","maximum":604800.0,"minimum":60.0,"title":"Timeoutseconds","description":"Pod timeout in seconds for the maintenance K8s job (60–604800). Defaults to 43200 (12 hours).","default":43200},"thinKeepLast":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Thinkeeplast","description":"Always keep the N most recent snapshots (safety floor)","default":10},"thinKeepDailyForDays":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Thinkeepdailyfordays","description":"Keep 1 snapshot per day for the last D days","default":7},"vacuumFull":{"type":"boolean","title":"Vacuumfull","description":"When true (default), the vacuum_catalog step runs VACUUM FULL ANALYZE, rewriting catalog metadata tables to reclaim bloat and refresh pg_stat row counts. When false, runs VACUUM ANALYZE only.","default":true},"mergeConcurrency":{"type":"integer","maximum":32.0,"minimum":1.0,"title":"Mergeconcurrency","description":"Number of tables to merge in parallel. Higher values speed up catalogs with many tables but use more memory. Defaults to 4.","default":4},"runThreshold":{"$ref":"#/components/schemas/DuckLakeMaintenanceRunThreshold","description":"Catalog health severity gate for scheduled maintenance.","default":"critical"},"cron":{"type":"string","title":"Cron","description":"5-field cron expression in UTC (pg_cron compatible). Minimum interval 24 hours."},"enabled":{"type":"boolean","title":"Enabled","description":"Whether the scheduled maintenance job is enabled","default":true}},"additionalProperties":false,"type":"object","required":["cron"],"title":"DuckLakeMaintenanceSchedule"},"DuckLakeMaintenanceScheduleResponse":{"properties":{"jobId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Jobid","description":"Underlying automation job ID"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integrationid"},"kind":{"type":"string","enum":["full","daily"],"title":"Kind","description":"Which maintenance schedule this is: 'full' (weekly) or 'daily'."},"cron":{"type":"string","title":"Cron"},"enabled":{"type":"boolean","title":"Enabled"},"schedule":{"$ref":"#/components/schemas/DuckLakeMaintenanceRequest","description":"Persisted DuckLakeMaintenanceRequest payload (camelCase via aliases)"}},"type":"object","required":["jobId","integrationId","kind","cron","enabled","schedule"],"title":"DuckLakeMaintenanceScheduleResponse"},"DuckLakeMaintenanceStatusResponse":{"properties":{"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"DuckLake integration whose maintenance status this is"},"jobId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jobid","description":"K8s batch job name of the active/latest job"},"maintenanceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenanceid","description":"Maintenance run ID in __definite.maintenance"},"jobStatus":{"anyOf":[{"$ref":"#/components/schemas/DuckDBJobStatus"},{"type":"null"}],"description":"K8s job status"},"steps":{"items":{"$ref":"#/components/schemas/DuckLakeMaintenanceStep"},"type":"array","title":"Steps","description":"Per-step progress, ordered by execution sequence"},"lastCompletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastcompletedat","description":"Timestamp of the last successful maintenance completion"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Last error message if the job failed (tail of pod logs)"},"deleteThreshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Deletethreshold","description":"Delete ratio threshold used for ducklake_rewrite_data_files"},"expireSnapshotsOlderThan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiresnapshotsolderthan","description":"Interval used for ducklake_expire_snapshots older_than parameter"},"cleanupAll":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cleanupall","description":"Whether cleanup steps used cleanup_all => true"},"thinKeepLast":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thinkeeplast","description":"Number of most recent snapshots kept during thinning"},"thinKeepDailyForDays":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thinkeepdailyfordays","description":"Number of days for which 1 snapshot/day was kept during thinning"}},"type":"object","title":"DuckLakeMaintenanceStatusResponse"},"DuckLakeMaintenanceStep":{"properties":{"step":{"$ref":"#/components/schemas/DuckLakeMaintenanceStepName","description":"Maintenance step name"},"status":{"$ref":"#/components/schemas/DuckLakeMaintenanceStepStatus","description":"Step execution status"},"startedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Startedat","description":"When the step started running"},"completedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completedat","description":"When the step completed successfully"}},"type":"object","required":["step","status"],"title":"DuckLakeMaintenanceStep"},"DuckLakeMaintenanceStepName":{"type":"string","enum":["flush_inlined_data","thin_snapshots","expire_snapshots","merge_adjacent_files","rewrite_data_files","cleanup_old_files","delete_orphaned_files","vacuum_catalog"],"title":"DuckLakeMaintenanceStepName"},"DuckLakeMaintenanceStepStatus":{"type":"string","enum":["pending","running","completed","failed","skipped"],"title":"DuckLakeMaintenanceStepStatus"},"DuckLakeSeverity":{"type":"string","enum":["healthy","warning","critical"],"title":"DuckLakeSeverity"},"DuckLakeStorageSizeResponse":{"properties":{"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integrationid","description":"DuckLake integration these sizes belong to"},"catalogSizeBytes":{"type":"integer","title":"Catalogsizebytes","description":"Live catalog-tracked storage in bytes (current snapshot data files)","default":0},"gcsSizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gcssizebytes","description":"Actual on-storage usage in bytes under the team's GCS bucket prefix (tracked + orphaned), or null when the scan could not be completed (transient GCS error or missing per-team prefix)"}},"type":"object","required":["integrationId"],"title":"DuckLakeStorageSizeResponse"},"DuckLakeTeamHealth":{"properties":{"teamSchema":{"type":"string","title":"Teamschema","description":"Postgres schema name for the team"},"teamId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Teamid","description":"Team UUID extracted from schema name"},"teamDomain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Teamdomain","description":"Domain name for the team"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"DuckLake integration ID for this team"},"dataFiles":{"type":"integer","title":"Datafiles","description":"Row count in ducklake_data_file table"},"snapshots":{"type":"integer","title":"Snapshots","description":"Row count in ducklake_snapshot table"},"columnStats":{"type":"integer","title":"Columnstats","description":"Row count in ducklake_file_column_stats table"},"deleteFiles":{"type":"integer","title":"Deletefiles","description":"Count of delete files still referenced by a live (non-expired) snapshot"},"severity":{"$ref":"#/components/schemas/DuckLakeSeverity","description":"Health severity level based on row count thresholds"},"healthScore":{"type":"integer","title":"Healthscore","description":"Numeric health score (higher = worse)"}},"type":"object","required":["teamSchema","teamId","dataFiles","snapshots","columnStats","deleteFiles","severity","healthScore"],"title":"DuckLakeTeamHealth"},"DuplicateDocRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Override name for the new doc (default 'Copy of {source.name}')"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Override description (default copied from source)"}},"type":"object","title":"DuplicateDocRequest"},"E2BSandboxTier":{"type":"string","enum":["small","medium","large"]},"EmailMessageRequest":{"properties":{"toEmails":{"items":{"type":"string","format":"email"},"type":"array","minItems":1,"title":"Toemails","description":"List of recipient email addresses (validated)"},"subject":{"type":"string","title":"Subject","description":"Email subject line"},"body":{"type":"string","title":"Body","description":"Email body content (HTML supported)"}},"type":"object","required":["toEmails","subject","body"],"title":"EmailMessageRequest"},"EmailMessageResponse":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Whether the email was sent successfully"}},"type":"object","required":["ok"],"title":"EmailMessageResponse"},"EmbedAuthRequest":{"properties":{"password":{"type":"string","maxLength":128,"minLength":4,"title":"Password","description":"Password for the embed"}},"type":"object","required":["password"],"title":"EmbedAuthRequest","description":"Request to authenticate against a password-protected embed."},"EmbedAuthResponse":{"properties":{"sessionToken":{"type":"string","title":"Sessiontoken","description":"Session token for subsequent requests"},"expiresIn":{"type":"integer","title":"Expiresin","description":"Seconds until token expires"}},"type":"object","required":["sessionToken","expiresIn"],"title":"EmbedAuthResponse","description":"Response with session token after successful password verification."},"EmbeddedUrlRequest":{"properties":{"user_identifier":{"type":"string","title":"User Identifier","description":"Embedded user identifier"},"canvas_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Id","description":"Canvas ID for dashboard embeds"},"doc_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Id","description":"Doc ID for doc embeds"},"drive_file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Drive File","description":"Drive path to the data-app .embedded.html artifact. Required when embed_type is 'data_app'."},"required_filters":{"items":{"anyOf":[{"$ref":"#/components/schemas/V1LoadRequestQueryFilterBase"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalOr"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalAnd"}]},"type":"array","title":"Required Filters","description":"Filters enforced for all supported datasets in this embed session"},"redirect_query_params":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Query Params","description":"Optional query params for redirect URL"},"embed_type":{"anyOf":[{"type":"string","enum":["dashboard","route","canvas","doc","data_app"]},{"type":"null"}],"title":"Embed Type","description":"Embed target type","default":"dashboard"},"clear_session":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Clear Session","description":"Whether to clear prior auth session","default":true},"timestamp":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timestamp","description":"Optional timestamp for request signing"},"route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route","description":"Route path for route embeds"},"expires_in":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In","description":"Seconds until the embed token expires. Only used when embed_type is 'data_app'. Defaults to 86400 (24h). Min 60, max 2592000 (30d)."},"allowed_hosts":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Hosts","description":"Hostnames allowed to embed the iframe, set as Content-Security-Policy frame-ancestors. Default is allow-all ('*'). Only used when embed_type is 'data_app'."}},"type":"object","required":["user_identifier"],"title":"EmbeddedUrlRequest"},"EmbeddedUrlResponse":{"properties":{"url":{"type":"string","title":"Url","description":"Embed URL (Supabase magic link for docs, signed direct URL for data apps)"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At","description":"Timestamp when the token expires; only populated for data_app embeds"}},"type":"object","required":["url"],"title":"EmbeddedUrlResponse"},"Error":{"properties":{"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Developer message"}},"type":"object","required":["message"],"title":"Error"},"ErrorBody":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode","description":"Machine-readble error code"},"message":{"type":"string","title":"Message","description":"Client message"},"details":{"items":{"$ref":"#/components/schemas/ErrorDetail"},"type":"array","title":"Details"},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context"}},"type":"object","required":["code","message"],"title":"ErrorBody"},"ErrorCode":{"type":"string","enum":["AUTH_INVALID_TOKEN","AUTH_EXPIRED_TOKEN","AUTH_INVALID_API_KEY","AUTH_MISSING_CREDENTIALS","AUTH_INVALID_SESSION","FORBIDDEN_INSUFFICIENT_PERMISSIONS","FORBIDDEN_TEAM_ACCESS_DENIED","FORBIDDEN_RESOURCE_ACCESS_DENIED","FORBIDDEN_SSO_LOGIN_REQUIRED","VALIDATION_FAILED","VALIDATION_BAD_REQUEST","VALIDATION_MISSING_FIELD","VALIDATION_INVALID_FORMAT","VALIDATION_INVALID_VALUE","VALIDATION_CONSTRAINT_VIOLATION","VALIDATION_PAYLOAD_TOO_LARGE","RESOURCE_NOT_FOUND","RESOURCE_ALREADY_EXISTS","RESOURCE_CONFLICT","RESOURCE_DELETED","BUSINESS_RULE_VIOLATION","BUSINESS_QUOTA_EXCEEDED","BUSINESS_FEATURE_DISABLED","BUSINESS_OPERATION_NOT_ALLOWED","BUSINESS_PRECONDITION_FAILED","PARSE_YAML_ERROR","PARSE_SQL_ERROR","PARSE_JSON_ERROR","EXTERNAL_SERVICE_ERROR","EXTERNAL_SERVICE_TIMEOUT","EXTERNAL_SERVICE_UNAVAILABLE","EXTERNAL_INTEGRATION_ERROR","RATE_LIMIT_EXCEEDED","INTERNAL_ERROR","INTERNAL_NOT_IMPLEMENTED"],"title":"ErrorCode"},"ErrorDetail":{"properties":{"field":{"type":"string","title":"Field","description":"Field that caused the error"},"message":{"type":"string","title":"Message","description":"Human-readable error message"},"code":{"type":"string","title":"Code","description":"Field-specific error code"}},"type":"object","required":["field","message","code"],"title":"ErrorDetail"},"ErrorResponse":{"properties":{"success":{"type":"boolean","const":false,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/ErrorBody","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"ErrorResponse"},"EventDurationBucket":{"properties":{"bucketStart":{"type":"string","format":"date-time","title":"Bucketstart","description":"Start of the fixed-width time bucket (UTC)"},"avgDurationSec":{"type":"number","title":"Avgdurationsec","description":"Average event duration within the bucket, in seconds (0 when no events)"},"minDurationSec":{"type":"number","title":"Mindurationsec","description":"Minimum event duration within the bucket, in seconds (0 when no events)"},"maxDurationSec":{"type":"number","title":"Maxdurationsec","description":"Maximum event duration within the bucket, in seconds (0 when no events)"},"avgMemoryBytes":{"type":"number","title":"Avgmemorybytes","description":"Average DuckDB memory used within the bucket, in bytes (0 when not reported)"},"minMemoryBytes":{"type":"number","title":"Minmemorybytes","description":"Minimum DuckDB memory used within the bucket, in bytes (0 when not reported)"},"maxMemoryBytes":{"type":"number","title":"Maxmemorybytes","description":"Maximum DuckDB memory used within the bucket, in bytes (0 when not reported)"},"requestCount":{"type":"integer","title":"Requestcount","description":"Number of events recorded within the bucket"}},"type":"object","required":["bucketStart","avgDurationSec","minDurationSec","maxDurationSec","avgMemoryBytes","minMemoryBytes","maxMemoryBytes","requestCount"],"title":"EventDurationBucket"},"EventType":{"type":"string","enum":["feedback","run","cube_run","job_run","slack_query","api_query","k8s_job","query"],"title":"EventType"},"ExecuteDatasetWithCubeEngineRequest":{"properties":{"spec":{"additionalProperties":true,"type":"object","title":"Spec","description":"Dataset specification from YAML"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters","description":"Parameter values"},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integration Id","description":"Integration ID for sql/python engines"},"input_results":{"additionalProperties":true,"type":"object","title":"Input Results","description":"Results from input datasets (for python engine)"},"persist":{"type":"boolean","title":"Persist","description":"Cache query results in Redis","default":true},"invalidate":{"type":"boolean","title":"Invalidate","description":"Invalidate existing cache for this query","default":false},"resources":{"anyOf":[{"$ref":"#/components/schemas/ComputeResourceRequest"},{"type":"null"}],"description":"Optional execution resources. SQL uses DuckDB jobs; plain Python maps to the nearest E2B tier."},"dependsOn":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dependson","description":"Dataset IDs this dataset depends on (for execution ordering)"},"engine":{"type":"string","const":"cube","title":"Engine","description":"Engine type","default":"cube"}},"type":"object","required":["spec"],"title":"ExecuteDatasetWithCubeEngineRequest"},"ExecuteDatasetWithPythonEngineRequest":{"properties":{"spec":{"additionalProperties":true,"type":"object","title":"Spec","description":"Dataset specification from YAML"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters","description":"Parameter values"},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integration Id","description":"Integration ID for sql/python engines"},"input_results":{"additionalProperties":true,"type":"object","title":"Input Results","description":"Results from input datasets (for python engine)"},"persist":{"type":"boolean","title":"Persist","description":"Cache query results in Redis","default":true},"invalidate":{"type":"boolean","title":"Invalidate","description":"Invalidate existing cache for this query","default":false},"resources":{"anyOf":[{"$ref":"#/components/schemas/ComputeResourceRequest"},{"type":"null"}],"description":"Optional execution resources. SQL uses DuckDB jobs; plain Python maps to the nearest E2B tier."},"dependsOn":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dependson","description":"Dataset IDs this dataset depends on (for execution ordering)"},"engine":{"type":"string","const":"python","title":"Engine","description":"Engine type","default":"python"}},"type":"object","required":["spec"],"title":"ExecuteDatasetWithPythonEngineRequest"},"ExecuteDatasetWithSqlEngineRequest":{"properties":{"spec":{"additionalProperties":true,"type":"object","title":"Spec","description":"Dataset specification from YAML"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters","description":"Parameter values"},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integration Id","description":"Integration ID for sql/python engines"},"input_results":{"additionalProperties":true,"type":"object","title":"Input Results","description":"Results from input datasets (for python engine)"},"persist":{"type":"boolean","title":"Persist","description":"Cache query results in Redis","default":true},"invalidate":{"type":"boolean","title":"Invalidate","description":"Invalidate existing cache for this query","default":false},"resources":{"anyOf":[{"$ref":"#/components/schemas/ComputeResourceRequest"},{"type":"null"}],"description":"Optional execution resources. SQL uses DuckDB jobs; plain Python maps to the nearest E2B tier."},"dependsOn":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dependson","description":"Dataset IDs this dataset depends on (for execution ordering)"},"engine":{"type":"string","const":"sql","title":"Engine","description":"Engine type","default":"sql"}},"type":"object","required":["spec"],"title":"ExecuteDatasetWithSqlEngineRequest"},"ExecutionLogSchema":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Id","description":"Log entry ID"},"executionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Executionid","description":"Execution grouping key"},"teamId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Teamid","description":"Team that owns this execution"},"stream":{"type":"string","enum":["stdout","stderr"],"title":"Stream","description":"Output stream type"},"content":{"type":"string","title":"Content","description":"Log line content"},"sequence":{"type":"integer","title":"Sequence","description":"Ordering within execution"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"When this log entry was created"}},"type":"object","required":["executionId","teamId","stream","content","sequence"],"title":"ExecutionLogSchema"},"ExecutionLogsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ExecutionLogSchema"},"type":"array","title":"Data","description":"Log entries"},"limit":{"type":"integer","title":"Limit","description":"Max entries returned"},"hasMore":{"type":"boolean","title":"Hasmore","description":"Whether more entries exist","default":false}},"type":"object","required":["data","limit"],"title":"ExecutionLogsResponse","description":"Response wrapper for paginated execution logs."},"ExtendedCubeMeta":{"properties":{"name":{"type":"string","title":"Name","description":"The unique identifier for the cube. Must be unique among all cubes and views within a deployment and follow the naming conventions."},"type":{"anyOf":[{"type":"string","enum":["view","cube"]},{"type":"null"}],"title":"Type","description":"Specifies the type of the cube. This can be used to differentiate between different types of cubes, such as `view` or `cube`."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A human-readable display name for the cube. By default, Cube will humanize the cube's name (e.g., `users_orders` becomes `Users Orders`). Use this parameter to customize the display name if the default isn't suitable."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A brief description of the cube to help your team understand its purpose and contents. Useful for ensuring that the data is interpreted correctly by users."},"fileName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename","description":"The file name associated with the cube definition."},"sqlTable":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sqltable","description":"Specifies the table in the database that this cube will query. It is a concise alternative to the `sql` parameter when querying entire tables."},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"The SQL query that generates the table to be queried by the cube. Typically takes the form of a `SELECT * FROM table` query. For simple table queries, prefer using the `sql_table` parameter."},"sqlAlias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sqlalias","description":"Custom SQL alias for the cube. Useful when the auto-generated alias is too long and may be truncated by the database."},"dataSource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datasource","description":"Specifies the data source name for the cube. This is useful when data should be fetched from multiple databases. The value is passed to the `driverFactory()` function as part of the context."},"public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public","description":"Controls the visibility of the cube. When set to `False`, the cube cannot be queried through the API. Defaults to `True`."},"isVisible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isvisible","description":"Determines if the cube should be visible in the UI. If set to `False`, it will be hidden from the user interface."},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta","description":"Custom metadata for the cube. Can be used to pass additional information to the frontend."},"refreshKey":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"additionalProperties":{"type":"string"},"type":"object"}]},"type":"object"},{"type":"null"}],"title":"Refreshkey","description":"Defines the refresh key for the cube, used by Cube's caching layer to determine when the data should be refreshed. Can be specified using SQL or an interval (e.g., `every: '1 hour'`)."},"extends":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extends","description":"Allows extending another cube to reuse its declared members, such as `sql` or `measures`. Useful for creating variations of existing cubes without redefining all properties."},"measures":{"items":{"$ref":"#/components/schemas/V1CubeMetaMeasure"},"type":"array","title":"Measures","description":"List of measures defined within the cube. Measures represent aggregated data points such as counts, sums, or averages."},"dimensions":{"items":{"$ref":"#/components/schemas/V1CubeMetaDimension"},"type":"array","title":"Dimensions","description":"List of dimensions defined within the cube. Dimensions represent categorical data such as dates, strings, or numbers."},"segments":{"items":{"$ref":"#/components/schemas/V1CubeMetaSegment"},"type":"array","title":"Segments","description":"List of segments defined within the cube. Segments represent predefined filters on the data, such as 'Active Users'."},"joins":{"anyOf":[{"items":{"$ref":"#/components/schemas/V1CubeMetaJoin"},"type":"array"},{"type":"null"}],"title":"Joins","description":"List of joins between this cube and other cubes. Joins define relationships between cubes, allowing for complex data retrievals."},"preAggregations":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Preaggregations","description":"List of pre-aggregations defined for the cube. Pre-aggregations are used to speed up query performance by storing pre-computed results."},"connectedComponent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Connectedcomponent","description":"ID of the connected component associated with the cube. This is used internally for query planning and optimization."}},"type":"object","required":["name","measures","dimensions","segments"],"title":"ExtendedCubeMeta"},"ExtendedV1LoadRequestQuery":{"properties":{"measures":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Measures","description":"List of measures to be queried."},"dimensions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dimensions","description":"List of dimensions to be queried."},"segments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Segments","description":"List of segments to be used in the query. A segment is a named filter defined in the data model."},"timeDimensions":{"anyOf":[{"items":{"$ref":"#/components/schemas/ExtendedV1LoadRequestQueryTimeDimension"},"type":"array"},{"type":"null"}],"title":"Timedimensions","description":"List of time dimensions to be used in the query."},"order":{"anyOf":[{"items":{"prefixItems":[{"type":"string"},{"type":"string","enum":["asc","desc"]}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Order","description":"Ordering criteria for query"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit","description":"Maximum number of rows to return in the query result."},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset","description":"Number of initial rows to skip in the query result. Default is 0."},"filters":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/V1LoadRequestQueryFilterBase"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalOr"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalAnd"}]},"type":"array"},{"type":"null"}],"title":"Filters","description":"List of filters to apply to the query."},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Time zone to be used for the query, specified in the TZ Database Name format (e.g., `America/Los_Angeles`)."},"renewQuery":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Renewquery","description":"Cube will renew all refreshKey for queries and query results in the foreground. However, if the refreshKey (or refreshKey.every) doesn't indicate that there's a need for an update this setting has no effect. The default value is false"},"ungrouped":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ungrouped","description":"If set to true, Cube will run an ungrouped query."},"forceNoCache":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Forcenocache"}},"type":"object","title":"ExtendedV1LoadRequestQuery"},"ExtendedV1LoadRequestQueryTimeDimension":{"properties":{"dimension":{"type":"string","title":"Dimension","description":"The name of the time dimension."},"granularity":{"anyOf":[{"type":"string","enum":["second","minute","hour","day","week","month","quarter","year"]},{"type":"null"}],"title":"Granularity","description":"Granularity level for the time dimension. Setting this to null will filter by the specified time dimension without grouping."},"dateRange":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Daterange","description":"An array of dates with the following format YYYY-MM-DD or in YYYY-MM-DDTHH:mm:ss.SSS format. Values should always be local and in query timezone. Dates in YYYY-MM-DD format are also accepted. Such dates are padded to the start and end of the day if used in start and end of date range interval accordingly."},"compareDateRange":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2}]},"type":"array"},{"type":"null"}],"title":"Comparedaterange","description":"List of date ranges for period-over-period comparison. Mutually exclusive with dateRange."}},"type":"object","required":["dimension"],"title":"ExtendedV1LoadRequestQueryTimeDimension"},"Fi2BackgroundResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the background execution was successful"},"message":{"type":"string","title":"Message","description":"Message from the background execution","default":""},"result":{"anyOf":[{},{"type":"null"}],"title":"Result","description":"Structured result from Claude Code execution"},"raw_output":{"type":"string","title":"Raw Output","description":"Raw output from Claude Code","default":""},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if execution failed"},"execution_time":{"type":"number","title":"Execution Time","description":"Execution time in seconds","default":0.0},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"E2B sandbox ID used for execution"},"html_files":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Html Files","description":"Generated files (HTML and Python) with filename, content, and file_type","default":[]}},"type":"object","required":["success"],"title":"Fi2BackgroundResponse"},"Fi2UploadFileResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether file upload was successful"},"file_path":{"type":"string","title":"File Path","description":"Path to file in sandbox (e.g., /home/user/uploads/file.txt)","default":""},"file_name":{"type":"string","title":"File Name","description":"Name of uploaded file","default":""},"file_size":{"type":"integer","title":"File Size","description":"Size of uploaded file in bytes","default":0},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if upload failed"},"sandbox_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Id","description":"E2B sandbox ID used for upload"},"retries_attempted":{"type":"integer","title":"Retries Attempted","description":"Number of retries attempted before sandbox was found (0 means found on first try)","default":0}},"type":"object","required":["success"],"title":"Fi2UploadFileResponse"},"Fi3ThreadRequest":{"properties":{"method":{"type":"string","enum":["upsert","delete","stop","marimo_start","update_metadata","show_artifacts","warm_sandbox"],"title":"Method","description":"Operation method"},"thread_id":{"type":"string","title":"Thread Id","description":"Thread id to use for the agent","default":""},"user_message":{"type":"string","title":"User Message","description":"User message to the fi agent","default":""},"context_blocks":{"items":{"$ref":"#/components/schemas/ContextBlock"},"type":"array","title":"Context Blocks","description":"List of context blocks to use for the agent","default":[]},"table_integration_id":{"type":"string","title":"Table Integration Id","description":"Table integration id to use for the agent (DuckDB)","default":""},"cube_integration_id":{"type":"string","title":"Cube Integration Id","description":"Cube integration id to use for the agent","default":""},"application_context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Context","description":"Additional context about the application state"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Claude model to use (e.g., 'sonnet', 'opus')"},"doc_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Id","description":"ID of the doc currently being edited by the user"},"doc_yaml_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Yaml Content","description":"Current doc.yaml content from frontend Doc view to mount in sandbox"},"thread_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Title","description":"New title for the thread"},"doc_discovery_mode":{"type":"string","enum":["preload_recent","preload_all","lazy"],"title":"Doc Discovery Mode","description":"Document discovery mode for loading team docs","default":"preload_recent"},"preload_doc_ids":{"items":{"type":"string"},"type":"array","title":"Preload Doc Ids","description":"Optional explicit list of doc IDs to pre-load"},"max_preload_docs":{"type":"integer","title":"Max Preload Docs","description":"Maximum number of docs to pre-load (default 50)","default":50},"max_files":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Max Files","description":"Maximum number of files to return with download URLs","default":100},"app_events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"App Events","description":"Application events like file uploads"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"Project ID to associate the thread with"},"sandboxTier":{"anyOf":[{"$ref":"#/components/schemas/E2BSandboxTier"},{"type":"null"}],"description":"Requested Fi sandbox tier to store on the thread before sandbox creation"}},"type":"object","required":["method"],"title":"Fi3ThreadRequest"},"FiFastRequest":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"User message text"},"system":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System","description":"System instruction"},"tools":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Tools","description":"Gemini tool/function declarations (pass-through)"},"toolConfig":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Toolconfig","description":"Tool calling config (e.g. mode: ANY)"},"responseSchema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Responseschema","description":"JSON Schema for structured output (alternative to tools)"},"responseMimeType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Responsemimetype","description":"e.g. application/json for JSON mode"},"model":{"type":"string","enum":["gemini-3.1-pro-preview","gemini-3.1-flash-lite-preview","gemini-3-flash-preview","gemini-2.5-flash-preview-05-20","gemini-2.5-flash"],"title":"Model","description":"Vertex AI model","default":"gemini-3-flash-preview"},"thinkingBudget":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thinkingbudget","description":"Thinking token budget (0 to disable, omit for model default)"},"temperature":{"type":"number","title":"Temperature","description":"Sampling temperature","default":0.1},"maxOutputTokens":{"type":"integer","title":"Maxoutputtokens","description":"Max output tokens","default":4096}},"type":"object","required":["prompt"],"title":"FiFastRequest","description":"Frontend-defined Vertex AI generateContent request."},"FiFastResponse":{"properties":{"content":{"additionalProperties":true,"type":"object","title":"Content","description":"candidates[0].content from Vertex AI response"},"usage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Usage","description":"usageMetadata from Vertex AI response"},"model":{"type":"string","title":"Model","description":"Model used"},"finishReason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finishreason","description":"Finish reason"}},"type":"object","required":["content","model"],"title":"FiFastResponse","description":"Raw Vertex AI response, passed through with minimal reshaping."},"FiHookEvent":{"properties":{"hook_event_name":{"type":"string","enum":["UserPromptSubmit","PreToolUse","PostToolUse","Stop"],"title":"Hook Event Name"},"session_id":{"type":"string","title":"Session Id"},"transcript_path":{"type":"string","title":"Transcript Path"},"cwd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cwd"},"permission_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permission Mode"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"tool_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Name"},"tool_input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tool Input"},"tool_response":{"anyOf":[{},{"type":"null"}],"title":"Tool Response"},"tool_use_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Use Id"},"stop_hook_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stop Hook Active"},"last_assistant_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Assistant Message","description":"Final assistant text emitted in the turn (present on Stop)."}},"type":"object","required":["hook_event_name","session_id","transcript_path"],"title":"FiHookEvent","description":"Superset of fields across the hook events we consume.\n\nClaude Code may include additional fields; ignore them."},"FiHookResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"panels_written":{"type":"integer","title":"Panels Written","default":0},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["ok"],"title":"FiHookResponse","description":"Response body returned to Claude Code after handling a hook event."},"FiRunRequest":{"properties":{"prompt":{"type":"string","minLength":1,"title":"Prompt","description":"User message to send to Fi"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Claude model override (e.g. 'claude-sonnet-4-6'). Defaults to Fi's standard model."},"sandboxTier":{"anyOf":[{"$ref":"#/components/schemas/E2BSandboxTier"},{"type":"null"}],"description":"E2B sandbox tier override"},"tableIntegrationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tableintegrationid","description":"Table integration to mount (DuckLake/DuckDB). Defaults to team's primary."},"cubeIntegrationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cubeintegrationid","description":"Cube integration to mount"},"applicationContext":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationcontext","description":"Free-form context appended to the prompt (e.g. 'Caller: API smoke test for Vertex pin')."}},"type":"object","required":["prompt"],"title":"FiRunRequest","description":"One-shot Fi run for testing without the UI."},"FiRunResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the run completed successfully"},"threadId":{"type":"string","title":"Threadid","description":"fi_threads row ID created for this run; viewable in the Fi UI"},"sandboxId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandboxid","description":"E2B sandbox ID used for the run"},"message":{"type":"string","title":"Message","description":"Human-readable status message","default":""},"rawOutput":{"type":"string","title":"Rawoutput","description":"Raw stdout from Claude Code","default":""},"executionTime":{"type":"number","title":"Executiontime","description":"Wall-clock execution time in seconds","default":0.0},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the run failed"}},"type":"object","required":["success","threadId"],"title":"FiRunResponse","description":"Result of a one-shot Fi run."},"FileCategory":{"type":"string","enum":["asset","duckdb"],"title":"FileCategory"},"GenerateMagicLinkRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User's email"},"redirect_to":{"type":"string","title":"Redirect To","description":"Redirect to"}},"type":"object","required":["email","redirect_to"],"title":"GenerateMagicLinkRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HostedApprovalRequest":{"properties":{"reason":{"type":"string","minLength":1,"title":"Reason","description":"Reason for approving or rejecting the hosted signup"}},"type":"object","required":["reason"],"title":"HostedApprovalRequest"},"HostedApprovalResponse":{"properties":{"signup_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Signup Id"},"status":{"type":"string","enum":["email_pending","approval_pending","accepted","rejected","converted"],"title":"Status"},"approval_status":{"type":"string","enum":["not_required","pending","approved","rejected"],"title":"Approval Status"}},"type":"object","required":["signup_id","status","approval_status"],"title":"HostedApprovalResponse"},"HostedBillingPortalResponse":{"properties":{"portal_url":{"type":"string","title":"Portal Url","description":"Stripe billing-portal URL for managing the subscription"}},"type":"object","required":["portal_url"],"title":"HostedBillingPortalResponse"},"HostedDeploymentDetail":{"properties":{"deployment":{"$ref":"#/components/schemas/HostedDeploymentRow"},"events":{"items":{"$ref":"#/components/schemas/HostedProvisioningEventRow"},"type":"array","title":"Events"}},"type":"object","required":["deployment"],"title":"HostedDeploymentDetail","description":"Hosted deployment with recent provisioning events for ops."},"HostedDeploymentInactivityExemptionRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"days":{"type":"integer","maximum":365.0,"minimum":0.0,"title":"Days","default":7}},"type":"object","title":"HostedDeploymentInactivityExemptionRequest","description":"Temporary sales or ops hold for automatic inactivity hibernation."},"HostedDeploymentLifecycleRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"HostedDeploymentLifecycleRequest","description":"Optional audit context for a deployment lifecycle request."},"HostedDeploymentResumeRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"inactivity_exempt_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Inactivity Exempt Days","default":7}},"type":"object","title":"HostedDeploymentResumeRequest","description":"Resume context plus an automatic inactivity-pause cooldown."},"HostedDeploymentRetryRequest":{"properties":{"force":{"type":"boolean","title":"Force","default":false},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"HostedDeploymentRetryRequest","description":"Request body for service-auth hosted deployment retries."},"HostedDeploymentRow":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id"},"signup_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Signup Id"},"license_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"License Id"},"deployment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deployment Id"},"status":{"type":"string","enum":["pending","provisioning","ready","failed","destroying","destroyed","upgrade_pending","upgrading","pause_pending","pausing","resume_after_pause","paused","pause_failed","resume_pending","resuming","resume_failed"],"title":"Status"},"customer_slug":{"type":"string","title":"Customer Slug"},"cloud_provider":{"type":"string","enum":["gcp","aws"],"title":"Cloud Provider","default":"gcp"},"gcp_project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Project Id"},"gcp_project_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Project Number"},"aws_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aws Account Id"},"aws_cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aws Cluster Name"},"region":{"type":"string","title":"Region","default":"us-central1"},"hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hostname"},"base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Url"},"image_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Tag"},"desired_image_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Desired Image Tag"},"egress_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Egress Ip"},"release_channel":{"type":"string","enum":["stable","canary","pinned"],"title":"Release Channel","default":"stable"},"helm_overrides":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Helm Overrides"},"sso_allowed_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sso Allowed Domains"},"license_key_secret_id":{"type":"string","title":"License Key Secret Id"},"terraform_state_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terraform State Prefix"},"migrate_active":{"type":"boolean","title":"Migrate Active","default":false},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"ready_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready At"},"upgraded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upgraded At"},"destroyed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Destroyed At"},"auto_pause_exempt_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Auto Pause Exempt Until"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","signup_id","license_id","status","customer_slug","license_key_secret_id","created_at","updated_at"],"title":"HostedDeploymentRow","description":"A row from onprem.hosted_deployment.\n\nProvisioner twin of ``defapi.schemas.onprem.HostedDeploymentRow``. Keep\ncloud_provider / aws_* / coerce validators in lockstep when either changes."},"HostedDeploymentUpgradeRequest":{"properties":{"image_tag":{"type":"string","title":"Image Tag"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","required":["image_tag"],"title":"HostedDeploymentUpgradeRequest","description":"Request body for service-auth hosted deployment upgrades.\n\nThe explicit ``image_tag`` is the target version to roll the deployment to;\nit bypasses the per-provision blessed-release/config precedence so ops can\npin a single deployment to an exact tag."},"HostedLlmModelRow":{"properties":{"model_id":{"type":"string","title":"Model Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["model_id"],"title":"HostedLlmModelRow"},"HostedModelsResponse":{"properties":{"models":{"items":{"$ref":"#/components/schemas/HostedLlmModelRow"},"type":"array","title":"Models","description":"Fleet-wide whitelisted model ids, enabled and sort_order-ordered"}},"type":"object","title":"HostedModelsResponse"},"HostedProvisioningEventRow":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id"},"hosted_deployment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Hosted Deployment Id"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"event_type":{"type":"string","title":"Event Type"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","hosted_deployment_id","event_type","created_at"],"title":"HostedProvisioningEventRow","description":"A row from onprem.hosted_provisioning_event."},"HostedRevealCodeResponse":{"properties":{"signup_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Signup Id"},"code":{"type":"string","title":"Code"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["signup_id","code","expires_at"],"title":"HostedRevealCodeResponse"},"HostedSignupRequest":{"properties":{"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email","description":"Signup email address"},"company_name":{"type":"string","maxLength":120,"minLength":1,"title":"Company Name","description":"Company or workspace name"},"requested_slug":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Requested Slug","description":"Optional requested customer slug"},"hosting_mode":{"type":"string","enum":["definite_cloud","self_hosted"],"title":"Hosting Mode","description":"Whether Definite should host the stack or only provide self-hosted setup instructions","default":"definite_cloud"},"terms_accepted":{"type":"boolean","title":"Terms Accepted","description":"Whether the user accepted Definite signup terms"}},"type":"object","required":["email","company_name","terms_accepted"],"title":"HostedSignupRequest"},"HostedSignupResponse":{"properties":{"signup_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Signup Id"},"status_token":{"type":"string","title":"Status Token"},"status":{"type":"string","enum":["email_pending","approval_pending","accepted","rejected","converted"],"title":"Status"},"hosting_mode":{"type":"string","enum":["definite_cloud","self_hosted"],"title":"Hosting Mode"},"email_domain_kind":{"type":"string","enum":["unknown","business","free"],"title":"Email Domain Kind"},"approval_status":{"type":"string","enum":["not_required","pending","approved","rejected"],"title":"Approval Status"}},"type":"object","required":["signup_id","status_token","status","hosting_mode","email_domain_kind","approval_status"],"title":"HostedSignupResponse"},"HostedStatusEvent":{"properties":{"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"event_type":{"type":"string","title":"Event Type"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["event_type","created_at"],"title":"HostedStatusEvent"},"HostedStatusResponse":{"properties":{"signup_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Signup Id"},"status":{"type":"string","enum":["email_pending","approval_pending","accepted","rejected","converted"],"title":"Status"},"hosting_mode":{"type":"string","enum":["definite_cloud","self_hosted"],"title":"Hosting Mode"},"email":{"type":"string","title":"Email"},"email_domain_kind":{"type":"string","enum":["unknown","business","free"],"title":"Email Domain Kind"},"approval_status":{"type":"string","enum":["not_required","pending","approved","rejected"],"title":"Approval Status"},"deployment_status":{"anyOf":[{"type":"string","enum":["pending","provisioning","ready","failed","destroying","destroyed","upgrade_pending","upgrading","pause_pending","pausing","resume_after_pause","paused","pause_failed","resume_pending","resuming","resume_failed"]},{"type":"null"}],"title":"Deployment Status"},"base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Url"},"events":{"items":{"$ref":"#/components/schemas/HostedStatusEvent"},"type":"array","title":"Events"}},"type":"object","required":["signup_id","status","hosting_mode","email","email_domain_kind","approval_status"],"title":"HostedStatusResponse"},"HostedUpgradeCheckoutResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url","description":"Stripe Checkout URL to redirect the customer to"}},"type":"object","required":["checkout_url"],"title":"HostedUpgradeCheckoutResponse"},"HostedUpgradeRequest":{"properties":{"license_key":{"type":"string","minLength":1,"title":"License Key","description":"Raw license key of the deployment"},"deployment_id":{"type":"string","minLength":1,"title":"Deployment Id","description":"Runtime deployment id"}},"type":"object","required":["license_key","deployment_id"],"title":"HostedUpgradeRequest","description":"A hosted deployment asks central for a Stripe self-serve URL. Authenticated\nby the license key (like /activate), so the deployment proxies its logged-in\nadmin to checkout without central needing a customer session."},"HostedVerifyCodeRequest":{"properties":{"code":{"type":"string","maxLength":6,"minLength":6,"title":"Code","description":"Six digit email verification code"}},"type":"object","required":["code"],"title":"HostedVerifyCodeRequest"},"InputContextType":{"type":"string","enum":["default","ssh","ssl","etlConfig"],"title":"InputContextType"},"Integration":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Integration id"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Team ID","default":""},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id","description":"User ID","default":""},"type":{"$ref":"#/components/schemas/IntegrationType","description":"Integration type"},"details":{"$ref":"#/components/schemas/AnyIntegrationDetailsSchema-Output"},"sync_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sync Enabled","description":"Whether this integration's Airflow DAG is intended to be active. NULL when the integration type has no sync concept (no etl_config). Airflow is the source of truth; this column mirrors intended state and is reconciled periodically."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Integration created at"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Integration updated at"}},"type":"object","required":["type","details"],"title":"Integration"},"IntegrationCatalog":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/IntegrationCatalogEntry"},"type":"array","title":"Entries"}},"type":"object","required":["entries"],"title":"IntegrationCatalog"},"IntegrationCatalogEntry":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name"},"type":{"$ref":"#/components/schemas/IntegrationType","description":"Integration type"},"fields":{"items":{"$ref":"#/components/schemas/IntegrationField"},"type":"array","title":"Fields","description":"Integration fields"},"category":{"type":"string","title":"Category","description":"Integration category","default":"other"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar","description":"Integration avatar"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"Integration metadata"}},"type":"object","required":["name","type","fields"],"title":"IntegrationCatalogEntry"},"IntegrationDetailsSchemaADP":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"adp","title":"Integration Type","default":"adp"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"ADP"},"discriminator":{"type":"string","const":"adp","title":"Discriminator","default":"adp"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-adp"},"client_id":{"type":"string","title":"Client Id","description":"Your client id for ADP","default":""},"client_secret":{"type":"string","title":"Client Secret","description":"Your client secret for ADP","default":""},"public_ssl_certificate":{"type":"string","title":"Public Ssl Certificate","description":"Your public SSL Certificate for ADP","default":""},"private_ssl_key":{"type":"string","title":"Private Ssl Key","description":"Your private SSL key for ADP","default":""}},"type":"object","title":"IntegrationDetailsSchemaADP"},"IntegrationDetailsSchemaAbicart":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"abicart","title":"Integration Type","default":"abicart"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Abicart"},"discriminator":{"type":"string","const":"abicart","title":"Discriminator","default":"abicart"},"tap_variant":{"type":"string","title":"Tap Variant","default":"abicart--hotgluexyz"},"password":{"type":"string","title":"Password","description":"Your Abicart password.","default":""},"username":{"type":"string","title":"Username","description":"Your Abicart username.","default":""},"webshop":{"type":"string","title":"Webshop","description":"Your Abicart webshop.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAbicart"},"IntegrationDetailsSchemaAbra":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"abra","title":"Integration Type","default":"abra"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Abra"},"discriminator":{"type":"string","const":"abra","title":"Discriminator","default":"abra"},"tap_variant":{"type":"string","title":"Tap Variant","default":"abra--hotgluexyz"},"username":{"type":"string","title":"Username","description":"Your Abra username.","default":""},"password":{"type":"string","title":"Password","description":"Your Abra password.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAbra"},"IntegrationDetailsSchemaActiveCampaign":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"activecampaign","title":"Integration Type","default":"activecampaign"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"ActiveCampaign"},"discriminator":{"type":"string","const":"activecampaign","title":"Discriminator","default":"activecampaign"},"tap_variant":{"type":"string","title":"Tap Variant","default":"activecampaign--singer-io"},"api_url":{"type":"string","title":"Api Url","description":"Your ActiveCampaign API URL (found in Settings > Developer)","default":""},"api_token":{"type":"string","title":"Api Token","description":"Your ActiveCampaign API Token (found in Settings > Developer)","default":""},"start_date":{"type":"string","title":"Start Date","description":"Determines how much historical data will be extracted (ISO 8601 format).","default":"2020-01-01T00:00:00Z"},"user_agent":{"type":"string","title":"User Agent","description":"User agent string for API requests.","default":"tap-activecampaign <support@definite.app>"}},"type":"object","title":"IntegrationDetailsSchemaActiveCampaign"},"IntegrationDetailsSchemaAcuite":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"acuite","title":"Integration Type","default":"acuite"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Acuite"},"discriminator":{"type":"string","const":"acuite","title":"Discriminator","default":"acuite"},"tap_variant":{"type":"string","title":"Tap Variant","default":"acuite--fostersdata"},"api_key":{"type":"string","title":"Api Key","description":"Your Acuite API Key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAcuite"},"IntegrationDetailsSchemaAcumatica":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"acumatica","title":"Integration Type","default":"acumatica"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Acumatica"},"discriminator":{"type":"string","const":"acumatica","title":"Discriminator","default":"acumatica"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-acumatica"},"tenant":{"type":"string","title":"Tenant","description":"Your acumatica tenant name","default":""},"username":{"type":"string","title":"Username","description":"Your acumatica username","default":""},"password":{"type":"string","title":"Password","description":"Your acumatica password","default":""},"select_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Select Filter","description":"A new-line seperated list of streams to sync. Defaults to selecting all streams if not provided."}},"type":"object","title":"IntegrationDetailsSchemaAcumatica"},"IntegrationDetailsSchemaAftership":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"aftership","title":"Integration Type","default":"aftership"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Aftership"},"discriminator":{"type":"string","const":"aftership","title":"Discriminator","default":"aftership"},"tap_variant":{"type":"string","title":"Tap Variant","default":"aftership--harrystech"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaAftership"},"IntegrationDetailsSchemaAircall":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"aircall","title":"Integration Type","default":"aircall"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Aircall"},"discriminator":{"type":"string","const":"aircall","title":"Discriminator","default":"aircall"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-aircall--ticketswap"},"api_key":{"type":"string","title":"Api Key","description":"Your Aircall API Key","default":""},"api_token":{"type":"string","title":"Api Token","description":"Your Aircall API Token","default":""}},"type":"object","title":"IntegrationDetailsSchemaAircall"},"IntegrationDetailsSchemaAirtable":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"airtable","title":"Integration Type","default":"airtable"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Airtable"},"discriminator":{"type":"string","const":"airtable","title":"Discriminator","default":"airtable"},"tap_variant":{"type":"string","title":"Tap Variant","default":"airtable--goes-funky"},"token":{"type":"string","title":"Token","description":"Airtable Token","default":""}},"type":"object","title":"IntegrationDetailsSchemaAirtable"},"IntegrationDetailsSchemaAmazonAdvertising-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"amazonadvertising","title":"Integration Type","default":"amazonadvertising"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Amazon Advertising"},"discriminator":{"type":"string","const":"amazonadvertising","title":"Discriminator","default":"amazonadvertising"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaAmazonAdvertising"},"IntegrationDetailsSchemaAmazonAdvertising-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"amazonadvertising","title":"Integration Type","default":"amazonadvertising"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Amazon Advertising"},"discriminator":{"type":"string","const":"amazonadvertising","title":"Discriminator","default":"amazonadvertising"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaAmazonAdvertising"},"IntegrationDetailsSchemaAmazonAssociates":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"amazonassociates","title":"Integration Type","default":"amazonassociates"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Amazon Associates"},"discriminator":{"type":"string","const":"amazonassociates","title":"Discriminator","default":"amazonassociates"},"tap_variant":{"type":"string","title":"Tap Variant","default":"amazon-associates--voxmedia"},"username":{"type":"string","title":"Username","description":"Amazon Associates username","default":""},"password":{"type":"string","title":"Password","description":"Amazon Associates password","default":""}},"type":"object","title":"IntegrationDetailsSchemaAmazonAssociates"},"IntegrationDetailsSchemaAmazonSellingPartner-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"amazonsellingpartner","title":"Integration Type","default":"amazonsellingpartner"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Amazon Selling Partner"},"discriminator":{"type":"string","const":"amazonsellingpartner","title":"Discriminator","default":"amazonsellingpartner"},"tap_variant":{"type":"string","title":"Tap Variant","default":"hotgluexyz"},"marketplaces":{"items":{"type":"string"},"type":"array","title":"Marketplaces","description":"Marketplace country codes (e.g., ['US', 'CA', 'MX'])"},"start_date":{"type":"string","title":"Start Date","description":"The date in ISO 8601 format. Any data before this date will not be extracted.","default":"2020-01-01T00:00:00Z"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaAmazonSellingPartner"},"IntegrationDetailsSchemaAmazonSellingPartner-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"amazonsellingpartner","title":"Integration Type","default":"amazonsellingpartner"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Amazon Selling Partner"},"discriminator":{"type":"string","const":"amazonsellingpartner","title":"Discriminator","default":"amazonsellingpartner"},"tap_variant":{"type":"string","title":"Tap Variant","default":"hotgluexyz"},"marketplaces":{"items":{"type":"string"},"type":"array","title":"Marketplaces","description":"Marketplace country codes (e.g., ['US', 'CA', 'MX'])"},"start_date":{"type":"string","title":"Start Date","description":"The date in ISO 8601 format. Any data before this date will not be extracted.","default":"2020-01-01T00:00:00Z"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true},"application_id":{"type":"string","title":"Application Id","readOnly":true},"lwa_client_id":{"type":"string","title":"Lwa Client Id","readOnly":true},"lwa_client_secret":{"type":"string","title":"Lwa Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret","application_id","lwa_client_id","lwa_client_secret"],"title":"IntegrationDetailsSchemaAmazonSellingPartner"},"IntegrationDetailsSchemaAmplitude":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"amplitude","title":"Integration Type","default":"amplitude"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Amplitude"},"discriminator":{"type":"string","const":"amplitude","title":"Discriminator","default":"amplitude"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-amplitude--airbyte"},"api_key":{"type":"string","title":"Api Key","description":"Your API key for Amplitude","default":""},"secret_key":{"type":"string","title":"Secret Key","description":"Your API secret key for Amplitude","default":""},"is_eu_data_region":{"type":"boolean","title":"Is Eu Data Region","description":"Whether the data is stored in the EU data region","default":false},"start_date":{"type":"string","title":"Start Date","description":"Determines how much historical data will be extracted. Please be aware that the larger the time period and amount of data, the longer the initial extraction can be expected to take.","default":"2014-01-01"}},"type":"object","title":"IntegrationDetailsSchemaAmplitude"},"IntegrationDetailsSchemaAnvil":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"anvil","title":"Integration Type","default":"anvil"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Anvil"},"discriminator":{"type":"string","const":"anvil","title":"Discriminator","default":"anvil"},"tap_variant":{"type":"string","title":"Tap Variant","default":"anvil--svinstech"},"api_key":{"type":"string","title":"Api Key","description":"The API key to use to authenticate against Anvil","default":""}},"type":"object","title":"IntegrationDetailsSchemaAnvil"},"IntegrationDetailsSchemaApaleo":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"apaleo","title":"Integration Type","default":"apaleo"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Apaleo"},"discriminator":{"type":"string","const":"apaleo","title":"Discriminator","default":"apaleo"},"tap_variant":{"type":"string","title":"Tap Variant","default":"apaleo--felixkoch"},"client_secret":{"type":"string","title":"Client Secret","description":"Your Client Secret.","default":""},"client_id":{"type":"string","title":"Client Id","description":"Your Client Id.","default":""}},"type":"object","title":"IntegrationDetailsSchemaApaleo"},"IntegrationDetailsSchemaAppStore":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"appstore","title":"Integration Type","default":"appstore"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Apple App Store"},"discriminator":{"type":"string","const":"appstore","title":"Discriminator","default":"appstore"},"tap_variant":{"type":"string","title":"Tap Variant","default":"appstore--miroapp"},"vendor":{"type":"string","title":"Vendor","description":"Appstore vendor number.","default":""},"key_id":{"type":"string","title":"Key Id","description":"Appstore key ID.","default":""},"key_file":{"type":"string","title":"Key File","description":"Appstore key file.","default":""},"issuer_id":{"type":"string","title":"Issuer Id","description":"Appstore issuer ID.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAppStore"},"IntegrationDetailsSchemaAppleHealth":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"applehealth","title":"Integration Type","default":"applehealth"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Apple Health"},"discriminator":{"type":"string","const":"applehealth","title":"Discriminator","default":"applehealth"},"tap_variant":{"type":"string","title":"Tap Variant","default":"applehealth--felippecaso"},"file_path":{"type":"string","title":"File Path","description":"The file path of the export. Xml file","default":""}},"type":"object","title":"IntegrationDetailsSchemaAppleHealth"},"IntegrationDetailsSchemaAskNicely":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"asknicely","title":"Integration Type","default":"asknicely"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Ask Nicely"},"discriminator":{"type":"string","const":"asknicely","title":"Discriminator","default":"asknicely"},"tap_variant":{"type":"string","title":"Tap Variant","default":"ask-nicely--mashey"},"subdomain":{"type":"string","title":"Subdomain","description":"The subdomain of your Ask Nicely account.","default":""},"api_key":{"type":"string","title":"Api Key","description":"The API Key generated via your Ask Nicely account.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAskNicely"},"IntegrationDetailsSchemaAtInternet":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"atinternet","title":"Integration Type","default":"atinternet"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"AT Internet"},"discriminator":{"type":"string","const":"atinternet","title":"Discriminator","default":"atinternet"},"tap_variant":{"type":"string","title":"Tap Variant","default":"atinternet--gendarmerienationale"},"site_id":{"type":"integer","title":"Site Id","description":"Site ID (can be queried at https://dataquery.atinternet-solutions.com/)","default":0},"secret_key":{"type":"string","title":"Secret Key","description":"AT Internet secret key","default":""},"api_key":{"type":"string","title":"Api Key","description":"AT Internet API key","default":""}},"type":"object","title":"IntegrationDetailsSchemaAtInternet"},"IntegrationDetailsSchemaAttio":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"attio","title":"Integration Type","default":"attio"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Attio"},"discriminator":{"type":"string","const":"attio","title":"Discriminator","default":"attio"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-attio--airbyte"},"access_token":{"type":"string","title":"Access Token","description":"Your Attio access token, with Read permission for all scopes.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAttio"},"IntegrationDetailsSchemaAwsCognito":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"awscognito","title":"Integration Type","default":"awscognito"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"AWS Cognito"},"discriminator":{"type":"string","const":"awscognito","title":"Discriminator","default":"awscognito"},"tap_variant":{"type":"string","title":"Tap Variant","default":"aws-cognito--manuelapilongo"},"pool_id":{"type":"string","title":"Pool Id","description":"Cognito Pool Id","default":""}},"type":"object","title":"IntegrationDetailsSchemaAwsCognito"},"IntegrationDetailsSchemaAwsCostExplorer":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"awscostexplorer","title":"Integration Type","default":"awscostexplorer"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"AWS Cost Explorer"},"discriminator":{"type":"string","const":"awscostexplorer","title":"Discriminator","default":"awscostexplorer"},"tap_variant":{"type":"string","title":"Tap Variant","default":"aws-cost-explorer--albert-marrero"},"secret_key":{"type":"string","title":"Secret Key","description":"Your AWS Account Secret Key.","default":""},"metrics":{"items":{"type":"string"},"type":"array","title":"Metrics","description":"Which metrics are returned in the query. Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity.","default":[]},"granularity":{"type":"string","title":"Granularity","description":"Sets the Amazon Web Services cost granularity to MONTHLY or DAILY , or HOURLY.","default":""},"access_key":{"type":"string","title":"Access Key","description":"Your AWS Account Access Key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaAwsCostExplorer"},"IntegrationDetailsSchemaBambooHr":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"bamboohr","title":"Integration Type","default":"bamboohr"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"BambooHR"},"discriminator":{"type":"string","const":"bamboohr","title":"Discriminator","default":"bamboohr"},"tap_variant":{"type":"string","title":"Tap Variant","default":"bamboohr--autoidm"},"subdomain":{"type":"string","title":"Subdomain","description":"Subdomain from BambooHR","default":""},"field_mismatch":{"additionalProperties":true,"type":"object","title":"Field Mismatch","description":"","default":{}},"auth_token":{"type":"string","title":"Auth Token","description":"Token gathered from BambooHR, instructions are [here](https://documentation.bamboohr.com/docs#section-authentication)","default":""}},"type":"object","title":"IntegrationDetailsSchemaBambooHr"},"IntegrationDetailsSchemaBazaarvoice":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"bazaarvoice","title":"Integration Type","default":"bazaarvoice"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Bazaarvoice"},"discriminator":{"type":"string","const":"bazaarvoice","title":"Discriminator","default":"bazaarvoice"},"tap_variant":{"type":"string","title":"Tap Variant","default":"bazaarvoice--gthesheep"},"api_version":{"type":"string","title":"Api Version","description":"Version of the API to use, i.e. '5.4'","default":""},"api_key":{"type":"string","title":"Api Key","description":"The api key obtained from Bazaarvoice","default":""}},"type":"object","title":"IntegrationDetailsSchemaBazaarvoice"},"IntegrationDetailsSchemaBexio":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"bexio","title":"Integration Type","default":"bexio"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Bexio"},"discriminator":{"type":"string","const":"bexio","title":"Discriminator","default":"bexio"},"tap_variant":{"type":"string","title":"Tap Variant","default":"bexio--substringgmbh"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaBexio"},"IntegrationDetailsSchemaBigMarker":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"bigmarker","title":"Integration Type","default":"bigmarker"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"BigMarker"},"discriminator":{"type":"string","const":"bigmarker","title":"Discriminator","default":"bigmarker"},"tap_variant":{"type":"string","title":"Tap Variant","default":"bigmarker--manuelapilongo"},"api_url":{"type":"string","title":"Api Url","description":"The url for the API service","default":""},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaBigMarker"},"IntegrationDetailsSchemaBigquery":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"bigquery","title":"Integration Type","default":"bigquery"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"serviceAccountKey":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Serviceaccountkey","description":"Json key for GCP service account"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"GCP project id (optional but required for ETL syncs)"},"discriminator":{"type":"string","const":"bigquery","title":"Discriminator","default":"bigquery"},"display_name":{"type":"string","title":"Display Name","default":"BigQuery"}},"type":"object","title":"IntegrationDetailsSchemaBigquery"},"IntegrationDetailsSchemaBrillium":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"brillium","title":"Integration Type","default":"brillium"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Brillium"},"discriminator":{"type":"string","const":"brillium","title":"Discriminator","default":"brillium"},"tap_variant":{"type":"string","title":"Tap Variant","default":"brillium--manuelapilongo"},"base_uri":{"type":"string","title":"Base Uri","description":"The base url for the API service","default":""},"api_key":{"type":"string","title":"Api Key","description":"The key to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaBrillium"},"IntegrationDetailsSchemaCanvas":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"canvas","title":"Integration Type","default":"canvas"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Canvas"},"discriminator":{"type":"string","const":"canvas","title":"Discriminator","default":"canvas"},"tap_variant":{"type":"string","title":"Tap Variant","default":"canvas--mwcooley99"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaCanvas"},"IntegrationDetailsSchemaChorusai":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"chorusai","title":"Integration Type","default":"chorusai"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Chorus.ai"},"discriminator":{"type":"string","const":"chorusai","title":"Discriminator","default":"chorusai"},"tap_variant":{"type":"string","title":"Tap Variant","default":"chorusai--andyoneal"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaChorusai"},"IntegrationDetailsSchemaClickcast":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"clickcast","title":"Integration Type","default":"clickcast"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Clickcast"},"discriminator":{"type":"string","const":"clickcast","title":"Discriminator","default":"clickcast"},"tap_variant":{"type":"string","title":"Tap Variant","default":"clickcast--datateer"},"partner_token":{"type":"string","title":"Partner Token","description":"A partner token generated by the Clickcast portal","default":""}},"type":"object","title":"IntegrationDetailsSchemaClickcast"},"IntegrationDetailsSchemaClickup":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"clickup","title":"Integration Type","default":"clickup"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Clickup"},"discriminator":{"type":"string","const":"clickup","title":"Discriminator","default":"clickup"},"tap_variant":{"type":"string","title":"Tap Variant","default":"clickup--autoidm"},"api_token":{"type":"string","title":"Api Token","description":"Example: 'pk_12345","default":""}},"type":"object","title":"IntegrationDetailsSchemaClickup"},"IntegrationDetailsSchemaClientSuccess":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"clientsuccess","title":"Integration Type","default":"clientsuccess"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Client Success"},"discriminator":{"type":"string","const":"clientsuccess","title":"Discriminator","default":"clientsuccess"},"tap_variant":{"type":"string","title":"Tap Variant","default":"clientsuccess--antiny"},"username":{"type":"string","title":"Username","description":"The username to authenticate against the API service","default":""},"password":{"type":"string","title":"Password","description":"The password to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaClientSuccess"},"IntegrationDetailsSchemaCloseio":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"closeio","title":"Integration Type","default":"closeio"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Close.io"},"discriminator":{"type":"string","const":"closeio","title":"Discriminator","default":"closeio"},"tap_variant":{"type":"string","title":"Tap Variant","default":"closeio--singer-io"},"api_key":{"type":"string","title":"Api Key","description":"Your Close.io API key. Login to your Close.io account, navigate to your account settings and Your API Keys. Generate a New API Key, you'll need it for the next step.","default":""}},"type":"object","title":"IntegrationDetailsSchemaCloseio"},"IntegrationDetailsSchemaCloudwatch":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"cloudwatch","title":"Integration Type","default":"cloudwatch"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"AWS Cloudwatch"},"discriminator":{"type":"string","const":"cloudwatch","title":"Discriminator","default":"cloudwatch"},"tap_variant":{"type":"string","title":"Tap Variant","default":"cloudwatch--meltanolabs"},"query":{"type":"string","title":"Query","description":"The query string to use. For more information, see [CloudWatch Logs Insights Query Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).","default":""},"log_group_name":{"type":"string","title":"Log Group Name","description":"The log group on which to perform the query.","default":""}},"type":"object","title":"IntegrationDetailsSchemaCloudwatch"},"IntegrationDetailsSchemaCoinGecko":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"coingecko","title":"Integration Type","default":"coingecko"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"CoinGecko"},"discriminator":{"type":"string","const":"coingecko","title":"Discriminator","default":"coingecko"},"tap_variant":{"type":"string","title":"Tap Variant","default":"coingecko--sicarul"},"token":{"type":"string","title":"Token","description":"The name of the token to import the price history of","default":""}},"type":"object","title":"IntegrationDetailsSchemaCoinGecko"},"IntegrationDetailsSchemaCube":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"cube","title":"Integration Type","default":"cube"},"category":{"type":"string","title":"Category","default":"metadata"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Cube"},"discriminator":{"type":"string","const":"cube","title":"Discriminator","default":"cube"},"dbIntegrationId":{"type":"string","title":"Dbintegrationid","description":"Database integration ID","default":""},"enable_cache":{"type":"boolean","title":"Enable Cache","description":"Enables caching in redis","default":true}},"type":"object","title":"IntegrationDetailsSchemaCube"},"IntegrationDetailsSchemaCurrencyFreaks":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"currencyfreaks","title":"Integration Type","default":"currencyfreaks"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"CurrencyFreaks"},"discriminator":{"type":"string","const":"currencyfreaks","title":"Discriminator","default":"currencyfreaks"},"tap_variant":{"type":"string","title":"Tap Variant","default":"currencyfreaks--spacecowboy"},"api_key":{"type":"string","title":"Api Key","description":"The API key for your account.","default":""}},"type":"object","title":"IntegrationDetailsSchemaCurrencyFreaks"},"IntegrationDetailsSchemaCustom":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"custom","title":"Integration Type","default":"custom"},"category":{"type":"string","title":"Category","default":"other"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"discriminator":{"type":"string","const":"custom","title":"Discriminator","default":"custom"},"display_name":{"type":"string","title":"Display Name","default":"Custom"},"secrets":{"additionalProperties":{"type":"string"},"type":"object","title":"Secrets","description":"Arbitrary key-value pairs where all values are encrypted as secrets"}},"additionalProperties":true,"type":"object","title":"IntegrationDetailsSchemaCustom","description":"Custom integration type that allows storing arbitrary key-value pairs.\nAll values are treated as secrets and will be encrypted."},"IntegrationDetailsSchemaDagster":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"dagster","title":"Integration Type","default":"dagster"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Dagster"},"discriminator":{"type":"string","const":"dagster","title":"Discriminator","default":"dagster"},"tap_variant":{"type":"string","title":"Tap Variant","default":"dagster--voxmedia"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""},"api_url":{"type":"string","title":"Api Url","description":"The url for the API","default":""}},"type":"object","title":"IntegrationDetailsSchemaDagster"},"IntegrationDetailsSchemaDashHudson":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"dashhudson","title":"Integration Type","default":"dashhudson"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Dash Hudson"},"discriminator":{"type":"string","const":"dashhudson","title":"Discriminator","default":"dashhudson"},"tap_variant":{"type":"string","title":"Tap Variant","default":"dash-hudson--gthesheep"},"brand_id":{"type":"string","title":"Brand Id","description":"Brand IDs to query for","default":""},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaDashHudson"},"IntegrationDetailsSchemaDatadog":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"datadog","title":"Integration Type","default":"datadog"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Datadog"},"discriminator":{"type":"string","const":"datadog","title":"Discriminator","default":"datadog"},"tap_variant":{"type":"string","title":"Tap Variant","default":"datadog--degreed-data-engineering"},"app_key":{"type":"string","title":"App Key","description":"DD-APP-KEY","default":""},"api_key":{"type":"string","title":"Api Key","description":"DD-API-KEY","default":""}},"type":"object","title":"IntegrationDetailsSchemaDatadog"},"IntegrationDetailsSchemaDixa":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"dixa","title":"Integration Type","default":"dixa"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Dixa"},"discriminator":{"type":"string","const":"dixa","title":"Discriminator","default":"dixa"},"tap_variant":{"type":"string","title":"Tap Variant","default":"dixa--singer-io"},"api_token":{"type":"string","title":"Api Token","description":"Your dixa API token, see the docs https://docs.dixa.io/docs/tutorial-create-an-api-token/.","default":""}},"type":"object","title":"IntegrationDetailsSchemaDixa"},"IntegrationDetailsSchemaDomo":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"domo","title":"Integration Type","default":"domo"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Domo"},"discriminator":{"type":"string","const":"domo","title":"Discriminator","default":"domo"},"tap_variant":{"type":"string","title":"Tap Variant","default":"domo--mashey"},"data_specs":{"type":"string","title":"Data Specs","description":"The specs of the tables to sync.","default":""},"client_secret":{"type":"string","title":"Client Secret","description":"Your Domo client secret.","default":""},"client_id":{"type":"string","title":"Client Id","description":"Your Domo client ID.","default":""}},"type":"object","title":"IntegrationDetailsSchemaDomo"},"IntegrationDetailsSchemaDucklake":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"ducklake","title":"Integration Type","default":"ducklake"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"discriminator":{"type":"string","const":"ducklake","title":"Discriminator","default":"ducklake"},"display_name":{"type":"string","title":"Display Name","default":"DuckLake"},"region":{"type":"string","enum":["US","EU","EUROPE-WEST2","ASIA","AUSTRALIA-SOUTHEAST1"],"title":"Region","description":"GCS region for data storage.","default":"US"},"history_days":{"type":"integer","minimum":0.0,"title":"History Days","description":"Days of snapshot history (time travel) to preserve. Snapshots older than this are expired during maintenance; 0 keeps only the latest snapshot.","default":0},"batch_size_rows_override":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Batch Size Rows Override","description":"Max rows per parquet file."},"pg_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pg Host","description":"Direct Postgres host (used by Meltano/dlt)"},"pg_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pg Port","description":"Direct Postgres port (used by Meltano/dlt)","default":5432},"pg_supavisor_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pg Supavisor Port","description":"Supavisor transaction-mode pooler port (legacy; runtime reads from settings)","default":6543},"pg_database":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pg Database","description":"Postgres database name"},"pg_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pg Schema","description":"Postgres schema name (team-specific)"},"pg_user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pg User","description":"Legacy per-tenant Postgres user. Unused when uses_shared_runtime=True.","deprecated":true},"pg_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pg Password","description":"Legacy per-tenant Postgres password. Unused when uses_shared_runtime=True.","deprecated":true},"pg_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pg Role","description":"Per-team NOLOGIN Postgres role assumed via ``SET LOCAL ROLE`` for metadata catalog access."},"usePgbouncer":{"type":"boolean","title":"Usepgbouncer","description":"Legacy: only consulted when ``uses_shared_runtime=False``. If true, route tenant traffic through legacy PgBouncer instead of Supavisor.","default":false,"deprecated":true},"pgbouncerFlaggedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pgbouncerflaggedat","description":"Legacy: only consulted when ``uses_shared_runtime=False``. When ``use_pgbouncer`` was last (re-)affirmed.","deprecated":true},"usesSharedRuntime":{"type":"boolean","title":"Usessharedruntime","description":"If true, the catalog DSN is built from ``settings.services.supabase_ducklake.runtime_user`` / ``runtime_password`` instead of the integration's per-tenant ``pg_user``/``pg_password``. New teams provision with this flag set; existing teams flip it via the ``ducklake-runtime migrate-team`` CLI.","default":false},"gcs_bucket_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Bucket Path","description":"GCS bucket path (team-specific)"},"gcs_access_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Access Key Id","description":"GCS HMAC access key ID"},"gcs_secret_access_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Secret Access Key","description":"GCS HMAC secret key"},"gcp_service_account_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcp Service Account Email","description":"GCP service account email"},"serviceAccountKey":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Serviceaccountkey","description":"Json key for GCP service account"},"ducklake_max_retry_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Ducklake Max Retry Count","description":"The maximum amount of retry attempts for a ducklake transaction","default":20},"ducklake_retry_wait_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Ducklake Retry Wait Ms","description":"Time between retries","default":100},"ducklake_retry_backoff":{"anyOf":[{"type":"number","minimum":1.0},{"type":"null"}],"title":"Ducklake Retry Backoff","description":"Backoff factor for exponentially increasing retry wait time","default":1.25},"server_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Server Url","description":"DuckDB server url."},"default_schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Schema","description":"Default schema to use for queries.","default":"LAKE"},"rewrite_to_integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Rewrite To Integration Id","description":"Integration ID to rewrite to."}},"type":"object","title":"IntegrationDetailsSchemaDucklake"},"IntegrationDetailsSchemaEmarsys":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"emarsys","title":"Integration Type","default":"emarsys"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Emarsys"},"discriminator":{"type":"string","const":"emarsys","title":"Discriminator","default":"emarsys"},"tap_variant":{"type":"string","title":"Tap Variant","default":"emarsys--gthesheep"},"username":{"type":"string","title":"Username","description":"The username obtained for the API user","default":""},"secret":{"type":"string","title":"Secret","description":"The secret obtained for the API user","default":""}},"type":"object","title":"IntegrationDetailsSchemaEmarsys"},"IntegrationDetailsSchemaExcel-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"excel","title":"Integration Type","default":"excel"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Excel"},"discriminator":{"type":"string","const":"excel","title":"Discriminator","default":"excel"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaExcel"},"IntegrationDetailsSchemaExcel-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"excel","title":"Integration Type","default":"excel"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Excel"},"discriminator":{"type":"string","const":"excel","title":"Discriminator","default":"excel"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaExcel"},"IntegrationDetailsSchemaFacebookAds-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"facebookads","title":"Integration Type","default":"facebookads"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Facebook Ads"},"discriminator":{"type":"string","const":"facebookads","title":"Discriminator","default":"facebookads"},"tap_variant":{"type":"string","title":"Tap Variant","default":"facebook--meltanolabs"},"accountId":{"type":"string","title":"Accountid","description":"Facebook Ads account ID","default":""},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD","default":"2020-01-01T00:00:00Z"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaFacebookAds"},"IntegrationDetailsSchemaFacebookAds-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"facebookads","title":"Integration Type","default":"facebookads"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Facebook Ads"},"discriminator":{"type":"string","const":"facebookads","title":"Discriminator","default":"facebookads"},"tap_variant":{"type":"string","title":"Tap Variant","default":"facebook--meltanolabs"},"accountId":{"type":"string","title":"Accountid","description":"Facebook Ads account ID","default":""},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD","default":"2020-01-01T00:00:00Z"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaFacebookAds"},"IntegrationDetailsSchemaFacebookAdsSystemUser":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"facebookads_system_user","title":"Integration Type","default":"facebookads_system_user"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Facebook Ads (System User)"},"discriminator":{"type":"string","const":"facebookads_system_user","title":"Discriminator","default":"facebookads_system_user"},"tap_variant":{"type":"string","title":"Tap Variant","default":"facebook--meltanolabs"},"access_token":{"type":"string","title":"Access Token","description":"System User token from Meta Business Manager","default":""},"accountId":{"type":"string","title":"Accountid","description":"Facebook Ads account ID","default":""},"startDate":{"type":"string","title":"Startdate","description":"Start date in ISO format","default":"2020-01-01T00:00:00Z"}},"type":"object","title":"IntegrationDetailsSchemaFacebookAdsSystemUser"},"IntegrationDetailsSchemaFastly":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"fastly","title":"Integration Type","default":"fastly"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Fastly"},"discriminator":{"type":"string","const":"fastly","title":"Discriminator","default":"fastly"},"tap_variant":{"type":"string","title":"Tap Variant","default":"fastly--splitio"},"api_token":{"type":"string","title":"Api Token","description":"Fastly token for authenticating with the API.","default":"Ex. *****************"}},"type":"object","title":"IntegrationDetailsSchemaFastly"},"IntegrationDetailsSchemaFishbowl":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"fishbowl","title":"Integration Type","default":"fishbowl"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Fishbowl"},"discriminator":{"type":"string","const":"fishbowl","title":"Discriminator","default":"fishbowl"},"tap_variant":{"type":"string","title":"Tap Variant","default":"fishbowl--hotgluexyz"},"username":{"type":"string","title":"Username","description":"Registered username on the Fishbowl's server","default":""},"password":{"type":"string","title":"Password","description":"Username's password","default":""},"instance":{"type":"string","title":"Instance","description":"The URL instance for API's base_url","default":""},"app_name":{"type":"string","title":"App Name","description":"The App name registered and approved in the Fishbowl Client","default":""},"app_id":{"type":"string","title":"App Id","description":"App id","default":""}},"type":"object","title":"IntegrationDetailsSchemaFishbowl"},"IntegrationDetailsSchemaFreshcaller":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"freshcaller","title":"Integration Type","default":"freshcaller"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Freshcaller"},"discriminator":{"type":"string","const":"freshcaller","title":"Discriminator","default":"freshcaller"},"tap_variant":{"type":"string","title":"Tap Variant","default":"freshcaller--hotgluexyz"},"org_name":{"type":"string","title":"Org Name","description":"Your Freshcaller org name.","default":""},"api_key":{"type":"string","title":"Api Key","description":"Your Freshcaller API key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaFreshcaller"},"IntegrationDetailsSchemaFreshdesk":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"freshdesk","title":"Integration Type","default":"freshdesk"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Freshdesk"},"discriminator":{"type":"string","const":"freshdesk","title":"Discriminator","default":"freshdesk"},"tap_variant":{"type":"string","title":"Tap Variant","default":"freshdesk--singer-io"},"domain":{"type":"string","title":"Domain","description":"Your Freshdesk subdomain.","default":""},"api_key":{"type":"string","title":"Api Key","description":"Your Freshdesk API key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaFreshdesk"},"IntegrationDetailsSchemaFreshworks":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"freshworks","title":"Integration Type","default":"freshworks"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Freshworks"},"discriminator":{"type":"string","const":"freshworks","title":"Discriminator","default":"freshworks"},"tap_variant":{"type":"string","title":"Tap Variant","default":"freshworks--hotgluexyz"},"org_name":{"type":"string","title":"Org Name","description":"Your Freshworks Org name.","default":""},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaFreshworks"},"IntegrationDetailsSchemaFullstory":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"fullstory","title":"Integration Type","default":"fullstory"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Fullstory"},"discriminator":{"type":"string","const":"fullstory","title":"Discriminator","default":"fullstory"},"tap_variant":{"type":"string","title":"Tap Variant","default":"fullstory--singer-io"},"api_key":{"type":"string","title":"Api Key","description":"Your FullStory API key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaFullstory"},"IntegrationDetailsSchemaGainsightPx":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"gainsightpx","title":"Integration Type","default":"gainsightpx"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Gainsight PX"},"discriminator":{"type":"string","const":"gainsightpx","title":"Discriminator","default":"gainsightpx"},"tap_variant":{"type":"string","title":"Tap Variant","default":"gainsightpx--widen"},"api_key":{"type":"string","title":"Api Key","description":"The api key to authenticate against the GainsightPX service","default":""}},"type":"object","title":"IntegrationDetailsSchemaGainsightPx"},"IntegrationDetailsSchemaGcs":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"gcs","title":"Integration Type","default":"gcs"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"serviceAccountKey":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Serviceaccountkey","description":"Json key for GCP service account"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id","description":"GCP project id (optional but required for ETL syncs)"},"discriminator":{"type":"string","const":"gcs","title":"Discriminator","default":"gcs"},"display_name":{"type":"string","title":"Display Name","default":"Google Cloud Storage"}},"type":"object","title":"IntegrationDetailsSchemaGcs"},"IntegrationDetailsSchemaGetPocket":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"getpocket","title":"Integration Type","default":"getpocket"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Pocket"},"discriminator":{"type":"string","const":"getpocket","title":"Discriminator","default":"getpocket"},"tap_variant":{"type":"string","title":"Tap Variant","default":"getpocket--edgarrmondragon"},"consumer_key":{"type":"string","title":"Consumer Key","description":"Pocket application key","default":""},"access_token":{"type":"string","title":"Access Token","description":"Pocket user access token","default":""}},"type":"object","title":"IntegrationDetailsSchemaGetPocket"},"IntegrationDetailsSchemaGithub":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"github","title":"Integration Type","default":"github"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Github"},"discriminator":{"type":"string","const":"github","title":"Discriminator","default":"github"},"tap_variant":{"type":"string","title":"Tap Variant","default":"github--singer-io"},"repository":{"type":"string","title":"Repository","description":"Space-separated list of repositories. Each repository must be prefaced by the user/organization name, e.g. meltano/meltano meltano/sdk meltano/hub","default":"Ex. meltano/meltano meltano/sdk meltano/hub"},"access_token":{"type":"string","title":"Access Token","description":"Personal access token used to authenticate with GitHub. The token can be generated by going to the [Personal Access Token settings page](https://github.com/settings/tokens).","default":""}},"type":"object","title":"IntegrationDetailsSchemaGithub"},"IntegrationDetailsSchemaGladly":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"gladly","title":"Integration Type","default":"gladly"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Gladly"},"discriminator":{"type":"string","const":"gladly","title":"Discriminator","default":"gladly"},"tap_variant":{"type":"string","title":"Tap Variant","default":"gladly--harrystech"},"username":{"type":"string","title":"Username","description":"The username to authenticate against the API service","default":""},"password":{"type":"string","title":"Password","description":"The username to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaGladly"},"IntegrationDetailsSchemaGong":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"gong","title":"Integration Type","default":"gong"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Gong"},"discriminator":{"type":"string","const":"gong","title":"Discriminator","default":"gong"},"tap_variant":{"type":"string","title":"Tap Variant","default":"gong--symon-ai"},"access_key":{"type":"string","title":"Access Key","description":"Gong access key","default":""},"access_key_secret":{"type":"string","title":"Access Key Secret","description":"Gong access key secret","default":""}},"type":"object","title":"IntegrationDetailsSchemaGong"},"IntegrationDetailsSchemaGoogleAds-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googleads","title":"Integration Type","default":"googleads"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Ads"},"discriminator":{"type":"string","const":"googleads","title":"Discriminator","default":"googleads"},"tap_variant":{"type":"string","title":"Tap Variant","default":"google-ads--matatika"},"login_customer_id":{"type":"string","title":"Login Customer Id","description":"Customer ID of the Google Ads account used for authentication (Required)."},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD. Any data before this date will not be extracted.","default":"2020-01-01"}},"type":"object","required":["code","login_customer_id"],"title":"IntegrationDetailsSchemaGoogleAds"},"IntegrationDetailsSchemaGoogleAds-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googleads","title":"Integration Type","default":"googleads"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Ads"},"discriminator":{"type":"string","const":"googleads","title":"Discriminator","default":"googleads"},"tap_variant":{"type":"string","title":"Tap Variant","default":"google-ads--matatika"},"login_customer_id":{"type":"string","title":"Login Customer Id","description":"Customer ID of the Google Ads account used for authentication (Required)."},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD. Any data before this date will not be extracted.","default":"2020-01-01"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true},"developer_token":{"type":"string","title":"Developer Token","readOnly":true}},"type":"object","required":["code","login_customer_id","client_id","client_secret","developer_token"],"title":"IntegrationDetailsSchemaGoogleAds"},"IntegrationDetailsSchemaGoogleAnalytics-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googleanalytics","title":"Integration Type","default":"googleanalytics"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Analytics"},"discriminator":{"type":"string","const":"googleanalytics","title":"Discriminator","default":"googleanalytics"},"tap_variant":{"type":"string","title":"Tap Variant","default":"ga4--meltanolabs"},"property_id":{"type":"string","title":"Property Id","description":"Google Analytics Property ID"}},"type":"object","required":["code","property_id"],"title":"IntegrationDetailsSchemaGoogleAnalytics"},"IntegrationDetailsSchemaGoogleAnalytics-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googleanalytics","title":"Integration Type","default":"googleanalytics"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Analytics"},"discriminator":{"type":"string","const":"googleanalytics","title":"Discriminator","default":"googleanalytics"},"tap_variant":{"type":"string","title":"Tap Variant","default":"ga4--meltanolabs"},"property_id":{"type":"string","title":"Property Id","description":"Google Analytics Property ID"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","property_id","client_id","client_secret"],"title":"IntegrationDetailsSchemaGoogleAnalytics"},"IntegrationDetailsSchemaGoogleSearchConsole-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googlesearchconsole","title":"Integration Type","default":"googlesearchconsole"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Search Console"},"discriminator":{"type":"string","const":"googlesearchconsole","title":"Discriminator","default":"googlesearchconsole"},"tap_variant":{"type":"string","title":"Tap Variant","default":"google-search-console--singer-io"},"site_urls":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Urls","description":"Comma seperated list of site URLs to extract data from. To capture the whole domain, use sc-domain:example.com"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaGoogleSearchConsole"},"IntegrationDetailsSchemaGoogleSearchConsole-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googlesearchconsole","title":"Integration Type","default":"googlesearchconsole"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Search Console"},"discriminator":{"type":"string","const":"googlesearchconsole","title":"Discriminator","default":"googlesearchconsole"},"tap_variant":{"type":"string","title":"Tap Variant","default":"google-search-console--singer-io"},"site_urls":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Urls","description":"Comma seperated list of site URLs to extract data from. To capture the whole domain, use sc-domain:example.com"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaGoogleSearchConsole"},"IntegrationDetailsSchemaGoogleSheets-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googlesheets","title":"Integration Type","default":"googlesheets"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Sheets"},"discriminator":{"type":"string","const":"googlesheets","title":"Discriminator","default":"googlesheets"},"tap_variant":{"type":"string","title":"Tap Variant","default":"google-sheets--matatika"},"sheet_id":{"type":"string","title":"Sheet Id","description":"Google Sheet ID"},"key_properties":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Properties","description":"Optional. Comma separated list of column(s) to use as primary key(s)"},"child_sheet_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Child Sheet Name","description":"Optional. Name of the child sheet, defaults to first sheet if None"},"stream_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stream Name","description":"Optional. Name for table in target"}},"type":"object","required":["code","sheet_id"],"title":"IntegrationDetailsSchemaGoogleSheets"},"IntegrationDetailsSchemaGoogleSheets-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"googlesheets","title":"Integration Type","default":"googlesheets"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Sheets"},"discriminator":{"type":"string","const":"googlesheets","title":"Discriminator","default":"googlesheets"},"tap_variant":{"type":"string","title":"Tap Variant","default":"google-sheets--matatika"},"sheet_id":{"type":"string","title":"Sheet Id","description":"Google Sheet ID"},"key_properties":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Properties","description":"Optional. Comma separated list of column(s) to use as primary key(s)"},"child_sheet_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Child Sheet Name","description":"Optional. Name of the child sheet, defaults to first sheet if None"},"stream_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stream Name","description":"Optional. Name for table in target"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","sheet_id","client_id","client_secret"],"title":"IntegrationDetailsSchemaGoogleSheets"},"IntegrationDetailsSchemaGreenhouse":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"greenhouse","title":"Integration Type","default":"greenhouse"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Greenhouse"},"discriminator":{"type":"string","const":"greenhouse","title":"Discriminator","default":"greenhouse"},"tap_variant":{"type":"string","title":"Tap Variant","default":"greenhouse--rawwar"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaGreenhouse"},"IntegrationDetailsSchemaHellobaton":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"hellobaton","title":"Integration Type","default":"hellobaton"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Hellobaton"},"discriminator":{"type":"string","const":"hellobaton","title":"Discriminator","default":"hellobaton"},"tap_variant":{"type":"string","title":"Tap Variant","default":"hellobaton--dluftspring"},"company":{"type":"string","title":"Company","description":"Company instance to add to the base url","default":""},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaHellobaton"},"IntegrationDetailsSchemaHolidays":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"holidays","title":"Integration Type","default":"holidays"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Holidays"},"discriminator":{"type":"string","const":"holidays","title":"Discriminator","default":"holidays"},"tap_variant":{"type":"string","title":"Tap Variant","default":"holidays--goodeggs"},"api_key":{"type":"string","title":"Api Key","description":"A valid Holiday API key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaHolidays"},"IntegrationDetailsSchemaHotjar":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"hotjar","title":"Integration Type","default":"hotjar"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Hotjar"},"discriminator":{"type":"string","const":"hotjar","title":"Discriminator","default":"hotjar"},"tap_variant":{"type":"string","title":"Tap Variant","default":"hotjar--epoch8"},"email":{"type":"string","title":"Email","description":"User email","default":""},"password":{"type":"string","title":"Password","description":"Project IDs to replicate","default":""}},"type":"object","title":"IntegrationDetailsSchemaHotjar"},"IntegrationDetailsSchemaHubspot":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"hubspot","title":"Integration Type","default":"hubspot"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Hubspot"},"discriminator":{"type":"string","const":"hubspot","title":"Discriminator","default":"hubspot"},"access_token":{"type":"string","title":"Access Token","description":"Token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaHubspot"},"IntegrationDetailsSchemaIceberg":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"iceberg","title":"Integration Type","default":"iceberg"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Iceberg"},"discriminator":{"type":"string","const":"iceberg","title":"Discriminator","default":"iceberg"},"gcs_access_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Access Key"},"gcs_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gcs Secret"},"trino_catalog_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trino Catalog Name","description":"Name of the Trino catalog. You generally don't need to set this."},"primary_key_mapping":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Key Mapping","description":"Mapping of source table to primary key column. Use {\"schema.table\": \"primary_key\"} format."},"duckdb_sync_config":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duckdb Sync Config","description":"Mapping of table paths for incremental DuckDB sync. Use {table_path: updated_at_col} format."}},"type":"object","title":"IntegrationDetailsSchemaIceberg"},"IntegrationDetailsSchemaImmuta":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"immuta","title":"Integration Type","default":"immuta"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Immuta"},"discriminator":{"type":"string","const":"immuta","title":"Discriminator","default":"immuta"},"tap_variant":{"type":"string","title":"Tap Variant","default":"immuta--immuta"},"api_key":{"type":"string","title":"Api Key","description":"User-generated Immuta API Key.","default":""},"hostname":{"type":"string","title":"Hostname","description":"Immuta hostname, e.g. https://my-immuta.my-domain.com","default":""}},"type":"object","title":"IntegrationDetailsSchemaImmuta"},"IntegrationDetailsSchemaInstagram-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"instagram","title":"Integration Type","default":"instagram"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Instagram"},"discriminator":{"type":"string","const":"instagram","title":"Discriminator","default":"instagram"},"tap_variant":{"type":"string","title":"Tap Variant","default":"instagram--voxmedia"},"igUserIds":{"type":"string","title":"Iguserids","description":"Array of IDs of Instagram accounts to extract data from.","default":"[]"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaInstagram"},"IntegrationDetailsSchemaInstagram-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"instagram","title":"Integration Type","default":"instagram"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Instagram"},"discriminator":{"type":"string","const":"instagram","title":"Discriminator","default":"instagram"},"tap_variant":{"type":"string","title":"Tap Variant","default":"instagram--voxmedia"},"igUserIds":{"type":"string","title":"Iguserids","description":"Array of IDs of Instagram accounts to extract data from.","default":"[]"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaInstagram"},"IntegrationDetailsSchemaIntercom-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"intercom","title":"Integration Type","default":"intercom"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Intercom"},"discriminator":{"type":"string","const":"intercom","title":"Discriminator","default":"intercom"},"tap_variant":{"type":"string","title":"Tap Variant","default":"intercom--airbyte"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaIntercom"},"IntegrationDetailsSchemaIntercom-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"intercom","title":"Integration Type","default":"intercom"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Intercom"},"discriminator":{"type":"string","const":"intercom","title":"Discriminator","default":"intercom"},"tap_variant":{"type":"string","title":"Tap Variant","default":"intercom--airbyte"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaIntercom"},"IntegrationDetailsSchemaIterable":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"iterable","title":"Integration Type","default":"iterable"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Iterable"},"discriminator":{"type":"string","const":"iterable","title":"Discriminator","default":"iterable"},"tap_variant":{"type":"string","title":"Tap Variant","default":"iterable--lambtron"},"api_key":{"type":"string","title":"Api Key","description":"Iterable Server-side API Key with standard permissions. See [API Keys docs](https://support.iterable.com/hc/en-us/articles/360043464871-API-Keys-) for more details.","default":""},"api_window_in_days":{"type":"integer","title":"Api Window In Days","description":"The amount of days to request in each set of data. Default 30.","default":30}},"type":"object","title":"IntegrationDetailsSchemaIterable"},"IntegrationDetailsSchemaJira":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"jira","title":"Integration Type","default":"jira"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Jira"},"discriminator":{"type":"string","const":"jira","title":"Discriminator","default":"jira"},"tap_variant":{"type":"string","title":"Tap Variant","default":"jira--meltanolabs"},"domain":{"type":"string","title":"Domain","description":"Jira domain (e.g., example.atlassian.net)","default":""},"email":{"type":"string","title":"Email","description":"Jira user email","default":""},"apiToken":{"type":"string","title":"Apitoken","description":"Jira API token","default":""},"startDate":{"type":"string","title":"Startdate","description":"Start date in YYYY-MM-DD format","default":"2020-01-01"},"cloudId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cloudid","description":"Jira Cloud ID. Required for service account (…@serviceaccount.atlassian.com) and other scoped/granular token connections; leave blank for a classic personal API token. See: https://support.atlassian.com/jira/kb/retrieve-my-atlassian-sites-cloud-id/"}},"type":"object","title":"IntegrationDetailsSchemaJira"},"IntegrationDetailsSchemaJotform":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"jotform","title":"Integration Type","default":"jotform"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Jotform"},"discriminator":{"type":"string","const":"jotform","title":"Discriminator","default":"jotform"},"tap_variant":{"type":"string","title":"Tap Variant","default":"jotform--hotgluexyz"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaJotform"},"IntegrationDetailsSchemaJudgeme":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"judgeme","title":"Integration Type","default":"judgeme"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Judgeme"},"discriminator":{"type":"string","const":"judgeme","title":"Discriminator","default":"judgeme"},"tap_variant":{"type":"string","title":"Tap Variant","default":"judgeme--hotgluexyz"},"shop_domain":{"type":"string","title":"Shop Domain","description":"Your Judge.me shop domain.","default":""},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaJudgeme"},"IntegrationDetailsSchemaKeap":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"keap","title":"Integration Type","default":"keap"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Keap"},"discriminator":{"type":"string","const":"keap","title":"Discriminator","default":"keap"},"tap_variant":{"type":"string","title":"Tap Variant","default":"keap--hotgluexyz"},"client_id":{"type":"string","title":"Client Id","description":"Your Keap Client ID.","default":""},"client_secret":{"type":"string","title":"Client Secret","description":"Your Keap Client Secret.","default":""}},"type":"object","title":"IntegrationDetailsSchemaKeap"},"IntegrationDetailsSchemaKlaviyo":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"klaviyo","title":"Integration Type","default":"klaviyo"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Klaviyo"},"discriminator":{"type":"string","const":"klaviyo","title":"Discriminator","default":"klaviyo"},"tap_variant":{"type":"string","title":"Tap Variant","default":"klaviyo--meltanolabs"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaKlaviyo"},"IntegrationDetailsSchemaKrow":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"krow","title":"Integration Type","default":"krow"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Krow"},"discriminator":{"type":"string","const":"krow","title":"Discriminator","default":"krow"},"tap_variant":{"type":"string","title":"Tap Variant","default":"krow--datateer"},"api_key":{"type":"string","title":"Api Key","description":"Your KROW API key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaKrow"},"IntegrationDetailsSchemaLessonly":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"lessonly","title":"Integration Type","default":"lessonly"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Lessonly"},"discriminator":{"type":"string","const":"lessonly","title":"Discriminator","default":"lessonly"},"tap_variant":{"type":"string","title":"Tap Variant","default":"lessonly--pathlight"},"api_key":{"type":"string","title":"Api Key","description":"Your Lessonly API key.","default":""},"subdomain":{"type":"string","title":"Subdomain","description":"Your Lessonly subdomain.","default":""}},"type":"object","title":"IntegrationDetailsSchemaLessonly"},"IntegrationDetailsSchemaLightdash":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"lightdash","title":"Integration Type","default":"lightdash"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Lightdash"},"discriminator":{"type":"string","const":"lightdash","title":"Discriminator","default":"lightdash"},"tap_variant":{"type":"string","title":"Tap Variant","default":"lightdash--gthesheep"},"url":{"type":"string","title":"Url","description":"URL of your Lightdash instance","default":""}},"type":"object","title":"IntegrationDetailsSchemaLightdash"},"IntegrationDetailsSchemaLinear":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"linear","title":"Integration Type","default":"linear"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Linear"},"discriminator":{"type":"string","const":"linear","title":"Discriminator","default":"linear"},"tap_variant":{"type":"string","title":"Tap Variant","default":"linear--getoslash"},"auth_token":{"type":"string","title":"Auth Token","description":"The API key to authenticate against the API service","default":""},"start_date":{"type":"string","title":"Start Date","description":"Determines how much historical data will be extracted.","default":"2024-01-01T00:00:00Z"}},"type":"object","title":"IntegrationDetailsSchemaLinear"},"IntegrationDetailsSchemaLinkedinAds":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"linkedinads","title":"Integration Type","default":"linkedinads"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Linkedin Ads"},"discriminator":{"type":"string","const":"linkedinads","title":"Discriminator","default":"linkedinads"},"access_token":{"type":"string","title":"Access Token","description":"The token to authenticate against the API service","default":""},"accounts":{"type":"string","title":"Accounts","description":"LinkedInAds Account ID","default":""},"campaign":{"type":"string","title":"Campaign","description":"LinkedInAds Campaign ID","default":""},"campaign_group":{"type":"string","title":"Campaign Group","description":"LinkedInAds Campaign Group ID. Used for the campaign_group stream","default":""},"creative":{"type":"string","title":"Creative","description":"LinkedInAds Creative ID. Used for the creative stream","default":""},"owner":{"type":"string","title":"Owner","description":"LinkedInAds Owner ID","default":""}},"type":"object","title":"IntegrationDetailsSchemaLinkedinAds"},"IntegrationDetailsSchemaLinkedinPages-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"linkedinpages","title":"Integration Type","default":"linkedinpages"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Linkedin Pages"},"discriminator":{"type":"string","const":"linkedinpages","title":"Discriminator","default":"linkedinpages"},"tap_variant":{"type":"string","title":"Tap Variant","default":"airbyte"},"orgId":{"type":"string","title":"Orgid","description":"Linkedin organization ID","default":""}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaLinkedinPages"},"IntegrationDetailsSchemaLinkedinPages-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"linkedinpages","title":"Integration Type","default":"linkedinpages"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Linkedin Pages"},"discriminator":{"type":"string","const":"linkedinpages","title":"Discriminator","default":"linkedinpages"},"tap_variant":{"type":"string","title":"Tap Variant","default":"airbyte"},"orgId":{"type":"string","title":"Orgid","description":"Linkedin organization ID","default":""},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaLinkedinPages"},"IntegrationDetailsSchemaLoopreturns":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"loopreturns","title":"Integration Type","default":"loopreturns"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Loopreturns"},"discriminator":{"type":"string","const":"loopreturns","title":"Discriminator","default":"loopreturns"},"tap_variant":{"type":"string","title":"Tap Variant","default":"loopreturns--loopreturns"},"api_key":{"type":"string","title":"Api Key","description":"Your Loop API key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaLoopreturns"},"IntegrationDetailsSchemaMaestroqa":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"maestroqa","title":"Integration Type","default":"maestroqa"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Maestroqa"},"discriminator":{"type":"string","const":"maestroqa","title":"Discriminator","default":"maestroqa"},"tap_variant":{"type":"string","title":"Tap Variant","default":"maestroqa--pathlight"},"api_token":{"type":"string","title":"Api Token","description":"Your MaestroQA API token for authentication.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMaestroqa"},"IntegrationDetailsSchemaMailerlite":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mailerlite","title":"Integration Type","default":"mailerlite"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Mailerlite"},"discriminator":{"type":"string","const":"mailerlite","title":"Discriminator","default":"mailerlite"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mailerlite--alvaroraul7"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMailerlite"},"IntegrationDetailsSchemaMailjet":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mailjet","title":"Integration Type","default":"mailjet"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Mailjet"},"discriminator":{"type":"string","const":"mailjet","title":"Discriminator","default":"mailjet"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mailjet--somtom"},"api_key":{"type":"string","title":"Api Key","description":"API key to authenticate against the API service","default":""},"api_secret":{"type":"string","title":"Api Secret","description":"API secret to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMailjet"},"IntegrationDetailsSchemaMarketo":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"marketo","title":"Integration Type","default":"marketo"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Marketo"},"discriminator":{"type":"string","const":"marketo","title":"Discriminator","default":"marketo"},"tap_variant":{"type":"string","title":"Tap Variant","default":"marketo--singer-io"},"client_id":{"type":"string","title":"Client Id","description":"See https://developers.marketo.com/rest-api/authentication/.","default":""},"client_secret":{"type":"string","title":"Client Secret","description":"See https://developers.marketo.com/rest-api/authentication/.","default":""},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint URL. See https://developers.marketo.com/rest-api/base-url/.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMarketo"},"IntegrationDetailsSchemaMarketplacer":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"marketplacer","title":"Integration Type","default":"marketplacer"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Marketplacer"},"discriminator":{"type":"string","const":"marketplacer","title":"Discriminator","default":"marketplacer"},"tap_variant":{"type":"string","title":"Tap Variant","default":"marketplacer--hotgluexyz"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMarketplacer"},"IntegrationDetailsSchemaMavenLink":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mavenlink","title":"Integration Type","default":"mavenlink"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Kankata / MavenLink"},"discriminator":{"type":"string","const":"mavenlink","title":"Discriminator","default":"mavenlink"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mavenlink--dbt-labs"},"token":{"type":"string","title":"Token","description":"Token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMavenLink"},"IntegrationDetailsSchemaMegaphone":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"megaphone","title":"Integration Type","default":"megaphone"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Megaphone"},"discriminator":{"type":"string","const":"megaphone","title":"Discriminator","default":"megaphone"},"tap_variant":{"type":"string","title":"Tap Variant","default":"megaphone--yujoy"},"organization_id":{"type":"string","title":"Organization Id","description":"Organization ID from Megaphone.","default":""},"auth_token":{"type":"string","title":"Auth Token","description":"API Token required for authorization. See README in Github Repo for more details.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMegaphone"},"IntegrationDetailsSchemaMemberful":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"memberful","title":"Integration Type","default":"memberful"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Memberful"},"discriminator":{"type":"string","const":"memberful","title":"Discriminator","default":"memberful"},"tap_variant":{"type":"string","title":"Tap Variant","default":"memberful--prratek"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMemberful"},"IntegrationDetailsSchemaMercadopago":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mercadopago","title":"Integration Type","default":"mercadopago"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Mercadopago"},"discriminator":{"type":"string","const":"mercadopago","title":"Discriminator","default":"mercadopago"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mercadopago--a-rusi"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMercadopago"},"IntegrationDetailsSchemaMessagebird":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"messagebird","title":"Integration Type","default":"messagebird"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Messagebird"},"discriminator":{"type":"string","const":"messagebird","title":"Discriminator","default":"messagebird"},"tap_variant":{"type":"string","title":"Tap Variant","default":"messagebird--meltanolabs"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service. Test keys are not supported for Conversations.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMessagebird"},"IntegrationDetailsSchemaMetronome":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"metronome","title":"Integration Type","default":"metronome"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Metronome"},"discriminator":{"type":"string","const":"metronome","title":"Discriminator","default":"metronome"},"tap_variant":{"type":"string","title":"Tap Variant","default":"metronome--hotgluexyz"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMetronome"},"IntegrationDetailsSchemaMindstamp":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mindstamp","title":"Integration Type","default":"mindstamp"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Mindstamp"},"discriminator":{"type":"string","const":"mindstamp","title":"Discriminator","default":"mindstamp"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mindstamp--manuelapilongo"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMindstamp"},"IntegrationDetailsSchemaMiro":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"miro","title":"Integration Type","default":"miro"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Miro"},"discriminator":{"type":"string","const":"miro","title":"Discriminator","default":"miro"},"tap_variant":{"type":"string","title":"Tap Variant","default":"miro--slalom-consulting"},"organization_id":{"type":"string","title":"Organization Id","description":"The ID of an Organization.","default":""},"access_token":{"type":"string","title":"Access Token","description":"Access token for API.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMiro"},"IntegrationDetailsSchemaMixpanel":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mixpanel","title":"Integration Type","default":"mixpanel"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Mixpanel"},"discriminator":{"type":"string","const":"mixpanel","title":"Discriminator","default":"mixpanel"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mixpanel--hotgluexyz"},"api_secret":{"type":"string","title":"Api Secret","description":"Your API secret. Found in Project Settings -> API Secret","default":""},"project_timezone":{"type":"string","title":"Project Timezone","description":"Timezone from Mixpanel project settings, e.g US/Pacific","default":"US/Pacific"},"date_window_size":{"type":"integer","title":"Date Window Size","description":"Number of days to use for date window","default":30},"attribution_window":{"type":"integer","title":"Attribution Window","description":"Minimum number of days to look-back to","default":5},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD (or any rfc3339 date string). Any data before this date will not be extracted. If this option is not set, we will replicate data from up to one year ago by default. The maximum date range that can be queried at once is 365 days.","default":"2000-01-01"},"is_eu_data_residency":{"type":"boolean","title":"Is Eu Data Residency","description":"Was your project created in the EU data center?","default":false}},"type":"object","title":"IntegrationDetailsSchemaMixpanel"},"IntegrationDetailsSchemaMode":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mode","title":"Integration Type","default":"mode"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Mode"},"discriminator":{"type":"string","const":"mode","title":"Discriminator","default":"mode"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mode--franloza"},"workspace":{"type":"string","title":"Workspace","description":"Name of the Mode workspace","default":""},"auth_token":{"type":"string","title":"Auth Token","description":"API access token. See how to obtain it from Mode [here](https://mode.com/developer/api-reference/authentication/)","default":""}},"type":"object","title":"IntegrationDetailsSchemaMode"},"IntegrationDetailsSchemaMonday":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"monday","title":"Integration Type","default":"monday"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Monday.com"},"discriminator":{"type":"string","const":"monday","title":"Discriminator","default":"monday"},"tap_variant":{"type":"string","title":"Tap Variant","default":"monday--gthesheep"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMonday"},"IntegrationDetailsSchemaMongoDB":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mongodb","title":"Integration Type","default":"mongodb"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"MongoDB"},"discriminator":{"type":"string","const":"mongodb","title":"Discriminator","default":"mongodb"},"tap_variant":{"type":"string","title":"Tap Variant","default":"mongodb--z3z1ma"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port","default":27017},"database_includes":{"type":"string","title":"Database Includes","description":"Include this set of databases in extraction. Json array format: [\"db_name1\", \"db_name2\"] or string of db names separated by commas","default":"[]"},"database_excludes":{"type":"string","title":"Database Excludes","description":"If specified, excludes this set of databases. Json array format: [\"db_name1\", \"db_name2\"] or string of db names separated by commas. Note: System databases: admin and local are always excluded.","default":"[]"},"use_ssh":{"type":"boolean","title":"Use Ssh","default":false},"ssh_config":{"anyOf":[{"$ref":"#/components/schemas/SshConfig"},{"type":"null"}]},"use_static_egress_ip":{"type":"boolean","title":"Use Static Egress Ip","description":"Enable this if your database requires IP whitelisting. Connections will originate from a static IP address (146.148.83.61) that you can add to your firewall allowlist.","default":false}},"type":"object","required":["username","password","host"],"title":"IntegrationDetailsSchemaMongoDB"},"IntegrationDetailsSchemaMontapacking":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"montapacking","title":"Integration Type","default":"montapacking"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Montapacking"},"discriminator":{"type":"string","const":"montapacking","title":"Discriminator","default":"montapacking"},"tap_variant":{"type":"string","title":"Tap Variant","default":"montapacking--hotgluexyz"},"username":{"type":"string","title":"Username","description":"Your montapacking username.","default":""},"password":{"type":"string","title":"Password","description":"Your montapacking password.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMontapacking"},"IntegrationDetailsSchemaMoosend":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"moosend","title":"Integration Type","default":"moosend"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Moosend"},"discriminator":{"type":"string","const":"moosend","title":"Discriminator","default":"moosend"},"tap_variant":{"type":"string","title":"Tap Variant","default":"moosend--hotgluexyz"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaMoosend"},"IntegrationDetailsSchemaMsGraph":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"msgraph","title":"Integration Type","default":"msgraph"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Microsoft Graph"},"discriminator":{"type":"string","const":"msgraph","title":"Discriminator","default":"msgraph"},"tap_variant":{"type":"string","title":"Tap Variant","default":"ms-graph--slalom-consulting"},"client_secret":{"type":"string","title":"Client Secret","description":"The client secret generated for the app in the app registration portal.","default":""},"tenant":{"type":"string","title":"Tenant","description":"The directory tenant to request permission from. The value can be in GUID or a friendly name format.","default":""},"client_id":{"type":"string","title":"Client Id","description":"The application ID that the Azure app registration portal assigned to the registered app.","default":""}},"type":"object","title":"IntegrationDetailsSchemaMsGraph"},"IntegrationDetailsSchemaMySql":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"mysql","title":"Integration Type","default":"mysql"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"database":{"type":"string","title":"Database"},"use_static_egress_ip":{"type":"boolean","title":"Use Static Egress Ip","description":"Enable this if your database requires IP whitelisting. Connections will originate from a static IP address (146.148.83.61) that you can add to your firewall allowlist.","default":false},"display_name":{"type":"string","title":"Display Name","default":"MySQL"},"discriminator":{"type":"string","const":"mysql","title":"Discriminator","default":"mysql"},"ssh_config":{"anyOf":[{"$ref":"#/components/schemas/SshConfig"},{"type":"null"}]}},"type":"object","required":["username","password","host","port","database"],"title":"IntegrationDetailsSchemaMySql"},"IntegrationDetailsSchemaNetlify":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"netlify","title":"Integration Type","default":"netlify"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Netlify"},"discriminator":{"type":"string","const":"netlify","title":"Discriminator","default":"netlify"},"tap_variant":{"type":"string","title":"Tap Variant","default":"netlify--franloza"},"auth_token":{"type":"string","title":"Auth Token","description":"API access token. See how to obtain it from Netlify UI [here](https://docs.netlify.com/cli/get-started/#obtain-a-token-in-the-netlify-ui)","default":""}},"type":"object","title":"IntegrationDetailsSchemaNetlify"},"IntegrationDetailsSchemaNetohq":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"netohq","title":"Integration Type","default":"netohq"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Netohq"},"discriminator":{"type":"string","const":"netohq","title":"Discriminator","default":"netohq"},"tap_variant":{"type":"string","title":"Tap Variant","default":"netohq--hotgluexyz"},"api_key":{"type":"string","title":"Api Key","description":"Your Neto API key.","default":""},"username":{"type":"string","title":"Username","description":"Your Neto username.","default":""},"url":{"type":"string","title":"Url","description":"Your Neto API URL.","default":""}},"type":"object","title":"IntegrationDetailsSchemaNetohq"},"IntegrationDetailsSchemaNetrivals":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"netrivals","title":"Integration Type","default":"netrivals"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Netrivals"},"discriminator":{"type":"string","const":"netrivals","title":"Discriminator","default":"netrivals"},"tap_variant":{"type":"string","title":"Tap Variant","default":"netrivals--epoch8"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaNetrivals"},"IntegrationDetailsSchemaNetsuite":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"netsuite","title":"Integration Type","default":"netsuite"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Netsuite"},"discriminator":{"type":"string","const":"netsuite","title":"Discriminator","default":"netsuite"},"tap_variant":{"type":"string","title":"Tap Variant","default":"netsuite--hotgluexyz"},"ns_account":{"type":"string","title":"Ns Account","description":"Your account Id. This can be found under Setup -> Company -> Company Information. Look for Account Id. Note _SB is for Sandbox account.","default":""},"ns_token_key":{"type":"string","title":"Ns Token Key","description":"Your token key for token based authentication consumer key for SOAP connection.","default":""},"ns_token_secret":{"type":"string","title":"Ns Token Secret","description":"Your token secret for token based authentication consumer key for SOAP connection.","default":""},"ns_consumer_key":{"type":"string","title":"Ns Consumer Key","description":"Your consumer key for token based authentication consumer key for SOAP connection.","default":""},"ns_consumer_secret":{"type":"string","title":"Ns Consumer Secret","description":"Your consumer secret for token based authentication consumer key for SOAP connection","default":""}},"type":"object","title":"IntegrationDetailsSchemaNetsuite"},"IntegrationDetailsSchemaNiceIncontact":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"niceincontact","title":"Integration Type","default":"niceincontact"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"NICE inContact"},"discriminator":{"type":"string","const":"niceincontact","title":"Discriminator","default":"niceincontact"},"tap_variant":{"type":"string","title":"Tap Variant","default":"nice-incontact--singer-io"},"api_key":{"type":"string","title":"Api Key","description":"NICE inContact API key (see Authentication in usage section for more details)","default":""},"api_secret":{"type":"string","title":"Api Secret","description":"NICE inContact API secret (see Authentication in usage section for more details)","default":""},"api_cluster":{"type":"string","title":"Api Cluster","description":"NICE inContact instance cluster. Example: c42","default":""}},"type":"object","title":"IntegrationDetailsSchemaNiceIncontact"},"IntegrationDetailsSchemaNotion-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"notion","title":"Integration Type","default":"notion"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Notion"},"discriminator":{"type":"string","const":"notion","title":"Discriminator","default":"notion"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-notion--airbyte"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaNotion"},"IntegrationDetailsSchemaNotion-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"notion","title":"Integration Type","default":"notion"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Notion"},"discriminator":{"type":"string","const":"notion","title":"Discriminator","default":"notion"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-notion--airbyte"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaNotion"},"IntegrationDetailsSchemaOkta":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"okta","title":"Integration Type","default":"okta"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Okta"},"discriminator":{"type":"string","const":"okta","title":"Discriminator","default":"okta"},"tap_variant":{"type":"string","title":"Tap Variant","default":"okta--isabella232"},"api_key":{"type":"string","title":"Api Key","description":"Your Okta API key. See the [Okta docs](https://developer.okta.com/docs/guides/create-an-api-token/main/) for more details.","default":""},"service_url":{"type":"string","title":"Service Url","description":"The Okta API url to use for requests. E.g. http://<okta_url>/api/v1/. Make sure to include the final slash.","default":""}},"type":"object","title":"IntegrationDetailsSchemaOkta"},"IntegrationDetailsSchemaOmnisend":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"omnisend","title":"Integration Type","default":"omnisend"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Omnisend"},"discriminator":{"type":"string","const":"omnisend","title":"Discriminator","default":"omnisend"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-omnisend--airbyte"},"api_key":{"type":"string","title":"Api Key","description":"Your Omnisend API Key","default":""}},"type":"object","title":"IntegrationDetailsSchemaOmnisend"},"IntegrationDetailsSchemaOrdoro":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"ordoro","title":"Integration Type","default":"ordoro"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Ordoro"},"discriminator":{"type":"string","const":"ordoro","title":"Discriminator","default":"ordoro"},"tap_variant":{"type":"string","title":"Tap Variant","default":"ordoro--hotgluexyz"},"client_secret":{"type":"string","title":"Client Secret","description":"Your Ordoro API password.","default":""},"client_id":{"type":"string","title":"Client Id","description":"Your Ordoro API client ID.","default":""}},"type":"object","title":"IntegrationDetailsSchemaOrdoro"},"IntegrationDetailsSchemaPartnerize":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"partnerize","title":"Integration Type","default":"partnerize"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Partnerize"},"discriminator":{"type":"string","const":"partnerize","title":"Discriminator","default":"partnerize"},"tap_variant":{"type":"string","title":"Tap Variant","default":"partnerize--voxmedia"},"username":{"type":"string","title":"Username","description":"The username to authenticate the Partnerize account","default":""},"publisher_id":{"type":"string","title":"Publisher Id","description":"The partner id","default":""},"password":{"type":"string","title":"Password","description":"The password to authenticate the Partnerize account","default":""}},"type":"object","title":"IntegrationDetailsSchemaPartnerize"},"IntegrationDetailsSchemaPartoo":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"partoo","title":"Integration Type","default":"partoo"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Partoo"},"discriminator":{"type":"string","const":"partoo","title":"Discriminator","default":"partoo"},"tap_variant":{"type":"string","title":"Tap Variant","default":"partoo--gendarmerienationale"},"api_key":{"type":"string","title":"Api Key","description":"Partoo API Key","default":""}},"type":"object","title":"IntegrationDetailsSchemaPartoo"},"IntegrationDetailsSchemaPeloton":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"peloton","title":"Integration Type","default":"peloton"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Peloton"},"discriminator":{"type":"string","const":"peloton","title":"Discriminator","default":"peloton"},"tap_variant":{"type":"string","title":"Tap Variant","default":"peloton--meltanolabs"},"username":{"type":"string","title":"Username","description":"The email you use to log into Peloton.","default":""},"password":{"type":"string","title":"Password","description":"Your Peloton password.","default":""}},"type":"object","title":"IntegrationDetailsSchemaPeloton"},"IntegrationDetailsSchemaPicqer":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"picqer","title":"Integration Type","default":"picqer"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Picqer"},"discriminator":{"type":"string","const":"picqer","title":"Discriminator","default":"picqer"},"tap_variant":{"type":"string","title":"Tap Variant","default":"picqer--hotgluexyz"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaPicqer"},"IntegrationDetailsSchemaPipedrive":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"pipedrive","title":"Integration Type","default":"pipedrive"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Pipedrive"},"discriminator":{"type":"string","const":"pipedrive","title":"Discriminator","default":"pipedrive"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-pipedrive--singer-io"},"api_token":{"type":"string","title":"Api Token","description":"Your Pipedrive API Token","default":""},"start_date":{"type":"string","title":"Start Date","description":"Determines how much historical data will be extracted. Please note that thePipedrive API currently only supports 1 month of historical data. If you need more than 1 month of historical data, please reach out to us.","default":"2024-01-01"}},"type":"object","title":"IntegrationDetailsSchemaPipedrive"},"IntegrationDetailsSchemaPlentymarkets":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"plentymarkets","title":"Integration Type","default":"plentymarkets"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"plentymarkets"},"discriminator":{"type":"string","const":"plentymarkets","title":"Discriminator","default":"plentymarkets"},"tap_variant":{"type":"string","title":"Tap Variant","default":"plentymarkets--hotgluexyz"},"username":{"type":"string","title":"Username","description":"Your plentymarkets API username.","default":""},"password":{"type":"string","title":"Password","description":"Your plentymarkets API password.","default":""},"api_url":{"type":"string","title":"Api Url","description":"The plentymarkets API URL.","default":""}},"type":"object","title":"IntegrationDetailsSchemaPlentymarkets"},"IntegrationDetailsSchemaPodBean":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"podbean","title":"Integration Type","default":"podbean"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"PodBean"},"discriminator":{"type":"string","const":"podbean","title":"Discriminator","default":"podbean"},"tap_variant":{"type":"string","title":"Tap Variant","default":"podbean--slalom-consulting"},"client_secret":{"type":"string","title":"Client Secret","description":"The client secret to authenticate against the API service.","default":""},"client_id":{"type":"string","title":"Client Id","description":"The client identifier to authenticate against the API service.","default":""}},"type":"object","title":"IntegrationDetailsSchemaPodBean"},"IntegrationDetailsSchemaPostgres":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"postgres","title":"Integration Type","default":"postgres"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port","default":5432},"database":{"type":"string","title":"Database"},"use_static_egress_ip":{"type":"boolean","title":"Use Static Egress Ip","description":"Enable this if your database requires IP whitelisting. Connections will originate from a static IP address (146.148.83.61) that you can add to your firewall allowlist.","default":false},"display_name":{"type":"string","title":"Display Name","default":"PostgreSQL"},"discriminator":{"type":"string","const":"postgres","title":"Discriminator","default":"postgres"},"use_ssh":{"type":"boolean","title":"Use Ssh","default":false},"ssh_config":{"anyOf":[{"$ref":"#/components/schemas/SshConfig"},{"type":"null"}]},"use_ssl":{"type":"boolean","title":"Use Ssl","default":false},"ssl_config":{"anyOf":[{"$ref":"#/components/schemas/SslConfig"},{"type":"null"}]}},"type":"object","required":["username","password","host","database"],"title":"IntegrationDetailsSchemaPostgres"},"IntegrationDetailsSchemaPulumiCloud":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"pulumicloud","title":"Integration Type","default":"pulumicloud"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Pulumi Cloud"},"discriminator":{"type":"string","const":"pulumicloud","title":"Discriminator","default":"pulumicloud"},"tap_variant":{"type":"string","title":"Tap Variant","default":"pulumi-cloud--meltanolabs"},"token":{"type":"string","title":"Token","description":"API Token for Pulumi Cloud","default":""},"organizations":{"type":"string","title":"Organizations","description":"List of organizations to sync","default":""}},"type":"object","title":"IntegrationDetailsSchemaPulumiCloud"},"IntegrationDetailsSchemaQls":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"qls","title":"Integration Type","default":"qls"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"QLS"},"discriminator":{"type":"string","const":"qls","title":"Discriminator","default":"qls"},"tap_variant":{"type":"string","title":"Tap Variant","default":"qls--hotgluexyz"},"company_id":{"type":"string","title":"Company Id","description":"Company id","default":""},"username":{"type":"string","title":"Username","description":"The token to authenticate against the API service","default":""},"password":{"type":"string","title":"Password","description":"Project IDs to replicate","default":""}},"type":"object","title":"IntegrationDetailsSchemaQls"},"IntegrationDetailsSchemaQualified":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"qualified","title":"Integration Type","default":"qualified"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Qualified"},"discriminator":{"type":"string","const":"qualified","title":"Discriminator","default":"qualified"},"tap_variant":{"type":"string","title":"Tap Variant","default":"qualified--z3z1ma"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaQualified"},"IntegrationDetailsSchemaQuickbooks-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"quickbooks","title":"Integration Type","default":"quickbooks"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Quickbooks"},"discriminator":{"type":"string","const":"quickbooks","title":"Discriminator","default":"quickbooks"},"tap_variant":{"type":"string","title":"Tap Variant","default":"quickbooks--hotgluexyz"},"realmId":{"type":"string","title":"Realmid","description":"Your Quickbooks realm ID"},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD. Any data before this date will not be extracted. If this option is not set, we will replicate data from 2020-01-01.","default":"2020-01-01"}},"type":"object","required":["code","realmId"],"title":"IntegrationDetailsSchemaQuickbooks"},"IntegrationDetailsSchemaQuickbooks-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"quickbooks","title":"Integration Type","default":"quickbooks"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Quickbooks"},"discriminator":{"type":"string","const":"quickbooks","title":"Discriminator","default":"quickbooks"},"tap_variant":{"type":"string","title":"Tap Variant","default":"quickbooks--hotgluexyz"},"realmId":{"type":"string","title":"Realmid","description":"Your Quickbooks realm ID"},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD. Any data before this date will not be extracted. If this option is not set, we will replicate data from 2020-01-01.","default":"2020-01-01"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","realmId","client_id","client_secret"],"title":"IntegrationDetailsSchemaQuickbooks"},"IntegrationDetailsSchemaRecruitee":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"recruitee","title":"Integration Type","default":"recruitee"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Recruitee"},"discriminator":{"type":"string","const":"recruitee","title":"Discriminator","default":"recruitee"},"tap_variant":{"type":"string","title":"Tap Variant","default":"recruitee--tahasadiki"},"url":{"type":"string","title":"Url","description":"The url for the API service","default":""},"company_id":{"type":"string","title":"Company Id","description":"The Recruitee company ID.","default":""},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaRecruitee"},"IntegrationDetailsSchemaRecurly":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"recurly","title":"Integration Type","default":"recurly"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Recurly"},"discriminator":{"type":"string","const":"recurly","title":"Discriminator","default":"recurly"},"tap_variant":{"type":"string","title":"Tap Variant","default":"recurly--lambtron"},"api_key":{"type":"string","title":"Api Key","description":"Your Recurly API key. See the [API docs](https://docs.recurly.com/docs/api-keys#section-find-or-generate-your-api-key) for details on getting a key.","default":""},"subdomain":{"type":"string","title":"Subdomain","description":"Your Recurly subdomain.","default":""}},"type":"object","title":"IntegrationDetailsSchemaRecurly"},"IntegrationDetailsSchemaRedshift":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"redshift","title":"Integration Type","default":"redshift"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"database":{"type":"string","title":"Database"},"use_static_egress_ip":{"type":"boolean","title":"Use Static Egress Ip","description":"Enable this if your database requires IP whitelisting. Connections will originate from a static IP address (146.148.83.61) that you can add to your firewall allowlist.","default":false},"display_name":{"type":"string","title":"Display Name","default":"Redshift"},"discriminator":{"type":"string","const":"redshift","title":"Discriminator","default":"redshift"}},"type":"object","required":["username","password","host","port","database"],"title":"IntegrationDetailsSchemaRedshift"},"IntegrationDetailsSchemaS3":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"s3","title":"Integration Type","default":"s3"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"S3"},"discriminator":{"type":"string","const":"S3","title":"Discriminator","default":"S3"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-s3--airbyte"},"access_key":{"type":"string","title":"Access Key","description":"Required: S3 Access Key"},"access_key_secret":{"type":"string","title":"Access Key Secret","description":"Required: S3 Access Key Secret"},"region":{"type":"string","title":"Region","description":"Required: S3 Region"},"bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bucket","description":"Only Required for EL: S3 Bucket Name."},"dataset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset","description":"Only Required for EL: name of the table the S3 data will be synced to."},"primary_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Key","description":"Optional for EL: single field or comma separated list of fields in the S3 data to use as the primary key. If not provided data will be loaded append only (duplicates may be created)."},"path_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path Pattern","description":"Optional for EL: path and folder regex pattern to match files in the S3 bucket. Defaults to **","default":"**"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","description":"Only Required for EL: format of the files in the S3 bucket. One of: csv, parquet, avro, jsonl"},"is_posthog":{"type":"boolean","title":"Is Posthog","description":"Whether the data is from Posthog's batch export to S3: https://posthog.com/docs/cdp/batch-exports/s3","default":false}},"type":"object","required":["access_key","access_key_secret","region"],"title":"IntegrationDetailsSchemaS3"},"IntegrationDetailsSchemaSailthru":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sailthru","title":"Integration Type","default":"sailthru"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sailthru"},"discriminator":{"type":"string","const":"sailthru","title":"Discriminator","default":"sailthru"},"tap_variant":{"type":"string","title":"Tap Variant","default":"sailthru--voxmedia"},"api_key":{"type":"string","title":"Api Key","description":"API key for the sailthru account","default":""},"api_secret":{"type":"string","title":"Api Secret","description":"API secret for the sailthru account","default":""},"account_name":{"type":"string","title":"Account Name","description":"Name of the sailthru account","default":""}},"type":"object","title":"IntegrationDetailsSchemaSailthru"},"IntegrationDetailsSchemaSalesforce-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"salesforce","title":"Integration Type","default":"salesforce"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Salesforce"},"discriminator":{"type":"string","const":"salesforce","title":"Discriminator","default":"salesforce"},"tap_variant":{"type":"string","title":"Tap Variant","default":"salesforce--meltanolabs"},"login_domain":{"type":"string","title":"Login Domain","description":"Salesforce login domain (default is login.salesforce.com)","default":"login.salesforce.com"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaSalesforce"},"IntegrationDetailsSchemaSalesforce-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"salesforce","title":"Integration Type","default":"salesforce"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Salesforce"},"discriminator":{"type":"string","const":"salesforce","title":"Discriminator","default":"salesforce"},"tap_variant":{"type":"string","title":"Tap Variant","default":"salesforce--meltanolabs"},"login_domain":{"type":"string","title":"Login Domain","description":"Salesforce login domain (default is login.salesforce.com)","default":"login.salesforce.com"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaSalesforce"},"IntegrationDetailsSchemaSalesloft":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"salesloft","title":"Integration Type","default":"salesloft"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Salesloft"},"discriminator":{"type":"string","const":"salesloft","title":"Discriminator","default":"salesloft"},"api_key":{"type":"string","title":"Api Key","description":"Salesloft API key"}},"type":"object","required":["api_key"],"title":"IntegrationDetailsSchemaSalesloft"},"IntegrationDetailsSchemaSegment":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"segment","title":"Integration Type","default":"segment"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Segment"},"discriminator":{"type":"string","const":"segment","title":"Discriminator","default":"segment"},"tap_variant":{"type":"string","title":"Tap Variant","default":"segment--gthesheep"},"api_token":{"type":"string","title":"Api Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaSegment"},"IntegrationDetailsSchemaSellsy":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sellsy","title":"Integration Type","default":"sellsy"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sellsy"},"discriminator":{"type":"string","const":"sellsy","title":"Discriminator","default":"sellsy"},"tap_variant":{"type":"string","title":"Tap Variant","default":"sellsy--hotgluexyz"},"client_secret":{"type":"string","title":"Client Secret","description":"Your Sellsy client secret.","default":""},"client_id":{"type":"string","title":"Client Id","description":"Your Sellsy client ID.","default":""}},"type":"object","title":"IntegrationDetailsSchemaSellsy"},"IntegrationDetailsSchemaSendinblue":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sendinblue","title":"Integration Type","default":"sendinblue"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sendinblue"},"discriminator":{"type":"string","const":"sendinblue","title":"Discriminator","default":"sendinblue"},"tap_variant":{"type":"string","title":"Tap Variant","default":"sendinblue--hotgluexyz"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaSendinblue"},"IntegrationDetailsSchemaSharepointSites-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sharepointsites","title":"Integration Type","default":"sharepointsites"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sharepoint Sites"},"discriminator":{"type":"string","const":"sharepointsites","title":"Discriminator","default":"sharepointsites"},"tap_variant":{"type":"string","title":"Tap Variant","default":"storebrand"},"api_url":{"type":"string","title":"Api Url","description":"Sharepoint API URL"},"target_table_name":{"type":"string","title":"Target Table Name","description":"Name of table to write to"},"file_name":{"type":"string","title":"File Name","description":"Sharepoint file name"},"folder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder","description":"Folder the file is in."},"file_type":{"type":"string","title":"File Type","description":"Sharepoint file type. Defaults to Excel.","default":"excel"},"sheet_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet Name","description":"Sheet name if Excel sheet, defaults to Sheet1 if empty"},"min_row":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Row","description":"Minimum row to start reading data from"},"max_row":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Row","description":"Maximum row to read data from"},"min_col":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Col","description":"Minimum column to start reading data from"},"max_col":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Col","description":"Maximum column to read data from"}},"type":"object","required":["code","api_url","target_table_name","file_name"],"title":"IntegrationDetailsSchemaSharepointSites"},"IntegrationDetailsSchemaSharepointSites-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sharepointsites","title":"Integration Type","default":"sharepointsites"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sharepoint Sites"},"discriminator":{"type":"string","const":"sharepointsites","title":"Discriminator","default":"sharepointsites"},"tap_variant":{"type":"string","title":"Tap Variant","default":"storebrand"},"api_url":{"type":"string","title":"Api Url","description":"Sharepoint API URL"},"target_table_name":{"type":"string","title":"Target Table Name","description":"Name of table to write to"},"file_name":{"type":"string","title":"File Name","description":"Sharepoint file name"},"folder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder","description":"Folder the file is in."},"file_type":{"type":"string","title":"File Type","description":"Sharepoint file type. Defaults to Excel.","default":"excel"},"sheet_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet Name","description":"Sheet name if Excel sheet, defaults to Sheet1 if empty"},"min_row":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Row","description":"Minimum row to start reading data from"},"max_row":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Row","description":"Maximum row to read data from"},"min_col":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Col","description":"Minimum column to start reading data from"},"max_col":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Col","description":"Maximum column to read data from"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","api_url","target_table_name","file_name","client_id","client_secret"],"title":"IntegrationDetailsSchemaSharepointSites"},"IntegrationDetailsSchemaSheets-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sheets","title":"Integration Type","default":"sheets"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Sheets"},"discriminator":{"type":"string","const":"sheets","title":"Discriminator","default":"sheets"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaSheets"},"IntegrationDetailsSchemaSheets-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sheets","title":"Integration Type","default":"sheets"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Google Sheets"},"discriminator":{"type":"string","const":"sheets","title":"Discriminator","default":"sheets"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaSheets"},"IntegrationDetailsSchemaShipbob":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"shipbob","title":"Integration Type","default":"shipbob"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Shipbob"},"discriminator":{"type":"string","const":"shipbob","title":"Discriminator","default":"shipbob"},"tap_variant":{"type":"string","title":"Tap Variant","default":"shipbob--hotgluexyz"},"access_token":{"type":"string","title":"Access Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaShipbob"},"IntegrationDetailsSchemaShiphero":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"shiphero","title":"Integration Type","default":"shiphero"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Shiphero"},"discriminator":{"type":"string","const":"shiphero","title":"Discriminator","default":"shiphero"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-shiphero--definite"},"refresh_token":{"type":"string","title":"Refresh Token","description":"Your Shiphero Refresh Token","default":""},"start_date":{"type":"string","title":"Start Date","description":"Determines how much historical data will be extracted.","default":"2020-01-01"}},"type":"object","title":"IntegrationDetailsSchemaShiphero"},"IntegrationDetailsSchemaShipstation":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"shipstation","title":"Integration Type","default":"shipstation"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Shipstation"},"discriminator":{"type":"string","const":"shipstation","title":"Discriminator","default":"shipstation"},"tap_variant":{"type":"string","title":"Tap Variant","default":"shipstation--mashey"},"api_key":{"type":"string","title":"Api Key","description":"Your ShipStation API Key","default":""},"api_secret":{"type":"string","title":"Api Secret","description":"Your ShipStation API Secret","default":""},"default_start_datetime":{"type":"string","title":"Default Start Datetime","description":"Determines how much historical data will be extracted. Please be aware that the larger the time period and amount of data, the longer the initial extraction can be expected to take.","default":""}},"type":"object","title":"IntegrationDetailsSchemaShipstation"},"IntegrationDetailsSchemaShopify":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"shopify","title":"Integration Type","default":"shopify"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Shopify"},"discriminator":{"type":"string","const":"shopify","title":"Discriminator","default":"shopify"},"access_token":{"type":"string","title":"Access Token","description":"Shopify access token (legacy / pre-minted). Provide this OR client_id+client_secret.","default":""},"client_id":{"type":"string","title":"Client Id","description":"Shopify app Client ID. Used with client_secret to mint a 24h token via the client_credentials grant.","default":""},"client_secret":{"type":"string","title":"Client Secret","description":"Shopify app Client Secret. Used with client_id to mint a 24h token via the client_credentials grant.","default":""},"store":{"type":"string","title":"Store","description":"Shopify store name"}},"type":"object","required":["store"],"title":"IntegrationDetailsSchemaShopify"},"IntegrationDetailsSchemaShoplazza":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"shoplazza","title":"Integration Type","default":"shoplazza"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Shoplazza"},"discriminator":{"type":"string","const":"shoplazza","title":"Discriminator","default":"shoplazza"},"tap_variant":{"type":"string","title":"Tap Variant","default":"shoplazza--hotgluexyz"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaShoplazza"},"IntegrationDetailsSchemaShowpad":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"showpad","title":"Integration Type","default":"showpad"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Showpad"},"discriminator":{"type":"string","const":"showpad","title":"Discriminator","default":"showpad"},"tap_variant":{"type":"string","title":"Tap Variant","default":"showpad--z3z1ma"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""},"subdomain":{"type":"string","title":"Subdomain","description":"The subdomain of your Showpad instance","default":""}},"type":"object","title":"IntegrationDetailsSchemaShowpad"},"IntegrationDetailsSchemaSlack-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"slack","title":"Integration Type","default":"slack"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Slack"},"discriminator":{"type":"string","const":"slack","title":"Discriminator","default":"slack"},"slack_team_id":{"type":"string","title":"Slack Team Id","description":"Slack team ID","default":""}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaSlack"},"IntegrationDetailsSchemaSlack-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"slack","title":"Integration Type","default":"slack"},"category":{"type":"string","title":"Category","default":"productivity"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Slack"},"discriminator":{"type":"string","const":"slack","title":"Discriminator","default":"slack"},"slack_team_id":{"type":"string","title":"Slack Team Id","description":"Slack team ID","default":""},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaSlack"},"IntegrationDetailsSchemaSleeper":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sleeper","title":"Integration Type","default":"sleeper"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sleeper"},"discriminator":{"type":"string","const":"sleeper","title":"Discriminator","default":"sleeper"},"tap_variant":{"type":"string","title":"Tap Variant","default":"sleeper--collinprather"},"sport":{"type":"string","title":"Sport","description":"Professional sport league, ie nfl, nba, etc","default":""}},"type":"object","title":"IntegrationDetailsSchemaSleeper"},"IntegrationDetailsSchemaSmartsheet":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"smartsheet","title":"Integration Type","default":"smartsheet"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Smartsheet"},"discriminator":{"type":"string","const":"smartsheet","title":"Discriminator","default":"smartsheet"},"tap_variant":{"type":"string","title":"Tap Variant","default":"smartsheet--brooklyn-data"},"smartsheet_access_token":{"type":"string","title":"Smartsheet Access Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaSmartsheet"},"IntegrationDetailsSchemaSnowflake":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"snowflake","title":"Integration Type","default":"snowflake"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"use_static_egress_ip":{"type":"boolean","title":"Use Static Egress Ip","description":"Enable this if your database requires IP whitelisting. Connections will originate from a static IP address (146.148.83.61) that you can add to your firewall allowlist.","default":false},"display_name":{"type":"string","title":"Display Name","default":"Snowflake"},"discriminator":{"type":"string","const":"snowflake","title":"Discriminator","default":"snowflake"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"account":{"type":"string","title":"Account","description":"Account name, e.g. foo or foo.us-east-1.aws"},"role":{"type":"string","title":"Role"},"warehouse":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warehouse"},"database":{"type":"string","title":"Database"},"asyncExec":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Asyncexec"}},"type":"object","required":["username","password","account","role","warehouse","database"],"title":"IntegrationDetailsSchemaSnowflake"},"IntegrationDetailsSchemaSqlServer":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sqlserver","title":"Integration Type","default":"sqlserver"},"category":{"type":"string","title":"Category","default":"database"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"use_static_egress_ip":{"type":"boolean","title":"Use Static Egress Ip","description":"Enable this if your database requires IP whitelisting. Connections will originate from a static IP address (146.148.83.61) that you can add to your firewall allowlist.","default":false},"display_name":{"type":"string","title":"Display Name","default":"SQL Server"},"discriminator":{"type":"string","const":"sqlserver","title":"Discriminator","default":"sqlserver"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"host":{"type":"string","title":"Host"},"port":{"type":"integer","title":"Port"},"database":{"type":"string","title":"Database"},"multi_subnet_availability_group":{"type":"boolean","title":"Multi Subnet Availability Group","description":"Whether the database is in a multi-subnet availability group. Defaults to True.","default":true}},"type":"object","required":["username","password","host","port","database"],"title":"IntegrationDetailsSchemaSqlServer"},"IntegrationDetailsSchemaSquare":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"square","title":"Integration Type","default":"square"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Square"},"discriminator":{"type":"string","const":"square","title":"Discriminator","default":"square"},"tap_variant":{"type":"string","title":"Tap Variant","default":"square--hotgluexyz"},"access_token":{"type":"string","title":"Access Token","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaSquare"},"IntegrationDetailsSchemaStamped":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"stamped","title":"Integration Type","default":"stamped"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Stamped"},"discriminator":{"type":"string","const":"stamped","title":"Discriminator","default":"stamped"},"tap_variant":{"type":"string","title":"Tap Variant","default":"stamped--hotgluexyz"},"public_key":{"type":"string","title":"Public Key","description":"Your Stamped API public key.","default":""},"private_key":{"type":"string","title":"Private Key","description":"Your Stamped API private key.","default":""}},"type":"object","title":"IntegrationDetailsSchemaStamped"},"IntegrationDetailsSchemaStripe":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"stripe","title":"Integration Type","default":"stripe"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Stripe"},"discriminator":{"type":"string","const":"stripe","title":"Discriminator","default":"stripe"},"tap_variant":{"type":"string","title":"Tap Variant","default":"stripe--meltano"},"account_id":{"type":"string","title":"Account Id","description":"","default":"Ex. acct_1a2b3c4d5e"},"client_secret":{"type":"string","title":"Client Secret","description":"","default":"Ex. sk_live_1a2b3c4d5e"},"sigma_queries":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sigma Queries","description":"Optional. Comma separated list of scheduled Sigma queries to sync. Names must be identical to the query names in Sigma."}},"type":"object","title":"IntegrationDetailsSchemaStripe"},"IntegrationDetailsSchemaSumologic":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"sumologic","title":"Integration Type","default":"sumologic"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Sumologic"},"discriminator":{"type":"string","const":"sumologic","title":"Discriminator","default":"sumologic"},"tap_variant":{"type":"string","title":"Tap Variant","default":"sumologic--splitio"},"sumologic_access_id":{"type":"string","title":"Sumologic Access Id","description":"Your access ID.","default":""},"sumologic_access_key":{"type":"string","title":"Sumologic Access Key","description":"Your access key.","default":""},"sumologic_root_url":{"type":"string","title":"Sumologic Root Url","description":"The root url for requests, i.e. https://api.us2.sumologic.com/api.","default":""}},"type":"object","title":"IntegrationDetailsSchemaSumologic"},"IntegrationDetailsSchemaTalkable":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"talkable","title":"Integration Type","default":"talkable"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Talkable"},"discriminator":{"type":"string","const":"talkable","title":"Discriminator","default":"talkable"},"tap_variant":{"type":"string","title":"Tap Variant","default":"talkable--gthesheep"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""},"site_slug":{"type":"string","title":"Site Slug","description":"The slug name for your site","default":""}},"type":"object","title":"IntegrationDetailsSchemaTalkable"},"IntegrationDetailsSchemaThinkific":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"thinkific","title":"Integration Type","default":"thinkific"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Thinkific"},"discriminator":{"type":"string","const":"thinkific","title":"Discriminator","default":"thinkific"},"tap_variant":{"type":"string","title":"Tap Variant","default":"thinkific--birdiecare"},"api_key":{"type":"string","title":"Api Key","description":"Thinkific API key. See https://developers.thinkific.com/api/api-key-auth.","default":""},"subdomain":{"type":"string","title":"Subdomain","description":"Subdomain of the Thinkific site. See https://developers.thinkific.com/api/api-key-auth.","default":""}},"type":"object","title":"IntegrationDetailsSchemaThinkific"},"IntegrationDetailsSchemaTikTokAds":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"tiktokads","title":"Integration Type","default":"tiktokads"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"TikTok Ads"},"discriminator":{"type":"string","const":"tiktokads","title":"Discriminator","default":"tiktokads"},"access_token":{"type":"string","title":"Access Token","description":"TikTok Marketing API access token","default":""},"advertiserId":{"type":"string","title":"Advertiserid","description":"TikTok Ads advertiser ID","default":""},"startDate":{"type":"string","title":"Startdate","description":"Start date in ISO format","default":"2020-01-01T00:00:00Z"},"lookback":{"type":"integer","title":"Lookback","description":"Number of days to look back for reporting. Data sometimes arrives delayed from TikTok API, set a safe lookback days for this (defaults to 30)","default":30}},"type":"object","title":"IntegrationDetailsSchemaTikTokAds"},"IntegrationDetailsSchemaTradera":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"tradera","title":"Integration Type","default":"tradera"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Tradera"},"discriminator":{"type":"string","const":"tradera","title":"Discriminator","default":"tradera"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tradera--kgpayne"},"app_key":{"type":"string","title":"App Key","description":"The Tradera.com developer app key","default":""},"app_id":{"type":"string","title":"App Id","description":"The Tradera.com developer app ID","default":""}},"type":"object","title":"IntegrationDetailsSchemaTradera"},"IntegrationDetailsSchemaTravefy":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"travefy","title":"Integration Type","default":"travefy"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Travefy"},"discriminator":{"type":"string","const":"travefy","title":"Discriminator","default":"travefy"},"tap_variant":{"type":"string","title":"Tap Variant","default":"travefy--hotgluexyz"},"public_key":{"type":"string","title":"Public Key","description":"The public key to authenticate against the API service","default":""},"private_key":{"type":"string","title":"Private Key","description":"The private key to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaTravefy"},"IntegrationDetailsSchemaTrustrace":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"trustrace","title":"Integration Type","default":"trustrace"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Trustrace"},"discriminator":{"type":"string","const":"trustrace","title":"Discriminator","default":"trustrace"},"tap_variant":{"type":"string","title":"Tap Variant","default":"trustrace--icebug"},"api_key":{"type":"string","title":"Api Key","description":"The token to authenticate against the API service","default":""}},"type":"object","title":"IntegrationDetailsSchemaTrustrace"},"IntegrationDetailsSchemaTwilio":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"twilio","title":"Integration Type","default":"twilio"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Twilio"},"discriminator":{"type":"string","const":"twilio","title":"Discriminator","default":"twilio"},"tap_variant":{"type":"string","title":"Tap Variant","default":"tap-twilio--singer-io"},"account_sid":{"type":"string","title":"Account Sid","description":"Your Twilio Account SID","default":""},"auth_token":{"type":"string","title":"Auth Token","description":"Your Twilio Auth Token","default":""},"start_date":{"type":"string","title":"Start Date","description":"Determines how much historical data will be extracted.","default":"2020-01-01"}},"type":"object","title":"IntegrationDetailsSchemaTwilio"},"IntegrationDetailsSchemaTypeform":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"typeform","title":"Integration Type","default":"typeform"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Typeform"},"discriminator":{"type":"string","const":"typeform","title":"Discriminator","default":"typeform"},"tap_variant":{"type":"string","title":"Tap Variant","default":"typeform--albert-marrero"},"personal_access_token":{"type":"string","title":"Personal Access Token","description":"Your personal access token for Typeform's API.","default":""}},"type":"object","title":"IntegrationDetailsSchemaTypeform"},"IntegrationDetailsSchemaUdemyForBusiness":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"udemyforbusiness","title":"Integration Type","default":"udemyforbusiness"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Udemy For Business"},"discriminator":{"type":"string","const":"udemyforbusiness","title":"Discriminator","default":"udemyforbusiness"},"tap_variant":{"type":"string","title":"Tap Variant","default":"udemy-for-business--immuta"},"organization_id":{"type":"integer","title":"Organization Id","description":""},"organization_name":{"type":"string","title":"Organization Name","description":"","default":""},"client_id":{"type":"string","title":"Client Id","description":"","default":""},"client_secret":{"type":"string","title":"Client Secret","description":"","default":""}},"type":"object","required":["organization_id"],"title":"IntegrationDetailsSchemaUdemyForBusiness"},"IntegrationDetailsSchemaUnleashed":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"unleashed","title":"Integration Type","default":"unleashed"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Unleashed"},"discriminator":{"type":"string","const":"unleashed","title":"Discriminator","default":"unleashed"},"tap_variant":{"type":"string","title":"Tap Variant","default":"unleashed--hotgluexyz"},"api_auth_signature":{"type":"string","title":"Api Auth Signature","description":"Your Unleashed API Auth Signature.","default":""},"api_auth_id":{"type":"string","title":"Api Auth Id","description":"Your Unleashed API Auth ID.","default":""},"startDate":{"type":"string","title":"Startdate","description":"Start date in ISO format","default":"2020-01-01T00:00:00Z"}},"type":"object","title":"IntegrationDetailsSchemaUnleashed"},"IntegrationDetailsSchemaVeeqo":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"veeqo","title":"Integration Type","default":"veeqo"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Veeqo"},"discriminator":{"type":"string","const":"veeqo","title":"Discriminator","default":"veeqo"},"tap_variant":{"type":"string","title":"Tap Variant","default":"veeqo--matatika"},"api_key":{"type":"string","title":"Api Key","description":"The user API key. See https://developer.veeqo.com/docs#/introduction/authentication/generating-your-api-keys for more information.","default":""}},"type":"object","title":"IntegrationDetailsSchemaVeeqo"},"IntegrationDetailsSchemaWebflow":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"webflow","title":"Integration Type","default":"webflow"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Webflow"},"discriminator":{"type":"string","const":"webflow","title":"Discriminator","default":"webflow"},"tap_variant":{"type":"string","title":"Tap Variant","default":"webflow--airbyte"},"api_key":{"type":"string","title":"Api Key","description":"Webflow API token (Legacy V1 API)","default":""},"site_id":{"type":"string","title":"Site Id","description":"Webflow API Site ID","default":""}},"type":"object","title":"IntegrationDetailsSchemaWebflow"},"IntegrationDetailsSchemaWoocommerce":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"woocommerce","title":"Integration Type","default":"woocommerce"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Woocommerce"},"discriminator":{"type":"string","const":"woocommerce","title":"Discriminator","default":"woocommerce"},"tap_variant":{"type":"string","title":"Tap Variant","default":"woocommerce--hotgluexyz"},"consumer_key":{"type":"string","title":"Consumer Key","description":"WooCommerce API Consumer Key","default":""},"consumer_secret":{"type":"string","title":"Consumer Secret","description":"WooCommerce API Consumer Secret","default":""},"site_url":{"type":"string","title":"Site Url","description":"WooCommerce Site URL","default":""}},"type":"object","title":"IntegrationDetailsSchemaWoocommerce"},"IntegrationDetailsSchemaZammad":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"zammad","title":"Integration Type","default":"zammad"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Zammad"},"discriminator":{"type":"string","const":"zammad","title":"Discriminator","default":"zammad"},"tap_variant":{"type":"string","title":"Tap Variant","default":"zammad--lawiss"},"auth_token":{"type":"string","title":"Auth Token","description":"The token to authenticate against the Zammad API","default":""},"api_base_url":{"type":"string","title":"Api Base Url","description":"The base url of the Zammad API","default":""}},"type":"object","title":"IntegrationDetailsSchemaZammad"},"IntegrationDetailsSchemaZendesk":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"zendesk","title":"Integration Type","default":"zendesk"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"display_name":{"type":"string","title":"Display Name","default":"Zendesk"},"discriminator":{"type":"string","const":"zendesk","title":"Discriminator","default":"zendesk"},"tap_variant":{"type":"string","title":"Tap Variant","default":"zendesk--twilio-labs"},"email":{"type":"string","title":"Email","description":"Email address to login under","default":""},"api_token":{"type":"string","title":"Api Token","description":"API Token (Admin Center -> Apps and Integrations -> Zendesk API)","default":""},"subdomain":{"type":"string","title":"Subdomain","description":"Subdomain of your Zendesk account","default":""}},"type":"object","title":"IntegrationDetailsSchemaZendesk"},"IntegrationDetailsSchemaZohoCrm-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"zohocrm","title":"Integration Type","default":"zohocrm"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Zoho CRM"},"discriminator":{"type":"string","const":"zohocrm","title":"Discriminator","default":"zohocrm"},"tap_variant":{"type":"string","title":"Tap Variant","default":"zoho-crm--meltanolabs"},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD. Any data before this date will not be extracted.","default":"2020-01-01"}},"type":"object","required":["code"],"title":"IntegrationDetailsSchemaZohoCrm"},"IntegrationDetailsSchemaZohoCrm-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Integration name","default":""},"integration_type":{"type":"string","const":"zohocrm","title":"Integration Type","default":"zohocrm"},"category":{"type":"string","title":"Category","default":"extractor"},"etlConfig":{"anyOf":[{"$ref":"#/components/schemas/IntegrationETLConfig"},{"type":"null"}],"description":"ETL config for the integration"},"internal":{"type":"boolean","title":"Internal","description":"Whether this integration is internal to Definite","default":false},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether the integration is valid","default":true},"error":{"type":"string","title":"Error","description":"Error message if integration is invalid","default":""},"code":{"type":"string","title":"Code","description":"One time OAuth code"},"redirectUri":{"type":"string","title":"Redirecturi","description":"Redirect uri","default":""},"accessToken":{"type":"string","title":"Accesstoken","description":"OAuth access token","default":""},"timestamp":{"type":"string","title":"Timestamp","description":"When the access token was acquired. RFC3339","default":""},"expires_in":{"type":"integer","title":"Expires In","description":"Access token expiration duration in seconds.","default":0},"refreshToken":{"type":"string","title":"Refreshtoken","description":"OAuth refresh token","default":""},"display_name":{"type":"string","title":"Display Name","default":"Zoho CRM"},"discriminator":{"type":"string","const":"zohocrm","title":"Discriminator","default":"zohocrm"},"tap_variant":{"type":"string","title":"Tap Variant","default":"zoho-crm--meltanolabs"},"start_date":{"type":"string","title":"Start Date","description":"The date in the format YYYY-MM-DD. Any data before this date will not be extracted.","default":"2020-01-01"},"client_id":{"type":"string","title":"Client Id","readOnly":true},"client_secret":{"type":"string","title":"Client Secret","readOnly":true}},"type":"object","required":["code","client_id","client_secret"],"title":"IntegrationDetailsSchemaZohoCrm"},"IntegrationETLConfig":{"properties":{"dest_integration_id":{"type":"string","title":"Destination Integration","description":"Integration that you want to send data to"},"dest_schema":{"type":"string","title":"Destination Schema","description":"Schema that you want to send data to","default":"MyDestinationSchema"},"schedule_cron":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule Cron","description":"A cron expression for when to schedule the extractor. Ex: crontab.guru","default":"0 */4 * * *"},"overwrite_tables":{"type":"boolean","title":"Overwrite Tables","description":"Drop table before loading data. Only applicable for loading data into Snowflake.","default":false},"partition_fields":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partition Fields","description":"Optional: A JSON specifying partition fields for each table. Only applicable when destination is Ducklake. See https://github.com/definite-app/target-ducklake?tab=readme-ov-file#partitioning"},"ducklake_pod_memory_override":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ducklake Pod Memory Override","description":"Optional: Pod memory override in GB for DuckLake. Used for configuring the DuckLake pod memory during run-meltano task."},"load_method":{"type":"string","title":"Load Method","description":"merge, append, or overwrite. Only applicable for loading data into DuckLake.","default":"merge","apply_to_integration_type":["redshift","bigquery","s3"]},"parallel_draining":{"type":"boolean","title":"Parallel Draining","description":"Whether to enable parallel draining when writing to Ducklake.","default":true},"auto_cast_timestamps":{"type":"boolean","title":"Auto Cast Timestamps","description":"Whether to automatically cast timestamp columns to a canonical type when loading to Ducklake.","default":true},"max_record_age_minutes":{"type":"integer","minimum":1.0,"title":"Max Record Age Minutes","description":"The maximum age of a record in minutes before it is drained to Ducklake.","default":10},"replace_on_no_pk_extraction":{"type":"boolean","title":"Replace Tables With No Primary Key","description":"Whether to drop and replace the destination tables on extraction if no primary key is found. We recommend checking this box, otherwise your data may have duplicates. Only applies when loading into to DuckDB","default":true,"apply_to_integration_type":["postgres","bigquery","redshift","quickbooks","googlesheets","stripe","attio"]},"select_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Select Filter","description":"A new-line seperated list of tables to select from the source schema. Use schema.* to select all tables in a schema.Postgres tables are in the format of schema.tableSQL Server tables are in the format of schema-tableDefaults to selecting all tables in the source schema if not provided.","apply_to_integration_type":["postgres","sqlserver","bigquery","redshift","mysql"]},"select_custom_objects":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Select Custom Objects","description":"A new-line seperated list of custom objects.","apply_to_integration_type":["salesforce"]},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata","description":"Optional: A JSON specifying replication method, replication key, and primary key(s) for each table. Example:\n        {\n        \"public.table1\": {\n                \"replication-method\": \"INCREMENTAL\",\n                \"replication-key\": \"id\",\n                \"table-key-properties:\": [\n                    \"id\"\n                ]\n            }\n        }\n        If not provided, defaults to FULL_TABLE replication for all tables.If provided, it is required to provide replication-method and replication-key for each table.","apply_to_integration_type":["sqlserver","postgres","bigquery","redshift","mongodb","mysql"]},"infer_dest_schemas":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Infer Destination Schemas","description":"Attempts to infer the destination schema from the source schema. Only applicable for Postgres, SQL Server, BigQuery and Redshift. Will prefix the destination schema name with the user inputted destination schema name. Currently only supported for Ducklake destinations.","default":false,"apply_to_integration_type":["postgres","sqlserver","bigquery","redshift"]},"dest_schema_mapping":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Schema Mapping","description":"Mapping of source schema to destination schema. If not provided, defaults to destination schema. Only applies to DuckDB","apply_to_integration_type":["postgres"]},"dates_as_string":{"type":"boolean","title":"Dates as String","description":"Optional: Whether to convert dates to strings. Only applicable for Postgres","default":false,"apply_to_integration_type":["postgres"]},"max_record_count":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Record Count","description":"Optional: The maximum number of records to extract on each sync. Only applicable for Postgres","apply_to_integration_type":["postgres"]}},"type":"object","required":["dest_integration_id"],"title":"IntegrationETLConfig"},"IntegrationField":{"properties":{"id":{"type":"string","title":"Id","description":"Field id"},"label":{"type":"string","title":"Label","description":"Field name"},"type":{"type":"string","title":"Type","description":"Field type"},"context":{"$ref":"#/components/schemas/InputContextType","description":"Field context"},"placeholder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placeholder","description":"Field placeholder"},"helperText":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Helpertext","description":"Field description"},"secret":{"type":"boolean","title":"Secret","description":"Whether the field is a secret"},"readonly":{"type":"boolean","title":"Readonly","description":"Whether the field is read-only","default":false},"choices":{"anyOf":[{"items":{"$ref":"#/components/schemas/SelectOption_str_"},"type":"array"},{"type":"null"}],"title":"Choices","description":"Selectable options for the field"}},"type":"object","required":["id","label","type","context","secret"],"title":"IntegrationField"},"IntegrationType":{"type":"string","enum":["postgres","acumatica","aircall","amplitude","attio","bigquery","cube","custom","ducklake","excel","facebookads","facebookads_system_user","gcs","googleads","googleanalytics","googlesearchconsole","googlesheets","hubspot","iceberg","linkedinads","linkedinpages","mavenlink","mysql","omnisend","pipedrive","twilio","quickbooks","redshift","salesforce","salesloft","sharepointsites","sheets","shopify","slack","snowflake","sqlserver","s3","abicart","abra","activecampaign","acuite","adp","aftership","aha","airtable","amazonadvertising","amazonassociates","amazonsellingpartner","anvil","apaleo","appstore","applehealth","asknicely","atinternet","awscloudtrail","awscognito","awscostexplorer","bamboohr","hellobaton","bazaarvoice","bexio","bigmarker","brillium","canvas","chorusai","clickcast","clickup","clientsuccess","closeio","cloudwatch","coingecko","currencyfreaks","dagster","dashhudson","datadog","dearsystems","dixa","domo","emarsys","fastly","fishbowl","freshdesk","freshcaller","freshworks","fullstory","gainsightpx","github","gladly","gong","greenhouse","holidays","hotjar","immuta","instagram","iterable","intercom","jira","jotform","judgeme","keap","klaviyo","krow","lessonly","lightdash","linear","loopreturns","maestroqa","mailerlite","mailjet","marketo","marketplacer","netohq","megaphone","memberful","mercadopago","meshstack","messagebird","metronome","mixpanel","msgraph","mindstamp","miro","mode","monday","mongodb","montapacking","moosend","netlify","netrivals","netsuite","niceincontact","notion","okta","ordoro","partnerize","partoo","peloton","picqer","plentymarkets","getpocket","podbean","pulumicloud","qls","qualified","readthedocs","recruitee","recurly","sailthru","segment","sellsy","sendinblue","shipbob","shiphero","shipstation","shoplazza","showpad","sleeper","smartsheet","square","stamped","stripe","sumologic","talkable","thinkific","tiktokads","tradera","travefy","trustrace","typeform","udemyforbusiness","unleashed","veeqo","webflow","woocommerce","zammad","zendesk","zohocrm"],"title":"IntegrationType"},"ListPublicTokensResponse":{"properties":{"tokens":{"items":{"$ref":"#/components/schemas/DocPublicToken"},"type":"array","title":"Tokens","description":"List of tokens"}},"type":"object","title":"ListPublicTokensResponse","description":"Response listing all public tokens for a doc."},"LoadMethod":{"type":"string","enum":["merge","append","overwrite"],"title":"LoadMethod","description":"Available load methods for syncing data."},"MagicLink":{"properties":{"magicLink":{"type":"string","title":"Magiclink","description":"Magic link for signing in"}},"type":"object","required":["magicLink"],"title":"MagicLink"},"NoSecretTeam":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Team ID"},"domain":{"type":"string","title":"Domain","description":"Domain from team email"},"details":{"$ref":"#/components/schemas/TeamDetailsSchema","default":{"onboarding":{"has_added_doc":false,"has_added_integration":false,"has_added_team_member":false},"timezone":"UTC","ssoEnabled":false,"ssoRequired":false}},"members":{"items":{"$ref":"#/components/schemas/TeamMember"},"type":"array","title":"Members","description":"Team members"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when team was created"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp when team was updated"},"plan":{"type":"string","enum":["free","trial","standard","enterprise"],"title":"Plan","description":"Team plan"},"trial_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial End At","description":"Trial end timestamp"}},"type":"object","required":["id","domain","members","created_at","updated_at","plan"],"title":"NoSecretTeam"},"NoSecretUser":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"User ID"},"email":{"type":"string","title":"Email","description":"User email"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"User created at"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat","description":"User updated at"},"isAdmin":{"type":"boolean","title":"Isadmin","description":"Is the user an admin"},"api_key":{"$ref":"#/components/schemas/ApiKey","description":"User's API key"},"teams":{"items":{"$ref":"#/components/schemas/NoSecretTeam"},"type":"array","title":"Teams","description":"Teams the user is a member of"}},"type":"object","required":["id","email","createdAt","updatedAt","isAdmin","api_key","teams"],"title":"NoSecretUser"},"OAuthBrokerGrantImportRequest":{"properties":{"deployment_id":{"type":"string","minLength":1,"title":"Deployment Id","description":"Target on-prem deployment id"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Cloud team that owns the integrations"},"integration_ids":{"items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]},"type":"array","minItems":1,"title":"Integration Ids","description":"Cloud integration ids to import (must belong to team_id)"}},"type":"object","required":["deployment_id","team_id","integration_ids"],"title":"OAuthBrokerGrantImportRequest","description":"POST /onprem/v1/oauth/broker/grants/import body (superadmin, onprem#714).\n\nImports a cloud team's existing OAuth refresh tokens as broker grants for\nan on-prem deployment — zero-click migration for non-rotating providers\n(the Amazon family). All-or-nothing per request."},"OAuthBrokerGrantImportResponse":{"properties":{"deployment_id":{"type":"string","title":"Deployment Id"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id"},"imported":{"items":{"$ref":"#/components/schemas/OAuthBrokerImportedGrant"},"type":"array","title":"Imported"}},"type":"object","required":["deployment_id","team_id"],"title":"OAuthBrokerGrantImportResponse","description":"POST /onprem/v1/oauth/broker/grants/import response."},"OAuthBrokerImportedGrant":{"properties":{"broker_handle":{"type":"string","title":"Broker Handle","description":"Opaque handle of the new broker grant"},"provider":{"type":"string","title":"Provider","description":"Broker provider-profile name (the on-prem integration's public.profile)"},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Integration Id","description":"Source cloud integration id (audit)"},"name":{"type":"string","title":"Name","description":"Cloud integration display name (operator mapping aid)"},"extras":{"additionalProperties":{"type":"string"},"type":"object","title":"Extras","description":"Per-account on-prem connector extras (SP: region/marketplace_ids; Ads: region + an empty profile_id to fill in after import)"}},"type":"object","required":["broker_handle","provider","integration_id","name"],"title":"OAuthBrokerImportedGrant","description":"One imported grant in the import response."},"OAuthBrokerRefreshResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"expires_in":{"type":"integer","title":"Expires In"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"broker_handle":{"type":"string","title":"Broker Handle"},"instance_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance Url"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id","description":"Definite's OAuth client_id for the provider (non-secret). See OAuthBrokerResultResponse.client_id."}},"type":"object","required":["access_token","expires_in","timestamp","broker_handle"],"title":"OAuthBrokerRefreshResponse","description":"POST /onprem/v1/oauth/broker/grants/{handle}/refresh response (contract §2.4).\n\nNever carries the refresh token (rotation is persisted central-side)."},"OAuthBrokerSessionCreateRequest":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider","description":"Provider profile name (matches the on-prem oauth profiles)"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes","description":"Optional scope override; defaults to the provider profile's default_scopes"},"landing_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Landing Url","description":"Absolute https (localhost allowed) URL on the deployment to return the user to"},"instance_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance Hint","description":"For per-tenant providers (Salesforce login/test, Showpad subdomain, Marketo REST host)"}},"type":"object","required":["provider"],"title":"OAuthBrokerSessionCreateRequest","description":"POST /onprem/v1/oauth/broker/sessions body (contract §2.1)."},"OAuthBrokerSessionCreateResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"authorize_url":{"type":"string","title":"Authorize Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["session_id","authorize_url","expires_at"],"title":"OAuthBrokerSessionCreateResponse","description":"POST /onprem/v1/oauth/broker/sessions response (contract §2.1)."},"OAuthSubmitRequest":{"properties":{"integration_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Id"},"success":{"type":"boolean","title":"Success","default":true},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"OAuthSubmitRequest","description":"Request body for submitting OAuth completion via the hosted page."},"OnPremEmailAttachment":{"properties":{"filename":{"type":"string","maxLength":180,"minLength":1,"title":"Filename"},"content_type":{"type":"string","maxLength":120,"title":"Content Type","default":"application/octet-stream"},"content_base64":{"type":"string","minLength":1,"title":"Content Base64"}},"type":"object","required":["filename","content_base64"],"title":"OnPremEmailAttachment"},"OnPremEmailSendRequest":{"properties":{"deployment_id":{"type":"string","minLength":1,"title":"Deployment Id"},"to":{"items":{"type":"string","format":"email"},"type":"array","maxItems":10,"minItems":1,"title":"To"},"subject":{"type":"string","maxLength":200,"minLength":1,"title":"Subject"},"html_body":{"anyOf":[{"type":"string","maxLength":1000000},{"type":"null"}],"title":"Html Body"},"text_body":{"anyOf":[{"type":"string","maxLength":1000000},{"type":"null"}],"title":"Text Body"},"from_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"From Email"},"attachments":{"items":{"$ref":"#/components/schemas/OnPremEmailAttachment"},"type":"array","maxItems":5,"title":"Attachments"}},"type":"object","required":["deployment_id","to","subject"],"title":"OnPremEmailSendRequest"},"OnPremEmailSendResponse":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true}},"type":"object","title":"OnPremEmailSendResponse"},"Paginated_AutomationJobsSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AutomationJobsSchema"},"type":"array","title":"Data","description":"List of items"},"limit":{"type":"integer","title":"Limit","description":"Items per page"},"offset":{"type":"integer","title":"Offset","description":"Current offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Sort field"},"ascending":{"type":"boolean","title":"Ascending","description":"Sort direction (true = ascending)"},"total":{"type":"integer","title":"Total","description":"Total number of items matching the query across all pages"}},"type":"object","required":["data","limit","offset","orderedBy","ascending","total"],"title":"Paginated[AutomationJobsSchema]"},"Paginated_AutomationLogsSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AutomationLogsSchema"},"type":"array","title":"Data","description":"List of items"},"limit":{"type":"integer","title":"Limit","description":"Items per page"},"offset":{"type":"integer","title":"Offset","description":"Current offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Sort field"},"ascending":{"type":"boolean","title":"Ascending","description":"Sort direction (true = ascending)"},"total":{"type":"integer","title":"Total","description":"Total number of items matching the query across all pages"}},"type":"object","required":["data","limit","offset","orderedBy","ascending","total"],"title":"Paginated[AutomationLogsSchema]"},"Paginated_AutomationRunAttemptsSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AutomationRunAttemptsSchema"},"type":"array","title":"Data","description":"List of items"},"limit":{"type":"integer","title":"Limit","description":"Items per page"},"offset":{"type":"integer","title":"Offset","description":"Current offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Sort field"},"ascending":{"type":"boolean","title":"Ascending","description":"Sort direction (true = ascending)"},"total":{"type":"integer","title":"Total","description":"Total number of items matching the query across all pages"}},"type":"object","required":["data","limit","offset","orderedBy","ascending","total"],"title":"Paginated[AutomationRunAttemptsSchema]"},"Paginated_AutomationRunsSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AutomationRunsSchema"},"type":"array","title":"Data","description":"List of items"},"limit":{"type":"integer","title":"Limit","description":"Items per page"},"offset":{"type":"integer","title":"Offset","description":"Current offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Sort field"},"ascending":{"type":"boolean","title":"Ascending","description":"Sort direction (true = ascending)"},"total":{"type":"integer","title":"Total","description":"Total number of items matching the query across all pages"}},"type":"object","required":["data","limit","offset","orderedBy","ascending","total"],"title":"Paginated[AutomationRunsSchema]"},"Paginated_Integration_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Integration"},"type":"array","title":"Data","description":"List of items"},"limit":{"type":"integer","title":"Limit","description":"Items per page"},"offset":{"type":"integer","title":"Offset","description":"Current offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Sort field"},"ascending":{"type":"boolean","title":"Ascending","description":"Sort direction (true = ascending)"},"total":{"type":"integer","title":"Total","description":"Total number of items matching the query across all pages"}},"type":"object","required":["data","limit","offset","orderedBy","ascending","total"],"title":"Paginated[Integration]"},"Paginated_TeamSchema_":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TeamSchema"},"type":"array","title":"Data","description":"List of items"},"limit":{"type":"integer","title":"Limit","description":"Items per page"},"offset":{"type":"integer","title":"Offset","description":"Current offset"},"orderedBy":{"type":"string","title":"Orderedby","description":"Sort field"},"ascending":{"type":"boolean","title":"Ascending","description":"Sort direction (true = ascending)"},"total":{"type":"integer","title":"Total","description":"Total number of items matching the query across all pages"}},"type":"object","required":["data","limit","offset","orderedBy","ascending","total"],"title":"Paginated[TeamSchema]"},"Project":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Project ID"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Team ID"},"name":{"type":"string","title":"Name","description":"Project name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"created_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Created By","description":"User ID who created the project"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Project created at"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Project updated at"},"is_archived":{"type":"boolean","title":"Is Archived","description":"Grave marker for soft deletion","default":false},"team_wide_permission":{"anyOf":[{"type":"string","enum":["read","write"]},{"type":"null"}],"title":"Team Wide Permission","description":"If set, all team members get this permission on docs in the project"}},"type":"object","required":["team_id","name","created_by"],"title":"Project"},"ProjectMember":{"properties":{"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Project Id","description":"Project ID"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id","description":"User ID"},"permission":{"type":"string","enum":["read","write"],"title":"Permission","description":"Permission level on the project"},"added_at":{"type":"string","format":"date-time","title":"Added At","description":"When the member was added"},"added_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Added By","description":"User ID who added this member"}},"type":"object","required":["project_id","user_id","permission"],"title":"ProjectMember"},"ProjectWithCounts":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Project ID"},"team_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Team Id","description":"Team ID"},"name":{"type":"string","title":"Name","description":"Project name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"created_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Created By","description":"User ID who created the project"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Project created at"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Project updated at"},"is_archived":{"type":"boolean","title":"Is Archived","description":"Grave marker for soft deletion","default":false},"team_wide_permission":{"anyOf":[{"type":"string","enum":["read","write"]},{"type":"null"}],"title":"Team Wide Permission","description":"If set, all team members get this permission on docs in the project"},"doc_count":{"type":"integer","title":"Doc Count","description":"Number of docs in project","default":0},"thread_count":{"type":"integer","title":"Thread Count","description":"Number of threads in project","default":0}},"type":"object","required":["team_id","name","created_by"],"title":"ProjectWithCounts","description":"Project with doc and thread counts for list view."},"ProvisioningStatus":{"properties":{"overall_status":{"$ref":"#/components/schemas/ProvisioningStepStatus","description":"Overall provisioning status","default":"pending"},"steps":{"$ref":"#/components/schemas/ProvisioningSteps"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Overall error message if provisioning failed"}},"type":"object","title":"ProvisioningStatus","description":"Overall provisioning status for a team."},"ProvisioningStep":{"properties":{"status":{"$ref":"#/components/schemas/ProvisioningStepStatus","default":"pending"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if step failed"}},"type":"object","title":"ProvisioningStep","description":"Details about a single provisioning step."},"ProvisioningStepStatus":{"type":"string","enum":["pending","in_progress","completed","failed"],"title":"ProvisioningStepStatus","description":"Status of an individual provisioning step."},"ProvisioningSteps":{"properties":{"team":{"$ref":"#/components/schemas/ProvisioningStep","description":"Team creation"},"cube":{"$ref":"#/components/schemas/ProvisioningStep","description":"Cube semantic layer"},"ducklake":{"$ref":"#/components/schemas/ProvisioningStep","description":"DuckLake data warehouse"},"fi_gcs":{"$ref":"#/components/schemas/ProvisioningStep","description":"Fi AI capabilities (GCS + Vertex AI)"},"api_key":{"$ref":"#/components/schemas/ProvisioningStep","description":"API key generation"}},"type":"object","title":"ProvisioningSteps","description":"All provisioning steps for a new team."},"PublicDatasetExecuteRequest":{"properties":{"spec":{"additionalProperties":true,"type":"object","title":"Spec","description":"Dataset specification from YAML"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters","description":"Parameter values"}},"type":"object","required":["spec"],"title":"PublicDatasetExecuteRequest","description":"Request to execute a dataset via public token."},"PublicDocResponse":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Doc ID"},"name":{"type":"string","title":"Name","description":"Doc name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"raw_yaml":{"type":"string","title":"Raw Yaml","description":"Raw YAML content"},"catalog_subset":{"additionalProperties":{"$ref":"#/components/schemas/CubeSubset"},"type":"object","title":"Catalog Subset","description":"Only the Cube members referenced by this doc's datasets"}},"type":"object","required":["id","name","raw_yaml"],"title":"PublicDocResponse","description":"Doc data returned for public/anonymous access."},"PublicTokenMetaResponse":{"properties":{"passwordRequired":{"type":"boolean","title":"Passwordrequired","description":"Whether this embed requires a password"}},"type":"object","required":["passwordRequired"],"title":"PublicTokenMetaResponse","description":"Lightweight metadata about a public token (no auth required)."},"RecoveryCommandAckRequest":{"properties":{"status":{"type":"string","enum":["succeeded","failed"],"title":"Status"},"detail":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Detail"},"report":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Report","description":"Structured command report (e.g. the cluster_status document); size-capped centrally"}},"type":"object","required":["status"],"title":"RecoveryCommandAckRequest"},"RecoveryCommandAckResponse":{"properties":{"command_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Command Id"},"status":{"type":"string","enum":["succeeded","failed"],"title":"Status"}},"type":"object","required":["command_id","status"],"title":"RecoveryCommandAckResponse"},"RecoveryCommandDelivery":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id"},"command_type":{"type":"string","enum":["restart_api","restart_component","cluster_status","cleanup_stale_pods","reset_db_connections","remediate_storage"],"title":"Command Type"},"params":{"additionalProperties":true,"type":"object","title":"Params"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["id","command_type","expires_at"],"title":"RecoveryCommandDelivery"},"RecoveryCommandPollResponse":{"properties":{"command":{"anyOf":[{"$ref":"#/components/schemas/RecoveryCommandDelivery"},{"type":"null"}]}},"type":"object","title":"RecoveryCommandPollResponse"},"RecoveryCommandQueueRequest":{"properties":{"command_type":{"type":"string","enum":["restart_api","restart_component","cluster_status","cleanup_stale_pods","reset_db_connections","remediate_storage"],"title":"Command Type"},"params":{"additionalProperties":true,"type":"object","title":"Params"},"reason":{"type":"string","minLength":1,"title":"Reason","description":"Incident or diagnosis that justifies the command (audit)"},"ttl_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Ttl Seconds","description":"How long the unclaimed command stays executable","default":900}},"type":"object","required":["command_type","reason"],"title":"RecoveryCommandQueueRequest","description":"Staff-queued recovery command. Mirrors SupportTokenRequest's contract."},"RecoveryCommandQueueResponse":{"properties":{"command_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Command Id"},"deployment_id":{"type":"string","title":"Deployment Id"},"command_type":{"type":"string","enum":["restart_api","restart_component","cluster_status","cleanup_stale_pods","reset_db_connections","remediate_storage"],"title":"Command Type"},"status":{"type":"string","enum":["pending","delivered","succeeded","failed","expired"],"title":"Status"},"params":{"additionalProperties":true,"type":"object","title":"Params"},"actor_email":{"type":"string","title":"Actor Email"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["command_id","deployment_id","command_type","status","actor_email","expires_at","created_at"],"title":"RecoveryCommandQueueResponse"},"ReportRow":{"properties":{"day":{"type":"string","format":"date","title":"Day","description":"Usage date"},"typ":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Typ","description":"Breakdown type category"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value","description":"Usage value"}},"type":"object","required":["day","typ","value"],"title":"ReportRow"},"ResolvedDataAccessResponse":{"properties":{"accessMode":{"type":"string","enum":["read_write","read_only"],"title":"Accessmode","description":"Effective access mode (read_write | read_only). Unrestricted users are always read_write."},"isUnrestricted":{"type":"boolean","title":"Isunrestricted","description":"True iff the user has no bound role and the team has no default role."},"roleId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Roleid","description":"Id of the resolved role (assignment or team default); null when unrestricted."},"roleName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rolename","description":"Name of the resolved role (assignment or team default); null when unrestricted."}},"type":"object","required":["accessMode","isUnrestricted"],"title":"ResolvedDataAccessResponse","description":"Effective data-access state for a user (current assignment or team default)."},"ResponseMeta":{"properties":{"requestId":{"type":"string","title":"Requestid","description":"Unique request identifier for tracing","default":""},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Response timestamp (UTC)"},"durationMs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationms","description":"Request processing time in milliseconds"}},"type":"object","title":"ResponseMeta"},"RevokeGrantsRequest":{"properties":{"deployment_id":{"type":"string","minLength":1,"title":"Deployment Id","description":"Deployment whose brokered grants should be revoked"}},"type":"object","required":["deployment_id"],"title":"RevokeGrantsRequest","description":"POST /onprem/v1/oauth/broker/grants/revoke body (contract §2.6)."},"Role":{"properties":{"id":{"anyOf":[{"type":"integer","enum":[1,2,3,4,5]},{"$ref":"#/components/schemas/TeamRole"}],"title":"Id","description":"Role ID"},"name":{"type":"string","enum":["guest","viewer","analyst","admin","embedded_viewer"],"title":"Name","description":"User email"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions","description":"Permissions the role has"}},"type":"object","required":["id","name","permissions"],"title":"Role"},"RunAutomationJobRequest":{"properties":{"runId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Runid","description":"If retrying, this run ID allows new attempt for same run"}},"type":"object","title":"RunAutomationJobRequest"},"Schema":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Optional tags","default":[]},"tables":{"items":{"$ref":"#/components/schemas/Table"},"type":"array","title":"Tables"}},"type":"object","required":["name","path","tables"],"title":"Schema"},"SchemaResponse":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/CubeMetadataResponse"},{"$ref":"#/components/schemas/DatabaseSchemaResponse"}],"title":"Data","discriminator":{"propertyName":"type","mapping":{"cubes":"#/components/schemas/CubeMetadataResponse","databases":"#/components/schemas/DatabaseSchemaResponse"}}}},"type":"object","required":["data"],"title":"SchemaResponse"},"SecretsSubmitRequest":{"properties":{"secrets":{"additionalProperties":{"type":"string"},"type":"object","title":"Secrets"}},"type":"object","required":["secrets"],"title":"SecretsSubmitRequest","description":"Request body for submitting secrets from the frontend form."},"SelectOption_str_":{"properties":{"label":{"type":"string","title":"Label"},"value":{"type":"string","title":"Value"},"selected":{"type":"boolean","title":"Selected","default":false}},"type":"object","required":["label","value"],"title":"SelectOption"},"SemanticModelQueryRequest":{"properties":{"query":{"$ref":"#/components/schemas/CubeQuerySchema"}},"type":"object","required":["query"],"title":"SemanticModelQueryRequest","description":"Request schema for semantic model query."},"SemanticModelQueryResponse":{"properties":{"sql":{"prefixItems":[{"type":"string"},{"items":{},"type":"array"}],"type":"array","maxItems":2,"minItems":2,"title":"Sql","description":"SQL query and parameters"},"aliasNameToMember":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Aliasnametomember"},"memberNames":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Membernames","description":"Member names"},"cacheKeyQueries":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Cachekeyqueries"},"canUseTransformedQuery":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Canusetransformedquery"},"dataSource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datasource"},"external":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"External"},"lambdaQueries":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Lambdaqueries"},"order":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Order"},"preAggregations":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Preaggregations"},"rollupMatchResults":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Rollupmatchresults"},"raw_schema":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Raw Schema"},"execution_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Execution Time Ms"}},"type":"object","required":["sql"],"title":"SemanticModelQueryResponse","description":"Response schema for semantic model query."},"SetupAuthorizationCreateRequest":{"properties":{"cloud_provider":{"type":"string","enum":["aws","gcp","azure"],"title":"Cloud Provider","description":"Customer cloud target proving account control"},"requested_slug":{"anyOf":[{"type":"string","maxLength":63},{"type":"null"}],"title":"Requested Slug"},"release_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Version"},"cloud_attestation":{"$ref":"#/components/schemas/SetupCloudAttestation"}},"type":"object","required":["cloud_provider","cloud_attestation"],"title":"SetupAuthorizationCreateRequest"},"SetupAuthorizationResponse":{"properties":{"authorization_id":{"type":"string","title":"Authorization Id"},"setup_token":{"type":"string","title":"Setup Token","description":"Short-lived setup token. Returned once; never stored raw."},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"cloud_provider":{"type":"string","enum":["aws","gcp","azure"],"title":"Cloud Provider"},"cloud_account":{"type":"string","title":"Cloud Account"},"cloud_principal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cloud Principal"}},"type":"object","required":["authorization_id","setup_token","expires_at","cloud_provider","cloud_account"],"title":"SetupAuthorizationResponse"},"SetupCloudAttestation":{"properties":{"type":{"type":"string","enum":["aws_presigned_sts_get_caller_identity","gcp_oidc_identity_token","azure_entra_access_token"],"title":"Type"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["type"],"title":"SetupCloudAttestation"},"SetupSessionCreateRequest":{"properties":{"cloud_provider":{"type":"string","enum":["aws","gcp","azure"],"maxLength":32,"minLength":1,"title":"Cloud Provider","description":"Customer cloud target, e.g. gcp, aws, or azure"},"ingress_target":{"type":"string","title":"Ingress Target","description":"Ingress hostname or IP address the Definite-hosted DNS record should target"},"requested_slug":{"anyOf":[{"type":"string","maxLength":63},{"type":"null"}],"title":"Requested Slug","description":"Optional preferred DNS label. If taken, the broker allocates a unique suffix."},"release_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Version","description":"definite-onprem release version being installed"},"setup_token":{"type":"string","minLength":1,"format":"password","title":"Setup Token","description":"Broker setup token shared with the first-run installer","writeOnly":true}},"type":"object","required":["cloud_provider","ingress_target","setup_token"],"title":"SetupSessionCreateRequest"},"SetupSessionRepointRequest":{"properties":{"ingress_target":{"type":"string","minLength":1,"title":"Ingress Target","description":"New ingress hostname or IP address the Definite-hosted DNS record should target"},"license_key":{"type":"string","minLength":1,"format":"password","title":"License Key","description":"License key issued to this setup session","writeOnly":true}},"type":"object","required":["ingress_target","license_key"],"title":"SetupSessionRepointRequest","description":"Re-point an existing setup session's brokered DNS at a new ingress target.\n\nProof-of-possession is the license key issued to the session (the installer\nstill holds it), so no live setup token is required after the session was\ncreated and its token consumed."},"SetupSessionResponse":{"properties":{"setup_id":{"type":"string","title":"Setup Id"},"fqdn":{"type":"string","title":"Fqdn"},"url":{"type":"string","title":"Url"},"ingress_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ingress Target","description":"Ingress hostname or IP the brokered DNS record currently targets. Lets an installer detect when the live ingress LoadBalancer has changed and re-point DNS."},"dns_status":{"type":"string","enum":["created","pending","ready","failed"],"title":"Dns Status"},"license_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Key","description":"Raw license key. Returned only by the create endpoint and never by status polling."},"license_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"License Id"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","enum":["license_pending","dns_pending","ready","failed"],"title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["setup_id","fqdn","url","dns_status","expires_at","status"],"title":"SetupSessionResponse"},"SignedUrlRequest":{"properties":{"fileName":{"type":"string","title":"Filename","description":"File Name"},"category":{"$ref":"#/components/schemas/FileCategory","description":"File Category"},"method":{"type":"string","enum":["GET","PUT"],"title":"Method","description":"HTTP Method"}},"type":"object","required":["fileName","category","method"],"title":"SignedUrlRequest"},"SignedUrlResponse":{"properties":{"url":{"type":"string","title":"Url","description":"Signed URL for file upload or download"}},"type":"object","required":["url"],"title":"SignedUrlResponse"},"SlackChannel":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"SlackChannel"},"SlackMessageRequest":{"properties":{"integration_id":{"type":"string","title":"Integration Id","description":"The ID of the Slack Integration to use for sending the message"},"channel_id":{"type":"string","title":"Channel Id","description":"The Slack channel ID where the message should be sent"},"text":{"type":"string","title":"Text","description":"The text content of the message to send"},"blocks":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"Optional array of Slack Block Kit block objects for advanced message formatting"},"thread_ts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Ts","description":"Optional timestamp to post message as a reply in an existing thread"}},"type":"object","required":["integration_id","channel_id","text"],"title":"SlackMessageRequest"},"SlackMessageResponse":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Whether the message was sent successfully"},"channelId":{"type":"string","title":"Channelid","description":"The Slack channel ID where the message was posted"},"ts":{"type":"string","title":"Ts","description":"The Slack timestamp ID of the new message"},"threadTs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Threadts","description":"Thread timestamp if the message was posted in a thread"}},"type":"object","required":["ok","channelId","ts"],"title":"SlackMessageResponse"},"SshConfig":{"properties":{"server":{"type":"string","title":"SSH Server","description":"Server to SSH into.","default":""},"port":{"type":"integer","title":"SSH Port","description":"SSH Port.","default":22},"user":{"type":"string","title":"SSH User","description":"User to authenticate as in the SSH session.","default":""},"private_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"SSH Private Key","description":"ssh private key."}},"type":"object","title":"SshConfig"},"SslConfig":{"properties":{"certificate_authority":{"type":"string","title":"SSL Certificate Authority","description":"The certificate authority that should be used to verify the server's identity.","default":""},"client_certificate":{"type":"string","title":"SSL Client Certificate","description":"The certificate that should be used to verify your identity to the server.","default":""},"client_certificate_enable":{"type":"boolean","title":"SSL Client Certificate Enable","description":"Whether or not to provide client-side certificates as a method of authentication to the server","default":false},"client_private_key":{"type":"string","title":"SSL Client Private Key","description":"The private key for the certificate you provided.","default":""},"mode":{"type":"string","title":"SSL Mode","description":"SSL Protection method, see postgres documentation for more information.","default":"verify-full"}},"type":"object","title":"SslConfig"},"SsoCheckResponse":{"properties":{"ssoEnabled":{"type":"boolean","title":"Ssoenabled","description":"Whether SSO is enabled for the domain"},"ssoRequired":{"type":"boolean","title":"Ssorequired","description":"Whether SSO login is required (email/password disallowed)"}},"type":"object","required":["ssoEnabled","ssoRequired"],"title":"SsoCheckResponse"},"StoreDeleteRequest":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the data to store in the KV store."}},"type":"object","required":["name"],"title":"StoreDeleteRequest"},"StoreReadResponse":{"properties":{"data":{"additionalProperties":{"type":"string"},"type":"object","title":"Data","description":"The data stored in the KV store."},"version_id":{"type":"string","title":"Version Id","description":"The version ID of the data in the KV store."}},"type":"object","required":["data","version_id"],"title":"StoreReadResponse"},"StoreWriteRequest":{"properties":{"data":{"additionalProperties":{"type":"string"},"type":"object","title":"Data","description":"The data to store in the KV store."},"name":{"type":"string","title":"Name","description":"The name of the data to store in the KV store."},"existing_version_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Existing Version Id","description":"The version ID of the data in the KV store."}},"type":"object","required":["data","name"],"title":"StoreWriteRequest"},"StoreWriteResponse":{"properties":{"version_id":{"type":"string","title":"Version Id","description":"The version ID of the data in the KV store."}},"type":"object","required":["version_id"],"title":"StoreWriteResponse"},"StreamConfig":{"properties":{"table":{"type":"string","title":"Table","description":"Target table name (e.g., 'bronze.events')"},"many":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Many","description":"Whether data is an array; inferred if not provided"},"mode":{"type":"string","enum":["append","merge"],"title":"Mode","description":"Ingestion mode: 'append' inserts rows; 'merge' deletes-then-inserts keyed on primary_key","default":"append"},"primary_key":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Primary Key","description":"Required when mode='merge'; exactly one field for v2 (composite keys planned later)"},"wait":{"type":"boolean","title":"Wait","description":"Wait for commit and return snapshot_id","default":false},"tags":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Tags","description":"Optional tags for metadata"},"trace":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Trace","description":"Optional trace information"}},"type":"object","required":["table"],"title":"StreamConfig","description":"Configuration for stream ingestion"},"StreamRequest":{"properties":{"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Data","description":"Data to ingest (object or array; omitted for NDJSON)"},"config":{"$ref":"#/components/schemas/StreamConfig","description":"Stream configuration"}},"type":"object","required":["config"],"title":"StreamRequest","description":"Request model for stream ingestion"},"StreamResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the ingestion was successful"},"request_id":{"type":"string","title":"Request Id","description":"Unique request identifier"},"stream_id":{"type":"string","title":"Stream Id","description":"Unique stream identifier"},"table":{"type":"string","title":"Table","description":"Fully qualified table name"},"accepted":{"type":"integer","title":"Accepted","description":"Number of rows parsed and accepted"},"successful_rows":{"type":"integer","title":"Successful Rows","description":"Number of rows successfully written"},"rejected_rows":{"type":"integer","title":"Rejected Rows","description":"Number of rows rejected due to validation errors"},"partitions":{"items":{"type":"string"},"type":"array","title":"Partitions","description":"Human-friendly partition summary"},"snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snapshot Id","description":"Iceberg snapshot ID (present when wait=true)"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings","description":"Warning messages"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","description":"Error messages"}},"type":"object","required":["success","request_id","stream_id","table","accepted","successful_rows","rejected_rows","partitions"],"title":"StreamResponse","description":"Response model for stream ingestion"},"SubmitDuckDBBatchJobRequest":{"properties":{"queries":{"items":{"$ref":"#/components/schemas/BatchQueryItem"},"type":"array","minItems":1,"title":"Queries","description":"Ordered list of queries to run on the container"},"mode":{"$ref":"#/components/schemas/BatchExecutionMode","description":"serial: run one after another (stops on first error); parallel: run all concurrently","default":"serial"},"resources":{"$ref":"#/components/schemas/ComputeResourceRequest","description":"Resource requirements for the K8s job container"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Optional integration ID. If not provided, uses team's default Ducklake integration."},"blockId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Blockid","description":"Optional block ID associated with the job"}},"type":"object","required":["queries"],"title":"SubmitDuckDBBatchJobRequest"},"SubmitDuckDBJobRequest":{"properties":{"sql":{"type":"string","title":"Sql","description":"SQL query to execute"},"resources":{"$ref":"#/components/schemas/ComputeResourceRequest","description":"Resource requirements for the K8s job"},"integrationId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Integrationid","description":"Optional integration ID. If not provided, uses team's default Ducklake integration."},"blockId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Blockid","description":"Optional block ID associated with the job"},"queryType":{"type":"string","enum":["json","arrow","exec"],"title":"Querytype","description":"Query type: 'arrow' for data queries, 'exec' for DDL/statements","default":"arrow"}},"type":"object","required":["sql"],"title":"SubmitDuckDBJobRequest"},"SuccessResponse_ActivateResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/ActivateResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[ActivateResponse]"},"SuccessResponse_AdminEventDurationStatsBatchResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/AdminEventDurationStatsBatchResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[AdminEventDurationStatsBatchResponse]"},"SuccessResponse_AdminEventDurationStatsResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/AdminEventDurationStatsResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[AdminEventDurationStatsResponse]"},"SuccessResponse_AutomationJobsSchema_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/AutomationJobsSchema","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[AutomationJobsSchema]"},"SuccessResponse_AutomationRunsSchema_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/AutomationRunsSchema","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[AutomationRunsSchema]"},"SuccessResponse_CatalogColumnProfile_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/CatalogColumnProfile","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[CatalogColumnProfile]"},"SuccessResponse_CatalogSnapshotsResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/CatalogSnapshotsResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[CatalogSnapshotsResponse]"},"SuccessResponse_CatalogTableDetail_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/CatalogTableDetail","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[CatalogTableDetail]"},"SuccessResponse_CatalogTablesResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/CatalogTablesResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[CatalogTablesResponse]"},"SuccessResponse_DataAccessGrant_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DataAccessGrant","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DataAccessGrant]"},"SuccessResponse_DataAccessRole_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DataAccessRole","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DataAccessRole]"},"SuccessResponse_DataAppResolveResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DataAppResolveResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DataAppResolveResponse]"},"SuccessResponse_DuckDBBatchJobResultResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckDBBatchJobResultResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckDBBatchJobResultResponse]"},"SuccessResponse_DuckDBJobResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckDBJobResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckDBJobResponse]"},"SuccessResponse_DuckDBJobResultResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckDBJobResultResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckDBJobResultResponse]"},"SuccessResponse_DuckLakeHealthReport_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeHealthReport","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeHealthReport]"},"SuccessResponse_DuckLakeMaintenanceAttemptSyncResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeMaintenanceAttemptSyncResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeMaintenanceAttemptSyncResponse]"},"SuccessResponse_DuckLakeMaintenanceJobLogsResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeMaintenanceJobLogsResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeMaintenanceJobLogsResponse]"},"SuccessResponse_DuckLakeMaintenanceJobResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeMaintenanceJobResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeMaintenanceJobResponse]"},"SuccessResponse_DuckLakeMaintenanceScheduleResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeMaintenanceScheduleResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeMaintenanceScheduleResponse]"},"SuccessResponse_DuckLakeMaintenanceStatusResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeMaintenanceStatusResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeMaintenanceStatusResponse]"},"SuccessResponse_DuckLakeStorageSizeResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/DuckLakeStorageSizeResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[DuckLakeStorageSizeResponse]"},"SuccessResponse_ExecutionLogsResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/ExecutionLogsResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[ExecutionLogsResponse]"},"SuccessResponse_FiFastResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/FiFastResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[FiFastResponse]"},"SuccessResponse_FiHookResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/FiHookResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[FiHookResponse]"},"SuccessResponse_FiRunResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/FiRunResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[FiRunResponse]"},"SuccessResponse_HostedApprovalResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedApprovalResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedApprovalResponse]"},"SuccessResponse_HostedBillingPortalResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedBillingPortalResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedBillingPortalResponse]"},"SuccessResponse_HostedDeploymentDetail_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedDeploymentDetail","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedDeploymentDetail]"},"SuccessResponse_HostedModelsResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedModelsResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedModelsResponse]"},"SuccessResponse_HostedRevealCodeResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedRevealCodeResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedRevealCodeResponse]"},"SuccessResponse_HostedSignupResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedSignupResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedSignupResponse]"},"SuccessResponse_HostedStatusResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedStatusResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedStatusResponse]"},"SuccessResponse_HostedUpgradeCheckoutResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/HostedUpgradeCheckoutResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[HostedUpgradeCheckoutResponse]"},"SuccessResponse_IntegrationCatalog_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/IntegrationCatalog","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[IntegrationCatalog]"},"SuccessResponse_Integration_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Integration","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Integration]"},"SuccessResponse_OAuthBrokerGrantImportResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/OAuthBrokerGrantImportResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[OAuthBrokerGrantImportResponse]"},"SuccessResponse_OAuthBrokerRefreshResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/OAuthBrokerRefreshResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[OAuthBrokerRefreshResponse]"},"SuccessResponse_OAuthBrokerSessionCreateResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/OAuthBrokerSessionCreateResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[OAuthBrokerSessionCreateResponse]"},"SuccessResponse_OnPremEmailSendResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/OnPremEmailSendResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[OnPremEmailSendResponse]"},"SuccessResponse_Paginated_AutomationJobsSchema__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Paginated_AutomationJobsSchema_","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Paginated[AutomationJobsSchema]]"},"SuccessResponse_Paginated_AutomationLogsSchema__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Paginated_AutomationLogsSchema_","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Paginated[AutomationLogsSchema]]"},"SuccessResponse_Paginated_AutomationRunAttemptsSchema__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Paginated_AutomationRunAttemptsSchema_","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Paginated[AutomationRunAttemptsSchema]]"},"SuccessResponse_Paginated_AutomationRunsSchema__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Paginated_AutomationRunsSchema_","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Paginated[AutomationRunsSchema]]"},"SuccessResponse_Paginated_Integration__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Paginated_Integration_","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Paginated[Integration]]"},"SuccessResponse_Paginated_TeamSchema__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Paginated_TeamSchema_","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Paginated[TeamSchema]]"},"SuccessResponse_RecoveryCommandAckResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/RecoveryCommandAckResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[RecoveryCommandAckResponse]"},"SuccessResponse_RecoveryCommandPollResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/RecoveryCommandPollResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[RecoveryCommandPollResponse]"},"SuccessResponse_RecoveryCommandQueueResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/RecoveryCommandQueueResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[RecoveryCommandQueueResponse]"},"SuccessResponse_ResolvedDataAccessResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/ResolvedDataAccessResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[ResolvedDataAccessResponse]"},"SuccessResponse_Role_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/Role","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Role]"},"SuccessResponse_SetupAuthorizationResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/SetupAuthorizationResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[SetupAuthorizationResponse]"},"SuccessResponse_SetupSessionResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/SetupSessionResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[SetupSessionResponse]"},"SuccessResponse_SsoCheckResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/SsoCheckResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[SsoCheckResponse]"},"SuccessResponse_SupportTokenResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/SupportTokenResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[SupportTokenResponse]"},"SuccessResponse_SyncReconcileSummary_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/SyncReconcileSummary","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[SyncReconcileSummary]"},"SuccessResponse_TeamAdminMagicLinkResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/TeamAdminMagicLinkResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[TeamAdminMagicLinkResponse]"},"SuccessResponse_TeamMember_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/TeamMember","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[TeamMember]"},"SuccessResponse_TeamSchema_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/TeamSchema","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[TeamSchema]"},"SuccessResponse_TelemetryResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/TelemetryResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[TelemetryResponse]"},"SuccessResponse_Union_WebhookDocExecuteResponse__WebhookDocExecuteAsyncResponse__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDocExecuteResponse"},{"$ref":"#/components/schemas/WebhookDocExecuteAsyncResponse"}],"title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[Union[WebhookDocExecuteResponse, WebhookDocExecuteAsyncResponse]]"},"SuccessResponse_UsageReport_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/UsageReport","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[UsageReport]"},"SuccessResponse_UserDataAccessRole_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/UserDataAccessRole","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[UserDataAccessRole]"},"SuccessResponse_WebhookRunStatusResponse_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"$ref":"#/components/schemas/WebhookRunStatusResponse","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[WebhookRunStatusResponse]"},"SuccessResponse_dict_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[dict]"},"SuccessResponse_dict_str__bool__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[dict[str, bool]]"},"SuccessResponse_list_DataAccessGrant__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"items":{"$ref":"#/components/schemas/DataAccessGrant"},"type":"array","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[list[DataAccessGrant]]"},"SuccessResponse_list_DataAccessRole__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"items":{"$ref":"#/components/schemas/DataAccessRole"},"type":"array","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[list[DataAccessRole]]"},"SuccessResponse_list_DuckLakeMaintenanceScheduleResponse__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"items":{"$ref":"#/components/schemas/DuckLakeMaintenanceScheduleResponse"},"type":"array","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[list[DuckLakeMaintenanceScheduleResponse]]"},"SuccessResponse_list_HostedDeploymentRow__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"items":{"$ref":"#/components/schemas/HostedDeploymentRow"},"type":"array","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[list[HostedDeploymentRow]]"},"SuccessResponse_list_TeamMember__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"items":{"$ref":"#/components/schemas/TeamMember"},"type":"array","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[list[TeamMember]]"},"SuccessResponse_list_UserDataAccessRole__":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"items":{"$ref":"#/components/schemas/UserDataAccessRole"},"type":"array","title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[list[UserDataAccessRole]]"},"SuccessResponse_object_":{"properties":{"success":{"type":"boolean","const":true,"title":"Success","description":"Flag for it request was successful"},"data":{"title":"Data","description":"Response data"},"meta":{"$ref":"#/components/schemas/ResponseMeta","description":"Response metadata"}},"type":"object","required":["success","data"],"title":"SuccessResponse[object]"},"SupportTokenRequest":{"properties":{"deployment_id":{"type":"string","minLength":1,"title":"Deployment Id","description":"Deployment to mint a support login token for"},"reason":{"type":"string","minLength":1,"title":"Reason","description":"Why support access is being requested (audit)"},"ttl_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Ttl Seconds","description":"Token lifetime in seconds (default 15 min)","default":900}},"type":"object","required":["deployment_id","reason"],"title":"SupportTokenRequest"},"SupportTokenResponse":{"properties":{"support_token":{"type":"string","title":"Support Token","description":"Short-lived support login token"},"expires_at":{"type":"string","format":"date-time","title":"Expires At","description":"When the support token expires"}},"type":"object","required":["support_token","expires_at"],"title":"SupportTokenResponse"},"SyncReconcileSummary":{"properties":{"checked":{"type":"integer","title":"Checked","description":"Number of live DAG rows considered."},"drift_corrected":{"type":"integer","title":"Drift Corrected","description":"Number of integrations whose sync_enabled differed from Airflow and was rewritten."},"dags_missing_in_airflow":{"type":"integer","title":"Dags Missing In Airflow","description":"Number of live dag_ids in our DB that Airflow doesn't report (likely orphaned)."}},"type":"object","required":["checked","drift_corrected","dags_missing_in_airflow"],"title":"SyncReconcileSummary"},"SyncSchedule":{"type":"string","enum":["hourly","every_4_hours","every_6_hours","every_12_hours","daily","weekly"],"title":"SyncSchedule","description":"Available sync schedules."},"Table":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Optional tags","default":[]},"columns":{"items":{"$ref":"#/components/schemas/Column"},"type":"array","title":"Columns"}},"type":"object","required":["name","path","columns"],"title":"Table"},"TeamAdminMagicLinkResponse":{"properties":{"email":{"type":"string","format":"email","title":"Email","description":"Email of the team's first (earliest) admin member the link signs in as"},"magicLink":{"type":"string","title":"Magiclink","description":"Passwordless magic link that signs in as the team's first admin member"}},"type":"object","required":["email","magicLink"],"title":"TeamAdminMagicLinkResponse"},"TeamDetailsOnboardingSchema":{"properties":{"has_added_doc":{"type":"boolean","title":"Has Added Doc","default":false},"has_added_integration":{"type":"boolean","title":"Has Added Integration","default":false},"has_added_team_member":{"type":"boolean","title":"Has Added Team Member","default":false}},"type":"object","title":"TeamDetailsOnboardingSchema"},"TeamDetailsSchema":{"properties":{"onboarding":{"$ref":"#/components/schemas/TeamDetailsOnboardingSchema","default":{"has_added_doc":false,"has_added_integration":false,"has_added_team_member":false}},"timezone":{"type":"string","title":"Timezone","description":"Team timezone for date calculations (e.g. America/New_York)","default":"UTC"},"ssoEnabled":{"type":"boolean","title":"Ssoenabled","description":"Whether SSO is enabled for the team","default":false},"ssoRequired":{"type":"boolean","title":"Ssorequired","description":"Whether SSO is required for the team","default":false}},"additionalProperties":true,"type":"object","title":"TeamDetailsSchema"},"TeamEventDurationStats":{"properties":{"teamId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Teamid","description":"Team the buckets belong to"},"teamDomain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Teamdomain","description":"Team domain, when available"},"buckets":{"items":{"$ref":"#/components/schemas/EventDurationBucket"},"type":"array","title":"Buckets","description":"Time buckets ordered ascending by bucket start, spanning the full window"}},"type":"object","required":["teamId","buckets"],"title":"TeamEventDurationStats"},"TeamEventDurationStatsGroup":{"properties":{"eventType":{"type":"string","title":"Eventtype","description":"Event type these per-team stats belong to"},"teams":{"items":{"$ref":"#/components/schemas/TeamEventDurationStats"},"type":"array","title":"Teams","description":"Per-team duration buckets for this event type; only requested teams with matching events appear"}},"type":"object","required":["eventType","teams"],"title":"TeamEventDurationStatsGroup"},"TeamMember":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"User ID"},"email":{"type":"string","title":"Email","description":"User email"},"role":{"$ref":"#/components/schemas/Role","description":"Role ID"},"inviteStatus":{"anyOf":[{"type":"string","enum":["active","pending"]},{"type":"null"}],"title":"Invitestatus","description":"'pending' if the user has been invited but never signed in, 'active' otherwise."},"lastSignInAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastsigninat","description":"Timestamp of the user's most recent sign-in"}},"type":"object","required":["id","email","role"],"title":"TeamMember"},"TeamRole":{"type":"integer","enum":[1,2,3,4,5],"title":"TeamRole","description":"Enum for team roles. Can be used interchangeably with TeamRoleId."},"TeamSchema":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Id","description":"Team ID"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"User created at"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"User updated at"},"details":{"$ref":"#/components/schemas/TeamDetailsSchema","default":{"onboarding":{"has_added_doc":false,"has_added_integration":false,"has_added_team_member":false},"timezone":"UTC","ssoEnabled":false,"ssoRequired":false}},"domain":{"type":"string","title":"Domain","description":"Team domain"},"plan":{"type":"string","enum":["free","trial","standard","enterprise"],"title":"Plan","description":"Team plan","default":"trial"},"trial_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial End At","description":"Trial end timestamp"}},"type":"object","required":["domain"],"title":"TeamSchema"},"TelemetryActivityBlock":{"properties":{"login_tracking_authoritative":{"type":"boolean","title":"Login Tracking Authoritative","default":false},"workload_inventory_authoritative":{"type":"boolean","title":"Workload Inventory Authoritative","default":false},"tracking_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Tracking Started At"},"first_customer_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Customer Login At"},"last_customer_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Customer Login At"},"customer_login_count":{"type":"integer","minimum":0.0,"title":"Customer Login Count","default":0},"scheduled_automation_count":{"type":"integer","minimum":0.0,"title":"Scheduled Automation Count","default":0},"scheduled_agent_count":{"type":"integer","minimum":0.0,"title":"Scheduled Agent Count","default":0}},"additionalProperties":true,"type":"object","title":"TelemetryActivityBlock","description":"Fail-closed lifecycle signals emitted by telemetry schema v4+.\n\nWire names use ``login``/``tracking`` while promoted database columns use\n``activity_tracking_*``; :class:`OnPremTelemetryTableClient` owns that\nexplicit mapping and stores the original wire payload unchanged."},"TelemetryBillingBlock":{"properties":{"mode":{"anyOf":[{"type":"string","enum":["self_hosted","definite_hosted"]},{"type":"null"}],"title":"Mode"},"metering_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metering Tier"},"query_compute_seconds_24h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Query Compute Seconds 24H"},"llm_tokens_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Llm Tokens 24H"},"llm_token_meter_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Llm Token Meter Version"},"llm_input_tokens_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Llm Input Tokens 24H"},"llm_cache_read_tokens_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Llm Cache Read Tokens 24H"},"llm_cache_write_tokens_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Llm Cache Write Tokens 24H"},"llm_output_tokens_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Llm Output Tokens 24H"},"llm_token_usage_24h":{"items":{"$ref":"#/components/schemas/TelemetryLlmTokenUsage"},"type":"array","title":"Llm Token Usage 24H"},"estimated_compute_credits_24h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Compute Credits 24H"},"estimated_ai_credits_24h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Ai Credits 24H"}},"additionalProperties":true,"type":"object","title":"TelemetryBillingBlock","description":"Credit-oriented rollup emitted by the on-prem telemetry job.\n\nThe hosted billing bridge is intentionally implemented separately; central\ningestion only validates and stores these numbers in this service."},"TelemetryComputeMeterBlock":{"properties":{"meter_version":{"type":"integer","minimum":2.0,"title":"Meter Version"},"meter_instance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Meter Instance Id"},"high_watermark":{"type":"integer","minimum":0.0,"title":"High Watermark"},"event_count_total":{"type":"integer","minimum":0.0,"title":"Event Count Total"},"duration_ms_total":{"type":"integer","minimum":0.0,"title":"Duration Ms Total"},"cpu_millicore_ms_total":{"type":"integer","minimum":0.0,"title":"Cpu Millicore Ms Total"},"memory_byte_ms_total":{"type":"integer","minimum":0.0,"title":"Memory Byte Ms Total"},"totals_by_source":{"additionalProperties":{"$ref":"#/components/schemas/TelemetryComputeSourceTotals"},"type":"object","title":"Totals By Source"}},"type":"object","required":["meter_version","meter_instance_id","high_watermark","event_count_total","duration_ms_total","cpu_millicore_ms_total","memory_byte_ms_total"],"title":"TelemetryComputeMeterBlock","description":"Cumulative compute meter that survives missed daily snapshots."},"TelemetryComputeSourceTotals":{"properties":{"event_count":{"type":"integer","minimum":0.0,"title":"Event Count","default":0},"duration_ms":{"type":"integer","minimum":0.0,"title":"Duration Ms","default":0},"cpu_millicore_ms":{"type":"integer","minimum":0.0,"title":"Cpu Millicore Ms","default":0},"memory_byte_ms":{"type":"integer","minimum":0.0,"title":"Memory Byte Ms","default":0}},"type":"object","title":"TelemetryComputeSourceTotals","description":"One cumulative active-execution counter group in telemetry v6."},"TelemetryLlmTokenUsage":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"model":{"type":"string","minLength":1,"title":"Model"},"input_tokens":{"type":"integer","minimum":0.0,"title":"Input Tokens","default":0},"cache_read_tokens":{"type":"integer","minimum":0.0,"title":"Cache Read Tokens","default":0},"cache_write_tokens":{"type":"integer","minimum":0.0,"title":"Cache Write Tokens","default":0},"output_tokens":{"type":"integer","minimum":0.0,"title":"Output Tokens","default":0}},"type":"object","required":["provider","model"],"title":"TelemetryLlmTokenUsage","description":"One provider/model token-class rollup from a v3 token meter."},"TelemetryRequest":{"properties":{"schema_version":{"type":"integer","title":"Schema Version","description":"Snapshot payload schema version"},"captured_at":{"type":"string","format":"date-time","title":"Captured At","description":"When the on-prem job built the snapshot"},"deployment":{"additionalProperties":true,"type":"object","title":"Deployment","description":"Deployment block"},"structure":{"additionalProperties":true,"type":"object","title":"Structure","description":"Table/object counts"},"data_scale":{"additionalProperties":true,"type":"object","title":"Data Scale","description":"Data-size aggregates"},"usage_24h":{"additionalProperties":true,"type":"object","title":"Usage 24H","description":"Last-24h activity counts"},"activity":{"anyOf":[{"$ref":"#/components/schemas/TelemetryActivityBlock"},{"type":"null"}],"description":"Authoritative login history and automatic-workload inventory (schema v4+)"},"billing":{"anyOf":[{"$ref":"#/components/schemas/TelemetryBillingBlock"},{"type":"null"}],"description":"Credit-oriented usage rollup"},"compute_meter":{"anyOf":[{"$ref":"#/components/schemas/TelemetryComputeMeterBlock"},{"type":"null"}],"description":"Cumulative active-execution meter (schema v6+)"}},"additionalProperties":true,"type":"object","required":["schema_version","captured_at"],"title":"TelemetryRequest","description":"Daily aggregate snapshot, exactly as the on-prem telemetry job builds it\n(`defonprem.telemetry.TelemetryService.collect`). Counts and sizes only.\n\n`extra=\"allow\"` so a future on-prem snapshot field (the payload is\n`schema_version`-tagged) does not 422 an older central API."},"TelemetryResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Ingest outcome","default":"recorded"},"license_status":{"type":"string","title":"License Status","description":"active | suspended | revoked | expired — current license state"},"compute_meter_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Compute Meter Status","description":"baselined | accepted | duplicate | regression"},"compute_meter_instance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Compute Meter Instance Id"},"accepted_compute_high_watermark":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Accepted Compute High Watermark"},"capacity_summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Capacity Summary","description":"Latest centrally authoritative provisioned-capacity totals"}},"type":"object","required":["license_status"],"title":"TelemetryResponse"},"ToggleSyncRequest":{"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"True to unpause the integration's DAG, False to pause it."}},"type":"object","required":["enabled"],"title":"ToggleSyncRequest"},"UpdateAutomationJobRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Job name (unique for resource)"},"trigger":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AutomationEventTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"},{"$ref":"#/components/schemas/AutomationNoneTriggerDetailsSchema"}],"discriminator":{"propertyName":"type","mapping":{"event":"#/components/schemas/AutomationEventTriggerDetailsSchema","none":"#/components/schemas/AutomationNoneTriggerDetailsSchema","schedule":"#/components/schemas/AutomationScheduledTriggerDetailsSchema"}}},{"type":"null"}],"title":"Trigger","description":"Trigger details"},"destination":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AutomationNoneDestinationSchema"},{"$ref":"#/components/schemas/AutomationSlackDestinationSchema"},{"$ref":"#/components/schemas/AutomationEmailDestinationSchema"},{"$ref":"#/components/schemas/AutomationSheetsDestinationSchema"},{"$ref":"#/components/schemas/AutomationExcelDestinationSchema"},{"$ref":"#/components/schemas/AutomationGcsDestinationSchema"},{"$ref":"#/components/schemas/AutomationWebhookDestinationSchema"},{"$ref":"#/components/schemas/AutomationFiThreadDestinationSchema"}],"discriminator":{"propertyName":"type","mapping":{"email":"#/components/schemas/AutomationEmailDestinationSchema","excel":"#/components/schemas/AutomationExcelDestinationSchema","fi_thread":"#/components/schemas/AutomationFiThreadDestinationSchema","gcs":"#/components/schemas/AutomationGcsDestinationSchema","none":"#/components/schemas/AutomationNoneDestinationSchema","sheets":"#/components/schemas/AutomationSheetsDestinationSchema","slack":"#/components/schemas/AutomationSlackDestinationSchema","webhook":"#/components/schemas/AutomationWebhookDestinationSchema"}}},{"type":"null"}],"title":"Destination","description":"Destination details"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled","description":"Enable or disable a job from running"},"maxAttempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maxattempts","description":"Optional new max attempts allowed for job run"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details","description":"Resource-type-specific configuration. When provided, shallow-merges into the stored details object (provided keys overwrite; omitted keys are preserved). Unknown keys in the PATCH body are rejected. Omit this field entirely to leave details unchanged."}},"type":"object","title":"UpdateAutomationJobRequest"},"UpdateDataAccessRoleRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"New role name"},"isDefault":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isdefault","description":"Whether this role is the team default"},"accessMode":{"anyOf":[{"type":"string","enum":["read_write","read_only"]},{"type":"null"}],"title":"Accessmode","description":"If provided, switches the role between read_write and read_only"}},"type":"object","title":"UpdateDataAccessRoleRequest"},"UpdateDocRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Doc name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug","description":"Optional URL slug (must be unique within a team)"},"raw_yaml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Yaml","description":"Raw YAML content (UTF-8)"},"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public","description":"Make doc public"},"is_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Archived","description":"Archive doc (soft delete)"},"permissions":{"anyOf":[{"additionalProperties":{"type":"string","enum":["read","write"]},"type":"object"},{"type":"null"}],"title":"Permissions","description":"Update permissions for doc"},"is_pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Pinned","description":"Pin a doc to homescreen"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"$ref":"#/components/schemas/_Unset"},{"type":"null"}],"title":"Project Id","description":"Project this doc belongs to","default":"UNSET"}},"type":"object","title":"UpdateDocRequest"},"UpdateIntegrationRequest":{"properties":{"details":{"additionalProperties":true,"type":"object","title":"Details","description":"Integration details"}},"type":"object","required":["details"],"title":"UpdateIntegrationRequest"},"UpdateProjectMemberRequest":{"properties":{"permission":{"type":"string","enum":["read","write"],"title":"Permission","description":"New permission level"}},"type":"object","required":["permission"],"title":"UpdateProjectMemberRequest"},"UpdateProjectRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Project name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description"},"is_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Archived","description":"Archive project (soft delete)"},"team_wide_permission":{"anyOf":[{"type":"string","enum":["read","write"]},{"type":"null"}],"title":"Team Wide Permission","description":"Set to 'read' or 'write' to grant all team members that permission on docs in the project. Send null to remove team-wide access."}},"type":"object","title":"UpdateProjectRequest"},"UpdatePublicTokenPasswordRequest":{"properties":{"password":{"anyOf":[{"type":"string","maxLength":128,"minLength":4},{"type":"null"}],"title":"Password","description":"New password (null to remove)"}},"type":"object","title":"UpdatePublicTokenPasswordRequest","description":"Request to set or remove a password on an existing token."},"UpdateTeamRoleRequest":{"properties":{"role_name":{"type":"string","enum":["guest","viewer","analyst","admin","embedded_viewer"],"title":"Role Name","description":"Role name"}},"type":"object","required":["role_name"],"title":"UpdateTeamRoleRequest"},"UpdateTeamSettingsRequest":{"properties":{"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Team timezone (e.g. America/New_York)"},"global_fi_memory":{"anyOf":[{"type":"string","maxLength":25000},{"type":"null"}],"title":"Global Fi Memory","description":"Global Fi memory content (max 25,000 chars)"},"ssoRequired":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ssorequired","description":"Whether SSO login is required for the team (disables email/password sign-in)"}},"type":"object","title":"UpdateTeamSettingsRequest"},"UploadFileRequest":{"properties":{"fileName":{"type":"string","title":"Filename","description":"File Name"},"contents":{"type":"string","title":"Contents","description":"Base64 encoded contents"}},"type":"object","required":["fileName","contents"],"title":"UploadFileRequest"},"UploadFileResponse":{"properties":{"blobPath":{"type":"string","title":"Blobpath","description":"Blob Path"}},"type":"object","required":["blobPath"],"title":"UploadFileResponse"},"UsageReport":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/ReportRow"},"type":"array","title":"Rows"}},"type":"object","required":["rows"],"title":"UsageReport"},"UserDataAccessRole":{"properties":{"userId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Userid","description":"Assigned user"},"teamId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Teamid","description":"Team scope"},"dataAccessRoleId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Dataaccessroleid","description":"Assigned data-access role"}},"type":"object","required":["userId","teamId","dataAccessRoleId"],"title":"UserDataAccessRole"},"V1CubeMetaDimension":{"properties":{"name":{"type":"string","title":"Name","description":"The unique identifier for the dimension. It must be unique among all dimensions, measures, and segments within a cube and follow naming conventions."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A human-readable display name for the dimension. By default, Cube will humanize the dimension's name, but you can use this parameter to customize it."},"shortTitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shorttitle","description":"A short human-readable name for the dimension. This can be used in places where a shorter label is needed."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A description providing more context about what the dimension represents. This is useful for ensuring that users understand the attribute correctly."},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"A required parameter that defines the SQL expression used to derive the dimension's value. The SQL should return a value consistent with the dimension's type."},"type":{"type":"string","enum":["time","string","number","boolean","geo"],"title":"Type","description":"A required parameter that specifies the type of data the dimension represents."},"format":{"anyOf":[{"type":"string","enum":["imageUrl","id","link","currency","percent","number"]},{"$ref":"#/components/schemas/V1CubeMetaDimensionLinkFormat"},{"type":"null"}],"title":"Format","description":"Optional parameter to define how the dimension's output should be formatted. Supported formats include `imageUrl`, `id`, `link`, `currency`, and `percent`."},"case":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Case","description":"Optional parameter to define the dimension based on SQL conditions using a case statement. It allows for conditionally assigning labels based on the SQL conditions."},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta","description":"Custom metadata associated with the dimension, which can be used to pass additional information to the frontend."},"primaryKey":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Primarykey","description":"Specifies if the dimension is the primary key for the cube. Setting this to `True` will change the default value of the `public` parameter to `False`."},"propagateFiltersToSubQuery":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Propagatefilterstosubquery","description":"When set to `True`, the filters applied to the query will be passed to the subquery."},"public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public","description":"Controls the visibility of the dimension. When set to `False`, the dimension cannot be queried through the API. Defaults to `True`."},"subQuery":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Subquery","description":"Enables referencing a measure in a dimension by setting this to `True`. This is an advanced concept that allows for more complex dimension definitions."}},"type":"object","required":["name","type"],"title":"V1CubeMetaDimension"},"V1CubeMetaDimensionLinkFormat":{"properties":{"type":{"type":"string","const":"link","title":"Type","description":"Format link type. Will always be `link`"},"label":{"type":"string","title":"Label","description":"Link label"}},"type":"object","required":["type","label"],"title":"V1CubeMetaDimensionLinkFormat"},"V1CubeMetaJoin":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the joined cube. It must match the name of the cube being joined and follow the naming conventions."},"relationship":{"type":"string","enum":["one_to_one","one_to_many","many_to_one","has_one","has_many","belongs_to","hasOne","hasMany","belongsTo"],"title":"Relationship","description":"The type of relationship between the cubes. Valid relationships are `one_to_one`, `one_to_many`, and `many_to_one`."},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"The SQL ON clause that specifies the join condition between the cubes. It is important to accurately define the matching columns to ensure correct join behavior."}},"type":"object","required":["name","relationship"],"title":"V1CubeMetaJoin"},"V1CubeMetaMeasure":{"properties":{"name":{"type":"string","title":"Name","description":"The unique identifier for the measure. It must be unique among all measures, dimensions, and segments within a cube and must follow naming conventions."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A human-readable display name for the measure. By default, Cube will humanize the measure's name, but you can use this parameter to customize it."},"shortTitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shorttitle","description":"A short human-readable name for the dimension. This can be used in places where a shorter label is needed."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A description providing more context about what the measure represents. This is useful for ensuring that users understand the metric correctly."},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"A required parameter that defines the SQL expression used to calculate the measure. Depending on the measure type, this can be an aggregation, a simple SQL expression, or even a calculation involving other measures."},"type":{"type":"string","enum":["string","time","boolean","number","count","count_distinct","count_distinct_approx","sum","avg","min","max"],"title":"Type","description":"A required parameter that specifies the type of aggregation or calculation the measure represents."},"format":{"anyOf":[{"type":"string","enum":["percent","currency","number"]},{"type":"null"}],"title":"Format","description":"Defines how the measure's output should be formatted."},"filters":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Filters","description":"Optional parameter for defining conditions that must be met for the measure's calculation. This is specified as an array of SQL conditions that are applied to the measure."},"drillMembers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Drillmembers","description":"An array of dimensions that can be used to drill down into the measure. These dimensions provide additional detail when exploring the measure's value."},"public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public","description":"Controls the visibility of the measure. When set to `False`, the measure cannot be queried through the API. Defaults to `True`."},"cumulative":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cumulative","description":"Indicates whether the measure is cumulative, meaning it accumulates values over time."},"cumulativeTotal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cumulativetotal","description":"Indicates whether the measure represents a cumulative total."},"rollingWindow":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},{"type":"null"}],"title":"Rollingwindow","description":"Defines a rolling window for the measure, allowing the calculation of metrics within a specified time window. The window can be defined with trailing and leading parameters, and it only works with a single time dimension with a defined date range."},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta","description":"Custom metadata associated with the measure, which can be used to pass additional information to the frontend."}},"type":"object","required":["name","type"],"title":"V1CubeMetaMeasure"},"V1CubeMetaSegment":{"properties":{"name":{"type":"string","title":"Name","description":"The unique identifier for the segment. It must be unique among all segments, dimensions, and measures within a cube and follow naming conventions.","default":""},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A human-readable display name for the segment. By default, Cube will humanize the segment's title, but you can use this parameter to customize it."},"shortTitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shorttitle","description":"A short human-readable name for the segment. This can be used in places where a shorter label is needed."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A description providing more context about what the segment represents. This is useful for ensuring that users understand the attribute correctly."},"sql":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sql","description":"A required parameter that defines the SQL expression used to filter the data for this segment. The SQL should be valid within a WHERE clause and can implement complex filtering logic."},"public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public","description":"Controls the visibility of the segment. When set to `False`, the segment cannot be queried through the API. Defaults to `True`."}},"type":"object","title":"V1CubeMetaSegment"},"V1LoadRequestQueryFilterBase":{"properties":{"member":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Member","description":"Dimension or measure to be used in the filter, e.g., `stories.isDraft`. Differentiates between filtering dimensions and filtering measures."},"operator":{"anyOf":[{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","notStartsWith","endsWith","notEndsWith","gt","gte","lt","lte","set","notSet","inDateRange","notInDateRange","beforeDate","afterDate","measureFilter"]},{"type":"null"}],"title":"Operator","description":"Operator to apply in the filter. Some operators are exclusive to measures, while others depend on the dimension type."},"values":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Values","description":"List of values for the filter, provided as strings. For dates, use the `YYYY-MM-DD` format."}},"type":"object","title":"V1LoadRequestQueryFilterBase"},"V1LoadRequestQueryFilterLogicalAnd":{"properties":{"and":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/V1LoadRequestQueryFilterBase"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalOr"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalAnd"}]},"type":"array"},{"type":"null"}],"title":"And","description":"List of filter items combined with logical AND"}},"type":"object","title":"V1LoadRequestQueryFilterLogicalAnd"},"V1LoadRequestQueryFilterLogicalOr":{"properties":{"or":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/V1LoadRequestQueryFilterBase"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalOr"},{"$ref":"#/components/schemas/V1LoadRequestQueryFilterLogicalAnd"}]},"type":"array"},{"type":"null"}],"title":"Or","description":"List of filter items combined with logical OR"}},"type":"object","title":"V1LoadRequestQueryFilterLogicalOr"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookDatasetResult":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the dataset executed successfully"},"executionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"},{"type":"null"}],"title":"Executionid","description":"Execution ID for log retrieval"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if execution failed"}},"type":"object","required":["success"],"title":"WebhookDatasetResult"},"WebhookDocExecuteAsyncResponse":{"properties":{"runId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Runid","description":"Task ID for polling status"},"docId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Docid","description":"Doc ID"},"status":{"type":"string","enum":["pending","claimed","completed","failed"],"title":"Status","description":"Current execution status","default":"pending"}},"type":"object","required":["runId","docId"],"title":"WebhookDocExecuteAsyncResponse"},"WebhookDocExecuteRequest":{"properties":{"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Arbitrary JSON data written to sandbox as WEBHOOK_DATA_FILE"},"environmentVariables":{"additionalProperties":{"type":"string"},"type":"object","title":"Environmentvariables","description":"Additional environment variables for sandbox execution"},"datasetKeys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Datasetkeys","description":"Specific dataset keys to execute (default: all Python datasets)"},"async":{"type":"boolean","title":"Async","description":"If true, queue execution and return immediately with a run_id for polling","default":false}},"type":"object","title":"WebhookDocExecuteRequest"},"WebhookDocExecuteResponse":{"properties":{"docId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Docid","description":"Doc ID"},"docName":{"type":"string","title":"Docname","description":"Doc name"},"results":{"additionalProperties":{"$ref":"#/components/schemas/WebhookDatasetResult"},"type":"object","title":"Results","description":"Per-dataset execution results"}},"type":"object","required":["docId","docName","results"],"title":"WebhookDocExecuteResponse"},"WebhookRunStatusResponse":{"properties":{"runId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Runid","description":"Task ID"},"docId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Docid","description":"Doc ID"},"docName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Docname","description":"Doc name"},"status":{"type":"string","enum":["pending","claimed","completed","failed"],"title":"Status","description":"Current execution status"},"results":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/WebhookDatasetResult"},"type":"object"},{"type":"null"}],"title":"Results","description":"Per-dataset results (populated when completed)"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if execution failed"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"When the run was queued"},"completedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completedat","description":"When execution finished"}},"type":"object","required":["runId","docId","status","createdAt"],"title":"WebhookRunStatusResponse"},"_PinResponse":{"properties":{"pinned":{"type":"boolean","title":"Pinned"}},"type":"object","required":["pinned"],"title":"_PinResponse"},"_Unset":{"type":"string","enum":["UNSET"],"title":"_Unset","description":"Sentinel value to distinguish between 'not provided' and 'explicitly set to None'."}},"securitySchemes":{"AsyncAPIKeyHeaderAuthenticator":{"type":"apiKey","in":"header","name":"Authorization"},"APIKeyHeaderAuthenticator":{"type":"apiKey","in":"header","name":"Authorization"},"McpAuthenticator":{"type":"apiKey","in":"header","name":"Authorization"}}}}