Skip to content
Learn › Share and export › Live links: open the docs menu

Protect a live link with a key, end date or rotation

Team and Pro · The full key is shown only to people who can edit the View · Updated 8 Nov 2026

A Live Link's settings control who can fetch it, until when, and at which URL. Open the Live link task with Edit in the pipeline panel; changes take effect at once. To create a link first, see Live links.

SectionWhat it shows or does
LinkThe URL, with Copy
Who can open itAnyone with the link or Link + key
Stops workingNever or On a date
UseWhen the link was last fetched, by which tool, and how many fetches in the last 7 days
ManageRotate link and Turn off (or Turn on)

A new Live Link starts as Anyone with the link. For data only some people should fetch, switch to Link + key and share the key separately.

OptionWhat it does
Anyone with the linkAnyone who has the URL can fetch the data. "Works in Power BI, Excel, Google Sheets, browsers."
Link + keyA fetch must also send the key. "Works in Power BI, Excel, scripts. Not Google Sheets: it can't send a key."

With Link + key, the Key line shows the start and last 4 characters of the key. The full key is shown only to people who can edit the View.

  • Copy copies the full key ("Key copied").
  • New key makes a new key. The dialog warns: "The current key stops working at once. Anything using it needs the new key."
  • Copy link with key copies a URL with the key inside, "For Mammoth's From URL import and scripts".

Send the key from a script

Send the key as the password of Basic authentication, or in an X-Mammoth-Key header. A successful fetch answers with a redirect to a short-lived address of the file, so follow redirects (-L for curl):

curl -L -H "X-Mammoth-Key: $LIVE_LINK_KEY" "<live_link_url>" -o latest.csv

Live links created before Mammoth addresses existed are still a public file. The settings say "This link is still a public file. Adding a key or rotating gives it a Mammoth address." Choosing Link + key on one opens Add a key to this link?.

  1. Choose how long the old address keeps working: Stop now, 24 hours or 7 days (selected).
  2. Click Add key.

The link gets a new Mammoth address. The old file address keeps working, without a key, for the time you picked.

OptionWhat it does
NeverThe link works until you turn it off. This is the default
On a datePick a date from today onwards. The link works through the end of that day, in your own time zone, then refuses every fetch

After the end date, the settings say "This link has ended. Every fetch is refused." Choose Never to make it work again. Use an end date for a link that is only needed for a while.

The Use line reads, for example, "Last fetched 2 hours ago by Power BI · 37 fetches in 7 days · 3 refused", or "Not fetched yet" before the first fetch.

Mammoth names the tool from the request: Power BI, Power Query, Google Sheets, Script (curl or Python requests), Browser or Other. A fetch is refused when it has the wrong key or none, comes after the end date or while the link is off, or comes before the link has any data.

Rotate link gives the link a new URL, and a new key for a key link. Anything using the old URL has to be updated.

  1. Click Rotate link. The Rotate this link? dialog opens.
  2. Under Old link keeps working for, choose Stop now, 24 hours (selected) or 7 days.
  3. Click Rotate link.

If the link has been fetched, the dialog reminds you, for example: "Last fetched 2 hours ago by Power BI. Update that report before the old link stops." While the old URL still works, the settings show when it stops.

Turn off makes the URL refuse every fetch. Settings and key are kept, so Turn on makes the same URL work again. While off, the settings say "Turned off. Every fetch is refused until you turn it back on."

A Mammoth address sends one of these plain-text messages instead of the data; BI tools show it as the error.

MessageStatusCauseFix
"Wrong or missing key for this live link."401The link needs a key and the request sent none, or an old oneCopy the key again, or use Copy link with key. After New key, update every tool that uses the link
"This live link has ended."410The end date has passedChoose Never under Stops working, or a later date
"This live link is turned off. Ask the person who shared it to turn it back on."410Someone clicked Turn offClick Turn on
"This live link has no data yet. It fills the next time its view runs."409The task hasn't finished its first runWait for it, or run the pipeline
"No live link at this address."404The address is mistyped, or it was rotated and the old address has stoppedCopy the current link from the settings

If none of these appears, check the Monitor's Needs Attention tab for an error on the Live link task.

If the settings don't open ("The link settings could not be loaded.") or a change fails ("The link could not be changed. Try again."), close the form, open the task with Edit again and retry.

Was this page helpful?

Something wrong? support@mammoth.io