Members | Descriptions |
---|---|
namespace ai::lucidtech::las::sdk |
Members | Descriptions |
---|---|
class [ai::lucidtech::las::sdk::APIException ] |
|
class [ai::lucidtech::las::sdk::Client ] |
|
class [ai::lucidtech::las::sdk::CreateAppClientOptions ] |
|
class [ai::lucidtech::las::sdk::CreateAssetOptions ] |
|
class [ai::lucidtech::las::sdk::CreateBatchOptions ] |
|
class [ai::lucidtech::las::sdk::CreateDocumentOptions ] |
|
class [ai::lucidtech::las::sdk::CreateModelOptions ] |
|
class [ai::lucidtech::las::sdk::CreatePredictionOptions ] |
|
class [ai::lucidtech::las::sdk::CreateSecretOptions ] |
|
class [ai::lucidtech::las::sdk::CreateTransitionOptions ] |
|
class [ai::lucidtech::las::sdk::CreateUserOptions ] |
|
class [ai::lucidtech::las::sdk::CreateWorkflowOptions ] |
|
class [ai::lucidtech::las::sdk::Credentials ] |
|
class [ai::lucidtech::las::sdk::DeleteDocumentsOptions ] |
|
class [ai::lucidtech::las::sdk::DeleteResourcesOptions ] |
|
class [ai::lucidtech::las::sdk::DockerTransitionParameters ] |
|
class [ai::lucidtech::las::sdk::Field ] |
|
class [ai::lucidtech::las::sdk::FieldConfig ] |
|
class [ai::lucidtech::las::sdk::ListAppClientsOptions ] |
|
class [ai::lucidtech::las::sdk::ListAssetsOptions ] |
|
class [ai::lucidtech::las::sdk::ListBatchesOptions ] |
|
class [ai::lucidtech::las::sdk::ListDocumentsOptions ] |
|
class [ai::lucidtech::las::sdk::ListLogsOptions ] |
|
class [ai::lucidtech::las::sdk::ListModelsOptions ] |
|
class [ai::lucidtech::las::sdk::ListPredictionsOptions ] |
|
class [ai::lucidtech::las::sdk::ListResourcesOptions ] |
|
class [ai::lucidtech::las::sdk::ListSecretsOptions ] |
|
class [ai::lucidtech::las::sdk::ListSortablesOptions ] |
|
class [ai::lucidtech::las::sdk::ListTransitionExecutionsOptions ] |
|
class [ai::lucidtech::las::sdk::ListTransitionsOptions ] |
|
class [ai::lucidtech::las::sdk::ListUsersOptions ] |
|
class [ai::lucidtech::las::sdk::ListWorkflowExecutionsOptions ] |
|
class [ai::lucidtech::las::sdk::ListWorkflowsOptions ] |
|
class [ai::lucidtech::las::sdk::ManualTransitionParameters ] |
|
class [ai::lucidtech::las::sdk::MissingAccessTokenException ] |
|
class [ai::lucidtech::las::sdk::MissingCredentialsException ] |
|
class [ai::lucidtech::las::sdk::NameAndDescriptionOptions ] |
|
class [ai::lucidtech::las::sdk::NullableString ] |
|
class [ai::lucidtech::las::sdk::Options ] |
|
class [ai::lucidtech::las::sdk::PreprocessConfig ] |
|
class [ai::lucidtech::las::sdk::TransitionParameters ] |
|
class [ai::lucidtech::las::sdk::UpdateAppClientOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateAssetOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateBatchOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateModelOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateSecretOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateTransitionExecutionOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateTransitionOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateUserOptions ] |
|
class [ai::lucidtech::las::sdk::UpdateWorkflowOptions ] |
|
class [ai::lucidtech::las::sdk::UserOptions ] |
|
class [ai::lucidtech::las::sdk::WorkflowCompletedConfig ] |
|
class [ai::lucidtech::las::sdk::WorkflowErrorConfig ] |
class ai::lucidtech::las::sdk::APIException
: public Exception
Members | Descriptions |
---|---|
public [APIException ]() |
|
public [APIException ](String message) |
|
public [APIException ](int code,String message) |
Members | Descriptions |
---|---|
public [Client ]( Credentials credentials) |
A client to invoke api methods from Lucidtech AI Services. |
public JSONObject [createAppClient ]( CreateAppClientOptions options) |
Create an app client, calls the POST /appClients endpoint. |
public JSONObject [createAppClient ]() |
Create an app client, calls the POST /appClients endpoint. |
public JSONObject [updateAppClient ](String appClientId, UpdateAppClientOptions options) |
Update an appClient, calls the PATCH /appClients/{appClientId} endpoint. |
public JSONObject [listAppClients ]( ListAppClientsOptions options) |
List appClients available, calls the GET /appClients endpoint. |
public JSONObject [listAppClients ]() |
List appClients available, calls the GET /appClients endpoint. |
public JSONObject [deleteAppClient ](String appClientId) |
Delete an appClient, calls the DELETE /appClients/{appClientId} endpoint. |
public JSONObject [createAsset ](byte[] content, CreateAssetOptions options) |
Create an asset, calls the POST /assets endpoint. |
public JSONObject [createAsset ](InputStream content, CreateAssetOptions options) |
Create an asset, calls the POST /assets endpoint. |
public JSONObject [createAsset ](byte[] content) |
Create an asset, calls the POST /assets endpoint. |
public JSONObject [createAsset ](InputStream content) |
Create an asset, calls the POST /assets endpoint. |
public JSONObject [listAssets ]( ListAssetsOptions options) |
List assets available, calls the GET /assets endpoint. |
public JSONObject [listAssets ]() |
List assets available, calls the GET /assets endpoint. |
public JSONObject [getAsset ](String assetId) |
Get asset, calls the GET /assets/{assetId} endpoint. |
public JSONObject [updateAsset ](String assetId, UpdateAssetOptions options) |
Update an asset, calls the PATCH /assets/{assetId} endpoint. |
public JSONObject [deleteAsset ](String assetId) |
Delete an asset, calls the DELETE /assets/{assetId} endpoint. |
public JSONObject [createBatch ]( CreateBatchOptions options) |
Create a batch, calls the POST /batches endpoint. |
public JSONObject [createBatch ]() |
Create a batch, calls the POST /batches endpoint. |
public JSONObject [updateBatch ](String batchId, UpdateBatchOptions options) |
Update a batch, calls the PATCH /batches/{batchId} endpoint. |
public JSONObject [listBatches ]( ListBatchesOptions options) |
List batches available, calls the GET /batches endpoint. |
public JSONObject [listBatches ]() |
List batches available, calls the GET /batches endpoint. |
public JSONObject [deleteBatch ](String batchId,boolean deleteDocuments) |
Delete a batch, calls the DELETE /batches/{batchId} endpoint. |
public JSONObject [deleteBatch ](String batchId) |
Delete a batch, calls the DELETE /batches/{batchId} endpoint. |
public JSONObject [createDocument ](byte[] content, ContentType contentType, CreateDocumentOptions options) |
Create a document, calls the POST /documents endpoint. |
public JSONObject [createDocument ](InputStream content, ContentType contentType, CreateDocumentOptions options) |
Create a document, calls the POST /documents endpoint. |
public JSONObject [createDocument ](InputStream content, ContentType contentType) |
Create a document, calls the POST /documents endpoint. |
public JSONObject [createDocument ](byte[] content, ContentType contentType) |
Create a document, calls the POST /documents endpoint. |
public JSONObject [listDocuments ]( ListDocumentsOptions options) |
List documents, calls the GET /documents endpoint. |
public JSONObject [listDocuments ]() |
List documents, calls the GET /documents endpoint. |
public JSONObject [deleteDocuments ]( DeleteDocumentsOptions options) |
Delete documents, calls the DELETE /documents endpoint. |
public JSONObject [deleteDocuments ]() |
Delete documents, calls the DELETE /documents endpoint. |
public JSONObject [getDocument ](String documentId) |
Get document, calls the GET /documents/{documentId} endpoint. |
public JSONObject [updateDocument ](String documentId,JSONArray groundTruth) |
Update document, calls the PATCH /documents/{documentId} endpoint. |
public JSONObject [getLog ](String logId) |
Get log, calls the GET /logs/{logId} endpoint. |
public JSONObject [listLogs ]( ListLogsOptions options) |
List logs, calls the GET /logs endpoint. |
public JSONObject [listLogs ]() |
List logs, calls the GET /logs endpoint. |
public JSONObject [createModel ](int width,int height, FieldConfig fieldConfig, CreateModelOptions options) |
Create a model, calls the POST /models endpoint. |
public JSONObject [createModel ](int width,int height, FieldConfig fieldConfig) |
Create a model, calls the POST /models endpoint. |
public JSONObject [updateModel ](String modelId, UpdateModelOptions options) |
Updates a model, calls the PATCH /models/{modelId} endpoint. |
public JSONObject [getModel ](String modelId) |
Get model, calls the GET /models/{modelId} endpoint. |
public JSONObject [listModels ]( ListModelsOptions options) |
List models, calls the GET /models endpoint. |
public JSONObject [listModels ]() |
List models available, calls the GET /models endpoint. |
public JSONObject [createPrediction ](String documentId,String modelId, CreatePredictionOptions options) |
Create a prediction on a document using specified model, calls the POST /predictions endpoint. |
public JSONObject [createPrediction ](String documentId,String modelId) |
Create a prediction on a document using specified model, calls the POST /predictions endpoint. |
public JSONObject [listPredictions ]( ListPredictionsOptions options) |
List predictions available, calls the GET /predictions endpoint. |
public JSONObject [listPredictions ]() |
List predictions available, calls the GET /predictions endpoint. |
public JSONObject [createSecret ](JSONObject data, CreateSecretOptions options) |
Create secret, calls the POST /secrets endpoint. |
public JSONObject [createSecret ](Map< String, String > data, CreateSecretOptions options) |
Create a secret, calls the POST /secrets endpoint. |
public JSONObject [createSecret ](Map< String, String > data) |
Create a secret, calls the POST /secrets endpoint. |
public JSONObject [createSecret ](JSONObject data) |
Create a secret, calls the POST /secrets endpoint. |
public JSONObject [listSecrets ]( ListSecretsOptions options) |
List secrets, calls the GET /secrets endpoint. |
public JSONObject [listSecrets ]() |
List secrets, calls the GET /secrets endpoint. |
public JSONObject [updateSecret ](String secretId, UpdateSecretOptions options) |
Update a secret, calls the PATCH /secrets/{secretId} endpoint. |
public JSONObject [deleteSecret ](String secretId) |
Delete a secret, calls the DELETE /secrets/{secretId} endpoint. |
public JSONObject [createTransition ]( TransitionType transitionType, CreateTransitionOptions options) |
Create a transition, calls the POST /transitions endpoint. |
public JSONObject [createTransition ]( TransitionType transitionType) |
Create a transition, calls the POST /transitions endpoint. |
public JSONObject [listTransitions ]( ListTransitionsOptions options) |
List transitions, calls the GET /transitions endpoint. |
public JSONObject [listTransitions ]() |
List transitions, calls the GET /transitions endpoint. |
public JSONObject [getTransition ](String transitionId) |
Get transition, calls the GET /transitions/{transitionId} endpoint. |
public JSONObject [updateTransition ](String transitionId, UpdateTransitionOptions options) |
Updates a transition, calls the PATCH /transitions/{transitionId} endpoint. |
public JSONObject [executeTransition ](String transitionId) |
Start executing a manual transition, calls the POST /transitions/{transitionId}/executions endpoint. |
public JSONObject [deleteTransition ](String transitionId) |
Delete a transition, calls the DELETE /transitions/{transitionId} endpoint. Will fail if transition is in use by one or more workflows. |
public JSONObject [listTransitionExecutions ](String transitionId, ListTransitionExecutionsOptions options) |
List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint. |
public JSONObject [listTransitionExecutions ](String transitionId) |
List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint. |
public JSONObject [getTransitionExecution ](String transitionId,String executionId) |
Get an execution of a transition, calls the GET /transitions/{transitionId}/executions/{executionId} endpoint |
public JSONObject [updateTransitionExecution ](String transitionId,String executionId, TransitionExecutionStatus status, UpdateTransitionExecutionOptions options) |
Ends the processing of the transition execution, calls the PATCH /transitions/{transitionId}/executions/{executionId} endpoint. |
public JSONObject [sendHeartbeat ](String transitionId,String executionId) |
Send heartbeat for a manual execution to signal that we are still working on it. Must be done at minimum once every 60 seconds or the transition execution will time out, calls the POST /transitions/{transitionId}/executions/{executionId}/heartbeats endpoint. |
public JSONObject [createUser ](String email, CreateUserOptions options) |
Create a user, calls the POST /users endpoint. |
public JSONObject [createUser ](String email) |
Create a user, calls the POST /users endpoint. |
public JSONObject [listUsers ]( ListUsersOptions options) |
List users, calls the GET /users endpoint. |
public JSONObject [listUsers ]() |
List users, calls the GET /users endpoint. |
public JSONObject [getUser ](String userId) |
Get user, calls the GET /users/{userId} endpoint. |
public JSONObject [updateUser ](String userId, UpdateUserOptions options) |
Updates a user, calls the PATCH /users/{userId} endpoint. |
public JSONObject [deleteUser ](String userId) |
Delete a user, calls the PATCH /users/{userId} endpoint. |
public JSONObject [createWorkflow ](JSONObject specification, CreateWorkflowOptions options) |
Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve |
public JSONObject [createWorkflow ](JSONObject specification) |
Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve |
public JSONObject [listWorkflows ]( ListWorkflowsOptions options) |
List workflows, calls the GET /workflows endpoint. |
public JSONObject [listWorkflows ]() |
List workflows, calls the GET /workflows endpoint. |
public JSONObject [getWorkflow ](String workflowId) |
Get workflow, calls the GET /workflows/{workflowId} endpoint. |
public JSONObject [updateWorkflow ](String workflowId, UpdateWorkflowOptions options) |
Update a workflow, calls the PATCH /workflows/{workflowId} endpoint. |
public JSONObject [deleteWorkflow ](String workflowId) |
Delete a workflow, calls the DELETE /workflows/{workflowId} endpoint. |
public JSONObject [executeWorkflow ](String workflowId,JSONObject content) |
Start a workflow execution, calls the POST /workflows/{workflowId}/executions endpoint. |
public JSONObject [listWorkflowExecutions ](String workflowId, ListWorkflowExecutionsOptions options) |
List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint. |
public JSONObject [listWorkflowExecutions ](String workflowId) |
List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint. |
public JSONObject [deleteWorkflowExecution ](String workflowId,String executionId) |
Delete execution from workflow, calls the DELETE /workflows/{workflowId}/executions/{executionId} endpoint. |
public
[Client
](
Credentials
credentials)
A client to invoke api methods from Lucidtech AI Services.
credentials
[Credentials] to use
See also: [Credentials]
public JSONObject
[createAppClient
](
CreateAppClientOptions
options)
Create an app client, calls the POST /appClients endpoint.
See also: [CreateAppClientOptions]
options
Additional options to include in request body
Asset response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create an app client, calls the POST /appClients endpoint.
Asset response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateAppClient
](String appClientId,
UpdateAppClientOptions
options)
Update an appClient, calls the PATCH /appClients/{appClientId} endpoint.
See also: [UpdateAppClientOptions]
-
appClientId
Id of the appClient -
options
Additional options to include in request body
AppClient response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listAppClients
](
ListAppClientsOptions
options)
List appClients available, calls the GET /appClients endpoint.
See also: [ListAppClientsOptions]
options
Additional options to pass along as query parameters
AppClients response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List appClients available, calls the GET /appClients endpoint.
AppClients response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete an appClient, calls the DELETE /appClients/{appClientId} endpoint.
appClientId
Id of the appClient
AppClient response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createAsset
](byte[] content,
CreateAssetOptions
options)
Create an asset, calls the POST /assets endpoint.
See also: [CreateAssetOptions]
-
content
Binary data -
options
Additional options to include in request body
Asset response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createAsset
](InputStream content,
CreateAssetOptions
options)
Create an asset, calls the POST /assets endpoint.
See also: [CreateAssetOptions]
-
content
Data from input stream -
options
Additional options to include in request body
Asset response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create an asset, calls the POST /assets endpoint.
content
Binary data
Asset response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create an asset, calls the POST /assets endpoint.
content
Data from input stream
Asset response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listAssets
](
ListAssetsOptions
options)
List assets available, calls the GET /assets endpoint.
See also: [ListAssetsOptions]
options
Additional options to pass along as query parameters
Assets response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List assets available, calls the GET /assets endpoint.
Assets response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get asset, calls the GET /assets/{assetId} endpoint.
assetId
Id of the asset
Asset response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateAsset
](String assetId,
UpdateAssetOptions
options)
Update an asset, calls the PATCH /assets/{assetId} endpoint.
See also: [UpdateAssetOptions]
-
assetId
Id of the asset -
options
Additional options to include in request body
Asset response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete an asset, calls the DELETE /assets/{assetId} endpoint.
assetId
Id of the asset
Asset response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createBatch
](
CreateBatchOptions
options)
Create a batch, calls the POST /batches endpoint.
See also: [CreateBatchOptions]
options
Additional options to include in request body
Batch response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create a batch, calls the POST /batches endpoint.
Batch response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateBatch
](String batchId,
UpdateBatchOptions
options)
Update a batch, calls the PATCH /batches/{batchId} endpoint.
See also: [UpdateBatchOptions]
-
batchId
Id of the batch -
options
Additional options to include in request body
Batch response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listBatches
](
ListBatchesOptions
options)
List batches available, calls the GET /batches endpoint.
See also: [ListBatchesOptions]
options
Additional options to pass along as query parameters
Batches response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List batches available, calls the GET /batches endpoint.
Batches response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete a batch, calls the DELETE /batches/{batchId} endpoint.
-
batchId
Id of the batch -
deleteDocuments
Set to true to delete documents in batch before deleting batch
Batch response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete a batch, calls the DELETE /batches/{batchId} endpoint.
batchId
Id of the batch
Batch response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createDocument
](byte[] content,
ContentType
contentType,
CreateDocumentOptions
options)
Create a document, calls the POST /documents endpoint.
See also: [CreateDocumentOptions]
-
content
Binary data -
contentType
A mime type for the document -
options
Additional options to include in request body
Document response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createDocument
](InputStream content,
ContentType
contentType,
CreateDocumentOptions
options)
Create a document, calls the POST /documents endpoint.
See also: [CreateDocumentOptions]
-
content
Data from input stream -
contentType
A mime type for the document -
options
Additional options to include in request body
Document response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createDocument
](InputStream content,
ContentType
contentType)
Create a document, calls the POST /documents endpoint.
See also: [CreateDocumentOptions]
-
content
Data from input stream -
contentType
A mime type for the document
Document response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createDocument
](byte[] content,
ContentType
contentType)
Create a document, calls the POST /documents endpoint.
See also: [CreateDocumentOptions]
-
content
Binary data -
contentType
A mime type for the document
Document response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listDocuments
](
ListDocumentsOptions
options)
List documents, calls the GET /documents endpoint.
See also: [ListDocumentsOptions]
options
Additional options to pass along as query parameters
Documents response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List documents, calls the GET /documents endpoint.
Documents response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[deleteDocuments
](
DeleteDocumentsOptions
options)
Delete documents, calls the DELETE /documents endpoint.
See also: [DeleteDocumentsOptions]
options
Additional options to pass along as query parameters
Documents response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete documents, calls the DELETE /documents endpoint.
See also: [Client::createDocument]
Documents response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get document, calls the GET /documents/{documentId} endpoint.
documentId
Id of the document
Document response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Update document, calls the PATCH /documents/{documentId} endpoint.
See also: [Client::createDocument]
-
documentId
The document id to post groundTruth to. -
groundTruth
List of json objects containing label and value for the ground truth
Document response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get log, calls the GET /logs/{logId} endpoint.
logId
Id of the log
Log response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listLogs
](
ListLogsOptions
options)
List logs, calls the GET /logs endpoint.
See also: [ListLogsOptions]
options
Additional options to pass along as query parameters
Logs response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List logs, calls the GET /logs endpoint.
Logs response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createModel
](int width,int height,
FieldConfig
fieldConfig,
CreateModelOptions
options)
Create a model, calls the POST /models endpoint.
See also: [CreateModelOptions]
See also: [FieldConfig]
-
width
The number of pixels to be used for the input image width of your model -
height
The number of pixels to be used for the input image height of your model -
fieldConfig
Specification of the fields that the model is going to predict -
options
Additional options to include in request body
Model response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createModel
](int width,int height,
FieldConfig
fieldConfig)
Create a model, calls the POST /models endpoint.
See also: [FieldConfig]
-
width
The number of pixels to be used for the input image width of your model -
height
The number of pixels to be used for the input image height of your model -
fieldConfig
Specification of the fields that the model is going to predict
Model response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateModel
](String modelId,
UpdateModelOptions
options)
Updates a model, calls the PATCH /models/{modelId} endpoint.
See also: [UpdateModelOptions]
-
modelId
Id of the model -
options
Additional options to include in request body
Model response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get model, calls the GET /models/{modelId} endpoint.
modelId
Id of the model
Model response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listModels
](
ListModelsOptions
options)
List models, calls the GET /models endpoint.
See also: [ListModelsOptions]
options
Additional options to pass along as query parameters
Models response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List models available, calls the GET /models endpoint.
Models response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createPrediction
](String documentId,String modelId,
CreatePredictionOptions
options)
Create a prediction on a document using specified model, calls the POST /predictions endpoint.
See also: [Client::createDocument]
See also: [CreatePredictionOptions]
-
documentId
The document id to run inference and create a prediction on. -
modelId
The id of the model to use for inference -
options
Additional options to include in request body
Prediction response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create a prediction on a document using specified model, calls the POST /predictions endpoint.
See also: [Client::createDocument]
-
documentId
The document id to run inference and create a prediction on. -
modelId
The id of the model to use for inference
Prediction response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listPredictions
](
ListPredictionsOptions
options)
List predictions available, calls the GET /predictions endpoint.
See also: [ListPredictionsOptions]
options
Additional options to pass along as query parameters
Predictions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List predictions available, calls the GET /predictions endpoint.
Predictions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createSecret
](JSONObject data,
CreateSecretOptions
options)
Create secret, calls the POST /secrets endpoint.
See also: [CreateSecretOptions]
-
data
Key-Value pairs to store secretly -
options
Additional options to include in request body
Secret response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createSecret
](Map< String, String > data,
CreateSecretOptions
options)
Create a secret, calls the POST /secrets endpoint.
See also: [CreateSecretOptions]
-
data
Key-Value pairs to store secretly -
options
Additional options to include in request body
Secret response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create a secret, calls the POST /secrets endpoint.
data
Key-Value pairs to store secretly
Secret response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create a secret, calls the POST /secrets endpoint.
data
Key-Value pairs to store secretly
Secret response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listSecrets
](
ListSecretsOptions
options)
List secrets, calls the GET /secrets endpoint.
See also: [ListSecretsOptions]
options
Additional options to pass along as query parameters
Secrets response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List secrets, calls the GET /secrets endpoint.
Secrets response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateSecret
](String secretId,
UpdateSecretOptions
options)
Update a secret, calls the PATCH /secrets/{secretId} endpoint.
See also: [UpdateSecretOptions]
-
secretId
Id of the secret -
options
Additional options to include in request body
Secret response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete a secret, calls the DELETE /secrets/{secretId} endpoint.
secretId
Id of the secret
Secret response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createTransition
](
TransitionType
transitionType,
CreateTransitionOptions
options)
Create a transition, calls the POST /transitions endpoint.
See also: [CreateTransitionOptions]
See also: TransitionType
-
transitionType
Type of transition -
options
Additional options to include in request body
Transition response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createTransition
](
TransitionType
transitionType)
Create a transition, calls the POST /transitions endpoint.
See also: TransitionType
transitionType
Type of transition
Transition response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listTransitions
](
ListTransitionsOptions
options)
List transitions, calls the GET /transitions endpoint.
See also: [ListTransitionsOptions]
options
Additional options to pass along as query parameters
Transitions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List transitions, calls the GET /transitions endpoint.
Transitions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get transition, calls the GET /transitions/{transitionId} endpoint.
transitionId
Id of the transition
Transition response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateTransition
](String transitionId,
UpdateTransitionOptions
options)
Updates a transition, calls the PATCH /transitions/{transitionId} endpoint.
See also: [UpdateTransitionOptions]
-
transitionId
Id of the transition -
options
Additional options to include in request body
Transition response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Start executing a manual transition, calls the POST /transitions/{transitionId}/executions endpoint.
transitionId
Id of the transition
TransitionExecution response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete a transition, calls the DELETE /transitions/{transitionId} endpoint. Will fail if transition is in use by one or more workflows.
transitionId
Id of the transition
Transition response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listTransitionExecutions
](String transitionId,
ListTransitionExecutionsOptions
options)
List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint.
See also: [ListTransitionExecutionsOptions]
-
transitionId
Id of the transition -
options
Additional options to pass along as query parameters
Transition executions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint.
transitionId
Id of the transition
Transition executions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get an execution of a transition, calls the GET /transitions/{transitionId}/executions/{executionId} endpoint
-
transitionId
Id of the transition -
executionId
Id of the execution
TransitionExecution response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateTransitionExecution
](String transitionId,String executionId,
TransitionExecutionStatus
status,
UpdateTransitionExecutionOptions
options)
Ends the processing of the transition execution, calls the PATCH /transitions/{transitionId}/executions/{executionId} endpoint.
See also: [UpdateTransitionExecutionOptions]
See also: TransitionExecutionStatus
-
transitionId
Id of the transition -
executionId
Id of the execution -
status
Status of the execution -
options
Additional options to include in request body
Transition response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Send heartbeat for a manual execution to signal that we are still working on it. Must be done at minimum once every 60 seconds or the transition execution will time out, calls the POST /transitions/{transitionId}/executions/{executionId}/heartbeats endpoint.
-
transitionId
Id of the transition -
executionId
Id of the execution
Empty response
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createUser
](String email,
CreateUserOptions
options)
Create a user, calls the POST /users endpoint.
See also: [CreateUserOptions]
-
email
Email of the new user -
options
Additional options to include in request body
User response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Create a user, calls the POST /users endpoint.
email
Email to the new user
User response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listUsers
](
ListUsersOptions
options)
List users, calls the GET /users endpoint.
See also: [ListUsersOptions]
options
Additional options to pass along as query parameters
Users response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List users, calls the GET /users endpoint.
Users response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get user, calls the GET /users/{userId} endpoint.
userId
Id of user
User response
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateUser
](String userId,
UpdateUserOptions
options)
Updates a user, calls the PATCH /users/{userId} endpoint.
See also: [UpdateUserOptions]
-
userId
Id of user -
options
Additional options to include in request body
User response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete a user, calls the PATCH /users/{userId} endpoint.
userId
Id of user
User response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[createWorkflow
](JSONObject specification,
CreateWorkflowOptions
options)
Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve
See also: [CreateWorkflowOptions]
-
specification
Specification of the workflow, currently supporting ASL: https://states-language.net/spec.html. Check out the tutorials for more information: see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve#creating-the-workflow -
options
Additional options to include in request body
Workflow response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve
specification
Specification of the workflow, currently supporting ASL: https://states-language.net/spec.html. Check out the tutorials for more information: see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve#creating-the-workflow
Workflow response from API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listWorkflows
](
ListWorkflowsOptions
options)
List workflows, calls the GET /workflows endpoint.
See also: [ListWorkflowsOptions]
options
Additional options to pass along as query parameters
Workflows response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List workflows, calls the GET /workflows endpoint.
Workflows response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Get workflow, calls the GET /workflows/{workflowId} endpoint.
workflowId
Id of the workflow
Workflow response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[updateWorkflow
](String workflowId,
UpdateWorkflowOptions
options)
Update a workflow, calls the PATCH /workflows/{workflowId} endpoint.
See also: [UpdateWorkflowOptions]
-
workflowId
Id of the workflow -
options
Additional options to include in request body
Workflow response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete a workflow, calls the DELETE /workflows/{workflowId} endpoint.
See also: [Client::createWorkflow]
workflowId
Id of the workflow
Workflow response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Start a workflow execution, calls the POST /workflows/{workflowId}/executions endpoint.
-
workflowId
Id of the workflow -
content
Input to the first step of the workflow
WorkflowExecution response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
public JSONObject
[listWorkflowExecutions
](String workflowId,
ListWorkflowExecutionsOptions
options)
List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint.
See also: [ListWorkflowExecutionsOptions]
-
workflowId
Id of the workflow -
options
Additional options to pass along as query parameters
Workflow executions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint.
workflowId
Id of the workflow
Workflow executions response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
Delete execution from workflow, calls the DELETE /workflows/{workflowId}/executions/{executionId} endpoint.
See also: [Client::executeWorkflow]
-
workflowId
Id of the workflow -
executionId
Id of the execution
WorkflowExecution response from REST API
-
IOException
General IOException -
[APIException]
Raised when API returns an erroneous status code -
[MissingAccessTokenException]
Raised if access token cannot be obtained
class ai::lucidtech::las::sdk::CreateAppClientOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateAppClientOptions >
Members | Descriptions |
---|---|
public [CreateAppClientOptions ] setCallbackUrls (String[] callbackUrls) |
|
public [CreateAppClientOptions ] setLogoutUrls (String[] logoutUrls) |
|
public [CreateAppClientOptions ] setLoginUrls (String[] loginUrls) |
|
public [CreateAppClientOptions ] setDefaultLoginUrl (String defaultLoginUrl) |
|
public [CreateAppClientOptions ] setGenerateSecret (Boolean generateSecret) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreateAppClientOptions
] setCallbackUrls
(String[] callbackUrls)
public
[CreateAppClientOptions
] setLogoutUrls
(String[] logoutUrls)
public
[CreateAppClientOptions
] setLoginUrls
(String[] loginUrls)
public
[CreateAppClientOptions
] setDefaultLoginUrl
(String defaultLoginUrl)
public
[CreateAppClientOptions
] setGenerateSecret
(Boolean generateSecret)
class ai::lucidtech::las::sdk::CreateAssetOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateAssetOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::CreateBatchOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateBatchOptions >
Members | Descriptions |
---|---|
public [CreateBatchOptions ] setContainsPersonallyIdentifiableInformation (Boolean containsPersonallyIdentifiableInformation) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreateBatchOptions
] setContainsPersonallyIdentifiableInformation
(Boolean containsPersonallyIdentifiableInformation)
class ai::lucidtech::las::sdk::CreateDocumentOptions
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [CreateDocumentOptions ] setConsentId (String consentId) |
|
public [CreateDocumentOptions ] setBatchId (String batchId) |
|
public [CreateDocumentOptions ] setGroundTruth (JSONArray groundTruth) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreateDocumentOptions
] setConsentId
(String consentId)
public
[CreateDocumentOptions
] setBatchId
(String batchId)
public
[CreateDocumentOptions
] setGroundTruth
(JSONArray groundTruth)
class ai::lucidtech::las::sdk::CreateModelOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateModelOptions >
Members | Descriptions |
---|---|
public [CreateModelOptions ] setPreprocessConfig ( PreprocessConfig preprocessConfig) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreateModelOptions
] setPreprocessConfig
(
PreprocessConfig
preprocessConfig)
class ai::lucidtech::las::sdk::CreatePredictionOptions
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [CreatePredictionOptions ] setMaxPages (int maxPages) |
|
public [CreatePredictionOptions ] setAutoRotate (boolean autoRotate) |
|
public [CreatePredictionOptions ] setImageQuality ( ImageQuality imageQuality) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreatePredictionOptions
] setMaxPages
(int maxPages)
public
[CreatePredictionOptions
] setAutoRotate
(boolean autoRotate)
public
[CreatePredictionOptions
] setImageQuality
(
ImageQuality
imageQuality)
class ai::lucidtech::las::sdk::CreateSecretOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateSecretOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::CreateTransitionOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateTransitionOptions >
Members | Descriptions |
---|---|
public [CreateTransitionOptions ] setParameters ( TransitionParameters parameters) |
|
public [CreateTransitionOptions ] setInputJsonSchema (JSONObject inputJsonSchema) |
|
public [CreateTransitionOptions ] setOutputJsonSchema (JSONObject outputJsonSchema) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreateTransitionOptions
] setParameters
(
TransitionParameters
parameters)
public
[CreateTransitionOptions
] setInputJsonSchema
(JSONObject inputJsonSchema)
public
[CreateTransitionOptions
] setOutputJsonSchema
(JSONObject outputJsonSchema)
class ai::lucidtech::las::sdk::CreateUserOptions
: public ai.lucidtech.las.sdk.UserOptions< CreateUserOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::CreateWorkflowOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateWorkflowOptions >
Members | Descriptions |
---|---|
public [CreateWorkflowOptions ] setCompletedConfig ( WorkflowCompletedConfig completedConfig) |
|
public [CreateWorkflowOptions ] setErrorConfig ( WorkflowErrorConfig errorConfig) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[CreateWorkflowOptions
] setCompletedConfig
(
WorkflowCompletedConfig
completedConfig)
public
[CreateWorkflowOptions
] setErrorConfig
(
WorkflowErrorConfig
errorConfig)
Members | Descriptions |
---|---|
public [Credentials ](String clientId,String clientSecret,String apiKey,String authEndpoint,String apiEndpoint) |
Used to fetch and store credentials. |
public String [getAccessToken ](HttpClient httpClient) |
#### Parameters |
public String [getApiKey ]() |
|
public String [getApiEndpoint ]() |
public
[Credentials
](String clientId,String clientSecret,String apiKey,String authEndpoint,String apiEndpoint)
Used to fetch and store credentials.
-
clientId
[Client] id -
clientSecret
[Client] secret -
apiKey
API key -
authEndpoint
Auth endpoint -
apiEndpoint
Domain endpoint of the api, e.g. https://{prefix}.api.lucidtech.ai/{version}
[MissingCredentialsException]
Raised if some of credentials are missing
httpClient
Instance of HttpClient used to access the authentication endpoint
Access token, downloading it if necessary
[MissingAccessTokenException]
Raised if access token cannot be obtained
class ai::lucidtech::las::sdk::DeleteDocumentsOptions
: public ai.lucidtech.las.sdk.DeleteResourcesOptions< DeleteDocumentsOptions >
Members | Descriptions |
---|---|
public [DeleteDocumentsOptions ] setConsentId (String[] consentId) |
|
public [DeleteDocumentsOptions ] setBatchId (String[] batchId) |
|
public List< NameValuePair > [toList ]() |
public
[DeleteDocumentsOptions
] setConsentId
(String[] consentId)
public
[DeleteDocumentsOptions
] setBatchId
(String[] batchId)
Members | Descriptions |
---|---|
public T [setMaxResults ](int maxResults) |
|
public T [setNextToken ](String nextToken) |
|
public List< NameValuePair > [toList ]() |
|
public List< NameValuePair > [addOptions ](List< NameValuePair > parameters) |
|
protected Integer [maxResults ] |
|
protected String [nextToken ] |
|
protected void [addOption ](List< NameValuePair > parameters,String key,String value) |
|
protected void [addOption ](List< NameValuePair > parameters,String key,String[] value) |
|
protected void [addOption ](List< NameValuePair > parameters,String key,Integer value) |
class ai::lucidtech::las::sdk::DockerTransitionParameters
: public ai.lucidtech.las.sdk.TransitionParameters
Members | Descriptions |
---|---|
public [DockerTransitionParameters ] setImageUrl (String imageUrl) |
|
public [DockerTransitionParameters ] setSecretId (String secretId) |
|
public [DockerTransitionParameters ] setMemory (Integer memory) |
|
public [DockerTransitionParameters ] setCpu (Integer cpu) |
|
public [DockerTransitionParameters ] setEnvironmentSecrets (String[] environmentSecrets) |
|
public [DockerTransitionParameters ] setEnvironment (Map< String, String > environment) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[DockerTransitionParameters
] setImageUrl
(String imageUrl)
public
[DockerTransitionParameters
] setSecretId
(String secretId)
public
[DockerTransitionParameters
] setMemory
(Integer memory)
public
[DockerTransitionParameters
] setCpu
(Integer cpu)
public
[DockerTransitionParameters
] setEnvironmentSecrets
(String[] environmentSecrets)
public
[DockerTransitionParameters
] setEnvironment
(Map< String, String > environment)
class ai::lucidtech::las::sdk::Field
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public String [name ] |
|
public [Field ](String name, FieldType fieldType,Integer maxLength) |
|
public [Field ] setName (String name) |
|
public [Field ] setFieldType ( FieldType fieldType) |
|
public [Field ] setMaxLength (Integer maxLength) |
|
public [Field ] setDescription (String description) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[Field
](String name,
FieldType
fieldType,Integer maxLength)
public
[Field
] setName
(String name)
public
[Field
] setFieldType
(
FieldType
fieldType)
public
[Field
] setMaxLength
(Integer maxLength)
public
[Field
] setDescription
(String description)
class ai::lucidtech::las::sdk::FieldConfig
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [FieldConfig ] addField ( Field field) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
class ai::lucidtech::las::sdk::ListAppClientsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListAppClientsOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ListAssetsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListAssetsOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ListBatchesOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListBatchesOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ListDocumentsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListDocumentsOptions >
Members | Descriptions |
---|---|
public [ListDocumentsOptions ] setConsentId (String consentId) |
|
public [ListDocumentsOptions ] setBatchId (String batchId) |
|
public List< NameValuePair > [toList ]() |
public
[ListDocumentsOptions
] setConsentId
(String consentId)
public
[ListDocumentsOptions
] setBatchId
(String batchId)
class ai::lucidtech::las::sdk::ListLogsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListLogsOptions >
Members | Descriptions |
---|---|
public [ListLogsOptions ] setTransitionId (String transitionId) |
|
public [ListLogsOptions ] setTransitionExecutionId (String transitionExecutionId) |
|
public [ListLogsOptions ] setWorkflowId (String workflowId) |
|
public [ListLogsOptions ] setWorkflowExecutionId (String workflowExecutionId) |
|
public List< NameValuePair > [toList ]() |
public
[ListLogsOptions
] setTransitionId
(String transitionId)
public
[ListLogsOptions
] setTransitionExecutionId
(String transitionExecutionId)
public
[ListLogsOptions
] setWorkflowId
(String workflowId)
public
[ListLogsOptions
] setWorkflowExecutionId
(String workflowExecutionId)
class ai::lucidtech::las::sdk::ListModelsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListModelsOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ListPredictionsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListPredictionsOptions >
Members | Descriptions |
---|
Members | Descriptions |
---|---|
public T [setMaxResults ](int maxResults) |
|
public T [setNextToken ](String nextToken) |
|
public List< NameValuePair > [toList ]() |
|
public List< NameValuePair > [addOptions ](List< NameValuePair > parameters) |
|
protected void [addOption ](List< NameValuePair > parameters,String key,String value) |
|
protected void [addOption ](List< NameValuePair > parameters,String key,String[] value) |
|
protected void [addOption ](List< NameValuePair > parameters,String key,List< String > value) |
|
protected void [addOption ](List< NameValuePair > parameters,String key,Integer value) |
class ai::lucidtech::las::sdk::ListSecretsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListSecretsOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ListSortablesOptions
: public ai::lucidtech::las::sdk::ListResourcesOptions< T >
Members | Descriptions |
---|---|
public T [setSortBy ](String sortBy) |
|
public T [setOrder ]( Order order) |
|
public List< NameValuePair > [toList ]() |
|
public List< NameValuePair > [addOptions ](List< NameValuePair > parameters) |
|
protected String [sortBy ] |
|
protected Order [order ] |
public T
[setOrder
](
Order
order)
protected
Order
[order
]
class ai::lucidtech::las::sdk::ListTransitionExecutionsOptions
: public ai.lucidtech.las.sdk.ListSortablesOptions< ListTransitionExecutionsOptions >
Members | Descriptions |
---|---|
public [ListTransitionExecutionsOptions ] setExecutionId (List< String > executionId) |
|
public [ListTransitionExecutionsOptions ] setExecutionId (String executionId) |
|
public [ListTransitionExecutionsOptions ] setStatus (List< TransitionExecutionStatus > status) |
|
public [ListTransitionExecutionsOptions ] setStatus ( TransitionExecutionStatus status) |
|
public List< NameValuePair > [toList ]() |
|
public List< NameValuePair > [addOptions ](List< NameValuePair > parameters) |
public
[ListTransitionExecutionsOptions
] setExecutionId
(List< String > executionId)
public
[ListTransitionExecutionsOptions
] setExecutionId
(String executionId)
public
[ListTransitionExecutionsOptions
] setStatus
(List<
TransitionExecutionStatus
> status)
public
[ListTransitionExecutionsOptions
] setStatus
(
TransitionExecutionStatus
status)
class ai::lucidtech::las::sdk::ListTransitionsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListTransitionsOptions >
Members | Descriptions |
---|---|
public [ListTransitionsOptions ] setTransitionType ( TransitionType transitionType) |
|
public List< NameValuePair > [toList ]() |
public
[ListTransitionsOptions
] setTransitionType
(
TransitionType
transitionType)
class ai::lucidtech::las::sdk::ListUsersOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListUsersOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ListWorkflowExecutionsOptions
: public ai.lucidtech.las.sdk.ListSortablesOptions< ListWorkflowExecutionsOptions >
Members | Descriptions |
---|---|
public [ListWorkflowExecutionsOptions ] setStatus (List< WorkflowExecutionStatus > status) |
|
public [ListWorkflowExecutionsOptions ] setStatus ( WorkflowExecutionStatus status) |
|
public List< NameValuePair > [toList ]() |
|
public List< NameValuePair > [addOptions ](List< NameValuePair > parameters) |
public
[ListWorkflowExecutionsOptions
] setStatus
(List<
WorkflowExecutionStatus
> status)
public
[ListWorkflowExecutionsOptions
] setStatus
(
WorkflowExecutionStatus
status)
class ai::lucidtech::las::sdk::ListWorkflowsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListWorkflowsOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::ManualTransitionParameters
: public ai.lucidtech.las.sdk.TransitionParameters
Members | Descriptions |
---|---|
public [ManualTransitionParameters ] setAssets (Map< String, String > assets) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[ManualTransitionParameters
] setAssets
(Map< String, String > assets)
class ai::lucidtech::las::sdk::MissingAccessTokenException
: public Exception
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::MissingCredentialsException
: public Exception
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::NameAndDescriptionOptions
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public T [setName ](String name) |
|
public T [setDescription ](String description) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
Members | Descriptions |
---|---|
public Boolean [hasEditedValue ] |
|
public [NullableString ]() |
|
public void [setValue ](String value) |
Members | Descriptions |
---|---|
public abstract JSONObject [addOptions ](JSONObject body) |
|
protected void [addOption ](JSONObject body,String key,NullableString value) |
|
protected void [addOption ](JSONObject body,String key,String value) |
|
protected void [addOption ](JSONObject body,String key,String[] value) |
|
protected void [addOption ](JSONObject body,String key,Map< String, String > value) |
|
protected void [addOption ](JSONObject body,String key,Boolean value) |
|
protected void [addOption ](JSONObject body,String key,Integer value) |
|
protected void [addOption ](JSONObject body,String key,JSONArray value) |
|
protected void [addOption ](JSONObject body,String key,JSONObject value) |
|
protected void [addOption ](JSONObject body,String key, Options value) |
protected void
[addOption
](JSONObject body,String key,
Options
value)
class ai::lucidtech::las::sdk::PreprocessConfig
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [PreprocessConfig ] setImageQuality ( ImageQuality imageQuality) |
|
public [PreprocessConfig ] setAutoRotate (Boolean autoRotate) |
|
public [PreprocessConfig ] setMaxPages (Integer maxPages) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[PreprocessConfig
] setImageQuality
(
ImageQuality
imageQuality)
public
[PreprocessConfig
] setAutoRotate
(Boolean autoRotate)
public
[PreprocessConfig
] setMaxPages
(Integer maxPages)
class ai::lucidtech::las::sdk::TransitionParameters
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public abstract JSONObject [addOptions ](JSONObject body) |
class ai::lucidtech::las::sdk::UpdateAppClientOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateAppClientOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::UpdateAssetOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateAssetOptions >
Members | Descriptions |
---|---|
public [UpdateAssetOptions ] setContent (byte[] content) |
|
public [UpdateAssetOptions ] setContent (InputStream content) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
public
[UpdateAssetOptions
] setContent
(byte[] content)
public
[UpdateAssetOptions
] setContent
(InputStream content)
class ai::lucidtech::las::sdk::UpdateBatchOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateBatchOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::UpdateModelOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateModelOptions >
Members | Descriptions |
---|---|
public [UpdateModelOptions ] setWidth (Integer width) |
|
public [UpdateModelOptions ] setHeight (Integer height) |
|
public [UpdateModelOptions ] setFieldConfig ( FieldConfig fieldConfig) |
|
public [UpdateModelOptions ] setModelStatus ( ModelStatus modelStatus) |
|
public [UpdateModelOptions ] setPreprocessConfig ( PreprocessConfig preprocessConfig) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
public
[UpdateModelOptions
] setWidth
(Integer width)
public
[UpdateModelOptions
] setHeight
(Integer height)
public
[UpdateModelOptions
] setFieldConfig
(
FieldConfig
fieldConfig)
public
[UpdateModelOptions
] setModelStatus
(
ModelStatus
modelStatus)
public
[UpdateModelOptions
] setPreprocessConfig
(
PreprocessConfig
preprocessConfig)
class ai::lucidtech::las::sdk::UpdateSecretOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateSecretOptions >
Members | Descriptions |
---|---|
public [UpdateSecretOptions ] setData (JSONObject data) |
|
public [UpdateSecretOptions ] setData (Map< String, String > data) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
public
[UpdateSecretOptions
] setData
(JSONObject data)
public
[UpdateSecretOptions
] setData
(Map< String, String > data)
class ai::lucidtech::las::sdk::UpdateTransitionExecutionOptions
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [UpdateTransitionExecutionOptions ] setOutput (JSONObject error) |
|
public [UpdateTransitionExecutionOptions ] setError (JSONObject output) |
|
public [UpdateTransitionExecutionOptions ] setStartTime (String startTime) |
|
public [UpdateTransitionExecutionOptions ] setStartTime (ZonedDateTime startTime) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
public
[UpdateTransitionExecutionOptions
] setOutput
(JSONObject error)
public
[UpdateTransitionExecutionOptions
] setError
(JSONObject output)
public
[UpdateTransitionExecutionOptions
] setStartTime
(String startTime)
public
[UpdateTransitionExecutionOptions
] setStartTime
(ZonedDateTime startTime)
class ai::lucidtech::las::sdk::UpdateTransitionOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateTransitionOptions >
Members | Descriptions |
---|---|
public [UpdateTransitionOptions ] setInputJsonSchema (JSONObject schema) |
|
public [UpdateTransitionOptions ] setOutputJsonSchema (JSONObject schema) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
public
[UpdateTransitionOptions
] setInputJsonSchema
(JSONObject schema)
public
[UpdateTransitionOptions
] setOutputJsonSchema
(JSONObject schema)
class ai::lucidtech::las::sdk::UpdateUserOptions
: public ai.lucidtech.las.sdk.UserOptions< UpdateUserOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::UpdateWorkflowOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateWorkflowOptions >
Members | Descriptions |
---|
class ai::lucidtech::las::sdk::UserOptions
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public T [setName ](String name) |
|
public T [setAvatar ](String avatar) |
|
public T [setAvatar ](byte[] avatar) |
|
public JSONObject [addOptions ](JSONObject body) |
|
public JSONObject [toJson ]() |
class ai::lucidtech::las::sdk::WorkflowCompletedConfig
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [WorkflowCompletedConfig ] setImageUrl (String imageUrl) |
|
public [WorkflowCompletedConfig ] setSecretId (String secretId) |
|
public [WorkflowCompletedConfig ] setEnvironmentSecrets (String[] environmentSecrets) |
|
public [WorkflowCompletedConfig ] setEnvironment (Map< String, String > environment) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[WorkflowCompletedConfig
] setImageUrl
(String imageUrl)
public
[WorkflowCompletedConfig
] setSecretId
(String secretId)
public
[WorkflowCompletedConfig
] setEnvironmentSecrets
(String[] environmentSecrets)
public
[WorkflowCompletedConfig
] setEnvironment
(Map< String, String > environment)
class ai::lucidtech::las::sdk::WorkflowErrorConfig
: public ai.lucidtech.las.sdk.Options
Members | Descriptions |
---|---|
public [WorkflowErrorConfig ] setEmail (String email) |
|
public [WorkflowErrorConfig ] setManualRetry (Boolean manualRetry) |
|
public JSONObject [addOptions ](JSONObject body) |
public
[WorkflowErrorConfig
] setEmail
(String email)
public
[WorkflowErrorConfig
] setManualRetry
(Boolean manualRetry)
Generated by Moxygen