Skip to main content
POST
/
v1
/
compute
/
{id}
/
exec
Exec command
curl --request POST \
  --url https://api.usenaive.ai/v1/compute/{id}/exec \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Body

application/json
command
string
required

Response

Session.

The response is of type object.