Class AsyncRawParserRunClient
- java.lang.Object
-
- ai.extend.resources.parserrun.AsyncRawParserRunClient
-
public class AsyncRawParserRunClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawParserRunClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunDeleteResponse>>delete(java.lang.String id)Delete a parser run and all associated data from Extend.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunDeleteResponse>>delete(java.lang.String id, RequestOptions requestOptions)Delete a parser run and all associated data from Extend.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunGetResponse>>get(java.lang.String id)Retrieve the status and results of a parser run.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunGetResponse>>get(java.lang.String id, ParserRunGetRequest request)Retrieve the status and results of a parser run.java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunGetResponse>>get(java.lang.String id, ParserRunGetRequest request, RequestOptions requestOptions)Retrieve the status and results of a parser run.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawParserRunClient
public AsyncRawParserRunClient(ClientOptions clientOptions)
-
-
Method Detail
-
get
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunGetResponse>> get(java.lang.String id)
Retrieve the status and results of a parser run.Use this endpoint to get results for a parser run that has already completed, or to check on the status of an asynchronous parser run initiated via the Parse File Asynchronously endpoint.
If parsing is still in progress, you'll receive a response with just the status. Once complete, you'll receive the full parsed content in the response.
-
get
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunGetResponse>> get(java.lang.String id, ParserRunGetRequest request)
Retrieve the status and results of a parser run.Use this endpoint to get results for a parser run that has already completed, or to check on the status of an asynchronous parser run initiated via the Parse File Asynchronously endpoint.
If parsing is still in progress, you'll receive a response with just the status. Once complete, you'll receive the full parsed content in the response.
-
get
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunGetResponse>> get(java.lang.String id, ParserRunGetRequest request, RequestOptions requestOptions)
Retrieve the status and results of a parser run.Use this endpoint to get results for a parser run that has already completed, or to check on the status of an asynchronous parser run initiated via the Parse File Asynchronously endpoint.
If parsing is still in progress, you'll receive a response with just the status. Once complete, you'll receive the full parsed content in the response.
-
delete
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunDeleteResponse>> delete(java.lang.String id)
Delete a parser run and all associated data from Extend. This operation is permanent and cannot be undone.This endpoint can be used if you'd like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.
-
delete
public java.util.concurrent.CompletableFuture<ExtendClientHttpResponse<ParserRunDeleteResponse>> delete(java.lang.String id, RequestOptions requestOptions)
Delete a parser run and all associated data from Extend. This operation is permanent and cannot be undone.This endpoint can be used if you'd like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.
-
-