action configcat_get_segments { label: "List Segments" description: "This endpoint returns the list of the Segments that belongs to the given Product identified by the\n`productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint." provider: configcat method: GET path: "/v1/products/{productId}/segments" encoding: json input: { type: "object" properties: { productId: { type: "string" format: "uuid" } } required: ["productId"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { createdAt: { type: "string" format: "date-time" } creatorEmail: { type: "string" } creatorFullName: { type: "string" } description: { type: "string" } lastUpdaterEmail: { type: "string" } lastUpdaterFullName: { type: "string" } name: { type: "string" } product: { type: "object" properties: { description: { type: "string" } name: { type: "string" } order: { type: "integer" format: "int32" } organization: { type: "object" properties: { name: { type: "string" } organizationId: { type: "string" format: "uuid" } } additionalProperties: false } productId: { type: "string" format: "uuid" } reasonRequired: { type: "boolean" } } additionalProperties: false } segmentId: { type: "string" format: "uuid" } updatedAt: { type: "string" format: "date-time" } usage: { type: "integer" format: "int32" } } additionalProperties: false } } }