AI Generation
Generate RouterOS script via AI prompt
Calls an OpenAI model to produce a RouterOS script from the user’s prompt. Returns JSON with commands, error, destructive boolean, etc. Throttled to 5 requests/minute. Requires script:create
scope.
POST
Authorizations
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