Polling Data

Endpoint

GET https://api.spacely.ai/api/v1/generate/poll-result?refId={{refId}}

This endpoint is used to fetch result from standard and advance generate

Path Parameters

Name
Type
Description

refId*

String

Refid after stansard or advance generate

Headers

Name
Type
Description

X-API-KEY*

String

{
  "data": {
    "status": "success",
    "result": [
      "https://storage.googleapis.com/spacely-enterprise/c18302f5-a9de-422d-000/ea6abee1-ed4b-4ca8-994e-2c215150bf9e-1.png",
      "https://storage.googleapis.com/spacely-enterprise/c18302f5-a9de-422d-000/ea6abee1-ed4b-4ca8-994e-2c215150bf9e-2.png",
      "https://storage.googleapis.com/spacely-enterprise/c18302f5-a9de-422d-000/ea6abee1-ed4b-4ca8-994e-2c215150bf9e-3.png",
      "https://storage.googleapis.com/spacely-enterprise/c18302f5-a9de-422d-000/ea6abee1-ed4b-4ca8-994e-2c215150bf9e-4.png"
    ]
  }
}

Example


curl --location 'https://api.spacely.ai/api/v1/generate/poll-result?refId=REF_ID' \
--header 'X-API-KEY: YOUR_API_KEY'

Last updated