Skip to main content
GET
https://searchcompany-main.up.railway.app
/
api
/
ai-website
/
{org_slug}
Get AI Website Link
curl --request GET \
  --url https://searchcompany-main.up.railway.app/api/ai-website/{org_slug}
{
  "status": "success",
  "deployment_url": "https://website-arena-1766312513.searchcompany.dev",
  "project_name": "ai-website-arena-1766312513",
  "deployed_at": "2025-01-15T10:30:00Z",
  "business_name": "Website Arena",
  "source_url": "https://websitearena.co"
}
Returns the AI website URL for a business. This is the live, AI-optimized version of the customer’s website deployed to Vercel.

Path Parameters

org_slug
string
required
The Clerk organization slug (e.g., my-business-abc123)

Response

status
string
Always "success" on successful response
deployment_url
string
The full URL of the AI website (e.g., https://my-business.searchcompany.dev)
project_name
string
The Vercel project name
deployed_at
datetime
When the site was last deployed
business_name
string
The business name from the entity record
source_url
string
The original website URL that was scraped
{
  "status": "success",
  "deployment_url": "https://website-arena-1766312513.searchcompany.dev",
  "project_name": "ai-website-arena-1766312513",
  "deployed_at": "2025-01-15T10:30:00Z",
  "business_name": "Website Arena",
  "source_url": "https://websitearena.co"
}

Error Responses

{
  "detail": "Business not found: invalid-slug"
}
{
  "detail": "AI website not found for this business"
}

Dashboard Usage

This endpoint powers the β€œLive Sync Active” button on the What We’re Doing dashboard card. When clicked, it opens the AI website in a new tab so users can see their live AI-optimized site. The AI website includes:
  • llms.txt - AI-readable content summary
  • data.json - Schema.org structured data
  • Q&A pages - Auto-generated FAQ pages
  • Markdown replica pages - 1:1 copies of source website pages at /pages/*
  • sitemap.xml - Full sitemap for crawlers
  • robots.txt - Crawler directives