Layero Lighthouse API
The lighthouse API from Layero — 3 operation(s) for lighthouse.
The lighthouse API from Layero — 3 operation(s) for lighthouse.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/layero-ru:layero-ru-lighthouse-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Layero Lighthouse API
version: 0.1.0
tags:
- name: lighthouse
paths:
/projects/{project_id}/lighthouse/runs:
get:
tags:
- lighthouse
summary: List Lighthouse Runs
operationId: list_lighthouse_runs_projects__project_id__lighthouse_runs_get
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid
title: Project Id
- name: environment_id
in: query
required: false
schema:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Environment Id
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/LighthouseRunOut'
title: Response List Lighthouse Runs Projects Project Id Lighthouse Runs Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- lighthouse
summary: Create Lighthouse Run
operationId: create_lighthouse_run_projects__project_id__lighthouse_runs_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid
title: Project Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LighthouseRunCreateIn'
responses:
'202':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LighthouseRunOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/lighthouse/runs/{run_id}:
get:
tags:
- lighthouse
summary: Get Lighthouse Run
operationId: get_lighthouse_run_lighthouse_runs__run_id__get
parameters:
- name: run_id
in: path
required: true
schema:
type: string
format: uuid
title: Run Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LighthouseRunOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/projects/{project_id}/lighthouse/compare:
get:
tags:
- lighthouse
summary: Compare Lighthouse Runs
operationId: compare_lighthouse_runs_projects__project_id__lighthouse_compare_get
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid
title: Project Id
- name: run_a
in: query
required: true
schema:
type: string
format: uuid
title: Run A
- name: run_b
in: query
required: true
schema:
type: string
format: uuid
title: Run B
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LighthouseCompareOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
LighthouseCompareOut:
properties:
run_a:
$ref: '#/components/schemas/LighthouseRunOut'
run_b:
$ref: '#/components/schemas/LighthouseRunOut'
diff:
additionalProperties:
anyOf:
- type: number
- type: integer
- type: 'null'
type: object
title: Diff
type: object
required:
- run_a
- run_b
- diff
title: LighthouseCompareOut
LighthouseRunOut:
properties:
id:
type: string
format: uuid
title: Id
deploy_id:
type: string
format: uuid
title: Deploy Id
environment_id:
type: string
format: uuid
title: Environment Id
project_id:
type: string
format: uuid
title: Project Id
status:
type: string
title: Status
url:
type: string
title: Url
report_s3_path:
anyOf:
- type: string
- type: 'null'
title: Report S3 Path
perf_score:
anyOf:
- type: integer
- type: 'null'
title: Perf Score
a11y_score:
anyOf:
- type: integer
- type: 'null'
title: A11Y Score
bp_score:
anyOf:
- type: integer
- type: 'null'
title: Bp Score
seo_score:
anyOf:
- type: integer
- type: 'null'
title: Seo Score
lcp_ms:
anyOf:
- type: integer
- type: 'null'
title: Lcp Ms
fcp_ms:
anyOf:
- type: integer
- type: 'null'
title: Fcp Ms
cls:
anyOf:
- type: number
- type: 'null'
title: Cls
tti_ms:
anyOf:
- type: integer
- type: 'null'
title: Tti Ms
tbt_ms:
anyOf:
- type: integer
- type: 'null'
title: Tbt Ms
si_ms:
anyOf:
- type: integer
- type: 'null'
title: Si Ms
error_message:
anyOf:
- type: string
- type: 'null'
title: Error Message
created_at:
type: string
title: Created At
finished_at:
anyOf:
- type: string
- type: 'null'
title: Finished At
report_url:
anyOf:
- type: string
- type: 'null'
title: Report Url
type: object
required:
- id
- deploy_id
- environment_id
- project_id
- status
- url
- created_at
title: LighthouseRunOut
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
LighthouseRunCreateIn:
properties:
deploy_id:
type: string
format: uuid
title: Deploy Id
type: object
required:
- deploy_id
title: LighthouseRunCreateIn