Val Town
communitySocial website for writing and deploying TypeScript functions (vals) that run in the cloud.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.val.town/v1/search/valsSearch vals
Parameters
limitresults (integeroptionalquerysearch keyword (stringrequiredoffsetpagination (integeroptionalReturns
data[] with id, name, code, author.username, public, version, runStartAt, runEndAt, likesPOST
https://api.val.town/v1/run/{handle}.{val_name}Run a val
Parameters
argsfunction arguments (arrayoptionalhandleauthor handle (stringrequiredval_nameval name (stringrequiredReturns
val execution result (varies)GET
https://api.val.town/v1/alias/{handle}/{val_name}Get val details
Parameters
handleauthor handle (stringrequiredval_nameval name (stringrequiredReturns
id, name, code, author, public, version, readme, likeCount, referenceCount