{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:microsoft-fabric-warehouse/items-list-warehouses":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_items_list_warehouses","summary":"Returns a list of warehouses from the specified workspace.","description":"GET /workspaces/{workspaceId}/warehouses","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"recursive","in":"query","required":false,"description":"Lists items in a folder and its nested folders, or just a folder only. True - All items in the folder and its nested folders are listed,…","schema":{"type":"boolean","description":"Lists items in a folder and its nested folders, or just a folder only. True - All items in the folder and its nested folders are listed,…"}},{"name":"rootFolderId","in":"query","required":false,"description":"This parameter allows users to filter items based on a specific root folder. If not provided, the workspace is used as the root folder.","schema":{"type":"string","description":"This parameter allows users to filter items based on a specific root folder. If not provided, the workspace is used as the root folder."}},{"name":"continuationToken","in":"query","required":false,"description":"A token for retrieving the next page of results.","schema":{"type":"string","description":"A token for retrieving the next page of results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/items-create-warehouse":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_items_create_warehouse","summary":"Creates a warehouse in the specified workspace.","description":"POST /workspaces/{workspaceId}/warehouses","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/items-get-warehouse":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_items_get_warehouse","summary":"Returns properties of the specified warehouse.","description":"GET /workspaces/{workspaceId}/warehouses/{warehouseId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"warehouseId","in":"query","required":true,"description":"The warehouse ID.","schema":{"type":"string","description":"The warehouse ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/items-update-warehouse":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_items_update_warehouse","summary":"Updates the properties of the specified warehouse.","description":"PATCH /workspaces/{workspaceId}/warehouses/{warehouseId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","warehouseId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"warehouseId":{"type":"string","description":"The warehouse ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/items-delete-warehouse":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_items_delete_warehouse","summary":"Deletes the specified warehouse.","description":"DELETE /workspaces/{workspaceId}/warehouses/{warehouseId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","warehouseId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"warehouseId":{"type":"string","description":"The warehouse ID."},"hardDelete":{"type":"boolean","description":"Specifies whether to perform a hard delete. When set to `true`, the item is permanently deleted and cannot be recovered. When set to…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/sqlpools-get-sqlpools-configuration":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_sqlpools_get_sqlpools_configuration","summary":"Gets the SQL Pools configuration in the specified workspace.","description":"GET /workspaces/{workspaceId}/warehouses/sqlPoolsConfiguration","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/sqlpools-update-sqlpools-configuration":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_sqlpools_update_sqlpools_configuration","summary":"Updates the SQL Pools configuration in the specified workspace.","description":"PATCH /workspaces/{workspaceId}/warehouses/sqlPoolsConfiguration","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/items-get-connection-string":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_items_get_connection_string","summary":"Returns the SQL connection string of the specified warehouse.","description":"GET /workspaces/{workspaceId}/warehouses/{warehouseId}/connectionString","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"warehouseId","in":"query","required":true,"description":"The warehouse ID.","schema":{"type":"string","description":"The warehouse ID."}},{"name":"guestTenantId","in":"query","required":false,"description":"The guest tenant ID if the end user's tenant is different from the warehouse tenant.","schema":{"type":"string","description":"The guest tenant ID if the end user's tenant is different from the warehouse tenant."}},{"name":"privateLinkType","in":"query","required":false,"description":"Indicates the type of private link this connection string uses. Additional `privateLinkType` types may be added over time.","schema":{"type":"string","enum":["None","Workspace"],"description":"Indicates the type of private link this connection string uses. Additional `privateLinkType` types may be added over time."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/sqlaudit-settings-get-sqlaudit-settings":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_sqlaudit_settings_get_sqlaudit_settings","summary":"Returns the settings associated with the warehouse.","description":"GET /workspaces/{workspaceId}/warehouses/{itemId}/settings/sqlAudit","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"itemId","in":"query","required":true,"description":"The item ID.","schema":{"type":"string","description":"The item ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/sqlaudit-settings-update-sqlaudit-settings":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_sqlaudit_settings_update_sqlaudit_settings","summary":"Update settings associated with the warehouse.","description":"PATCH /workspaces/{workspaceId}/warehouses/{itemId}/settings/sqlAudit","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","itemId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"itemId":{"type":"string","description":"The item ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/sqlaudit-settings-set-audit-actions-and-groups":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_sqlaudit_settings_set_audit_actions_and_groups","summary":"Update the audit actions and groups for this warehouse.","description":"POST /workspaces/{workspaceId}/warehouses/{itemId}/settings/sqlAudit/setAuditActionsAndGroups","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","itemId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"itemId":{"type":"string","description":"The item ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/restore-points-list-restore-points":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_restore_points_list_restore_points","summary":"Returns all restore points for a warehouse.","description":"GET /workspaces/{workspaceId}/warehouses/{warehouseId}/restorePoints","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"warehouseId","in":"query","required":true,"description":"The warehouse ID.","schema":{"type":"string","description":"The warehouse ID."}},{"name":"continuationToken","in":"query","required":false,"description":"A token for retrieving the next page of results.","schema":{"type":"string","description":"A token for retrieving the next page of results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/restore-points-create-restore-point":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_restore_points_create_restore_point","summary":"Creates a restore point for a warehouse at the current timestamp.","description":"POST /workspaces/{workspaceId}/warehouses/{warehouseId}/restorePoints","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","warehouseId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"warehouseId":{"type":"string","description":"The warehouse ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/restore-points-get-restore-point":{"get":{"operationId":"analytics_microsoft_fabric_warehouse_restore_points_get_restore_point","summary":"Returns the properties of a restore point specified for a warehouse.","description":"GET /workspaces/{workspaceId}/warehouses/{warehouseId}/restorePoints/{restorePointId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"warehouseId","in":"query","required":true,"description":"The warehouse ID.","schema":{"type":"string","description":"The warehouse ID."}},{"name":"restorePointId","in":"query","required":true,"description":"The restore point ID.","schema":{"type":"string","description":"The restore point ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/restore-points-update-restore-point":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_restore_points_update_restore_point","summary":"Updates an existing restore point by renaming the name or description of it.","description":"PATCH /workspaces/{workspaceId}/warehouses/{warehouseId}/restorePoints/{restorePointId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","warehouseId","restorePointId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"warehouseId":{"type":"string","description":"The warehouse ID."},"restorePointId":{"type":"string","description":"The restore point ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/restore-points-delete-restore-point":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_restore_points_delete_restore_point","summary":"Deletes a restore point specified for a warehouse.","description":"DELETE /workspaces/{workspaceId}/warehouses/{warehouseId}/restorePoints/{restorePointId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","warehouseId","restorePointId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"warehouseId":{"type":"string","description":"The warehouse ID."},"restorePointId":{"type":"string","description":"The restore point ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-warehouse/restore-points-restore-to-restore-point":{"post":{"operationId":"analytics_microsoft_fabric_warehouse_restore_points_restore_to_restore_point","summary":"Restores a warehouse in-place to the restore point specified.","description":"POST /workspaces/{workspaceId}/warehouses/{warehouseId}/restorePoints/{restorePointId}/restore","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","warehouseId","restorePointId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"warehouseId":{"type":"string","description":"The warehouse ID."},"restorePointId":{"type":"string","description":"The restore point ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}