OpenclawApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| estimateOpenClawLightsailLaunch | POST OpenclawApi | Estimate prepaid credits for a one-click OpenClaw Lightsail launch |
estimateOpenClawLightsailLaunch
OpenClawLightsailLaunchEstimate
estimateOpenClawLightsailLaunch(openClawLightsailLaunchRequest)
Estimate prepaid credits for a one-click OpenClaw Lightsail launch
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OpenclawApi;
OpenclawApi apiInstance = new OpenclawApi();
OpenClawLightsailLaunchRequest openClawLightsailLaunchRequest = new OpenClawLightsailLaunchRequest(); // OpenClawLightsailLaunchRequest |
try {
OpenClawLightsailLaunchEstimate result = apiInstance.estimateOpenClawLightsailLaunch(openClawLightsailLaunchRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OpenclawApi#estimateOpenClawLightsailLaunch");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| openClawLightsailLaunchRequest | OpenClawLightsailLaunchRequest |
Return type
OpenClawLightsailLaunchEstimate
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
launchOpenClawLightsail
OpenClawLightsailLaunchResponse
launchOpenClawLightsail(idempotencyKeyopenClawLightsailLaunchRequest)
Launch a prepaid OpenClaw runtime on AWS Lightsail
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OpenclawApi;
OpenclawApi apiInstance = new OpenclawApi();
String idempotencyKey = "idempotencyKey_example"; // String | Request idempotency key for dedupe-safe launch and credit debit retries
OpenClawLightsailLaunchRequest openClawLightsailLaunchRequest = new OpenClawLightsailLaunchRequest(); // OpenClawLightsailLaunchRequest |
try {
OpenClawLightsailLaunchResponse result = apiInstance.launchOpenClawLightsail(idempotencyKeyopenClawLightsailLaunchRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OpenclawApi#launchOpenClawLightsail");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| idempotencyKey | String | Request idempotency key for dedupe-safe launch and credit debit retries | |
| openClawLightsailLaunchRequest | OpenClawLightsailLaunchRequest |
Return type
OpenClawLightsailLaunchResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
shutdownOpenClawLightsailLaunch
OpenClawLightsailLaunchResponse
shutdownOpenClawLightsailLaunch(launchIdaccountIdreason)
Immediately shut down an OpenClaw Lightsail runtime
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.OpenclawApi;
OpenclawApi apiInstance = new OpenclawApi();
UUID launchId = UUID.randomUUID(); // UUID | Launch identifier returned by the one-click OpenClaw Lightsail launcher
UUID accountId = UUID.randomUUID(); // UUID | Owning customer account. Defaults to the authenticated principal when omitted.
String reason = "reason_example"; // String | Operator-visible reason for the shutdown event.
try {
OpenClawLightsailLaunchResponse result = apiInstance.shutdownOpenClawLightsailLaunch(launchIdaccountIdreason);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OpenclawApi#shutdownOpenClawLightsailLaunch");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| launchId | UUID | Launch identifier returned by the one-click OpenClaw Lightsail launcher | |
| accountId | UUID | Owning customer account. Defaults to the authenticated principal when omitted. | [optional] |
| reason | String | Operator-visible reason for the shutdown event. | [optional] |
Return type
OpenClawLightsailLaunchResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2026-05-16T11:45:23.900207-07:00[America/Los_Angeles] |