How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LaunchDarkly Views API

The views API allows you to create, retrieve, and edit views, and link other resources to views.A view is a resource in LaunchDarkly that you can use to logically group other resources within a project, such as flags or segments. For example, views let you restrict access to sets of flags, so that members of your organization can focus on just the flags they work with.To learn more, read [Views](https://launchdarkly.com/docs/home/account/views).

LaunchDarkly Views API is one of 68 APIs that LaunchDarkly publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Views. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 9 operations across 5 paths, and defines 55 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against 2 base URLs: https://app.launchdarkly.com, https://app.launchdarkly.us.

9 operations 5 paths 55 schemas 2 DELETE4 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://app.launchdarkly.com/api/v2
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

LaunchDarkly Views API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKey). By default, every request must be authenticated.

Paths & Operations 9

Across 5 paths, the API surfaces 9 operations — 2 DELETE, 4 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Views 9

The views API allows you to create, retrieve, and edit views, and link other resources to views. A view is a resource in LaunchDarkly that you can use to logically group other res…

GET
/api/v2/projects/{projectKey}/views
List views
getViews 6 params → 200400403404500
POST
/api/v2/projects/{projectKey}/views
Create view
createView 1 param body → 200400403404500
DELETE
/api/v2/projects/{projectKey}/views/{viewKey}
Delete view
deleteView 2 params → 204403404500
GET
/api/v2/projects/{projectKey}/views/{viewKey}
Get view
getView 7 params → 200400403404500
PATCH
/api/v2/projects/{projectKey}/views/{viewKey}
Update view
updateView 2 params body → 200400403404500
DELETE
/api/v2/projects/{projectKey}/views/{viewKey}/link/{resourceType}
Unlink resource
unlinkResource 3 params body → 200400403404500
POST
/api/v2/projects/{projectKey}/views/{viewKey}/link/{resourceType}
Link resource
linkResource 3 params body → 200400403404500
GET
/api/v2/projects/{projectKey}/views/{viewKey}/linked/{resourceType}
Get linked resources
getLinkedResources 9 params → 200400403404500
GET
/api/v2/projects/{projectKey}/view-associations/{resourceType}/{resourceKey}
Get linked views for a given resource
getLinkedViews 6 params → 200400403404500

Schemas 55

The contract defines 55 schemas that model the data the API accepts and returns. The most detailed are View (28 properties), ExpandedMetric (14 properties), ExpandedSegment (13 properties), ExpandedFlag (11 properties). Each schema is shown below with its type and property counts.

ViewLinkRequestFilter
object
3 properties 1 required
Maintainer
object
4 properties 2 required
ViewPost
object
6 properties 2 required
ViewLinkRequestSegmentIdentifiers
object
4 properties 1 required
ViewsMemberSummary
object
6 properties 4 required
ExpandedLinkedMetrics
object
2 properties 2 required
SegmentsSummary
object
2 properties 1 required
ExpandedFlag
object
Flag representation for Views API - contains only fields actually used by the Views service
11 properties 2 required
ViewsAccessDeniedReason
object
6 properties 1 required
ViewsMaintainerMember
object
5 properties 3 required
ActionSpecifier
string
Error
object
2 properties 2 required
ExpandedAIConfig
object
AI Config representation for Views API - contains only fields actually used by the Views service
9 properties
ExpandedMetric
object
Metric representation for Views API - contains only fields actually used by the Views service
14 properties
ViewLinkRequest
object
ExpandedLinkedResources
object
Details on linked resources for a view - requires passing the 'allResources' expand field
2 properties 2 required
View
object
28 properties 13 required
ViewLinkedResources
object
3 properties 2 required
ViewsLink
object
2 properties
ExpandedDirectlyLinkedSegment
object
4 properties 4 required
MetricsSummary
object
1 property 1 required
ExpandedLinkedResourcesFlags
object
2 properties 2 required
ExpandedLinkedResourcesSegments
object
2 properties 2 required
ViewPatch
object
5 properties
Views
object
3 properties 2 required
ExpandedLinkedFlags
object
Details on linked flags for a view - requires passing the 'allFlags' expand field
2 properties 2 required
ExpandedSegment
object
Segment representation for Views API - contains only fields actually used by the Views service
13 properties 2 required
FlagsSummary
object
2 properties 1 required
LinkResourceSuccessResponse
object
4 properties 2 required
ViewsMemberTeamSummaryRep
object
4 properties 3 required
ExpandedDirectlyLinkedFlags
object
2 properties 2 required
ExpandedLinkedSegments
object
Details on linked segments for a view - requires passing the 'allSegments' expand field
2 properties 2 required
ViewsAccessAllowedRep
object
2 properties 2 required
ViewsAccessAllowedReason
object
6 properties 1 required
ViewsAccess
object
2 properties 2 required
ExpandedLinkedAIConfigs
object
2 properties 2 required
ViewsPaginatedLinks
object
5 properties 1 required
ExpandedLinkedResourcesItems
object
2 properties 1 required
ViewLinkedResourceDetails
object
5 properties
CoreLink
object
2 properties 2 required
ViewLinkRequestSegmentIdentifier
object
2 properties 2 required
ViewLinkedResource
object
7 properties 4 required
ExpandedDirectlyLinkedSegments
object
2 properties 2 required
AIConfigsSummary
object
1 property 1 required
UnlinkResourceSuccessResponse
object
3 properties 2 required
FailedResourceLink
object
4 properties 3 required
ViewsMaintainerTeam
object
3 properties 3 required
ParentAndSelfLinks
object
The location and content type of related resources
2 properties 2 required
ExpandedDirectlyLinkedFlag
object
3 properties 3 required
ViewsSelfLink
object
1 property 1 required
ViewsAccessDenied
object
2 properties 2 required
ViewLinkRequestKeys
object
3 properties 1 required
ExpandedFlagMaintainer
object
4 properties 2 required
ViewsAccessRep
ResourceSummary
object
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

launchdarkly-views-api-openapi.yml Raw ↑

Other APIs LaunchDarkly publishes across the network.

LaunchDarkly Webhooks API
launchdarkly Access Tokens API
launchdarkly Account Members API
launchdarkly Approvals API
launchdarkly Audit Log API
launchdarkly Client-Side Evaluation API
launchdarkly Client-Side Streaming API
launchdarkly Code References API
launchdarkly Custom Roles API
launchdarkly Environments API
launchdarkly Experiments API
launchdarkly Feature Flags API
Where this information came from

This is an independent, third-party profile of LaunchDarkly Views API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.