cURL
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" }
Autofill an existing form with new data. Pass the form_id of the existing form with either a context (background information), instructions (explicit filling rules).
form_id
context
instructions
Request body for autofilling an existing form with new context.
Optional instructions to guide the AI filling process
Optional text content to be used as context for filling the form using AI/LLM
Successful Response
pending
processing
completed
failed