import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
await client.tasks.runStreamed({ llmModel: 'openai/gpt-5', task: 'x' });{
"detail": "You are not authorized to access this resource",
"errors": [],
"status": 401,
"title": "Unauthorized"
}import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
await client.tasks.runStreamed({ llmModel: 'openai/gpt-5', task: 'x' });{
"detail": "You are not authorized to access this resource",
"errors": [],
"status": 401,
"title": "Unauthorized"
}Bearer token via Authorization header
openai/gpt-5, google/gemini-2.5-flash, google/gemini-2.5-pro, google/gemini-3-pro-preview, anthropic/claude-sonnet-4.5, minimax/minimax-m2, moonshotai/kimi-k2-thinking 1Show child attributes
US, BR, FR, DE, IN, JP, KR, ZA Successful Response
Was this page helpful?