Menu
Platform
AI
App store purchases
Database
Flags
Jobs and cron
Localization
Monitoring
Notifications
Payments
Queues
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
sylphx observability source_maps
Every sylphx observability source_maps command: its argument, its flags and a run line.
The source_maps commands of Sylphx Observability, as the CLI spells them: the same
calls as the source_maps API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
#create
Uploads a source map for one release and minified file. Uploading the same release and file again replaces it.
CLI
sylphx observability source-maps create --parent orgs/acme/projects/shop/envs/production --release … --file-url … --content …POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps · scope observability:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--parent | string | The parent to create in; defaults to the linked project or the key's scope. |
--meta.labels | key=value | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
--meta.annotations | key=value | Caller-writable, unindexed annotations. Repeat the flag for each value. |
--meta.display-name | string | Caller-writable human-readable name. |
--release | string | The release the map belongs to, as sent in ErrorEvent.release. Required. |
--file-url | string | The minified file the map describes: its URL (https://app.example.com/assets/index-3f2a.js) or its path (/assets/index-3f2a.js). A frame matches on the URL path. Required. |
--content | string | The source map JSON (revision 3), at most 16 MiB. Written, never read back. Required. |
#get
Gets a source map (without its content).
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx observability source-maps get orgs/acme/projects/shop/envs/production/source_maps/source-mapGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps/source-map · scope observability:read · effect read · Request, response and examples
#list
Lists source maps, newest first; filter by release.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx observability source-maps list orgs/acme/projects/shop/envs/productionGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps · scope observability:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--page-size | int | At most this many, up to 100. |
--page-token | string | The next_page_token of the previous page. |
--filter | string | AIP-160 filter; release = "…" only. |