POST
/
gen-ai
curl --request POST \
  --url https://api.altostrat.io/gen-ai \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>"
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

A minimal JSON body containing 'prompt' up to 200 chars.

Prompt for the AI to generate RouterOS commands

Response

200

JSON object from GPT