Skip to main content
POST
Generate Form

Authorizations

Authorization
string
header
required

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

Body

application/json

Generate a form via LLM from natural language.

description
string
required

Describe what information the form should collect

Required string length: 10 - 5000
task_type
string | null

Target task type

category
string | null

Target category

num_fields
integer | null

Approx field count

Required range: 1 <= x <= 50

Response

Successful Response

Full form detail including schema.

id
string<uuid>
required
name
string
required
slug
string
required
user_id
string<uuid>
required
schema_json
Schema Json · object
required
ui_schema_json
Ui Schema Json · object
required
source_type
string
required
status
string
required
is_template
boolean
required
current_version
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
team_id
string<uuid> | null
source_file_id
string<uuid> | null
field_count
integer
default:0