List the templates the key can start, at the path the E2B SDK reads
curl --request GET \
--url https://api.styne.ai/default-templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/default-templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/default-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}List the templates the key can start, at the path the E2B SDK reads
GET
/
default-templates
List the templates the key can start, at the path the E2B SDK reads
curl --request GET \
--url https://api.styne.ai/default-templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/default-templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/default-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Authorizations
Response
Success. The answer is described on https://docs.styne.ai/guide-templates.