Skip to main content

OpenclawApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
estimateOpenClawLightsailLaunchPOST OpenclawApiEstimate 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

NameTypeDescriptionNotes
openClawLightsailLaunchRequestOpenClawLightsailLaunchRequest

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

NameTypeDescriptionNotes
idempotencyKeyStringRequest idempotency key for dedupe-safe launch and credit debit retries
openClawLightsailLaunchRequestOpenClawLightsailLaunchRequest

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

NameTypeDescriptionNotes
launchIdUUIDLaunch identifier returned by the one-click OpenClaw Lightsail launcher
accountIdUUIDOwning customer account. Defaults to the authenticated principal when omitted.[optional]
reasonStringOperator-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 VERSIONcom.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-05-16T11:45:23.900207-07:00[America/Los_Angeles]