Salesforce

Java API endpoint: getEngineLaunchDetail

« Go Back
Information
Java API endpoint: getEngineLaunchDetail
000008801
Public
Product Selection
aiWare - API
Article Details

GetEngineLaunchResponse getEngineLaunchDetail(engineID, launchID, createdBefore, createdAfter, offset, limit, orderBy, direction)

This API returns the list of launches for this engine.

Example

// Import classes:
import com.veritone.aiware.ApiClient;
import com.veritone.aiware.ApiException;
import com.veritone.aiware.Configuration;
import com.veritone.aiware.auth.*;
import com.veritone.aiware.models.*;
import com.veritone.aiware.edge.EngineApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.aiware.com/edge/v1");
    
    // Configure API key authorization: api_key
    ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
    api_key.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //api_key.setApiKeyPrefix("Token");

    EngineApi apiInstance = new EngineApi(defaultClient);
    UUID engineID = new UUID(); // UUID | ID of Engine
    UUID launchID = new UUID(); // UUID | ID of Launch
    Long createdBefore = 56L; // Long | Filter items where created date is before this date
    Long createdAfter = 56L; // Long | Filter items where created date is after this date
    Long offset = 56L; // Long | the number of data to skip before getting the result set
    Long limit = 10lL; // Long | the number of items to return.
    String orderBy = "\"createdDateTime\""; // String | the field to sort
    String direction = "\"DESC\""; // String | the sort order.  ASC or DESC.
    try {
      GetEngineLaunchResponse result = apiInstance.getEngineLaunchDetail(engineID, launchID, createdBefore, createdAfter, offset, limit, orderBy, direction);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling EngineApi#getEngineLaunchDetail");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

NameTypeDescriptionNotes
engineIDUUIDID of Engine
launchIDUUIDID of Launch
createdBeforeLongFilter items where created date is before this date[optional]
createdAfterLongFilter items where created date is after this date[optional]
offsetLongthe number of data to skip before getting the result set[optional]
limitLongthe number of items to return.[optional] [default to 10l]
orderByStringthe field to sort[optional] [default to "createdDateTime"]
directionStringthe sort order. ASC or DESC.[optional] [default to "DESC"]

Return type

GetEngineLaunchResponse

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Returns detail on a specific launch* X-Aiware-Version -
* X-Correlation-Id -
400Invalid argument. Please see the error response for more information.* X-Aiware-Version -
* X-Correlation-Id -
401Not authorized* X-Aiware-Version -
* X-Correlation-Id -
403Forbidden* X-Aiware-Version -
* X-Correlation-Id -
404Not Found* X-Aiware-Version -
* X-Correlation-Id -
405The request is not allowed.* X-Aiware-Version -
* X-Correlation-Id -
429Too Many Requests* Retry-After -
* X-Aiware-Version -
* X-Correlation-Id -
501Not Implemented* X-Aiware-Version -
* X-Correlation-Id -
503System Unavailable* Retry-After -
* X-Aiware-Version -
* X-Correlation-Id -

 

Additional Technical Documentation Information
Properties
5/16/2025 10:25 PM
5/16/2025 10:27 PM
5/16/2025 10:27 PM
Documentation
Documentation
000008801
Translation Information
English

Powered by