Skip to content
Dashboard

Resume task

client.agent.tasks.resume(stringid, RequestOptionsoptions?): TaskResumeResponse { status }
POST/agent/tasks/{id}/resume

Resumes a paused agent task.

ParametersExpand Collapse
id: string
ReturnsExpand Collapse
TaskResumeResponse { status }
status?: string

Resume task

import Lightcone from '@tzafon/lightcone';

const client = new Lightcone({
  apiKey: process.env['TZAFON_API_KEY'], // This is the default and can be omitted
});

const response = await client.agent.tasks.resume('id');

console.log(response.status);
{
  "status": "status"
}
Returns Examples
{
  "status": "status"
}