Class AsyncParserRunClient
- java.lang.Object
-
- ai.extend.resources.parserrun.AsyncParserRunClient
-
public class AsyncParserRunClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncParserRunClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ParserRunDeleteResponse>delete(java.lang.String id)Delete a parser run and all associated data from Extend.java.util.concurrent.CompletableFuture<ParserRunDeleteResponse>delete(java.lang.String id, RequestOptions requestOptions)Delete a parser run and all associated data from Extend.java.util.concurrent.CompletableFuture<ParserRunGetResponse>get(java.lang.String id)Retrieve the status and results of a parser run.java.util.concurrent.CompletableFuture<ParserRunGetResponse>get(java.lang.String id, ParserRunGetRequest request)Retrieve the status and results of a parser run.java.util.concurrent.CompletableFuture<ParserRunGetResponse>get(java.lang.String id, ParserRunGetRequest request, RequestOptions requestOptions)Retrieve the status and results of a parser run.AsyncRawParserRunClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncParserRunClient
public AsyncParserRunClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawParserRunClient withRawResponse()
Get responses with HTTP metadata like headers
-
get
public java.util.concurrent.CompletableFuture<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<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<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<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<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.
-
-