v52

latestOpenAPI 3.0.1AGPL-3.0raw.githubusercontent.com2026-08-01255473862.7 KB
Features

Clone a feature

Clone an existing feature

post/features/{id}/clone

Path parameters

idstring required

Source Feature ID

Request body

descriptionstring

Description overrides the source feature's description when provided

lookup_keystring

LookupKey is required and must be unique across published features

metadataTypesMetadata
namestring

Name is required and must be different from the source feature's name

Response

Created

created_atstring date-time
created_bystring
descriptionstring
environment_idstring
group_idstring
idstring
lookup_keystring
metadataTypesMetadata
meter_idstring
namestring
status'published' | 'deleted' | 'archived'
tenant_idstring
type'metered' | 'boolean' | 'static' | 'config'
unit_pluralstring
unit_singularstring
updated_atstring date-time
updated_bystring

Example response

{
  "meter": {
    "created_at": "2024-03-20T15:04:05Z",
    "event_name": "api_request",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "API Usage Meter",
    "status": "published",
    "tenant_id": "tenant123",
    "updated_at": "2024-03-20T15:04:05Z"
  }
}