---
title: "Create Starter Project"
method: POST
path: "/v1/api-performance/starter-projects"
tags: ["Eval Setup"]
---

# Create Starter Project

`POST /v1/api-performance/starter-projects`

## Request

- Base URL: `https://api.lightsage.com`
- URL: `https://api.lightsage.com/v1/api-performance/starter-projects`
- Auth: API key in header `X-Lightsage-Api-Key`

Creates a starter project from a repository location and returns the saved project.

## Request body

- PublicStartingProjectRequest
  - `name` string, required
  - `repo_url` string, required
  - `ref` string: Branch, tag, or commit SHA.
  - `subdir` string: Project root inside the repository; empty for the root.
  - `install_steps` string[]
  - `source_id` string: Source ID from GET /v1/api-performance/sources.
  - `framework` 'fastify' | 'nuxt' | 'express' | 'spa-js' | 'angular' | 'react' | 'fastapi' | 'vite' | 'nextjs' | 'custom'
  - `enabled` boolean

## Response `200`

Successful Response

- PublicStartingProject
  - `id` string, required
  - `source_id` string, nullable: Null when not scoped to one source; the list's `source_id` filter then excludes it.
  - `name` string, required
  - `repo_url` string, required
  - `ref` string, required
  - `subdir` string
  - `install_steps` string[]
  - `framework` 'fastify' | 'nuxt' | 'express' | 'spa-js' | 'angular' | 'react' | 'fastapi' | 'vite' | 'nextjs' | 'custom'
  - `enabled` boolean, required
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) - [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usesapient/apis/sapient-public-api/revisions/14890dfe867e?raw)
