Costfluent Public API
​string · minLength: 0 · maxLength: 200 · required​string · minLength: 3 · maxLength: 3 · required​string · required
​string · required​string · required​boolean​integer · int32​string · date-time​string | null · date-time
​string | null · minLength: 0 · maxLength: 200​string | null · minLength: 3 · maxLength: 3​boolean | null​string · required​string · required​boolean​integer · int32​string · date-time​string | null · date-time
​boolean · required
Create workspace
POST
https://api.costfluent.com
/v1/workspaces
Bearer (API token)
Creates a new workspace for organizing cost data
Create workspace › Request Body
namecurrencyCreate workspace › Responses
Success
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
nameGet workspace
GET
https://api.costfluent.com
/v1/workspaces/{workspaceId}
Bearer (API token)
Returns details of a specific workspace
path Parameters
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
Get workspace › Responses
Success
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
namecurrencyenableCurrencyConversionproviderCountcreatedAtupdatedAtUpdate workspace
PUT
https://api.costfluent.com
/v1/workspaces/{workspaceId}
Bearer (API token)
Updates workspace settings
path Parameters
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
Update workspace › Request Body
namecurrencyenableCurrencyConversionUpdate workspace › Responses
Success
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
namecurrencyenableCurrencyConversionproviderCountcreatedAtupdatedAtDelete workspace
DELETE
https://api.costfluent.com
/v1/workspaces/{workspaceId}
Bearer (API token)
Deletes a workspace. Associated data may be retained.
path Parameters
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
Delete workspace › Responses
No Content
No data returned
Get the workspace's exchange rate policy
GET
https://api.costfluent.com
/v1/workspaces/{workspaceId}/exchange-rates/policy
Bearer (API token)
The conversion method, the named rate source, and the period the policy applies to. Read-only: the policy is an accounting decision recorded with the account, not a setting.
path Parameters
​CostfluentSharedKernelPublicIdsWorkspacePublicId · required
Get the workspace's exchange rate policy › Responses
Success
available​required
​CostfluentFeaturesExchangeRatesResponsesFxPolicyResponse[] · required