Deployment tools
One read-only tool for a project’s deployments: the production, staging and other addresses a run or a persona login points at. Creating, renaming and retiring a deployment happen in the dashboard.
list_deployments
Section titled “list_deployments”List a project’s deployments.
| Name | Type | Required | Notes |
|---|---|---|---|
project_id | string | yes | |
include_retired | boolean | no | Also return the deployments that were retired. Default false. |
Returns: { deployments }. Each entry carries id, name, environment, baseUrl,
createdAt and archivedAt. environment is one of production | staging | pr |
unknown. archivedAt is null on a live deployment and the retirement time on a retired one, so
the live ones come first and the retired ones follow only when include_retired is true.
Returns an error block if your credential cannot reach that project.
A persona login is captured per deployment, with the Binclusive CLI:
b8e profile create --persona <persona> --target <id>where <id> is a deployment’s id from this tool. --target also takes the deployment’s name.