Get import job status
curl --request GET \
--url https://api.webstashai.com/import/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/import/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/import/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"user_id": "<string>",
"source_type": "<string>",
"status": "<string>",
"total_urls": 123,
"processed_urls": 123,
"failed_urls": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"failed_items": [
{
"url": "<string>",
"title": "<string>",
"error": "<string>"
}
]
}{
"error": "<string>"
}Get import job status
GET
https://api.webstashai.com
/
import
/
{jobId}
Get import job status
curl --request GET \
--url https://api.webstashai.com/import/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/import/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/import/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"user_id": "<string>",
"source_type": "<string>",
"status": "<string>",
"total_urls": 123,
"processed_urls": 123,
"failed_urls": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"failed_items": [
{
"url": "<string>",
"title": "<string>",
"error": "<string>"
}
]
}{
"error": "<string>"
}