Class FormDetectionRunsClient
- java.lang.Object
-
- ai.extend.resources.formdetectionruns.FormDetectionRunsClient
-
public class FormDetectionRunsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description FormDetectionRunsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormDetectionRuncreate(FormDetectionRunsCreateRequest request)Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.FormDetectionRuncreate(FormDetectionRunsCreateRequest request, RequestOptions requestOptions)Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.FormDetectionRunretrieve(java.lang.String id)Retrieve the status and results of a form detection run.FormDetectionRunretrieve(java.lang.String id, RequestOptions requestOptions)Retrieve the status and results of a form detection run.FormDetectionRunretrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request)Retrieve the status and results of a form detection run.FormDetectionRunretrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request, RequestOptions requestOptions)Retrieve the status and results of a form detection run.RawFormDetectionRunsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
FormDetectionRunsClient
public FormDetectionRunsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawFormDetectionRunsClient withRawResponse()
Get responses with HTTP metadata like headers
-
create
public FormDetectionRun create(FormDetectionRunsCreateRequest request)
Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.Poll
GET /form_detection_runs/{id}until the status isPROCESSEDorFAILED. When processing succeeds,output.schemacontains an edit schema you can pass directly toPOST /editorPOST /edit_runs.
-
create
public FormDetectionRun create(FormDetectionRunsCreateRequest request, RequestOptions requestOptions)
Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.Poll
GET /form_detection_runs/{id}until the status isPROCESSEDorFAILED. When processing succeeds,output.schemacontains an edit schema you can pass directly toPOST /editorPOST /edit_runs.
-
retrieve
public FormDetectionRun retrieve(java.lang.String id)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
retrieve
public FormDetectionRun retrieve(java.lang.String id, RequestOptions requestOptions)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
retrieve
public FormDetectionRun retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
retrieve
public FormDetectionRun retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request, RequestOptions requestOptions)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
-