Class RawFormDetectionRunsClient


  • public class RawFormDetectionRunsClient
    extends java.lang.Object
    • Constructor Detail

      • RawFormDetectionRunsClient

        public RawFormDetectionRunsClient​(ClientOptions clientOptions)
    • Method Detail

      • create

        public ExtendClientBaseHttpResponse<FormDetectionRun> create​(FormDetectionRunsCreateRequest request)
        Start detecting fields in a PDF form and return immediately with a form_detection_run resource, typically in the PROCESSING state.

        Poll GET /form_detection_runs/{id} until the status is PROCESSED or FAILED. When processing succeeds, output.schema contains an edit schema you can pass directly to POST /edit or POST /edit_runs.

      • create

        public ExtendClientBaseHttpResponse<FormDetectionRun> create​(FormDetectionRunsCreateRequest request,
                                                                     RequestOptions requestOptions)
        Start detecting fields in a PDF form and return immediately with a form_detection_run resource, typically in the PROCESSING state.

        Poll GET /form_detection_runs/{id} until the status is PROCESSED or FAILED. When processing succeeds, output.schema contains an edit schema you can pass directly to POST /edit or POST /edit_runs.

      • retrieve

        public ExtendClientBaseHttpResponse<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. When status is PROCESSED, output.schema contains the generated edit schema.

      • retrieve

        public ExtendClientBaseHttpResponse<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. When status is PROCESSED, output.schema contains the generated edit schema.