{"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-policy-set/items-list-policy-sets":{"get":{"operationId":"analytics_microsoft_fabric_policy_set_items_list_policy_sets","summary":"Returns a list of policy sets from the specified workspace.","description":"GET /workspaces/{workspaceId}/policySets","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 policy sets in a folder and its nested folders, or just a folder only. True - All policy sets in the folder and its nested folders…","schema":{"type":"boolean","description":"Lists policy sets in a folder and its nested folders, or just a folder only. True - All policy sets in the folder and its nested folders…"}},{"name":"rootFolderId","in":"query","required":false,"description":"This parameter allows users to filter policy sets based on a specific root folder. If not provided, the workspace is used as the root…","schema":{"type":"string","description":"This parameter allows users to filter policy sets based on a specific root folder. If not provided, the workspace is used as the root…"}},{"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-policy-set/items-create-policy-set":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_items_create_policy_set","summary":"Creates a policy set in the specified workspace.","description":"POST /workspaces/{workspaceId}/policySets","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-policy-set/items-get-policy-set":{"get":{"operationId":"analytics_microsoft_fabric_policy_set_items_get_policy_set","summary":"Returns properties of the specified policy set.","description":"GET /workspaces/{workspaceId}/policySets/{policySetId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"policySetId","in":"query","required":true,"description":"The policy set ID.","schema":{"type":"string","description":"The policy set 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-policy-set/items-update-policy-set":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_items_update_policy_set","summary":"Updates the properties of the specified policy set.","description":"PATCH /workspaces/{workspaceId}/policySets/{policySetId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set 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-policy-set/items-delete-policy-set":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_items_delete_policy_set","summary":"Deletes the specified policy set.","description":"DELETE /workspaces/{workspaceId}/policySets/{policySetId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set 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-policy-set/items-get-policy-set-definition":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_items_get_policy_set_definition","summary":"Returns the specified policy set public definition.","description":"POST /workspaces/{workspaceId}/policySets/{policySetId}/getDefinition","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set ID."},"format":{"type":"string","enum":["Beta"],"description":"The format of the policy set public definition. Supported format: `Beta`. Additional `format` 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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-policy-set/items-update-policy-set-definition":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_items_update_policy_set_definition","summary":"Overrides the definition for the specified policy set.","description":"POST /workspaces/{workspaceId}/policySets/{policySetId}/updateDefinition","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set ID."},"updateMetadata":{"type":"boolean","description":"When set to true and the .platform file is provided as part of the definition, the item's metadata is updated using the metadata in the…"},"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-policy-set/policy-rules-list-policy-rules-beta":{"get":{"operationId":"analytics_microsoft_fabric_policy_set_policy_rules_list_policy_rules_beta","summary":"Returns a list of policy rules from the specified policy set.","description":"GET /workspaces/{workspaceId}/policySets/{policySetId}/policyRules?beta=true","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"policySetId","in":"query","required":true,"description":"The policy set ID.","schema":{"type":"string","description":"The policy set 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."}},{"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-policy-set/policy-rules-create-policy-rule-beta":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_policy_rules_create_policy_rule_beta","summary":"Creates a policy rule in the specified policy set.","description":"POST /workspaces/{workspaceId}/policySets/{policySetId}/policyRules?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","beta","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set 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-policy-set/policy-rules-replace-policy-rules-by-policy-beta":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_policy_rules_replace_policy_rules_by_policy_beta","summary":"Replaces the policy rules for the specified policy in the specified policy set.","description":"POST /workspaces/{workspaceId}/policySets/{policySetId}/policyRules/replaceByPolicy?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","beta","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set 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-policy-set/policy-rules-get-policy-rule-beta":{"get":{"operationId":"analytics_microsoft_fabric_policy_set_policy_rules_get_policy_rule_beta","summary":"Returns a single policy rule from the specified policy set.","description":"GET /workspaces/{workspaceId}/policySets/{policySetId}/policyRules/{policyRuleId}?beta=true","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"policySetId","in":"query","required":true,"description":"The policy set ID.","schema":{"type":"string","description":"The policy set ID."}},{"name":"policyRuleId","in":"query","required":true,"description":"The policy rule ID.","schema":{"type":"string","description":"The policy rule 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-policy-set/policy-rules-update-policy-rule-beta":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_policy_rules_update_policy_rule_beta","summary":"Updates the properties of the specified policy rule.","description":"PATCH /workspaces/{workspaceId}/policySets/{policySetId}/policyRules/{policyRuleId}?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","policyRuleId","beta","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set ID."},"policyRuleId":{"type":"string","description":"The policy rule 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-policy-set/policy-rules-delete-policy-rule-beta":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_policy_rules_delete_policy_rule_beta","summary":"Deletes the specified policy rule from the specified policy set.","description":"DELETE /workspaces/{workspaceId}/policySets/{policySetId}/policyRules/{policyRuleId}?beta=true","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","policyRuleId","beta"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set ID."},"policyRuleId":{"type":"string","description":"The policy rule 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-policy-set/activation-activate":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_activation_activate","summary":"Activates the policy set on the specified scope.","description":"POST /workspaces/{workspaceId}/policySets/{policySetId}/activate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set ID."},"allowReplace":{"type":"boolean","description":"When true, allow to replace existing active PolicySet. Default: false."},"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-policy-set/activation-deactivate":{"post":{"operationId":"analytics_microsoft_fabric_policy_set_activation_deactivate","summary":"Deactivates the policy set from the specified scope.","description":"POST /workspaces/{workspaceId}/policySets/{policySetId}/deactivate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","policySetId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"policySetId":{"type":"string","description":"The policy set 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-policy-set/activation-get-active-for-capacity":{"get":{"operationId":"analytics_microsoft_fabric_policy_set_activation_get_active_for_capacity","summary":"Returns the active policy set on the specified capacity.","description":"GET /capacities/{capacityId}/policySets/active","tags":["analytics"],"parameters":[{"name":"capacityId","in":"query","required":true,"description":"The capacity ID.","schema":{"type":"string","description":"The capacity 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"}}},"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"}}}}}}}