cURL
curl --request GET \ --url https://{host}/api/sharesame/job/{job_id} \ --header 'Authorization: Bearer <token>'
{ "status": "building", "files": [ { "path": "<string>", "content": "<string>", "language": "text" } ], "error": "<string>", "progress": "<string>", "elapsed_seconds": 123, "sandbox_session": "<string>", "deployment_id": "<string>" }
Check whether a job is still building, partially ready, fully ready, or failed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The job ID returned by POST /generate
Current job status
building
partial
ready
failed
Show child attributes
Deployment snapshot ID when available
Was this page helpful?