ATTIM

v1.0.0
link.attim/attim Checked 3 days ago Published 25 days ago

Put what you make with AI online at a link anyone can open, and change it later from any chat.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

publish_site Publish site

Publish files as a new site at <slug>.attim.link. Signed in, the site is permanent in the account; without an account it is temporary (ttlSeconds sets how long). To keep a temporary site, ask for the user's email and call claim_site.

ParameterTypeDescription
files *array
passwordProtectionobject
slugstring
ttlSecondsinteger
workspaceIdinteger

copy_site Copy site

Copy a live temporary site to a new link. Signed in, the copy is permanent in the account; without an account it is temporary, with its own claimToken.

ParameterTypeDescription
sourceSlug *string
slugstring
ttlSecondsinteger
workspaceIdinteger

claim_site Claim site

Keep a temporary site so it no longer expires. Signed in, it moves into the account now. Otherwise pass the user's email: ATTIM emails them a link that keeps it and creates their free account. Without an email, the user is asked to connect ATTIM here.

ParameterTypeDescription
claimToken *string
slug *string
emailstringThe user's own email, when no account is connected.
workspaceIdinteger

update_site Update site

Replace every file of a site with a new version at the same link. A temporary site needs its claimToken. To change part of a site, use read_site and edit_site.

ParameterTypeDescription
files *array
slug *string
claimTokenstring

read_site Read site

Open a site published before, in this chat or another: its live versionId, files, and the text of its HTML, CSS and JS, in pages. list_sites lists the account's sites; a temporary site needs its claimToken. Call this before edit_site.

ParameterTypeDescription
slug *stringSlug or link.
claimTokenstring
maxCharsinteger
offsetintegerWhere to go on in path, from a previous read.
pathstringRead one file, such as index.html.
searchstringFind this text instead of reading; returns each match with its offset.

edit_site Edit site

Change a live site at the same link with targeted edits. Call read_site first and pass its versionId as baseVersionId. Put every requested change in this one call: only the last 10 versions are kept. replacements swap an exact oldText from read_site (found once unless replaceAll) for newText; writes add or overwrite whole files; deletes remove files. All apply together or not at all, as a new version named versionName. Keep {{ vars.* }} and {{ attim.links.* }} placeholders. A temporary site needs its claimToken.

ParameterTypeDescription
baseVersionId *string
slug *stringSlug or link.
claimTokenstring
deletesarray
replacementsarray
versionNamestringShort, like "Added Q3 numbers".
writesarray

delete_site Delete site

Delete a site. A temporary site needs its claimToken.

ParameterTypeDescription
slug *string
claimTokenstring

rename_site Rename site

Change a site's slug, on Hobby and Team plans. The old link redirects for a while.

ParameterTypeDescription
newSlug *string
slug *string

update_site_details Update site details

Change the title and description ATTIM shows for a site in the dashboard and on profile project cards (not the page's own HTML), or whether search engines may list it. Omitted fields stay; null clears.

ParameterTypeDescription
slug *string
description
searchIndexingboolean
title

list_sites List sites

List the account's sites.

ParameterTypeDescription
workspaceIdinteger

list_versions List versions

List a site's last 10 versions, with their names and which one is live.

ParameterTypeDescription
slug *string

rename_version Rename version

Name a version, or pass null to clear its name.

ParameterTypeDescription
name *
slug *string
versionId *string

preview_version Preview version

Make a private one-use link to an earlier version. Open it within 60 seconds; it then lasts 15 minutes.

ParameterTypeDescription
slug *string
versionId *string

download_version Download version

Get a resource link to a version's files as a ZIP; read it with resources/read.

ParameterTypeDescription
slug *string
versionId *string

restore_version Restore version

Make an earlier version live again, as a new version. Pass the live versionId from list_versions as expectedCurrentVersionId.

ParameterTypeDescription
expectedCurrentVersionId *string
slug *string
versionId *string

set_variables Set variables

Set a site's public variables, shown where the site uses {{ vars.NAME }}. Anyone can read them.

ParameterTypeDescription
slug *string
variables *

set_password_protection Set password protection

Turn a site's password on or off, or change it. A temporary site can only change or remove a password it already has, with its claimToken.

ParameterTypeDescription
enabled *boolean
slug *string
accessDurationSecondsinteger
claimTokenstring
passwordstring

save_profile Save profile

Set up or change the user's ATTIM profile: one public link-in-bio page at <handle>.attim.link with their name, bio, avatar, social icons, up to 2 pinned links, other links, and their own sites under Projects. Call get_public_profile first. To set one up, ask for their name, a short bio, an optional https avatar URL, the links, and the handle they want (free on every plan). When changing, omitted fields stay; socials, theme, links, and projects replace what is stored, so pass link ids to keep click history. A new handle changes the address (Free: once a week; the old one redirects for 30 days).

ParameterTypeDescription
avatarUrlhttps image URL; null removes it.
biostring
expectedVersionintegerversion from get_public_profile.
handlestringAddress: <handle>.attim.link.
linksarray
localestring
namestringDisplay name. Needed to set one up.
projectsarrayThe user's own sites to show, in order.
searchIndexingbooleanSet up only: listed by search engines (default true).
socialsarrayIcons under the bio; email takes an email address.
themeobjectA preset plus optional overrides. Colors are #rrggbb.

get_public_profile Get public profile

Get the user's ATTIM profile: address, name, bio, socials, theme, links with their ids, projects (and which ones visitors cannot see), and version. profile is null when they have none.

get_insights Get insights

How the account's sites are doing: page views and visitors from people, AI assistants and AI crawlers (by name) and other bots counted apart, and top sites, referrers, and countries. Hobby and Team plans.

ParameterTypeDescription
daysinteger
slugstringOne site: its slug or link.
workspaceIdinteger

get_profile Get profile

Get the connected account's id and email.