List a job's log lines
curl --request GET \
--url https://go-fetch.io/api/v1/jobs/{id}/logs/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://go-fetch.io/api/v1/jobs/{id}/logs/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://go-fetch.io/api/v1/jobs/{id}/logs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total": 123,
"offset": 123,
"limit": 123,
"count": 123,
"results": [
{
"id": 123,
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"level": "DEBUG"
}
]
}Jobs
List a job's log lines
Progress messages the scraper reported, oldest first.
GET
/
api
/
v1
/
jobs
/
{id}
/
logs
/
List a job's log lines
curl --request GET \
--url https://go-fetch.io/api/v1/jobs/{id}/logs/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://go-fetch.io/api/v1/jobs/{id}/logs/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://go-fetch.io/api/v1/jobs/{id}/logs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total": 123,
"offset": 123,
"limit": 123,
"count": 123,
"results": [
{
"id": 123,
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"level": "DEBUG"
}
]
}Authorizations
Path Parameters
Query Parameters
Number of results to return per page.
The initial index from which to return the results.