Eval Setup

Create Starter Project

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

post/v1/api-performance/starter-projects

Request

  • Base URL
    https://api.lightsage.com
  • Auth
    API key in header X-Lightsage-Api-Key

Request body

namestring required
repo_urlstring required
refstring

Branch, tag, or commit SHA.

subdirstring

Project root inside the repository; empty for the root.

install_stepsstring[]
source_idstring

Source ID from GET /v1/api-performance/sources.

framework'fastify' | 'nuxt' | 'express' | 'spa-js' | 'angular' | 'react' | 'fastapi' | 'vite' | 'nextjs' | 'custom'
enabledboolean

Response

Successful Response

idstring required
source_idstring nullable

Null when not scoped to one source; the list's source_id filter then excludes it.

namestring required
repo_urlstring required
refstring required
subdirstring
install_stepsstring[]
framework'fastify' | 'nuxt' | 'express' | 'spa-js' | 'angular' | 'react' | 'fastapi' | 'vite' | 'nextjs' | 'custom'
enabledboolean required
created_atstring nullable
updated_atstring nullable

Changes

No operation changes recorded.