Get generation status
curl --request GET \
--url http://localhost:5001/api/v1/ppt/presentation/status/{id} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/status/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('http://localhost:5001/api/v1/ppt/presentation/status/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"type": "<string>",
"status": "pending",
"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": {}
}
]
}Generate Presentation Async
Get generation status
Return the state and result or error data for an asynchronous presentation task.
GET
/
api
/
v1
/
ppt
/
presentation
/
status
/
{id}
Get generation status
curl --request GET \
--url http://localhost:5001/api/v1/ppt/presentation/status/{id} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:5001/api/v1/ppt/presentation/status/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('http://localhost:5001/api/v1/ppt/presentation/status/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"type": "<string>",
"status": "pending",
"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
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
ID of the presentation generation task
Was this page helpful?