Environments
GET
/api/threads/environments
const url = 'http://localhost:8000/api/threads/environments';const options = {method: 'GET', headers: {cookie: 'factory_session=<factory_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/api/threads/environments \ --cookie factory_session=<factory_session>Sandbox providers the composer can offer, with their sizes and list prices.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Environments Api Threads Environments Get
Array<object>
object
key
additional properties
any
Example generated
[ {}]