GET /organization/costs

Servers

Query parameters

Name Type Required Description
page String No

A cursor for use in pagination. Corresponding to the next_page field from the previous response.

group_by[] Array No

Group the costs by the specified fields. Support fields include project_id, line_item and any combination of them.

limit Integer No

A limit on the number of buckets to be returned. Limit can range between 1 and 180, and the default is 7.

Default value: 7

start_time Integer Yes

Start time (Unix seconds) of the query time range, inclusive.

project_ids[] Array No

Return only costs for these projects.

bucket_width String No

Width of each time bucket in response. Currently only 1d is supported, default to 1d.

Possible values:

  • "1d"

Default value: "1d"

end_time Integer No

End time (Unix seconds) of the query time range, exclusive.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.