Discussions

Ask a Question

api/2/reporting/compare/enqueue report technical team has been notified

I enabled api key in my profile via Cloudability console. Then I get the subnet traffic report via below url, but I get error "technical team has been notified". The wired things the same url with my workmate api key worked well. Anything I missed? FYI, when i enable API key, there is a public and private key, I use the private key for the value of auth_token. https://app.cloudability.com/api/2/reporting/compare/enqueue?viewId=0&end_date=2021-07-16&order=desc&relative_period=custom&sort_by=inbound_bandwidth&start_date=2021-06-16&metrics&auth_token=<my api key>

May I use code to call api to get report?

our company is trying to generate a report about our aws subnet traffic for each account. Does cloudability api support that users could use python or other programming language to generate report through api?

how to authenticate cloudability api when sso login is used?

https://developers.cloudability.com/docs#our-examples has documented how to authenticate a cloudability api call using the api key and password. In our case, we are automatically logged into the cloudability using sso without a password. how can we use cloudability api in this case?

How to identify which views are not needed by users or we can how to identify orphan views?

How to get costs lower than 1 cent

I'm using api/1/reporting/cost/ endpoint to get a detailed daily view of the costs and found several entries in the report with 0.00 value (unblended_cost). However if I sum all the entries I get a number slightly lower than the one shown if the report would aggregate everything instead of the detail. How can I configure to get more decimals in the cost field? Thanks

422 error: Unprocessable entity

I'm trying to call the cost-sharing endpoint /internal/reporting/cost-sharing (without metric parameter) for the date range of 1st May to 18th May 2020 but I am receiving the error - Endpoint does not support views. I wasn't able to find anything related to this error message or code in the documentation. Any leads will be appreciated.

Disbursement Code Endpoint

Hello, I was curious if there is a way to get all resources that are tied to a disbursement code?

Unable to remove a user from a view?

I have a test view that I created, after creating it I shared it with another user. Then, I tried to remove that user from that same view and the GUI (on the website console) appears to succeed, but when I reload the page and look at that view, the user that I just removed is still there? I have also tried to perform this operation programatically with the REST API endpoint and that also did not remove the user from the view? I am an administrator for our organization, so I would have expected that I could remove users that I just added? Can you help me understand this problem? Is it a bug, or is there something I am not doing correctly or understanding correctly? thanks,
ANSWERED

How to authenticate to delete a user?

How to authenticate to delete a user? I am wondering how to authenticate so that I may delete a user as described here? https://developers.cloudability.com/v1.0/docs/users#section-delete-a-user-in-your-organization I've tried to authenticate with instructions found here, using my userid and password (since I'm an admin in my organization, I would have assumed that I could use my own user credentials to do this)? https://tbmcouncil.jiveon.com/docs/DOC-10529 I've used this URL endpoint but it returns a 400 error?: https://frontdoor.apptio.com/service/nonuilogin Sample request: POST /service/nonuilogin HTTP/1.1 Host: frontdoor.apptio.com Content-Type: application/json { "ping_uname": "[email protected]", "ping_pwd": "Password" } What username / account credentials should I be using? Is it my cloudability admin account credentials or something else? example error: { "error": "Unable to log in user. Validate that the username/password are valid", "translationKey": "FD_AUTH_USER_UNABLE_TO_VALIDATE", "substitutions": [] } Thanks,
ANSWERED

How can I update a user's invitation to "accepted"?

I have tried referencing this endpoint which seems to indicate that you CAN update a user's invitation to "accepted" (since it has this value in the example response), but I cannot seem to get it to work? Perhaps I'm passing in the wrong parameters? https://developers.cloudability.com/v1.0/docs/organization-invitations#section-update-a-users-invitation-to-an-organization I am getting a "500" server error HTTP status code back when I do this? Let me know the proper format, or if this is even possible? Thanks, Example I'm using: VERB: POST Where invitation id is: 1234 https://app.cloudability.com/api/1/organizations/invitations/1234 Headers: Content-Type:application/json &#123; "role_id": 2, "state": "accepted" &#125; I've also tried using the "users" API as in this example (but it doesn't work either)?: PUT https://app.cloudability.com/api/1/users/1234 { "user": { "full_name": "Test User", "role": "User", "restricted": false, "invitation": "accepted", "default_dimension_filter_set_id": 45000, "new_shared_dimension_filter_set_ids": [45000], "unshare_existing_dimension_filter_sets": true, "default_dashboard_id": 78100 } }
ANSWERED

v3 view query by title?

Is there a way to query the v3 API "view" endpoint to return a view with a given title. Example: If the view has the title of "My View" what would be the REST API v3 query string to do this? I only see a way to query all views, or a view of a specific id (once you know it)? I looked at the filters section of the documentation and didn't see anything that looked like it would work? thank you.
ANSWERED

Is the view "user"(s) endpoint available in API v3 or just v1?

So, is the "user" endpoint supported in v3? I would like to look up all users and do lookup of specific users, but I didn't see anything about the "user" api (for viewing) mentioned in the v3 API docs? VERSION 3 - I do this and get a 404 - Not found: https://api.cloudability.com/api/v3/users/ VERSION 1 - I do this and can see a list of users: https://app.cloudability.com/api/1/users/?limit=3

Tag mapping endpoint

there are a couple issues around this. 1 in the view (filters) endpoint some of the filtersets include tag information (not the account group) 2 in the view endpoint creating a filter about a tag requires a tag-index in to the tags that are mapped please provide a timeline for when this will be delivered

Error with User Creation in API

I'm trying to create a new user and assign it a view via Users API and getting a 500 error back. Am I doing something wrong? Calling a POST to https://app.cloudability.com/api/1/users/?auth_token=MYAPIKEY with this payload: { "user": { "full_name": "USER FULL NAME", "role": "User", "email": "[email protected]", "restricted": true, "new_shared_dimension_filter_set_ids": [], "default_dimension_filter_set_id": 12345, "unshare_existing_dimension_filter_sets": true } } It's returning this to me and I can't figure out what I'm doing wrong: {"error":"An unexpected error occurred. Our technical team has been notified."} Thanks

Are all V1 endpoints are supported in V3?

Are all of the V1 endpoints are supported in V3? Or Can I get similar data/parameters from V3 which were obtaining from V1?

v1 API functionality in v3?

I like the v3 API because it's more secure than posting my uncoded API key in the request url, but I want to be able to access the full set of instances from AWS as with the v1 /reporting/cost endpoints. Is there any way to access the full set of instances using the v3 API?

User last login date?

How do i get a list of when each user last logged in and what view they used?