Create a backend
UsePOST /v1/generate to start a backend generation job.
Request
Fields
| Field | Required | Notes |
|---|---|---|
name | Yes | Human-readable backend name. Verified schema: 2 to 120 characters. |
prompt | Yes | Plain-English requirements. Verified schema: 10 to 100000 characters. |
model | No | Model selection is managed by AXTL unless your workspace exposes advanced model settings. |
region | No | Use auto unless your workspace settings specify otherwise. |
autoDeploy | No | Defaults to false in current schema. |
Response
AXTL returns202 Accepted.
Check status
data.id, data.agentId, data.agentSlug, data.status, data.progress, data.logs, and optional artifact, validation, and failure fields.
Write better requirements
Good requirements include:- The input payload your API should accept.
- The output shape you expect.
- External systems the backend should call, if any.
- Validation rules.
- Failure behavior.