{"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-semantic-model/items-list-semantic-models":{"get":{"operationId":"analytics_microsoft_fabric_semantic_model_items_list_semantic_models","summary":"Returns a list of semantic models from the specified workspace.","description":"GET /workspaces/{workspaceId}/semanticModels","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-semantic-model/items-create-semantic-model":{"post":{"operationId":"analytics_microsoft_fabric_semantic_model_items_create_semantic_model","summary":"Creates a semantic model in the specified workspace.","description":"POST /workspaces/{workspaceId}/semanticModels","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-semantic-model/items-get-semantic-model":{"get":{"operationId":"analytics_microsoft_fabric_semantic_model_items_get_semantic_model","summary":"Returns properties of the specified semantic model.","description":"GET /workspaces/{workspaceId}/semanticModels/{semanticModelId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"semanticModelId","in":"query","required":true,"description":"The semantic model ID.","schema":{"type":"string","description":"The semantic model 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-semantic-model/items-update-semantic-model":{"post":{"operationId":"analytics_microsoft_fabric_semantic_model_items_update_semantic_model","summary":"Updates the properties of the specified semantic model.","description":"PATCH /workspaces/{workspaceId}/semanticModels/{semanticModelId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","semanticModelId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"semanticModelId":{"type":"string","description":"The semantic model 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-semantic-model/items-delete-semantic-model":{"post":{"operationId":"analytics_microsoft_fabric_semantic_model_items_delete_semantic_model","summary":"Deletes the specified semantic model.","description":"DELETE /workspaces/{workspaceId}/semanticModels/{semanticModelId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","semanticModelId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"semanticModelId":{"type":"string","description":"The semantic model 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-semantic-model/items-get-semantic-model-definition":{"post":{"operationId":"analytics_microsoft_fabric_semantic_model_items_get_semantic_model_definition","summary":"Returns the specified semantic model public definition.","description":"POST /workspaces/{workspaceId}/semanticModels/{semanticModelId}/getDefinition","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","semanticModelId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"semanticModelId":{"type":"string","description":"The semantic model ID."},"format":{"type":"string","description":"The format of the semantic model definition. The following formats are allowed (case sensitive) * - TMDL * - TMSL If not specified, the…"}}}}}},"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-semantic-model/items-update-semantic-model-definition":{"post":{"operationId":"analytics_microsoft_fabric_semantic_model_items_update_semantic_model_definition","summary":"Overrides the definition for the specified semantic model.","description":"POST /workspaces/{workspaceId}/semanticModels/{semanticModelId}/updateDefinition","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","semanticModelId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"semanticModelId":{"type":"string","description":"The semantic model 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-semantic-model/items-bind-semantic-model-connection":{"post":{"operationId":"analytics_microsoft_fabric_semantic_model_items_bind_semantic_model_connection","summary":"Binds a semantic model data source reference to a data connection.","description":"POST /workspaces/{workspaceId}/semanticModels/{semanticModelId}/bindConnection","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","semanticModelId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"semanticModelId":{"type":"string","description":"The semantic model 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"}}}}}}}