GET
/
extractTask
/
{jobId}
curl --request GET \
  --url https://gateway.allstream.ai/api/openapi/v1/extractTask/{jobId} \
  --header 'x-api-key: <api-key>'
{
  "requestId": "7ef1b803-afb2-4f2c-8a35-9abd173cae27",
  "code": 0,
  "errorCode": 200,
  "message": "Success",
  "timestamp": 1732087121691,
  "data": {
    "taskId": "6",
    "status": "completed",
    "params": {
      "url": "https://www.google.com/maps/place/Danny's+Construction+Co/@41.610615,-87.374627,17z/data=!3m1!4b1!4m6!3m5!1s0x8811c2d7913ae0fb:0xe42462317b2501dd!8m2!3d41.610615!4d-87.374627!16s%2Fg%2F1wb8v8_f?hl=en&entry=ttu&g_ep=EgoyMDI0MTAyOS4wIKXMDSoASAFQAw%3D%3D",
      "timeout": 25000,
      "webhook": "http://127.0.0.1:40922/",
      "type": "google-maps"
    },
    "data": {
      "about": "[]",
      "ctx_city": "Gary",
      "ctx_country": "US",
      "ctx_state": "IN",
      "google_address": "86 North Bridge St, Gary, IN 46404, United States",
      "google_category": [
        "General contractor"
      ],
      "google_city": "Gary",
      "google_claimed": false,
      "google_company_name": "Danny's Construction Co",
      "google_country_name": "United States",
      "google_description": "",
      "google_hours": [],
      "google_image": null,
      "google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ--A6kdfCEYgR3QElezFiJOQ",
      "google_menu_and_appointment_urls": [],
      "google_orders_urls": [],
      "google_permanently_closed": false,
      "google_phone": "+1 219-883-8821",
      "google_place_id": "ChIJ--A6kdfCEYgR3QElezFiJOQ",
      "google_price_range": null,
      "google_price_range_dollar_sign": null,
      "google_rating": 5,
      "google_reviews_count": 1,
      "google_reviews_url": "https://search.google.com/local/reviews?placeid=ChIJ--A6kdfCEYgR3QElezFiJOQ&q=Danny's+Construction+Co&authuser=0&hl=en",
      "google_state_abbr": "IN",
      "google_state_name": "Indiana",
      "google_street_address": "86 North Bridge St",
      "google_temporarily_closed": false,
      "google_website": "https://www.dannysconstruction.com/",
      "google_zip_code": "46404",
      "latitude": 41.610614999999996,
      "longitude": -87.37462699999999,
      "optional_popular_times": null,
      "optional_questions_and_answers": null,
      "optional_review_summary": null
    },
    "finishedOn": 1732086970666,
    "processedOn": 1732086966586,
    "stacktrace": []
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

jobId
string
required

Response

200 - application/json
Success
requestId
string
required

Unique identifier for the request

code
string
required

Response code indicating the status of the request

timestamp
string
required

ISO 8601 formatted timestamp of when the request was processed

data
object
required

Response data object, structure defined in the referenced schema

errorCode
object

Object containing error code details, if applicable