{ "info": { "_postman_id": "865fef83-a707-425e-aaa0-6dfabecc9d20", "name": "Split Admin Segments API", "description": "The Split Admin API is a REST API that enables programmatic management of workspaces (projects), environments, traffic types, attributes, users, groups, API keys, and change requests within the Split platform (now Harness Feature Management and Experimentation). The API uses resource-oriented URLs, returns JSON responses, and requires Admin API keys for authentication. All endpoints are prefixed with /internal/api/v2 on the api.split.io host.\n\nContact Support:\n Name: Split Support", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:00:33.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "lastUpdatedBy": "35240", "uid": "35240-865fef83-a707-425e-aaa0-6dfabecc9d20" }, "item": [ { "name": "segments", "item": [ { "name": "ws", "item": [ { "name": "{workspaceId}", "item": [ { "name": "environments", "item": [ { "name": "{environmentId}", "item": [ { "name": "List segments in environment", "id": "cb94d8f8-1dc2-42e0-999b-f00bce88b799", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId/environments/:environmentId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId", "environments", ":environmentId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "id": "dfa49be0-91ec-49ca-a675-556132f3c901", "key": "workspaceId", "value": "", "description": "(Required) The unique identifier of the workspace" }, { "id": "2873fc42-cfdd-4ec3-bc38-db8c2791fd31", "key": "environmentId", "value": "", "description": "(Required) The unique identifier or name of the environment" } ] }, "description": "Retrieves all segments activated in the specified environment within the given workspace." }, "response": [ { "id": "4b664c60-7b1f-472e-a396-d98398260ed6", "name": "Successful response containing list of segments", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId/environments/:environmentId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId", "environments", ":environmentId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "key": "workspaceId" }, { "key": "environmentId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"objects\": [\n {\n \"name\": \"\",\n \"description\": \"\",\n \"trafficType\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creationTime\": \"\",\n \"tags\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ]\n },\n {\n \"name\": \"\",\n \"description\": \"\",\n \"trafficType\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creationTime\": \"\",\n \"tags\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ]\n }\n ],\n \"offset\": \"\",\n \"limit\": \"\",\n \"totalCount\": \"\"\n}", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-4b664c60-7b1f-472e-a396-d98398260ed6" }, { "id": "57924fd6-7286-48b8-89c6-84fffdfc582f", "name": "Unauthorized - invalid or missing API key", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId/environments/:environmentId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId", "environments", ":environmentId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "key": "workspaceId" }, { "key": "environmentId" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-57924fd6-7286-48b8-89c6-84fffdfc582f" }, { "id": "9512ee6a-3967-4c91-8d66-69961afe4a2d", "name": "Workspace or environment not found", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId/environments/:environmentId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId", "environments", ":environmentId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "key": "workspaceId" }, { "key": "environmentId" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-9512ee6a-3967-4c91-8d66-69961afe4a2d" } ], "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-cb94d8f8-1dc2-42e0-999b-f00bce88b799" } ], "id": "84866713-cf5c-455b-ba5f-57a9d6887285", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-84866713-cf5c-455b-ba5f-57a9d6887285" } ], "id": "d134d53b-f121-4fb3-8914-94a0a3cc6c5c", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-d134d53b-f121-4fb3-8914-94a0a3cc6c5c" }, { "name": "List segments", "id": "a44849d7-4b95-44de-843f-67856092ee09", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "id": "0b452583-2ec1-4b30-b349-0087778f5422", "key": "workspaceId", "value": "", "description": "(Required) The unique identifier of the workspace" } ] }, "description": "Retrieves all segments defined within the specified workspace." }, "response": [ { "id": "91ab51a6-00a5-4d3d-8db7-b64b051e9e70", "name": "Successful response containing list of segments", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "key": "workspaceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"objects\": [\n {\n \"name\": \"\",\n \"description\": \"\",\n \"trafficType\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creationTime\": \"\",\n \"tags\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ]\n },\n {\n \"name\": \"\",\n \"description\": \"\",\n \"trafficType\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"creationTime\": \"\",\n \"tags\": [\n {\n \"name\": \"\"\n },\n {\n \"name\": \"\"\n }\n ]\n }\n ],\n \"offset\": \"\",\n \"limit\": \"\",\n \"totalCount\": \"\"\n}", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-91ab51a6-00a5-4d3d-8db7-b64b051e9e70" }, { "id": "dc48551d-7b13-4559-b254-c7aaaadada4d", "name": "Unauthorized - invalid or missing API key", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "key": "workspaceId" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-dc48551d-7b13-4559-b254-c7aaaadada4d" }, { "id": "f28659bb-4769-4e5b-8c90-1e8a80bd3b4b", "name": "Workspace not found", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/ws/:workspaceId?limit=20&offset=0", "host": [ "{{baseUrl}}" ], "path": [ "segments", "ws", ":workspaceId" ], "query": [ { "description": "Maximum number of results to return per page", "key": "limit", "value": "20" }, { "description": "Number of results to skip for pagination", "key": "offset", "value": "0" } ], "variable": [ { "key": "workspaceId" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-f28659bb-4769-4e5b-8c90-1e8a80bd3b4b" } ], "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-a44849d7-4b95-44de-843f-67856092ee09" } ], "id": "63049d94-c1eb-4067-aa91-5d372c6c5558", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-63049d94-c1eb-4067-aa91-5d372c6c5558" } ], "id": "c15a11d2-8209-479d-867c-84d6f3782c70", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-c15a11d2-8209-479d-867c-84d6f3782c70" }, { "name": "{environmentId}", "item": [ { "name": "{segmentName}", "item": [ { "name": "Enable segment in environment", "id": "1a57d510-5a8e-4aac-b329-dfe2578f0d31", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "id": "e60797fa-44fa-4410-8393-fdb87f4aae56", "key": "environmentId", "value": "", "description": "(Required) The unique identifier of the environment" }, { "id": "25016658-9e18-4645-84d4-676b7c2354c0", "key": "segmentName", "value": "", "description": "(Required) The name of the segment" } ] }, "description": "Activates a segment in the specified environment, making it available for use in feature flag targeting rules." }, "response": [ { "id": "e2126acc-aef3-4423-8a63-c7ee2933ce18", "name": "Segment enabled successfully", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "key": "environmentId" }, { "key": "segmentName" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-e2126acc-aef3-4423-8a63-c7ee2933ce18" }, { "id": "b8ceff3b-980b-4809-ab42-a07b26343a3a", "name": "Unauthorized - invalid or missing API key", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "key": "environmentId" }, { "key": "segmentName" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-b8ceff3b-980b-4809-ab42-a07b26343a3a" }, { "id": "e5371ae0-a8af-45cd-a51a-65f79b240d2c", "name": "Segment or environment not found", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "key": "environmentId" }, { "key": "segmentName" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-e5371ae0-a8af-45cd-a51a-65f79b240d2c" } ], "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-1a57d510-5a8e-4aac-b329-dfe2578f0d31" }, { "name": "Deactivate segment in environment", "id": "fa93bee5-d5ac-4504-9572-cccce66a73ac", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "id": "0be9fd2d-4c49-4a4f-9b8c-411efec0572c", "key": "environmentId", "value": "", "description": "(Required) The unique identifier of the environment" }, { "id": "12ec8bc5-0c91-4e63-8608-4e50c467c374", "key": "segmentName", "value": "", "description": "(Required) The name of the segment" } ] }, "description": "Deactivates a segment in the specified environment." }, "response": [ { "id": "5965cd67-da78-477b-93a5-ea67d5548329", "name": "Segment deactivated successfully", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "key": "environmentId" }, { "key": "segmentName" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-5965cd67-da78-477b-93a5-ea67d5548329" }, { "id": "afb58c07-7f7d-4ee1-a9fd-38c59b6a21fd", "name": "Unauthorized - invalid or missing API key", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "key": "environmentId" }, { "key": "segmentName" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-afb58c07-7f7d-4ee1-a9fd-38c59b6a21fd" }, { "id": "7498827e-2624-45a0-b934-dd939d3e8463", "name": "Segment or environment not found", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/segments/:environmentId/:segmentName", "host": [ "{{baseUrl}}" ], "path": [ "segments", ":environmentId", ":segmentName" ], "variable": [ { "key": "environmentId" }, { "key": "segmentName" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-7498827e-2624-45a0-b934-dd939d3e8463" } ], "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-fa93bee5-d5ac-4504-9572-cccce66a73ac" } ], "id": "4f770374-dd1b-4fe5-b1e7-f49c469654b3", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-4f770374-dd1b-4fe5-b1e7-f49c469654b3" } ], "id": "9fcbce5d-f5e1-4c1c-a1a0-5f804bf67e3f", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-9fcbce5d-f5e1-4c1c-a1a0-5f804bf67e3f" } ], "id": "8aa506c9-1861-4565-935c-278c535c992b", "createdAt": "2026-07-28T03:00:34.000Z", "updatedAt": "2026-07-28T03:00:34.000Z", "uid": "35240-8aa506c9-1861-4565-935c-278c535c992b" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.split.io/internal/api/v2" } ] }