{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-monitor-operational-insights/query-get-with-resource-id":{"get":{"operationId":"cloud_azure_monitor_operational_insights_query_get_with_resource_id","summary":"Execute an Analytics query using resource URI","description":"GET /{resourceId}/query","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"endpoint","in":"query","required":false,"description":"The Log Analytics service endpoint.","schema":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."}},{"name":"apiVersion","in":"query","required":true,"description":"The service API version.","schema":{"type":"string","enum":["v1"],"description":"The service API version."}},{"name":"resourceId","in":"query","required":true,"description":"The identifier of the resource.","schema":{"type":"string","description":"The identifier of the resource."}},{"name":"query","in":"query","required":true,"description":"The Analytics query. Learn more about the [Analytics query…","schema":{"type":"string","description":"The Analytics query. Learn more about the [Analytics query…"}},{"name":"timespan","in":"query","required":false,"description":"Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that…","schema":{"type":"string","description":"Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that…"}}],"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/cloud:azure-monitor-operational-insights/query-execute-with-resource-id":{"post":{"operationId":"cloud_azure_monitor_operational_insights_query_execute_with_resource_id","summary":"Execute an Analytics query using resource ID","description":"POST /{resourceId}/query","tags":["cloud"],"x-apizie-access":"read","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["apiVersion","resourceId","body"],"properties":{"endpoint":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."},"apiVersion":{"type":"string","enum":["v1"],"description":"The service API version."},"resourceId":{"type":"string","description":"The identifier of the resource."},"Prefer":{"type":"string","description":"Optional. The prefer header to set server timeout, query statistics and visualization information."},"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/cloud:azure-monitor-operational-insights/query-batch":{"post":{"operationId":"cloud_azure_monitor_operational_insights_query_batch","summary":"Execute a batch of Analytics queries","description":"POST /$batch","tags":["cloud"],"x-apizie-access":"read","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["apiVersion","body"],"properties":{"endpoint":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."},"apiVersion":{"type":"string","enum":["v1"],"description":"The service API 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/cloud:azure-monitor-operational-insights/metadata-get":{"get":{"operationId":"cloud_azure_monitor_operational_insights_metadata_get","summary":"Gets metadata information","description":"GET /workspaces/{workspaceId}/metadata","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"endpoint","in":"query","required":false,"description":"The Log Analytics service endpoint.","schema":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."}},{"name":"apiVersion","in":"query","required":true,"description":"The service API version.","schema":{"type":"string","enum":["v1"],"description":"The service API version."}},{"name":"workspaceId","in":"query","required":true,"description":"Primary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal.","schema":{"type":"string","description":"Primary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal."}}],"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/cloud:azure-monitor-operational-insights/metadata-post":{"post":{"operationId":"cloud_azure_monitor_operational_insights_metadata_post","summary":"Gets metadata information","description":"POST /workspaces/{workspaceId}/metadata","tags":["cloud"],"x-apizie-access":"read","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["apiVersion","workspaceId"],"properties":{"endpoint":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."},"apiVersion":{"type":"string","enum":["v1"],"description":"The service API version."},"workspaceId":{"type":"string","description":"Primary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal."}}}}}},"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/cloud:azure-monitor-operational-insights/query-get":{"get":{"operationId":"cloud_azure_monitor_operational_insights_query_get","summary":"Execute an Analytics query","description":"GET /workspaces/{workspaceId}/query","tags":["cloud"],"x-apizie-access":"read","parameters":[{"name":"endpoint","in":"query","required":false,"description":"The Log Analytics service endpoint.","schema":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."}},{"name":"apiVersion","in":"query","required":true,"description":"The service API version.","schema":{"type":"string","enum":["v1"],"description":"The service API version."}},{"name":"workspaceId","in":"query","required":true,"description":"Primary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal.","schema":{"type":"string","description":"Primary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal."}},{"name":"query","in":"query","required":true,"description":"The Analytics query. Learn more about the [Analytics query…","schema":{"type":"string","description":"The Analytics query. Learn more about the [Analytics query…"}},{"name":"timespan","in":"query","required":false,"description":"Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that…","schema":{"type":"string","description":"Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that…"}}],"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/cloud:azure-monitor-operational-insights/query-execute":{"post":{"operationId":"cloud_azure_monitor_operational_insights_query_execute","summary":"Execute an Analytics query","description":"POST /workspaces/{workspaceId}/query","tags":["cloud"],"x-apizie-access":"read","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["apiVersion","workspaceId","body"],"properties":{"endpoint":{"type":"string","default":"https://api.loganalytics.io","description":"The Log Analytics service endpoint."},"apiVersion":{"type":"string","enum":["v1"],"description":"The service API version."},"workspaceId":{"type":"string","description":"Primary Workspace ID of the query. This is the Workspace ID from the Properties blade in the Azure portal."},"Prefer":{"type":"string","description":"Optional. The prefer header to set server timeout, query statistics and visualization information."},"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":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"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"}}}}}}}