Get enrichment jobs
curl --request GET \
--url https://reprompt-mikhail--reprompt-fastapi-fastapi-app-dev.modal.run/{org}/place_enrichment/jobs \
--header 'Authorization: Bearer <token>'import requests
url = "https://reprompt-mikhail--reprompt-fastapi-fastapi-app-dev.modal.run/{org}/place_enrichment/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://reprompt-mikhail--reprompt-fastapi-fastapi-app-dev.modal.run/{org}/place_enrichment/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"jobs": [
{
"place_id": "<string>",
"status": "<string>",
"job_metadata": {
"attribute_status": {},
"last_enriched": "2023-11-07T05:31:56Z",
"enrichment_metadata": {},
"country_code": "<string>"
},
"inputs": {
"name": "<string>",
"full_address": "<string>",
"country_code": "<string>",
"latitude": 123,
"longitude": 123,
"category": "<string>",
"website": "<string>",
"phone": "<string>",
"id": "<string>",
"input_type": "place",
"wkt_geometry": "<string>",
"street": "<string>",
"city": "<string>",
"house": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"opening_hours": {},
"source": "<string>"
},
"outputs": {},
"reasoning": {},
"confidence_scores": {}
}
],
"total": 123,
"limit": 123,
"offset": 123
}jobs
Get enrichment jobs
GET
/
place_enrichment
/
jobs
Get enrichment jobs
curl --request GET \
--url https://reprompt-mikhail--reprompt-fastapi-fastapi-app-dev.modal.run/{org}/place_enrichment/jobs \
--header 'Authorization: Bearer <token>'import requests
url = "https://reprompt-mikhail--reprompt-fastapi-fastapi-app-dev.modal.run/{org}/place_enrichment/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://reprompt-mikhail--reprompt-fastapi-fastapi-app-dev.modal.run/{org}/place_enrichment/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"jobs": [
{
"place_id": "<string>",
"status": "<string>",
"job_metadata": {
"attribute_status": {},
"last_enriched": "2023-11-07T05:31:56Z",
"enrichment_metadata": {},
"country_code": "<string>"
},
"inputs": {
"name": "<string>",
"full_address": "<string>",
"country_code": "<string>",
"latitude": 123,
"longitude": 123,
"category": "<string>",
"website": "<string>",
"phone": "<string>",
"id": "<string>",
"input_type": "place",
"wkt_geometry": "<string>",
"street": "<string>",
"city": "<string>",
"house": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"opening_hours": {},
"source": "<string>"
},
"outputs": {},
"reasoning": {},
"confidence_scores": {}
}
],
"total": 123,
"limit": 123,
"offset": 123
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
⌘I