List recent deployments of a website, newest first.
meta.simulated is true when publishing runs in test mode (sandbox or hosting not configured).
GET
https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/deploymentsRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
limitintegerPage size, 1-50 (default 10).
offsetintegerPagination offset (default 0).
Response
Response Body · array of objects
idintegerDeployment id.statusstringsimulated means the sandbox or test mode published to a preview link.urlstring | nullWhere the site went live.errorstring | nullFailure reason when status is error.task_idstring | nullAsync task to poll with GET /tasks/{task_id}.created_atstringWhen publishing started.completed_atstring | nullWhen it finished.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.siteBuilder.listProjectDeployments('<id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": [ { "id": 0, "status": "string", "url": "string", "error": "string", "task_id": "string", "created_at": "string", "completed_at": "string" } ]}