{"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-notebook/items-list-notebooks":{"get":{"operationId":"analytics_microsoft_fabric_notebook_items_list_notebooks","summary":"Returns a list of notebooks from the specified workspace.","description":"GET /workspaces/{workspaceId}/notebooks","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-notebook/items-create-notebook":{"post":{"operationId":"analytics_microsoft_fabric_notebook_items_create_notebook","summary":"Creates a notebook in the specified workspace.","description":"POST /workspaces/{workspaceId}/notebooks","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-notebook/items-get-notebook":{"get":{"operationId":"analytics_microsoft_fabric_notebook_items_get_notebook","summary":"Returns properties of the specified notebook.","description":"GET /workspaces/{workspaceId}/notebooks/{notebookId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"notebookId","in":"query","required":true,"description":"The notebook ID.","schema":{"type":"string","description":"The notebook 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-notebook/items-update-notebook":{"post":{"operationId":"analytics_microsoft_fabric_notebook_items_update_notebook","summary":"Updates the properties of the specified notebook.","description":"PATCH /workspaces/{workspaceId}/notebooks/{notebookId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","notebookId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"notebookId":{"type":"string","description":"The notebook 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-notebook/items-delete-notebook":{"post":{"operationId":"analytics_microsoft_fabric_notebook_items_delete_notebook","summary":"Deletes the specified notebook.","description":"DELETE /workspaces/{workspaceId}/notebooks/{notebookId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","notebookId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"notebookId":{"type":"string","description":"The notebook 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-notebook/items-get-notebook-definition":{"post":{"operationId":"analytics_microsoft_fabric_notebook_items_get_notebook_definition","summary":"Returns the specified notebook public definition.","description":"POST /workspaces/{workspaceId}/notebooks/{notebookId}/getDefinition","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","notebookId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"notebookId":{"type":"string","description":"The notebook ID."},"format":{"type":"string","description":"The format of the notebook public definition. Supported format: `ipynb` and `fabricGitSource`. If no format is provided, `fabricGitSource`…"}}}}}},"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-notebook/items-update-notebook-definition":{"post":{"operationId":"analytics_microsoft_fabric_notebook_items_update_notebook_definition","summary":"Overrides the definition for the specified notebook.","description":"POST /workspaces/{workspaceId}/notebooks/{notebookId}/updateDefinition","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","notebookId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"notebookId":{"type":"string","description":"The notebook 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-notebook/livy-sessions-list-livy-sessions":{"get":{"operationId":"analytics_microsoft_fabric_notebook_livy_sessions_list_livy_sessions","summary":"Returns a list of livy sessions from the specified item identifier.","description":"GET /workspaces/{workspaceId}/notebooks/{notebookId}/livySessions","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace identifier.","schema":{"type":"string","description":"The workspace identifier."}},{"name":"notebookId","in":"query","required":true,"description":"The notebook ID.","schema":{"type":"string","description":"The notebook ID."}},{"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-notebook/livy-sessions-list-livy-sessions-beta":{"get":{"operationId":"analytics_microsoft_fabric_notebook_livy_sessions_list_livy_sessions_beta","summary":"Returns a list of livy sessions from the specified item identifier (beta).","description":"GET /workspaces/{workspaceId}/notebooks/{notebookId}/livySessions?beta=true","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace identifier.","schema":{"type":"string","description":"The workspace identifier."}},{"name":"notebookId","in":"query","required":true,"description":"The notebook ID.","schema":{"type":"string","description":"The notebook 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":"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"}},"/v1/analytics:microsoft-fabric-notebook/livy-sessions-get-livy-session":{"get":{"operationId":"analytics_microsoft_fabric_notebook_livy_sessions_get_livy_session","summary":"Returns properties of the specified livy session.","description":"GET /workspaces/{workspaceId}/notebooks/{notebookId}/livySessions/{livyId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace identifier.","schema":{"type":"string","description":"The workspace identifier."}},{"name":"notebookId","in":"query","required":true,"description":"The notebook ID.","schema":{"type":"string","description":"The notebook ID."}},{"name":"livyId","in":"query","required":true,"description":"The session identifier.","schema":{"type":"string","description":"The session identifier."}}],"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-notebook/background-jobs-run-on-demand-notebook":{"post":{"operationId":"analytics_microsoft_fabric_notebook_background_jobs_run_on_demand_notebook","summary":"Run on-demand notebook job instance.","description":"POST /workspaces/{workspaceId}/notebooks/{notebookId}/jobs/execute/instances?beta=false","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","notebookId","beta"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"notebookId":{"type":"string","description":"The notebook item ID."},"beta":{"type":"boolean","description":"This parameter specifies which version of the API to use. Set to `false` to use the release version."},"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-notebook/background-jobs-get-notebook-job-instance-beta":{"get":{"operationId":"analytics_microsoft_fabric_notebook_background_jobs_get_notebook_job_instance_beta","summary":"Get one notebook's job instance.","description":"GET /workspaces/{workspaceId}/notebooks/{notebookId}/jobs/execute/instances/{jobInstanceId}?beta=true","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"notebookId","in":"query","required":true,"description":"The notebook ID.","schema":{"type":"string","description":"The notebook ID."}},{"name":"jobInstanceId","in":"query","required":true,"description":"The job instance ID.","schema":{"type":"string","description":"The job instance 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"}}},"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"}}}}}}}