{"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-spark/workspace-settings-get-spark-settings":{"get":{"operationId":"analytics_microsoft_fabric_spark_workspace_settings_get_spark_settings","summary":"Get workspace spark settings.","description":"GET /workspaces/{workspaceId}/spark/settings","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-spark/workspace-settings-update-spark-settings":{"post":{"operationId":"analytics_microsoft_fabric_spark_workspace_settings_update_spark_settings","summary":"Update workspace spark settings.","description":"PATCH /workspaces/{workspaceId}/spark/settings","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-spark/custom-pools-list-workspace-custom-pools":{"get":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_list_workspace_custom_pools","summary":"List custom pools.","description":"GET /workspaces/{workspaceId}/spark/pools","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"continuationToken","in":"query","required":false,"description":"Continuation token. Used to get the next items in the list.","schema":{"type":"string","description":"Continuation token. Used to get the next items in the list."}}],"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-spark/custom-pools-create-workspace-custom-pool":{"post":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_create_workspace_custom_pool","summary":"Create custom pool.","description":"POST /workspaces/{workspaceId}/spark/pools","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-spark/custom-pools-get-workspace-custom-pool":{"get":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_get_workspace_custom_pool","summary":"Get custom pool.","description":"GET /workspaces/{workspaceId}/spark/pools/{poolId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"poolId","in":"query","required":true,"description":"The custom pool ID.","schema":{"type":"string","description":"The custom pool 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-spark/custom-pools-update-workspace-custom-pool":{"post":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_update_workspace_custom_pool","summary":"Update custom pool.","description":"PATCH /workspaces/{workspaceId}/spark/pools/{poolId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","poolId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"poolId":{"type":"string","description":"The custom pool 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-spark/custom-pools-delete-workspace-custom-pool":{"post":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_delete_workspace_custom_pool","summary":"Delete custom pool.","description":"DELETE /workspaces/{workspaceId}/spark/pools/{poolId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","poolId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"poolId":{"type":"string","description":"The custom pool 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-spark/capacity-settings-get-spark-settings-beta":{"get":{"operationId":"analytics_microsoft_fabric_spark_capacity_settings_get_spark_settings_beta","summary":"Get capacity spark settings.","description":"GET /capacities/{capacityId}/spark/settings?beta=true","tags":["analytics"],"parameters":[{"name":"capacityId","in":"query","required":true,"description":"The capacity ID.","schema":{"type":"string","description":"The capacity ID."}},{"name":"beta","in":"query","required":true,"description":"This required parameter must be set to `true` to access this API, which is currently in beta.","schema":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."}}],"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-spark/capacity-settings-update-spark-settings-beta":{"post":{"operationId":"analytics_microsoft_fabric_spark_capacity_settings_update_spark_settings_beta","summary":"Update capacity spark settings.","description":"PATCH /capacities/{capacityId}/spark/settings?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["capacityId","beta","body"],"properties":{"capacityId":{"type":"string","description":"The capacity ID."},"beta":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."},"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-spark/custom-pools-list-capacity-custom-pools-beta":{"get":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_list_capacity_custom_pools_beta","summary":"List custom pools.","description":"GET /capacities/{capacityId}/spark/pools?beta=true","tags":["analytics"],"parameters":[{"name":"capacityId","in":"query","required":true,"description":"The capacity ID.","schema":{"type":"string","description":"The capacity ID."}},{"name":"beta","in":"query","required":true,"description":"This required parameter must be set to `true` to access this API, which is currently in beta.","schema":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."}},{"name":"continuationToken","in":"query","required":false,"description":"Continuation token. Used to get the next items in the list.","schema":{"type":"string","description":"Continuation token. Used to get the next items in the list."}}],"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-spark/custom-pools-create-capacity-custom-pool-beta":{"post":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_create_capacity_custom_pool_beta","summary":"Create custom pool.","description":"POST /capacities/{capacityId}/spark/pools?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["capacityId","beta","body"],"properties":{"capacityId":{"type":"string","description":"The capacity ID."},"beta":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."},"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-spark/custom-pools-get-capacity-custom-pool-beta":{"get":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_get_capacity_custom_pool_beta","summary":"Get custom pool.","description":"GET /capacities/{capacityId}/spark/pools/{poolId}?beta=true","tags":["analytics"],"parameters":[{"name":"capacityId","in":"query","required":true,"description":"The capacity ID.","schema":{"type":"string","description":"The capacity ID."}},{"name":"poolId","in":"query","required":true,"description":"The custom pool ID.","schema":{"type":"string","description":"The custom pool ID."}},{"name":"beta","in":"query","required":true,"description":"This required parameter must be set to `true` to access this API, which is currently in beta.","schema":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."}}],"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-spark/custom-pools-update-capacity-custom-pool-beta":{"post":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_update_capacity_custom_pool_beta","summary":"Update custom pool.","description":"PATCH /capacities/{capacityId}/spark/pools/{poolId}?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["capacityId","poolId","beta","body"],"properties":{"capacityId":{"type":"string","description":"The capacity ID."},"poolId":{"type":"string","description":"The custom pool ID."},"beta":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."},"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-spark/custom-pools-delete-capacity-custom-pool-beta":{"post":{"operationId":"analytics_microsoft_fabric_spark_custom_pools_delete_capacity_custom_pool_beta","summary":"Delete custom pool.","description":"DELETE /capacities/{capacityId}/spark/pools/{poolId}?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["capacityId","poolId","beta"],"properties":{"capacityId":{"type":"string","description":"The capacity ID."},"poolId":{"type":"string","description":"The custom pool ID."},"beta":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."}}}}}},"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-spark/livy-sessions-list-livy-sessions":{"get":{"operationId":"analytics_microsoft_fabric_spark_livy_sessions_list_livy_sessions","summary":"Returns a list of livy sessions from the specified workspace.","description":"GET /workspaces/{workspaceId}/spark/livySessions","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace identifier.","schema":{"type":"string","description":"The workspace identifier."}},{"name":"continuationToken","in":"query","required":false,"description":"Token to retrieve the next page of results, if available.","schema":{"type":"string","description":"Token to retrieve the next page of results, if available."}}],"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-spark/livy-sessions-list-livy-sessions-beta":{"get":{"operationId":"analytics_microsoft_fabric_spark_livy_sessions_list_livy_sessions_beta","summary":"Returns a list of livy sessions from the specified workspace (beta).","description":"GET /workspaces/{workspaceId}/spark/livySessions?beta=true","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace identifier.","schema":{"type":"string","description":"The workspace identifier."}},{"name":"beta","in":"query","required":true,"description":"This required parameter must be set to `true` to access this API, which is currently in beta.","schema":{"type":"boolean","description":"This required parameter must be set to `true` to access this API, which is currently in beta."}},{"name":"submittedDateTime","in":"query","required":false,"description":"Submitted date time filter. Filter the sessions based on the submitted date time in UTC, using the YYYY-MM-DDTHH:mm:ssZ format.","schema":{"type":"string","description":"Submitted date time filter. Filter the sessions based on the submitted date time in UTC, using the YYYY-MM-DDTHH:mm:ssZ format."}},{"name":"endDateTime","in":"query","required":false,"description":"Ended date time filter. Filter the sessions based on the ended date time in UTC, using the YYYY-MM-DDTHH:mm:ssZ format.","schema":{"type":"string","description":"Ended date time filter. Filter the sessions based on the ended date time in UTC, using the YYYY-MM-DDTHH:mm:ssZ format."}},{"name":"submitter.Id","in":"query","required":false,"description":"The GUID value of the user who submitted the session.","schema":{"type":"string","description":"The GUID value of the user who submitted the session."}},{"name":"state","in":"query","required":false,"description":"The state of the session. Possible values are: `NotStarted`, `InProgress`, `Cancelled`, `Failed`, `Succeeded`, `Unknown`. This value maps…","schema":{"type":"string","description":"The state of the session. Possible values are: `NotStarted`, `InProgress`, `Cancelled`, `Failed`, `Succeeded`, `Unknown`. This value maps…"}},{"name":"continuationToken","in":"query","required":false,"description":"Token to retrieve the next page of results, if available.","schema":{"type":"string","description":"Token to retrieve the next page of results, if available."}}],"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"}}},"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"}}}}}}}