Get AI Form Suggestions From File
GraphQL endpoint: /company
Analyzes an uploaded file — passed as a base64 data URL (PDF, PNG, JPEG, GIF or WEBP, up to 10 MB decoded) — and returns an AI-suggested form structure with a title, description, and form fields.
Query
mutation ($fileDataUrl: String!) {
getAiFormSuggestionsFromFile(fileDataUrl: $fileDataUrl) {
title
description
formVersionFields {
label
type
required
autofillKey
fieldOptions { value }
}
}
}
Variables
Response
Last updated