Get Smart Design creation status
curl --request GET \
--url https://api.presenton.ai/api/v2/ppt/design/status/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.presenton.ai/api/v2/ppt/design/status/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.presenton.ai/api/v2/ppt/design/status/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"message": "<string>",
"error": {},
"data": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Design (Smart Mode)
Get Smart Design creation status
Return the current state and result or error data for an asynchronous Smart Design creation task.
GET
/
api
/
v2
/
ppt
/
design
/
status
/
{id}
Get Smart Design creation status
curl --request GET \
--url https://api.presenton.ai/api/v2/ppt/design/status/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.presenton.ai/api/v2/ppt/design/status/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.presenton.ai/api/v2/ppt/design/status/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"message": "<string>",
"error": {},
"data": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Was this page helpful?