POST
/
v1
/
accounts
/
{account_id}
/
environments
/
{environment_id}
:connect
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>"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

environment_id
string
required

The Environment Id

Body

application/json
connection
object
required
vscodeVersion
string

Response

200 - application/json
A successful response.

The response is of type object.