# LayerArc CLI Docs

Use the LayerArc Agent SDK CLI to call project, page, and Google Search Console operations with stable JSON output.

Early access install: `npx -y @layerarc/agent-sdk-cli@next docs list`

## Access

```bash
export LAYERARC_AGENT_API_BASE_URL="https://agent.layerarc.com"
export LAYERARC_AGENT_API_TOKEN="<YOUR_AUTH_TOKEN>"
export LAYERARC_PROJECT_ID="<PROJECT_ID>"
```

Command prefix: `layerarc`

## Reference

- [Projects](https://layerarc.com/docs/cli/projects.md)
- [Pipelines](https://layerarc.com/docs/cli/pipelines.md)
- [Pages](https://layerarc.com/docs/cli/pages.md)
- [Page Content](https://layerarc.com/docs/cli/page-content.md)
- [Google Search Console](https://layerarc.com/docs/cli/gsc.md)
- [GSC Sites](https://layerarc.com/docs/cli/gsc-sites.md)
- [GSC Search Analytics](https://layerarc.com/docs/cli/gsc-search-analytics.md)
- [GSC Sitemaps](https://layerarc.com/docs/cli/gsc-sitemaps.md)
- [GSC URL Inspection](https://layerarc.com/docs/cli/gsc-url-inspection.md)

## Workbooks

- [Create an agent page](https://layerarc.com/skills/cli/create-page.md)
- [Update page fields and content](https://layerarc.com/skills/cli/update-page.md)
- [Attach a page to an existing pipeline](https://layerarc.com/skills/cli/attach-pipeline.md)
- [Full page lifecycle](https://layerarc.com/skills/cli/full-page-lifecycle.md)
- [Select GSC property](https://layerarc.com/skills/cli/gsc-select-property.md)
- [Get GSC summary](https://layerarc.com/skills/cli/gsc-get-summary.md)
- [List GSC page rows](https://layerarc.com/skills/cli/gsc-list-page-rows.md)
- [Find top GSC queries](https://layerarc.com/skills/cli/gsc-top-queries.md)
- [Find high-potential pages](https://layerarc.com/skills/cli/gsc-high-potential-pages.md)
- [Find high-potential ranking pages](https://layerarc.com/skills/cli/gsc-high-potential-ranking-pages.md)
- [List GSC sitemaps](https://layerarc.com/skills/cli/gsc-list-sitemaps.md)
- [Submit a GSC sitemap](https://layerarc.com/skills/cli/gsc-submit-sitemap.md)
- [Inspect a URL](https://layerarc.com/skills/cli/gsc-inspect-url.md)
