Class RawParserRunClient
- java.lang.Object
-
- ai.extend.resources.parserrun.RawParserRunClient
-
public class RawParserRunClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawParserRunClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendClientHttpResponse<ParserRunDeleteResponse>delete(java.lang.String id)Delete a parser run and all associated data from Extend.ExtendClientHttpResponse<ParserRunDeleteResponse>delete(java.lang.String id, RequestOptions requestOptions)Delete a parser run and all associated data from Extend.ExtendClientHttpResponse<ParserRunGetResponse>get(java.lang.String id)Retrieve the status and results of a parser run.ExtendClientHttpResponse<ParserRunGetResponse>get(java.lang.String id, ParserRunGetRequest request)Retrieve the status and results of a parser run.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
-
RawParserRunClient
public RawParserRunClient(ClientOptions clientOptions)
-
-
Method Detail
-
get
public 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 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 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 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 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.
-
-