> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployments

> Find deployments by repository, environment, status and time.

Use `list_deployments` to see what reached an environment. The tool uses a workspace
read grant. Each result gives the deployed commit SHA and previous SHA when Struct has it.
GitHub deployments appear at their latest recorded status.

Filter by `repository` in `owner/name` form, `environment`, `status` and RFC 3339
`since` or `until`. The default window is seven days. If `hasMore` is true,
increase `offset` by the requested `limit`.

In the CLI, run `struct deploys list --repo owner/name --env staging --json`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.