import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const task = await client.tasks.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(task.task);{
"task": {
"deviceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"llmModel": "openai/gpt-5",
"task": "<string>",
"userId": "<string>",
"apps": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"credentials": [
{
"credentialNames": [
"<string>"
],
"packageName": "<string>"
}
],
"executionTimeout": 1000,
"files": [
"<string>"
],
"finishedAt": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"maxSteps": 100,
"output": {},
"outputSchema": {},
"reasoning": true,
"status": "created",
"steps": 123,
"succeeded": true,
"temperature": 0.5,
"trajectory": [
{}
],
"updatedAt": "2023-11-07T05:31:56Z",
"vision": false,
"vpnCountry": "US"
}
}import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const task = await client.tasks.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(task.task);{
"task": {
"deviceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"llmModel": "openai/gpt-5",
"task": "<string>",
"userId": "<string>",
"apps": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"credentials": [
{
"credentialNames": [
"<string>"
],
"packageName": "<string>"
}
],
"executionTimeout": 1000,
"files": [
"<string>"
],
"finishedAt": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"maxSteps": 100,
"output": {},
"outputSchema": {},
"reasoning": true,
"status": "created",
"steps": 123,
"succeeded": true,
"temperature": 0.5,
"trajectory": [
{}
],
"updatedAt": "2023-11-07T05:31:56Z",
"vision": false,
"vpnCountry": "US"
}
}Was this page helpful?