# doctl apps spec – DigitalOcean Documentation > The subcommands of `doctl app spec` manage your app specs. - [doctl apps spec get](https://docs.digitalocean.com/reference/doctl/reference/apps/spec/get/index.html.md): Use this command to retrieve the latest spec of an app. Optionally, pass a deployment ID to get the spec of that specific deployment. - [doctl apps spec validate](https://docs.digitalocean.com/reference/doctl/reference/apps/spec/validate/index.html.md): Use this command to check whether a given app spec (YAML or JSON) is valid. You may pass - as the filename to read from stdin.