Skip to main content
POST
Run a scheduled task
Enqueues one run of a scheduled task owned by this workspace API key. The call returns when the run is queued. It does not wait for the conversation. conversationId in this response is always null. Use runId to identify the queued run.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Required scopes

This endpoint requires the AUTOMATION_API scope (Scheduled Tasks API) on a workspace API key.

Parameters

This endpoint has no body. You can run a paused task. The run does not by itself set active back to true.

Example

Response format

Success response (200 OK)

Error handling

Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.

Authorizations

Authorization
string
header
required

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Path Parameters

automationId
string<uuid>
required

Response

Run queued. Body is runId and conversationId null.