GET /organization/costs
Servers
- https://api.openai.com/v1
Query parameters
Name | Type | Required | Description |
---|---|---|---|
page |
String | No |
A cursor for use in pagination. Corresponding to the |
group_by[] |
Array | No |
Group the costs by the specified fields. Support fields include |
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 Possible values:
Default value: "1d" |
end_time |
Integer | No |
End time (Unix seconds) of the query time range, exclusive. |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.