/
/Castle API
ChangesDocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 12h ago · Updated 12h ago
api-keys5
stripe2
users6
  • get/v2/openapi.json
  • postProvides the inference request cost in nanoUSD for a list of request IDs.
  • postAttach a storage volume to bare metal instance(s)
  • getGet a list of active bare metal rentals
  • postCreate a bare metal rental
  • postRequest a reservation
  • getGet a list of storage volumes
  • postCreate a storage volume
  • getGet a list of active virtual machine rentals
  • postCreate a virtual machine rental
  • getGet a list of past rentals
  • getGet a list of rental options
  • getGet a list of reserve options
  • postTerminate a bare metal rental
  • postTerminate a storage volume
  • postTerminate a virtual machine rental
  • postUpdate a rental
  • postUpdate a storage volume
  • getGet a list of storage volume options
  • postGet active rental external IDs
  • postRuns user rental & storage volume ledgering
  • postRuns user rental termination
  • postRuns rental supply inventory capture
  • postSyncs HubSpot deals to database
  • postStores provider pricing snapshots
  • postReconciles HubSpot contacts with database users
  • putUpdate the current user
  • getGet the API key for the current user
  • putSet the API key for the current user
  • put/users/me/verify-phone-number
  • postPublish a quote_created event for the current user
  • getGet the current user or organization account's balance
  • postCreate a referral
  • postHandle Clerk webhooks

Set the API key for the current user

Set the API key for the current user

put/users/me/api-key

Request body

object required

Response

Successful response

successboolean required
apiKeystring

Changes