Lightrun feature flags status API

Lightrun feature flags status API.

Operations 2

GET /api/v1/configuration/feature/toggle Get Lightrun system feature configuration #
POST /api/v1/configuration/feature/toggle Update Lightrun feature flag toggle status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lightrun-lightrun-feature-flags-status-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lightrun-lightrun-feature-flags-status-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Lightrun API documentation
  title: Lightrun feature flags status API
  version: v1
servers:
- url: http://localhost:8090
  description: Generated server url
tags:
- description: Lightrun feature flags status API.
  name: Lightrun feature flags status
paths:
  /api/v1/configuration/feature/toggle:
    get:
      description: 'Get a JSON file with the current Lightrun feature flags toggle status.


        **Required API permission level:** `COMPANY`'
      operationId: getFeatureConfig
      parameters:
      - description: Company ID for which to read the feature configuration. Required for non-single-tenant deployments
        in: query
        name: company
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeatureToggleDescriptorDTO'
          description: Lightrun feature flags toggle status
      security:
      - API Token: []
      summary: Get Lightrun system feature configuration
      tags:
      - Lightrun feature flags status
    post:
      description: 'Update the Lightrun feature flags toggle status.


        **Required API permission level:** `COMPANY`'
      operationId: setFeatureConfig
      parameters:
      - description: Signature for the request content
        in: query
        name: signature
        required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeatureConfigurationWriteDTO'
        required: true
      responses:
        '200':
          description: Lightrun feature flag status updated
        '400':
          description: Bad request, Usually due to invalid input.
      security:
      - API Token: []
      summary: Update Lightrun feature flag toggle status
      tags:
      - Lightrun feature flags status
components:
  schemas:
    FeatureConfigurationWriteDTO:
      type: object
      description: Feature configuration update DTO
      example:
        expirationDays: 30
        organizationId: org123
        account: account123
        businessUnit: BU123
        deployment: deployment123
        featureStatus:
          FEATURE_1: DISABLED
          FEATURE_2: ENABLED
      properties:
        account:
          type: string
          description: The name of the account entity to update.
          example: account123
        businessUnit:
          type: string
          description: The name of the business unit entity to update.
          example: BU123
        deployment:
          type: string
          description: The name of the deployment entity to update.
          example: deployment123
        expirationDays:
          type: integer
          format: int64
          description: The expiration time of this configuration in days
          example: 90
        features:
          type: object
          additionalProperties:
            type: string
            description: Feature toggle state enumeration
            enum:
            - DISABLED
            - ENABLED
            example:
              FEATURE_1: ENABLED
              FEATURE_2: DISABLED
          description: The feature toggle state description. Features that are not included will not change their state.
          example:
            FEATURE_1: ENABLED
            FEATURE_2: DISABLED
          minProperties: 1
          properties:
            empty:
              type: boolean
        organizationId:
          type: string
          description: The organizationId of the entity to update. empty is auto-initialized for single tenant deployments
          example: org123
      required:
      - expirationDays
      - features
      - organizationId
    FeatureToggleDescriptorDTO:
      type: object
      additionalProperties:
        type: string
        description: Feature toggle state enumeration
        enum:
        - DISABLED
        - ENABLED
        example:
          FEATURE_1: ENABLED
          FEATURE_2: DISABLED
      description: Feature state read-only view
      example:
        FEATURE_1: ENABLED
        FEATURE_2: DISABLED
      properties:
        empty:
          type: boolean
  securitySchemes:
    API_Token:
      scheme: bearer
      type: http