Skip to content

AT-Command Suggestions API

Preview

AT-command suggestions are in preview. They are available on environments where AI AT-command generation has been enabled; ask your Quadified contact. Where it is not enabled, these endpoints return 404.

Describe in plain language what a modem should do and AI suggests the matching AT commands. The Web UI offers the same in the MCM console (Generate with AI). A suggestion is only text: nothing is sent to the modem. Generation is asynchronous: start it, then poll the suggestion.

Request AT commands

/api/v2/at-command-suggestions 📋 Copied! ▼

Role: Standard and above.

request (1-2048 characters) says in plain language what the modem should do. modem (optional, up to 255 characters) names the module so that its vendor-specific commands are preferred.

Request body *

{
"request": "Query signal strength and network registration status",
"modem": "Quectel-EG25"
}

Responses

Code Description
202

The request was accepted. Poll the Location header (GET /api/v2/at-command-suggestions/{id}) until status is final.

Media type: application/json

Example Value:

{
"id": 0,
"status": "PENDING",
"code": null,
"reason": null,
"commands": [
],
"created": "2026-09-23T10:00:00Z",
"updated": "2026-09-23T10:00:00Z"
}
400

request is missing or longer than 2048 characters, or modem is longer than 255 characters.

429

The daily AI limit is reached or the service is busy. See code and the Retry-After header.

404

AT-command generation is not enabled for this environment.

Get a suggestion

/api/v2/at-command-suggestions/{id} 📋 Copied! ▼

Role: Standard and above.

You can read only the suggestions you requested.

Parameters

Name Description
id * Numeric ID of the suggestion (from the Location header).
Type: integer (path)

Responses

Code Description
200

The current state. status is PENDING, RUNNING, DONE (see commands), EMPTY (no command fits; see code and reason) or FAILED. Branch on code; reason is for display.

Media type: application/json

Example Value:

{
"id": 0,
"status": "DONE",
"code": null,
"reason": null,
"commands": [
    {
        "command": "AT+CSQ",
        "description": "string"
    }
],
"created": "2026-09-23T10:00:00Z",
"updated": "2026-09-23T10:00:20Z"
}
404

No such suggestion, one another user requested, or AT-command generation is not enabled for this environment.