Retrieve LTX Studio API accounts configuration
June 3, 2025
Table of contents
For your convenience, you can specify your LTX Studio configuration values under your LTX Studio account. If you specify multiple LTX Studio accounts, the API will automatically perform load balancing by randomly selecting an account with available capacity before making calls to LTX Studio.
This endpoint retrieves the complete list of configured API accounts for LTX Studio.
https://api.useapi.net/v1/ltxstudio/accounts
Request Headers
Authorization: Bearer {API token}
API token
is required, see Setup useapi.net for details.
Responses
-
{ "<email #1>": { "email": "<email #1>", "cookie": { "lt_id": "user12345", "lt_token": "…secured…", "lt_refresh_token": "…secured…" }, "maxJobs": 20, "updatedUTC": "2025-06-03T12:13:14.000Z", "tokenExpireUTC": "2025-07-03T12:13:14.000Z" }, "<email #2>": { "email": "<email #2>", "cookie": { "lt_id": "user67890", "lt_token": "…secured…", "lt_refresh_token": "…secured…" }, "maxJobs": 15, "updatedUTC": "2025-06-03T12:13:14.000Z", "tokenExpireUTC": "2025-07-03T12:13:14.000Z" } }
-
{ "error": "Unauthorized", "code": 401 }
-
Configuration not found. To create configuration use POST /accounts.
Model
{ // TypeScript, all fields are optional
[email: string]: {
email: string
cookie: {
lt_id: string
lt_token: string
lt_refresh_token: string
[key: string]: string
}
maxJobs: number
updated: number
tokenExpire: number
updatedUTC?: string
tokenExpireUTC?: string
error?: string
}
}
Examples
-
curl https://api.useapi.net/v1/ltxstudio/accounts \ -H "Authorization: Bearer …"
-
const token = "API token"; const apiUrl = "https://api.useapi.net/v1/ltxstudio/accounts"; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result});
-
import requests token = "API token" apiUrl = "https://api.useapi.net/v1/ltxstudio/accounts" headers = { "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())