Skip to content

Projects & README

Projects are the top-level container in Foundry. Each project has its own API key, settings, and features such as feedback, roadmap, testimonials, changelog, and waitlist.

Each project has an optional markdown README accessible via API. Use it to store project documentation, setup instructions, or notes that AI agents can read.

Terminal window
curl https://api.sassmaker.com/v1/projects/readme \
-H "X-Project-Key: pk_your_api_key"
Terminal window
curl -X PUT https://api.sassmaker.com/v1/projects/readme \
-H "Content-Type: application/json" \
-H "X-Project-Key: pk_your_api_key" \
-d '{ "content": "# My Project\n\nSetup instructions here..." }'
import { SaaSMakerClient } from '@saas-maker/sdk';
const client = new SaaSMakerClient({ apiKey: 'pk_your_api_key' });
// Read
const { readme } = await client.projects.getReadme();
// Write
await client.projects.updateReadme('# My Project\n\nUpdated docs.');

These require a session Bearer token (used by the dashboard UI):

MethodEndpointDescription
GET/v1/projectsList all projects
POST/v1/projectsCreate a project
GET/v1/projects/by-slug/:slugGet project by slug
PATCH/v1/projects/:idUpdate project name or notes
DELETE/v1/projects/:idDelete project
GET/v1/projects/:id/readmeGet README
PUT/v1/projects/:id/readmeUpdate README
Terminal window
fnd projects list
fnd projects create --name "My App"
fnd projects update --id <id> --name "New Name"
fnd projects delete --id <id> --force