Authorizations
Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
Path Parameters
The Account Id
The Environment Id
Response
200 - application/json
A successful response.
The response is of type object.
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/environments/{environment_id}:connect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"connection": {
"nodePoolId": "<string>",
"numRanks": 123,
"role": "<string>",
"useLocalStorage": true
},
"vscodeVersion": "<string>"
}'{}Connects the environment to a node pool. Returns an error if there is an existing pending connection.
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/environments/{environment_id}:connect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"connection": {
"nodePoolId": "<string>",
"numRanks": 123,
"role": "<string>",
"useLocalStorage": true
},
"vscodeVersion": "<string>"
}'{}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
The Environment Id
A successful response.
The response is of type object.
Was this page helpful?