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