Skip to content

Projects & README

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

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, rate limits)
DELETE/v1/projects/:idDelete project
GET/v1/projects/:id/readmeGet README
PUT/v1/projects/:id/readmeUpdate README

Each project has configurable rate limiting for API-key-authenticated requests:

  • rate_limit_rpm — Requests per minute (default: 60)
  • rate_limit_enabled — Enable/disable rate limiting (default: true)

Configure via the dashboard settings page or the PATCH endpoint:

Terminal window
curl -X PATCH https://api.sassmaker.com/v1/projects/:id \
-H "Authorization: Bearer your_session_token" \
-H "Content-Type: application/json" \
-d '{ "rate_limit_rpm": 120 }'

Rate-limited responses return 429 Too Many Requests with headers:

  • X-RateLimit-Limit — Configured RPM
  • X-RateLimit-Remaining — Requests remaining in window
  • Retry-After — Seconds until window resets
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