Smart View APIs
27 TopicsPower API interval queries
Hello, A few questions for API access and usage. Please can you give me the interval of query for your different levels (power/temperature/etc...). I want to configure a prob who will call your API every x minutes according to your granularity. What is the maximum query per second on the API? Did you have a limitation with token creation (quantity / over time / other)? Are there plans to have the possibility to stream data to an endpoint, I see specific endpoint like GCP/AWS/Azure but what if I want to have my own endpoint? Thanks for your answers,Solved2.8KViews0likes2CommentsGET ERROR 3005 : INVALID_SESSION_ENTITLEMENT
When I try to get a list of all the alarms, the response of my query is: GET: https://api.equinix.com/alarm/v1/smartview/alarms?accountNo=XXXX&limit=10 Output: { "code": 3005, "message": "3005 : INVALID_SESSION_ENTITLEMENT", "uid": null } Can I get some help?1.5KViews0likes0Commentsquestion about using the GET /power/v1/current API
I'm calling the API GET /power/v1/current, and setting levelType=cage so I can see my entire cage power usage (preferably every cabinet in the cage). Theres so many things in the description with no example. Can I get some help?1.3KViews0likes0CommentsAPI Questions/Clarifications
Hello everyone, I'm working with Yahoo on a project that involves monitoring power data for a large number of PDUs—more than 1000—every hour. We've hit a snag, though. The API we're using has a daily limit of 1000 calls. Here's the current API we're using: curl -s -X GET "https://api.equinix.com/power/v1/current?accountNo=${EQUINIX_ACCOUNT_NUMBER}&ibx=${EQUINIX_IBX}&levelType=CIRCUIT&levelValue=${LEVELVALUE}" I've tried adding multiple values to "levelValue," but it's not working as expected. The challenge is that we have to check so many PDUs every hour that making a single call per PDU isn't practical. If we go that route, we'll hit the API limit in just one hour. I found an alternative approach on the forum: curl -s -X POST "https://api.equinix.com/power/v1/current" -H "content-type: application/json" -H "Authorization: Bearer ${1}" -d '{ "accountNo": "'${2}'", "ibx": "'${3}'", "levelType": "circuit" }' This method provides data for all PDUs in a single response. However, the "levelValue" returned varies: In the original API call: "levelValue": "DB3:280355" In the alternative API call: "levelValue": "DB3:DT-340276" While "DB3:280355" aligns with our PDU naming scheme and is visible in reports, "DB3:DT-340276" doesn't show up in any reports, including SmartViews generated reports. I'd appreciate your insights and suggestions. If you've faced similar challenges or have recommendations, please share.Solved3KViews0likes2CommentsIs there a best practice to fetch all CIRCUIT,SENSOR data?
Hello, I have a question. ## Question. Is there a best practice to get all CIRCUIT,SENSOR data? ## Background We are developing and operating a monitoring system for current and temperature sensors in a Datacenter. We would like to import data from Smartview into our monitoring system and are considering using the API. We need data for each CIRCUIT and SENSOR, but if we use the following API, we can only get summary data for the specified unit. === e.g. Current (Power_v1) request ❯ curl --request GET \ --url 'https://api.equinix.com/power/v1/current?accountNo={accountNo}&ibx={ibx}&levelType=ibx&levelValue={ibx}' \ --header 'accept: application/json' \ --header 'authorization: Bearer {bearer}' \ --header 'content-type: application/json' Next, we considered how to obtain a list of CIRCUIT,SENSOR from the HierarchyAPI and request one of each. However, we found that the API limits the number of requests to 1,000 per day. We have more than 1,000 CIRCUITs and SENSORs that we want to retrieve and cannot monitor with 1,000 requests/day. ref: https://developer.equinix.com/forum/power-api-interval-queries Is there a better way to get all CIRCUIT,SENSOR values using Smartview API? Thank you.Solved3.9KViews0likes4Comments