Changelog
2026-08-10
Lightsage standardized its CLI, public API, MCP authentication, Agent Tracker, and GitHub docs-eval commands under thelightsage name.
CLI
- Released Lightsage CLI
0.6.4with thelightsageexecutable andlightsagehq/tools/lightsageHomebrew formula. - Standardized API-key authentication on
--lightsage-api-key-auth. - Added
CLI_LIGHTSAGE_API_KEY_AUTHand theLIGHTSAGE_API_KEYshorthand environment variable. - Changed the default public API server to
https://api.lightsage.com. - Store configuration and update-check state under
~/.config/lightsage.
API
View API changes
View API changes
Updated authentication
- Renamed the documented public API header to
X-Lightsage-Api-Key. - Renamed the OpenAPI security scheme to
LightsageApiKeyAuth.
MCP
- Released
@lightsage/mcp0.1.7for local stdio MCP clients. - Standardized hosted MCP API-key authentication on
X-Lightsage-Api-Key. - Use
https://mcp.lightsage.com/mcpfor hosted connections.
Agent Tracker
- Released Agent Tracker
0.1.13with Lightsage-prefixed browser APIs and declarative attributes. - Added
initLightsagePixelas the browser helper initializer. - Kept the previous initializer as a deprecated compatibility alias.
- Added
data-lightsage-*attributes for browser script configuration and declarative conversion tracking. - Continued accepting
data-sapient-*attributes as deprecated compatibility fallbacks. - Made Lightsage attributes take precedence when both prefixes are present.
Lightsage Docs Agent
- Renamed GitHub pull request commands to
/lightsage run evals,/lightsage status, and/lightsage help. - Moved the docs pages to
/lightsage-docs-agent/*with redirects from the previous paths.
Migration notes
- Update direct API and MCP clients to send the Lightsage header names.
- Re-run
lightsage auth loginafter replacing an older CLI installation. - Update local MCP configuration to use
@lightsage/mcp. - Update GitHub automation and saved comments to use
/lightsagecommands. - Replace
data-sapient-*attributes with their matchingdata-lightsage-*names. - See Migrate from Sapient to Lightsage for complete examples.
2026-08-04
Lightsage replaced the promptis_active boolean with the prompt lifecycle status across the public API and generated CLI contract.
CLI
- Removed
--is-activefromsapient prompts listandsapient prompts update. - Use
--status activeor--status inactivewhen listing or updating prompts.
API
View API changes
View API changes
Updated endpoints and schemas
GET /v1/promptsnow filters prompt lifecycle state with thestatusquery parameter.PATCH /v1/prompts/{prompt_id}now acceptsstatusvalues ofactiveorinactive.- Prompt responses use the required
statusfield withactive,inactive, orarchivedvalues.
Removed or replaced fields
- Removed the
is_activequery parameter fromGET /v1/prompts. - Removed
is_activefrom prompt request and response schemas.
SDK/OpenAPI
- Updated the public OpenAPI contract without the prompt
is_activefield.
Migration notes
- Replace
is_active=truefilters withstatus=active. - Replace
is_active=falsefilters withstatus=inactive. - Replace prompt update payloads such as
{"is_active": true}with{"status": "active"}.
2026-08-03
Lightsage added execution prompts to public task and opportunity responses, so API clients receive agent-ready instructions without storing separate prompt fields.API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Added
execution_prompttoPublicTask. Lightsage derives this prompt from the task title, goal, reasoning, evidence, source references, and metadata. - Updated
GET /v1/tasksso the defaultstatus=activeresponse includes todo/new and in-progress tasks across persisted task batches. Usestatus=todo,status=in_progress,status=done,status=dismissed,status=completed, orstatus=allto request a specific slice. - Added
execution_promptto prompt opportunity responses fromGET /v1/opportunities. Lightsage derives this prompt from the opportunity title, description, action, evidence, and metadata.
Removed or replaced endpoints
- Removed
GET /v1/prompts/actions. UseGET /v1/opportunitiesfor prompt opportunities.
SDK/OpenAPI
- Regenerated the public OpenAPI contract with
GET /v1/opportunities, task execution prompts, opportunity execution prompts, and the updated task status defaults.
2026-07-25
Lightsage added public access to the prompt visibility report, including the overall summary and the topic and prompt rows shown in the dashboard.API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Added
PublicPromptVisibilityReportResponsewith the selected date range, company, overall summary, and nested topic and active prompt rows. - Added visibility score, visibility rank, share of voice, average position, owned-domain citation count, and run count metrics to summary, topic, and prompt rows.
- Added optional
start_dateandend_datequery parameters. When omitted, Lightsage uses the current 30-day range.
SDK/OpenAPI
- Regenerated the public OpenAPI contract with the prompt visibility report endpoint and response schemas.
2026-07-20
Lightsage promoted the custom eval execution workflow to first-class CLI commands and added pollable run lifecycle data for active executions.CLI
- Added
sapient run evalsto start configured custom evals. - Added
sapient list evalsto list active and completed custom eval executions. - Added
sapient get run --run-id <run_id>to poll one execution. - Added
sapient get trace --run-id <run_id>to retrieve a completed trace or poll trace availability while the execution is active. - Renamed custom eval definition management from
sapient api-performance custom-evals ...tosapient api-performance custom-eval-definitions .... - Removed
sapient eval-runs create,sapient eval-runs retrieve, andsapient api-performance custom-evals history listfrom the generated CLI contract.
API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Custom eval execution responses now include lifecycle status, stage, elapsed time, trace availability, and stable child
run_idvalues. GET /v1/evalsnow returns a fulldashboard_urlfor every execution, including the authenticated organization ID and selected run ID.- Moved custom eval definition CRUD from
/v1/api-performance/custom-evalsto/v1/api-performance/custom-eval-definitions. - Removed
POST /v1/eval-runs,GET /v1/eval-runs/{eval_run_id}, andGET /v1/api-performance/custom-evals/history.
SDK/OpenAPI
- Regenerated the public OpenAPI contract with the first-class
run,list, andgetcommand methods. - Removed the legacy eval-run and custom eval history operations from generated clients.
Migration notes
- Replace custom eval
sapient eval-runs createcalls withsapient run evals. - Replace custom eval history calls with
sapient list evals. - Poll an individual child
run_idwithsapient get run, then use the same ID withsapient get trace. - Replace
sapient api-performance custom-evalsdefinition commands withsapient api-performance custom-eval-definitions.
2026-07-15
Lightsage added public Site Audit access, so API clients can list the latest website or documentation page results and inspect the prompt runs that cited a specific audited page.API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Added
PublicSiteAuditListResponsewith the latest audit snapshot and normalized page-level scores, checks, issues, citation metrics, and agent visits. - Added stable public
site_idvalues shared by the website, documentation, and detail endpoints. - Added
PublicSiteAuditDetailResponsewith the selected page result and the exact prompt runs that cited it, grouped by run with prompt, platform, topic, citation count, and best position.
SDK/OpenAPI
- Regenerated the public OpenAPI contract with the Site Audit endpoints and response schemas.
2026-07-09
Lightsage added public visibility metrics for the organization resolved by your API key, so API clients can read share of voice, visibility score, and the full overview without passing a company selector.API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Added
PublicCurrentVisibilityResponsewithvisibility_score,share_of_voice, ranks, date-range metadata, andhas_data. - Added
PublicVisibilityOverviewResponse, mirroring the dashboard overview: asnapshot(visibility score, share of voice, average position, ranks, and total citations aggregated over the range), a dailytimeseriesof visibility score, per-platform visibility and citation series inby_platform, and acompetitorscomparison. - Added optional
start_dateandend_datequery parameters to both endpoints. When omitted, Lightsage uses the current 30-day range.
SDK/OpenAPI
- Regenerated the public OpenAPI contract with the new visibility endpoint.
2026-05-30
Lightsage updated the public API and generated CLI contract for API Performance source and operation fields. The contract now uses user-facing source and operation terminology consistently, and eval-run creation can infer the source when the selected evals or operations identify one.CLI
- Updated generated API Performance commands to use
--source-idinstead of--integration-id. - Updated operation selection fields and flags to use
operation_id,operation_ids, andoperation_pathsinstead of endpoint naming. - Updated
sapient eval-runs createfor API Performance runs sosource_idcan be inferred fromoperation_ids,eval_ids, or an unambiguoussource_type. - Updated
sapient api-performance skills listto use--source-idfor API Performance sources and--skill-source-idfor skill-source filtering.
API
View API changes
View API changes
Updated endpoints and schemas
- Updated API Performance config, evals, starter projects, actions, source targets, docs audit, and eval-run request schemas to expose
source_idinstead ofintegration_id. - Updated API Performance eval definitions to expose
operation_idinstead ofendpoint_id, and to include the relatedsource_idandsourceobject. - Updated API Performance config and eval-run request schemas to use
operation_idsandoperation_pathsinstead of endpoint field names. - Updated
GET /v1/api-performance/sourcesresponses to returnoperation_count. - Updated skill responses to return
skill_source_idfor the skill repository/source andsource_idfor the API Performance source. - Updated
POST /v1/eval-runserrors to use public source terminology when a source is missing or ambiguous.
SDK/OpenAPI
- Regenerated the public OpenAPI contract for the updated source and operation field names.
Migration notes
- Replace
integration_idrequest fields and CLI flags withsource_id. - Replace
endpoint_id,endpoint_ids, andendpoint_pathswithoperation_id,operation_ids, andoperation_paths. - Use
eval_ids,operation_ids, or a single-sourcesource_typewhen you wantsapient eval-runs createto infer the source. - Update skill filters to use
source_idfor API Performance sources andskill_source_idfor skill-source IDs.
2026-05-29
Lightsage updated eval-run creation and CLI diagnostics so public runs are immediately pollable and dry-run output does not expose Lightsage API keys.CLI
- Updated
sapient --dry-runto redactX-Lightsage-Api-Keyand other*-api-keyheaders. sapient eval-runs createnow receives adispatch_idand queued child progress when Lightsage can determine the runnable work.
API
View API changes
View API changes
Updated endpoints and schemas
- Updated
POST /v1/eval-runsto create the durable dispatch and child queue items during the create request, while keepingidandjob_idas the parent eval-run job ID. - Updated
GET /v1/eval-runs/{eval_run_id}to report queued dispatch progress immediately after creation.
SDK/OpenAPI
- Regenerated the public OpenAPI contract for the updated eval-run behavior.
Migration notes
- Use the returned
idas before when polling eval-run progress. - Use
dispatch_idwhen you need to correlate the run with child queue progress.
2026-05-27
Lightsage updated API Performance run retrieval so generated CLI and public API responses show the runtime context used for each run.CLI
- Updated
sapient api-performance runs retrieveto return the stored harness prompt inprompt_sent. - Added runtime trace fields to retrieved API Performance runs:
run_context_sent,conversation_turns,generated_files, andgrader_results.
API
View API changes
View API changes
Updated endpoints and schemas
- Updated
GET /v1/api-performance/runs/{run_id}to return the stored run prompt instead of the base eval definition prompt. - Updated
EvalRunDetailwith runtime context and trace fields for docs selection, skills, generated files, conversation turns, and grader results. - Updated API Performance
eval_overridesonPOST /v1/eval-runsto apply runtime fields such ascustom_prompt,docs_mode,include_env_vars,env_profile_ids,model_ids,compare_skills,skills_mode,skills_enabled,runs_per_execution, andstarting_project_id.
SDK/OpenAPI
- Regenerated the public OpenAPI contract for the updated API Performance run detail schema.
Migration notes
- Use
docs_mode: "exclude"in an eval override when you need a no-docs run. - Use
docs_mode: "include"in an eval override when you need to force docs context for a run.
2026-05-26
Lightsage added public eval-run orchestration and custom eval history access to the CLI and public API. You can now start durable eval jobs, poll progress, and list the history rows shown in the custom eval dashboard. Lightsage also updated API Performance commands to resolve organization scope from the API key. Generated CLI commands no longer require a brand selector, and public responses no longer expose brand IDs.CLI
- Added
sapient eval-runs create. - Added
sapient eval-runs retrieve. - Added
sapient api-performance custom-evals history list. - Removed
--brandfrom generated API Performance commands.
API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Added
PublicPromptEvalRunRequestfor starting prompt eval jobs. - Added
PublicApiPerformanceEvalRunRequestfor starting API Performance jobs, includingsource_type: "custom_evals". - Added
PublicEvalRunResponsewith job ID, status, stage, dispatch ID, progress, counts, cost estimate, and timestamps. - Added custom eval history response fields for run IDs, prompts, targets, pass/fail result, score, tool call count, latency, run time, and facets.
- Removed public brand selector parameters and request fields from API Performance endpoints.
- Removed brand ID fields from public API Performance response schemas.
- Removed the legacy
include_brand_docseval field. Usedocs_modeinstead.
SDK/OpenAPI
- Regenerated the public OpenAPI contract for the new eval-runs and custom eval history operations.
- Regenerated the public OpenAPI contract without brand selectors or public brand ID fields.
Migration notes
- Use
sapient eval-runs createwhen you need to trigger prompt, API Performance, or custom eval jobs from automation. - Use
sapient eval-runs retrieve --eval-run-id <eval_run_id>to poll job progress. - Use
sapient api-performance custom-evals history list --custom-eval-id <custom_eval_id>to list evaluated custom eval rows before retrieving a specific run. - Remove
--brandfrom API Performance CLI calls. Lightsage now resolves the organization scope fromLIGHTSAGE_API_KEY. - Replace
include_brand_docswithdocs_modewhen updating eval context.
2026-05-23
Lightsage updated the public API and generated CLI contract for API Performance. This release introduces resource-shaped commands, API Performance actions, skill discovery, starter projects, custom evals, environment profiles, eval runtime selection fields, and source metadata for API, SDK, and CLI runs.CLI
- Added
sapient prompts actions list. - Added
sapient api-performance diagnose. - Added
sapient api-performance targets list. - Added
sapient api-performance config retrieveandupdate. - Added
sapient api-performance sources list. - Added
sapient api-performance skills list. - Added
sapient api-performance evals list,retrieve, andupdate. - Added
sapient api-performance custom-evals list,create,retrieve,update, anddelete. - Added
sapient api-performance starter-projects list,create,retrieve,update, anddelete. - Added
sapient api-performance actions list,refresh,retrieve,update, andverify.
API
View API changes
View API changes
New endpoints
Updated endpoints and schemas
- Updated
GET /v1/promptsandPOST /v1/promptswith Stainless method hints for generated CLI commands. - Updated
GET /v1/prompts/actionswith atagselector forcited_pages,opportunities, orall. - Updated prompt topic, prompt retrieve, prompt update, and prompt delete operations with Stainless method hints.
- Updated
/v1/api-performance/configto includeenv_profilesanddefault_env_profile_id. - Updated
GET /v1/api-performance/runsandGET /v1/api-performance/runs/{run_id}run summaries to include a sanitizedsourceobject with sourceid,type,label, and public metadata. - Updated API Performance eval definitions with
docs_mode,env_profile_ids,skills_mode,skill_ids, andcompare_skills. - Updated environment profile responses to return environment variable keys instead of secret values.
Replaced endpoint groups
- Replaced
/v1/api-performance/evaluation-configwith/v1/api-performance/config. - Replaced
/v1/api-performance/interfaceswith/v1/api-performance/sources. - Replaced
/v1/api-performance/operationsand operation prompt routes with/v1/api-performance/evalsand/v1/api-performance/custom-evals. - Replaced
/v1/api-performance/use-caseswith/v1/api-performance/custom-evals. - Removed prompt platform and prompt cost-estimate endpoints from the current public contract.
Migration notes
- Use
sapient api-performance config retrieveandupdateinstead ofsapient api-performance evaluation-config. - Use
sapient api-performance sources listinstead ofsapient api-performance interfaces list. - Use
sapient api-performance evalsandcustom-evalsinstead of the previous operations, operation-prompts, prompts, and use-cases command groups. - Use
sapient api-performance skills listto discover skill IDs before settingskills_mode selected. - Use
docs_modewhen controlling docs context for evals. - Use
skills_mode selectedwith one or more skill IDs to attach specific skill context to an eval.
2026-05-15
Lightsage’s public API and generated CLI exposed the original prompt management and API Performance operation-management contract.CLI
sapient status getsapient auth statussapient prompts list,create,retrieve,update, anddeletesapient prompts topics list,create,update, anddeletesapient prompts platforms listsapient prompts estimate-costsapient api-performance runs listandretrievesapient api-performance evaluation-config retrieveandupdatesapient api-performance interfaces listsapient api-performance platforms listandestimate-costsapient api-performance operations list,create,retrieve,update, anddeletesapient api-performance operations prompts listandcreatesapient api-performance prompts retrieve,update, anddeletesapient api-performance use-cases list,create,retrieve,update, anddelete
API
View API baseline
View API baseline