import { Configuration, RunApi } from 'autotab';
const runClient = new RunApi(new Configuration({
apiKey: process.env['AUTOTAB_API_KEY'],
}));
async function main() {
const run = await runClient.start({
runSkillRequest: {
skillId: "skill_fe517503-384a-45c5-87a3-94f98126e626"
}
});
console.log("result:", run);
}
main();
{
"id": "<string>",
"skill_id": "<string>",
"owner": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"environment": "client",
"start_time": "2023-11-07T05:31:56Z",
"name": "<string>",
"end_time": "2023-11-07T05:31:56Z",
"state": "play",
"inputs": {},
"data": {},
"video_url": "<string>"
}
import { Configuration, RunApi } from 'autotab';
const runClient = new RunApi(new Configuration({
apiKey: process.env['AUTOTAB_API_KEY'],
}));
async function main() {
const run = await runClient.start({
runSkillRequest: {
skillId: "skill_fe517503-384a-45c5-87a3-94f98126e626"
}
});
console.log("result:", run);
}
main();
{
"id": "<string>",
"skill_id": "<string>",
"owner": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"environment": "client",
"start_time": "2023-11-07T05:31:56Z",
"name": "<string>",
"end_time": "2023-11-07T05:31:56Z",
"state": "play",
"inputs": {},
"data": {},
"video_url": "<string>"
}
Your Autotab API key
Successful Response
The response is of type object
.