Skip to main content
POST
/
v1
/
forms
/
{form_id}
/
autofill
Autofill Existing Form
curl --request POST \
  --url https://api.simplicity.ai/v1/forms/{form_id}/autofill \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "instructions": "<string>",
  "context": "<string>"
}
'
{
  "task_id": "<string>",
  "status": "processing"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

form_id
string
required

Body

application/json

Request body for autofilling an existing form with new context.

instructions
string | null

Optional instructions to guide the AI filling process

context
string | null

Optional text content to be used as context for filling the form using AI/LLM

Response

Successful Response

task_id
string
required
status
enum<string>
default:processing
required
Available options:
pending,
processing,
completed,
failed