Class AsyncParseRunsClient
- java.lang.Object
-
- ai.extend.resources.parseruns.AsyncParseRunsClient
-
public class AsyncParseRunsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncParseRunsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ParseRun>create(ParseRunsCreateRequest request)Parse files to get cleaned, chunked target content (e.g.java.util.concurrent.CompletableFuture<ParseRun>create(ParseRunsCreateRequest request, RequestOptions requestOptions)Parse files to get cleaned, chunked target content (e.g.java.util.concurrent.CompletableFuture<ParseRunsDeleteResponse>delete(java.lang.String id)Delete a parse run and all associated data from Extend.java.util.concurrent.CompletableFuture<ParseRunsDeleteResponse>delete(java.lang.String id, RequestOptions requestOptions)Delete a parse run and all associated data from Extend.java.util.concurrent.CompletableFuture<ParseRun>retrieve(java.lang.String id)Retrieve the status and results of a parse run.java.util.concurrent.CompletableFuture<ParseRun>retrieve(java.lang.String id, RequestOptions requestOptions)Retrieve the status and results of a parse run.java.util.concurrent.CompletableFuture<ParseRun>retrieve(java.lang.String id, ParseRunsRetrieveRequest request)Retrieve the status and results of a parse run.java.util.concurrent.CompletableFuture<ParseRun>retrieve(java.lang.String id, ParseRunsRetrieveRequest request, RequestOptions requestOptions)Retrieve the status and results of a parse run.AsyncRawParseRunsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncParseRunsClient
public AsyncParseRunsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawParseRunsClient withRawResponse()
Get responses with HTTP metadata like headers
-
create
public java.util.concurrent.CompletableFuture<ParseRun> create(ParseRunsCreateRequest request)
Parse files to get cleaned, chunked target content (e.g. markdown).The Parse endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
The request returns immediately with a
PROCESSINGstatus. Use webhooks or poll the Get Parse Run endpoint for results.
-
create
public java.util.concurrent.CompletableFuture<ParseRun> create(ParseRunsCreateRequest request, RequestOptions requestOptions)
Parse files to get cleaned, chunked target content (e.g. markdown).The Parse endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
The request returns immediately with a
PROCESSINGstatus. Use webhooks or poll the Get Parse Run endpoint for results.
-
retrieve
public java.util.concurrent.CompletableFuture<ParseRun> retrieve(java.lang.String id)
Retrieve the status and results of a parse run.Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the Create Parse Run endpoint.
-
retrieve
public java.util.concurrent.CompletableFuture<ParseRun> retrieve(java.lang.String id, RequestOptions requestOptions)
Retrieve the status and results of a parse run.Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the Create Parse Run endpoint.
-
retrieve
public java.util.concurrent.CompletableFuture<ParseRun> retrieve(java.lang.String id, ParseRunsRetrieveRequest request)
Retrieve the status and results of a parse run.Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the Create Parse Run endpoint.
-
retrieve
public java.util.concurrent.CompletableFuture<ParseRun> retrieve(java.lang.String id, ParseRunsRetrieveRequest request, RequestOptions requestOptions)
Retrieve the status and results of a parse run.Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the Create Parse Run endpoint.
-
delete
public java.util.concurrent.CompletableFuture<ParseRunsDeleteResponse> delete(java.lang.String id)
Delete a parse 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<ParseRunsDeleteResponse> delete(java.lang.String id, RequestOptions requestOptions)
Delete a parse 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.
-
-