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

flagsmith Segments API

Manage segments within a project. Segments define groups of users based on traits and rules for targeted flag delivery.

flagsmith Segments API is one of 9 APIs that flagsmith publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Segments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 5 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://api.flagsmith.com/api/v1.

5 operations 2 paths 5 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://edge.api.flagsmith.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

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

  • apiKeyAuth — A secret Organisation API Token prefixed with 'Api-Key'. For example, 'Api-Key your-token-here'. This token should never be exposed in client-side code.

Paths & Operations 5

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

Segments 5

Manage segments within a project. Segments define groups of users based on traits and rules for targeted flag delivery.

GET
/projects/{project_id}/segments/
List segments for a project
listSegments 1 param → 200401404
POST
/projects/{project_id}/segments/
Create a segment
createSegment 1 param body → 201400401404
GET
/projects/{project_id}/segments/{segment_id}/
Get a segment
getSegment 2 params → 200401404
PUT
/projects/{project_id}/segments/{segment_id}/
Update a segment
updateSegment 2 params body → 200400401404
DELETE
/projects/{project_id}/segments/{segment_id}/
Delete a segment
deleteSegment 2 params → 204401404

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Segment (5 properties), PaginatedResponse (4 properties), SegmentInput (4 properties), SegmentCondition (3 properties). Each schema is shown below with its type and property counts.

Segment
object
A segment defines a group of users based on trait-based rules for targeted feature flag delivery.
5 properties
SegmentInput
object
Input object for creating or updating a segment
4 properties 3 required
PaginatedResponse
object
A paginated response wrapper containing the results count and navigation links.
4 properties
SegmentRule
object
A rule within a segment that defines conditions for membership. Rules can be combined with AND/OR logic.
3 properties
SegmentCondition
object
A condition within a segment rule that evaluates a trait against a value using an operator.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

flagsmith-segments-api-openapi.yml Raw ↑

Other APIs flagsmith publishes across the network.

Flagsmith Flags API
flagsmith Environments API
flagsmith Features API
flagsmith Identities API
flagsmith Organisations API
flagsmith Projects API
flagsmith Users API
flagsmith Webhooks API
Where this information came from

This is an independent, third-party profile of flagsmith Segments 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.