{"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:adatree-insights/banking-get-insights":{"get":{"operationId":"analytics_adatree_insights_banking_get_insights","summary":"Get Account Insights","description":"GET /insights/banking/account","tags":["analytics"],"parameters":[{"name":"useCaseIds","in":"query","required":false,"description":"Used to filter results on the useCaseId field.","schema":{"type":"array","description":"Used to filter results on the useCaseId field."}},{"name":"cdrArrangementIds","in":"query","required":false,"description":"Used to filter results on the cdrArrangementId field.","schema":{"type":"array","description":"Used to filter results on the cdrArrangementId field."}},{"name":"consentIds","in":"query","required":false,"description":"Used to filter results on the consentId field.","schema":{"type":"array","description":"Used to filter results on the consentId field."}},{"name":"consumerIds","in":"query","required":false,"description":"Used to filter results on the consumerId field.","schema":{"type":"array","description":"Used to filter results on the consumerId field."}},{"name":"dataHolderBrandIds","in":"query","required":false,"description":"Used to filter results on the dataHolderBrandId field.","schema":{"type":"array","description":"Used to filter results on the dataHolderBrandId field."}},{"name":"page","in":"query","required":false,"description":"Page of results to request (standard pagination)","schema":{"type":"integer","default":1,"description":"Page of results to request (standard pagination)"}},{"name":"pageSize","in":"query","required":false,"description":"Page size to request","schema":{"type":"integer","description":"Page size to request"}}],"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:adatree-insights/energy-get-insights":{"get":{"operationId":"analytics_adatree_insights_energy_get_insights","summary":"Get Account Insights","description":"GET /insights/energy/account","tags":["analytics"],"parameters":[{"name":"useCaseIds","in":"query","required":false,"description":"Used to filter results on the useCaseId field.","schema":{"type":"array","description":"Used to filter results on the useCaseId field."}},{"name":"cdrArrangementIds","in":"query","required":false,"description":"Used to filter results on the cdrArrangementId field.","schema":{"type":"array","description":"Used to filter results on the cdrArrangementId field."}},{"name":"consentIds","in":"query","required":false,"description":"Used to filter results on the consentId field.","schema":{"type":"array","description":"Used to filter results on the consentId field."}},{"name":"consumerIds","in":"query","required":false,"description":"Used to filter results on the consumerId field.","schema":{"type":"array","description":"Used to filter results on the consumerId field."}},{"name":"dataHolderBrandIds","in":"query","required":false,"description":"Used to filter results on the dataHolderBrandId field.","schema":{"type":"array","description":"Used to filter results on the dataHolderBrandId field."}},{"name":"page","in":"query","required":false,"description":"Page of results to request (standard pagination)","schema":{"type":"integer","default":1,"description":"Page of results to request (standard pagination)"}},{"name":"pageSize","in":"query","required":false,"description":"Page size to request","schema":{"type":"integer","description":"Page size to request"}}],"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"}}}}}}}