Start an asynchronous app execution. Returns immediately with an execution ID and pre-created output placeholders.
Providing inputs:
inputs object with parameter names as keys (from the Get App response)options parameters, send the option label (e.g. "Caucasian", not an internal value)url parameters, send a publicly accessible URLtext parameters, send a string valueAfter starting:
You can poll GET /api/executions/{executionId} every 3-5 seconds, use a webhook
to receive results automatically, or do both — they work side by side.
Webhook (optional, recommended for agents):
Pass ?webhook=https://your-server.com/callback as a query parameter. When the execution
completes, we POST the results to your URL — same structure as the polling response, signed
with ED25519 for verification. The polling endpoint still works regardless, so you can use
it as a fallback or for safety checks. See the Webhook Verification endpoint for details.
executionId.
?webhook=https://your-server.com/callback as a query parameter. When the execution completes, we POST the results to your URL with the same structure as the polling response.
GET /api/executions/{executionId} every 3-5 seconds until status is completed.Workspace API key. Prefix: lma_. Example: lma_abc123...
The app ID (UUID) from the List Apps response
URL to receive execution results when complete. We POST the same payload as the polling endpoint, signed with ED25519. Must be https or http.
Parameter values keyed by parameter name (from the Get App response). Keys are case-sensitive and must match exactly.
{
"Upload": "https://example.com/my-photo.jpg",
"Style": "Disney / Pixar",
"Aspect Ratio": "1:1"
}Execution started. Poll GET /api/executions/{executionId} for results.
Returned when execution starts. All output values are null initially.