{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:microsoft-fabric-sql-endpoint/items-list-sqlendpoints":{"get":{"operationId":"analytics_microsoft_fabric_sql_endpoint_items_list_sqlendpoints","summary":"Returns a list of SQL endpoints from the specified workspace.","description":"GET /workspaces/{workspaceId}/sqlEndpoints","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-sql-endpoint/items-refresh-sql-endpoint-metadata":{"post":{"operationId":"analytics_microsoft_fabric_sql_endpoint_items_refresh_sql_endpoint_metadata","summary":"Refreshes tables within a SQL analytics endpoint.","description":"POST /workspaces/{workspaceId}/sqlEndpoints/{sqlEndpointId}/refreshMetadata","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","sqlEndpointId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"sqlEndpointId":{"type":"string","description":"The SQL analytics endpoint 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-sql-endpoint/items-get-connection-string":{"get":{"operationId":"analytics_microsoft_fabric_sql_endpoint_items_get_connection_string","summary":"Returns the SQL connection string of the specified warehouse.","description":"GET /workspaces/{workspaceId}/sqlEndpoints/{sqlEndpointId}/connectionString","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"sqlEndpointId","in":"query","required":true,"description":"The SQL endpoint ID.","schema":{"type":"string","description":"The SQL endpoint ID."}},{"name":"guestTenantId","in":"query","required":false,"description":"The guest tenant ID if the end user's tenant is different from the SQL endpoint's tenant.","schema":{"type":"string","description":"The guest tenant ID if the end user's tenant is different from the SQL endpoint's 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-sql-endpoint/sqlaudit-settings-get-sqlaudit-settings":{"get":{"operationId":"analytics_microsoft_fabric_sql_endpoint_sqlaudit_settings_get_sqlaudit_settings","summary":"Returns the settings associated with the SQL endpoint.","description":"GET /workspaces/{workspaceId}/sqlEndpoints/{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-sql-endpoint/sqlaudit-settings-update-sqlaudit-settings":{"post":{"operationId":"analytics_microsoft_fabric_sql_endpoint_sqlaudit_settings_update_sqlaudit_settings","summary":"Update settings associated with the SQL endpoint.","description":"PATCH /workspaces/{workspaceId}/sqlEndpoints/{itemId}/settings/sqlAudit","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","itemId"],"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-sql-endpoint/sqlaudit-settings-set-audit-actions-and-groups":{"post":{"operationId":"analytics_microsoft_fabric_sql_endpoint_sqlaudit_settings_set_audit_actions_and_groups","summary":"Update the audit actions and groups for this SQL endpoint.","description":"POST /workspaces/{workspaceId}/sqlEndpoints/{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"}}},"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"}}}}}}}