Enclaive Multi Cloud Platform
HomeDocumentationTutorialsTry Cloud
  • Enclaive Multi Cloud Platform
  • Documentation
    • What is EMCP?
    • Why use EMCP?
    • Features
      • Virtual HSM
      • Vault
      • Nitride
      • Buckypaper
      • Dyneemes
      • Morphism
    • Supported Cloud Platforms
  • Tutorials
    • Buckypaper
      • Create a Buckypaper VM
      • Connect with SSH
      • Manage DNS
        • Cloudflare
      • Tag Buckypaper
      • Secure your VM with Firewall
      • Turn on/off Buckypapers
      • Destroy Buckypapers
    • Dyneemes
      • Create clusters
      • Connect to a cluster
      • Setup advanced monitoring
      • Upgrade without data loss
      • Add nodes and node pools
      • Drain and restart nodes
    • Data-in-use encrypting Database
      • Create a database cluster
      • Configure CNAME DNS record
      • Delete Applications
    • Applications
      • Create Nextcloud Hub
      • Configure CNAME DNS record
      • Delete Applications
      • After the installation
    • Billing
      • Add/Update payment method
      • Add/Change address
      • Add/Change VAT
    • Settings
      • Manage Team
        • Create a team
        • Delete a team
        • Invite team members
        • Remove team members
      • Bring your own Subscription
        • Azure
        • AWS
        • Google Cloud Platform
    • Account
      • Registration
      • Login
      • Delete account
  • Developers
    • API
      • Console
        • Auth
          • JWKS
        • Account
          • Need
        • Projects
          • Activity
        • Manage
          • Application
            • DNS
          • Database
          • Kubernetes
          • Virtual Machine
            • Security rule
          • Configurations
            • Location
            • Image
            • Price
            • Size
            • Provider
            • Cloud Provider
          • Attestation
        • vHSM
          • BYOS
          • User Storage
        • Settings
          • Team
          • Invite
        • Billing
          • Settings
          • Invoice
          • Cost
          • Promo - TODO
        • Support
          • Hubspot Files
          • Ticket
      • Admin
        • Auth
        • Accounts
          • Team
            • User
            • Application
            • Virtual machine
            • Database
            • Cluster
            • Resource
        • Quotas
          • Default quota
          • Provider quota
          • Team quota
        • Invoices
  • Resources
    • Blog
    • GitHub
    • Youtube
    • CCx101
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. API
  3. Console
  4. Billing

Cost

The "Cost" section contains an endpoint that enables users to retrieve an estimated cost, showing them approximately how much they will be charged at the end of the month. This functionality provides users with insight into their anticipated expenses, aiding in financial planning and budget management.

Get costs by team

GET {{BASE_URL}}/api/teams/{id}/costs

Get a cost estimate for a specific team.

Headers

Name
Type
Description

Authorization*

String

Bearer Token

Request Body

Name
Type
Description

id*

String

team id

{
    "total": 12,
    "dbs": [],
    "apps": [
        {
            "_id": "6548d4f261cabb0308b984ee",
            "status": 3,
            "name": "kraud-cloud-nextcloud-berlin-01",
            "price": "6548a383e2442d14b6bf96fc",
            "cost": 0
        }
    ],
    "vms": [
        {
            "_id": "6548a43a38406c14db33b68c",
            "status": 7,
            "name": "kraud-cloud-ubuntu-1vcpu-4gb-berlin-01",
            "price": "6548a383e2442d14b6bf970b",
            "cost": 0
        }
    ],
    "k8s": [
        {
            "name": "k8s-development-1",
            "cluster": "6548a4f038406c14db33b7d8",
            "status": 6,
            "resources": [
                {
                    "resource": "6548a4f038406c14db33b7da",
                    "priceId": "6548a383e2442d14b6bf9712",
                    "cluster": "6548a4f038406c14db33b7d8",
                    "cost": 0
                },
                {
                    "resource": "6548a4f138406c14db33b7de",
                    "priceId": "6548a383e2442d14b6bf970e",
                    "cluster": "6548a4f038406c14db33b7d8",
                    "cost": 12
                }
            ],
            "cost": 12
        }
    ]
}

Last updated 1 year ago

Was this helpful?