Get analysis status and result
curl --request GET \
--url https://platform.lymo.jp/v1/videos/{id}/analyses/{analysis_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.lymo.jp/v1/videos/{id}/analyses/{analysis_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.lymo.jp/v1/videos/{id}/analyses/{analysis_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"status": "processing",
"video_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"result": {
"summary": "<string>",
"checklist_evaluation_id": "<string>",
"sales_event_count": 123
},
"error": {
"code": "<string>",
"message": "<string>"
},
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "req_abc123"
}
}{
"error": {
"code": "not_found",
"message": "Video not found"
},
"meta": {
"request_id": "req_abc123"
}
}Get analysis status and result
GET
/
v1
/
videos
/
{id}
/
analyses
/
{analysis_id}
Get analysis status and result
curl --request GET \
--url https://platform.lymo.jp/v1/videos/{id}/analyses/{analysis_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.lymo.jp/v1/videos/{id}/analyses/{analysis_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.lymo.jp/v1/videos/{id}/analyses/{analysis_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"status": "processing",
"video_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"result": {
"summary": "<string>",
"checklist_evaluation_id": "<string>",
"sales_event_count": 123
},
"error": {
"code": "<string>",
"message": "<string>"
},
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "req_abc123"
}
}{
"error": {
"code": "not_found",
"message": "Video not found"
},
"meta": {
"request_id": "req_abc123"
}
}このページは役に立ちましたか?
