नेविगेशन पर जाएँ

वर्कस्पेस लागत उपयोग प्राप्त करें

लागत के आधार पर बिल किए जाने वाले वर्कस्पेस के लिए, समय के साथ वर्कस्पेस के उपयोग की लागत लौटाता है। उपयोग को UTC दिन के आधार पर बकेट में विभाजित किया जाता है। रिस्पॉन्स एक सारणीबद्ध संरचना है, जिसमें columns, column_types, column_units और rows होते हैं, तथा हर समूह और बकेट के लिए एक पंक्ति होती है। total_cost वर्कस्पेस की मुद्रा में लागत है और total_charge_count बिल की गई मात्रा है। उपयोग को user_id, hashed_xi_api_key, region, reporting_workspace_id, billing_group_id, product_type, surface और actor में से अधिकतम दो के आधार पर समूहित या फ़िल्टर किया जा सकता है; इनमें से दो के आधार पर समूहित करने के लिए एक पर eq या in फ़िल्टर होना ज़रूरी है। model, request_source, fiat_charge_type और fiat_currency हमेशा जोड़े जा सकते हैं। कुछ id कॉलम में मौजूदा कॉलम के बाद user_label जैसा डिस्प्ले-नेम कॉलम भी जोड़ा जाता है। क्रेडिट के आधार पर बिल किए जाने वाले वर्कस्पेस को /v1/workspace/analytics/query/usage-by-product-over-time का इस्तेमाल करना चाहिए।

हेडर

xi-api-keystringवैकल्पिक

अनुरोध

This endpoint expects an object.
start_timeintegerआवश्यक>=1577836800000

समय सीमा की शुरुआत, मिलीसेकंड में Unix टाइमस्टैम्प के रूप में। यह कम से कम 2020-01-01 होना चाहिए।

end_timeintegerआवश्यक>=1577836800000

मिलीसेकंड में Unix टाइमस्टैम्प के रूप में टाइम रेंज का अंत। यह कम से कम 2020-01-01 होना चाहिए।

interval_secondsintegerआवश्यक>=86400
Bucket size in seconds, in whole UTC days. Pass 86400 for daily buckets or 604800 for weekly buckets, which start on Monday.
group_bylist of enums or nullवैकल्पिक
filterslist of objects or nullवैकल्पिक

रिस्पॉन्स

सफल रिस्पॉन्स

columnslist of strings
column_typeslist of enums
rowslist of lists of nullable strings or integers or doubles or booleans
column_unitslist of nullable enums

त्रुटियाँ

422
Unprocessable Entity Error