launchdarkly Tags API

The Tags API from launchdarkly — 1 operation(s) for tags.

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/tags List tags #
GET /tags List tags used across the account · List tags #
Ask an LLM
“What tags are in use across our LaunchDarkly resources?”
“Can I see only the tags applied to one kind of resource, like flags?”
Tell an agent
List all tags.
List tags used on {kind} resources.

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/launchdarkly:launchdarkly-tags-api"
All apis
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.

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

launchdarkly-tags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Launchdarkly Tags API
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '1.0'
  description: 'Operations tagged Tags across 2 of this provider''s published API definitions: launchdarkly-openapi.json, launchdarkly-rest-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.launchdarkly.com
  description: ' Default'
- url: https://app.launchdarkly.us
  description: ' Federal'
- url: https://app.launchdarkly.com/api/v2
  description: LaunchDarkly Production API
tags:
- name: Tags
  description: 'Tags are simple strings that you can attach to most resources in LaunchDarkly. Tags are useful for grouping resources into a set that you can name in a resource specifier. To learn more, read Specifying resources in the advanced editor.


    Using the tags API, you can list existing tags for resources.'
paths:
  /api/v2/tags:
    get:
      description: Get a list of tags.
      operationId: getTags
      parameters:
      - description: Fetch tags associated with the specified resource type. Options are `flag`, `project`, `environment`, `segment`, `metric`, `metric-data-source`, `aiconfig`, and `view`. Returns all types by default.
        explode: true
        in: query
        name: kind
        required: false
        schema:
          items:
            type: string
          type: array
        style: form
      - description: Return tags with the specified prefix
        explode: true
        in: query
        name: pre
        required: false
        schema:
          type: string
        style: form
      - description: Whether or not to return archived flags
        explode: true
        in: query
        name: archived
        required: false
        schema:
          type: boolean
        style: form
      - description: The number of tags to return. Maximum is 1000.
        explode: true
        in: query
        name: limit
        required: false
        schema:
          type: integer
        style: form
      - description: The index of the first tag to return. Default is 0.
        explode: true
        in: query
        name: offset
        required: false
        schema:
          type: integer
        style: form
      - description: The time to retrieve tags as of. Default is the current time.
        explode: true
        in: query
        name: asOf
        required: false
        schema:
          type: string
        style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagsCollection'
          description: Tag collection response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid access token
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Forbidden
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rate Limited
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      summary: List tags
      tags:
      - Tags
      security:
      - ApiKey:
        - read
        - write
    servers:
    - url: https://app.launchdarkly.com
      description: ' Default'
    - url: https://app.launchdarkly.us
      description: ' Federal'
  /tags:
    get:
      operationId: listTags
      summary: List tags
      description: Returns a list of tags used across all resources in the account.
      tags:
      - Tags
      parameters:
      - name: kind
        in: query
        description: Filter tags by resource kind such as flag, project, environment, or segment.
        schema:
          type: string
          enum:
          - flag
          - project
          - environment
          - segment
          - metric
      responses:
        '200':
          description: Successful response containing a list of tags.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagCollection'
        '401':
          description: Unauthorized. Invalid or missing access token.
      security:
      - bearerAuth: []
    servers:
    - url: https://app.launchdarkly.com/api/v2
      description: LaunchDarkly Production API
components:
  schemas:
    TagsCollection:
      example:
        _links:
          key:
            href: href
            type: type
        totalCount: 103
        items:
        - ops
        - pro
      properties:
        items:
          description: List of tags
          example:
          - ops
          - pro
          items:
            type: string
          type: array
        _links:
          additionalProperties:
            $ref: '#/components/schemas/TagsLink'
          type: object
        totalCount:
          description: The total number of tags
          example: 103
          type: integer
      required:
      - _links
      - items
      type: object
    Error:
      example:
        code: code
        message: message
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - code
      - message
      type: object
    TagsLink:
      example:
        href: href
        type: type
      properties:
        href:
          type: string
        type:
          type: string
      type: object
    TagCollection:
      type: object
      description: A collection of tags.
      properties:
        items:
          type: array
          description: The list of tags.
          items:
            type: string
        _links:
          $ref: '#/components/schemas/Links'
    Links:
      type: object
      description: HATEOAS links for navigating related resources.
      properties:
        self:
          type: object
          description: A link to this resource.
          properties:
            href:
              type: string
              description: The URL of this resource.
            type:
              type: string
              description: The media type.
      additionalProperties:
        type: object
        properties:
          href:
            type: string
            description: The URL of the linked resource.
          type:
            type: string
            description: The media type.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: Authorization
    bearerAuth:
      type: http
      scheme: bearer
      description: LaunchDarkly API access token. Create personal or service tokens in the LaunchDarkly dashboard under Account Settings.
externalDocs:
  description: LaunchDarkly API Documentation
  url: https://apidocs.launchdarkly.com/
x-refined-from:
- launchdarkly-openapi.json
- launchdarkly-rest-api-openapi.yml