API referenceProvider credentials
Configure Provider Credential
Authorization
bearerAuth AuthorizationBearer <token>
Use a project API key for sandbox and runtime routes, or an OpenMetal user access token for account management routes.
In: header
Path Parameters
organization_id*stringFormat
uuidprovider*stringValues
blaxel, cloudflare, codesandbox, daytona, e2b, freestyle, modal, northflank, prime, runloop, vercelRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Variant 1
provider*stringapi_key*stringLength
1–16384workspace*stringLength
1–500account_id?stringLength
1–500Variant 2
provider*stringapi_url*stringFormat
uriLength0–2048api_key*stringLength
1–16384account_id?stringLength
1–500analytics_token?stringLength
1–16384Variant 3
provider*stringapi_key*stringLength
1–16384workspace_id?stringLength
1–500vm_tier?stringValues
Pico, Nano, Micro, Small, Medium, Large, XLargecredit_rate_usd?stringMatch
^\d+(?:\.\d{1,6})?$Variant 4
provider*stringapi_key*stringLength
1–16384organization_id?stringLength
1–500target?stringLength
1–500Variant 5
provider*stringapi_key*stringLength
1–16384Variant 6
provider*stringapi_key*stringLength
1–16384Variant 7
provider*stringtoken_id*stringLength
1–16384token_secret*stringLength
1–16384environment?stringLength
1–500Variant 8
provider*stringapi_token*stringLength
1–16384project_id*stringLength
1–500team_id?stringLength
1–500Variant 9
provider*stringapi_key*stringLength
1–16384team_id?stringLength
1–500Variant 10
provider*stringapi_key*stringLength
1–16384resource_size?stringValues
X_SMALL, SMALL, MEDIUM, LARGE, X_LARGE, XX_LARGEvcpu_hour_rate_usd?stringMatch
^\d+(?:\.\d{1,6})?$memory_gb_hour_rate_usd?stringMatch
^\d+(?:\.\d{1,6})?$disk_gb_hour_rate_usd?stringMatch
^\d+(?:\.\d{1,6})?$Variant 11
provider*stringtoken*stringLength
1–16384project_id*stringLength
1–500team_id?stringLength
1–500Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/provider-credentials/blaxel" \ -H "Content-Type: application/json" \ -d '{ "provider": "blaxel", "api_key": "string", "workspace": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "provider": "blaxel", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}