POST
/
v4
/
models
/
{model_instance_id}
/
deployments
/
{model_deployment_id}
/
execute
import SGPClient from 'sgp';

const client = new SGPClient({
  apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const response = await client.models.deployments.execute('model_instance_id', 'model_deployment_id');

  console.log(response);
}

main();
"<any>"

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

model_instance_id
string
required
model_deployment_id
string
required

Body

application/json
stream
boolean
default:
false

Flag indicating whether to stream the completion response

Response

200
application/json
Successful Response

The response is of type any.