Read published source
get_sourceRead what is published: the files of a website, app, agent, or skill's active release. Without path it lists them; with path it returns one file's text. Pass release, a version from list_releases, to read an earlier release instead; publishing its files again rolls back. Read before you change something someone else built, so your publish carries their work forward rather than replacing it with yours. Binary files are listed and not returned. Pass git: true instead, when you can run git with network access, to get a read-only Git URL for the release's commit with the commands to clone it. Prefer it to reading files one at a time. The URL expires in an hour and cannot push; do not share or log it. git cannot be combined with path. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git | No | Return a read-only Git URL for the release's commit and the commands to clone it, instead of file contents. Prefer it when you can run git with network access. The URL expires in an hour. Not allowed with path. | |
| name | Yes | Required. The service's name. | |
| path | No | A file to read. Omit to list the files. | |
| release | No | A release version from list_releases. Omit to read the active release. | |
| org_name | No | The Valet organization it belongs to. Omit to use the organization the account joined first. |