Skip to main content
POST
/
api
/
v2
/
projects
/
{projectKey}
/
views
Create view
curl --request POST \
  --url https://app.launchdarkly.com/api/v2/projects/{projectKey}/views \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'LD-API-Version: <ld-api-version>' \
  --data '
{
  "maintainerId": "maintainerId",
  "name": "name",
  "generateSdkKeys": false,
  "maintainerTeamKey": "maintainerTeamKey",
  "description": "",
  "key": "key",
  "tags": [
    "tags",
    "tags"
  ]
}
'
{
  "metricsExpanded": {
    "totalCount": 6,
    "items": [
      {
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "kind": "kind",
        "description": "description",
        "creationDate": 9,
        "isActive": true,
        "lastSeen": 3,
        "eventKey": "eventKey",
        "_versionId": "_versionId",
        "isNumeric": true,
        "name": "name",
        "lastModified": 6,
        "_id": "_id",
        "category": "category",
        "key": "key"
      },
      {
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "kind": "kind",
        "description": "description",
        "creationDate": 9,
        "isActive": true,
        "lastSeen": 3,
        "eventKey": "eventKey",
        "_versionId": "_versionId",
        "isNumeric": true,
        "name": "name",
        "lastModified": 6,
        "_id": "_id",
        "category": "category",
        "key": "key"
      }
    ]
  },
  "_links": {
    "parent": {
      "href": "href",
      "type": "type"
    },
    "self": {
      "href": "href",
      "type": "type"
    }
  },
  "description": "description",
  "maintainer": {
    "kind": "kind",
    "maintainerMember": {
      "firstName": "firstName",
      "lastName": "lastName",
      "role": "role",
      "id": "id",
      "email": "email"
    },
    "id": "id",
    "maintainerTeam": {
      "name": "name",
      "id": "id",
      "key": "key"
    }
  },
  "metricsSummary": {
    "count": 2
  },
  "createdAt": 6,
  "archived": false,
  "projectKey": "projectKey",
  "_access": {
    "allowed": [
      {
        "reason": {
          "role_name": "role_name",
          "notActions": [
            null,
            null
          ],
          "notResources": [
            "notResources",
            "notResources"
          ],
          "effect": "allow",
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ]
        },
        "action": "action"
      },
      {
        "reason": {
          "role_name": "role_name",
          "notActions": [
            null,
            null
          ],
          "notResources": [
            "notResources",
            "notResources"
          ],
          "effect": "allow",
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ]
        },
        "action": "action"
      }
    ],
    "denied": [
      {
        "reason": {
          "role_name": "role_name",
          "notActions": [
            null,
            null
          ],
          "notResources": [
            "notResources",
            "notResources"
          ],
          "effect": "allow",
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ]
        },
        "action": "action"
      },
      {
        "reason": {
          "role_name": "role_name",
          "notActions": [
            null,
            null
          ],
          "notResources": [
            "notResources",
            "notResources"
          ],
          "effect": "allow",
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ]
        },
        "action": "action"
      }
    ]
  },
  "generateSdkKeys": true,
  "flagsSummary": {
    "count": 2,
    "linkedFlags": {
      "totalCount": 7,
      "items": [
        {
          "name": "name",
          "links": {
            "self": {
              "href": "href",
              "type": "type"
            }
          },
          "key": "key"
        },
        {
          "name": "name",
          "links": {
            "self": {
              "href": "href",
              "type": "type"
            }
          },
          "key": "key"
        }
      ]
    }
  },
  "id": "id",
  "aiConfigsSummary": {
    "count": 4
  },
  "key": "key",
  "updatedAt": 1,
  "resourcesExpanded": {
    "totalCount": 7,
    "items": {
      "flags": {
        "totalCount": 5,
        "items": [
          {
            "archived": true,
            "temporary": true,
            "includeInSnippet": true,
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "name": "name",
            "description": "description",
            "creationDate": 7,
            "_version": 1,
            "key": "key",
            "maintainer": {
              "kind": "member",
              "_member": {
                "firstName": "Ariel",
                "lastName": "Flores",
                "role": "admin",
                "_links": {
                  "self": {
                    "href": "/api/v2/members/569f183514f4432160000007",
                    "type": "application/json"
                  }
                },
                "_id": "569f183514f4432160000007",
                "email": "ariel@acme.com"
              },
              "_team": {
                "_links": {
                  "key": {
                    "href": "href",
                    "type": "type"
                  }
                },
                "name": "QA Team",
                "customRoleKeys": [
                  "access-to-test-projects"
                ],
                "key": "team-key-123abc"
              },
              "key": "key"
            },
            "tags": [
              "tags",
              "tags"
            ]
          },
          {
            "archived": true,
            "temporary": true,
            "includeInSnippet": true,
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "name": "name",
            "description": "description",
            "creationDate": 7,
            "_version": 1,
            "key": "key",
            "maintainer": {
              "kind": "member",
              "_member": {
                "firstName": "Ariel",
                "lastName": "Flores",
                "role": "admin",
                "_links": {
                  "self": {
                    "href": "/api/v2/members/569f183514f4432160000007",
                    "type": "application/json"
                  }
                },
                "_id": "569f183514f4432160000007",
                "email": "ariel@acme.com"
              },
              "_team": {
                "_links": {
                  "key": {
                    "href": "href",
                    "type": "type"
                  }
                },
                "name": "QA Team",
                "customRoleKeys": [
                  "access-to-test-projects"
                ],
                "key": "team-key-123abc"
              },
              "key": "key"
            },
            "tags": [
              "tags",
              "tags"
            ]
          }
        ]
      },
      "aiConfigs": {
        "totalCount": 3,
        "items": [
          {
            "createdAt": 2,
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "name": "name",
            "description": "description",
            "version": 1,
            "key": "key",
            "flagKey": "flagKey",
            "tags": [
              "tags",
              "tags"
            ],
            "updatedAt": 6
          },
          {
            "createdAt": 2,
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "name": "name",
            "description": "description",
            "version": 1,
            "key": "key",
            "flagKey": "flagKey",
            "tags": [
              "tags",
              "tags"
            ],
            "updatedAt": 6
          }
        ]
      },
      "metrics": {
        "totalCount": 3,
        "items": [
          {
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "kind": "kind",
            "description": "description",
            "creationDate": 9,
            "isActive": true,
            "lastSeen": 3,
            "eventKey": "eventKey",
            "_versionId": "_versionId",
            "isNumeric": true,
            "name": "name",
            "lastModified": 6,
            "_id": "_id",
            "category": "category",
            "key": "key"
          },
          {
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "kind": "kind",
            "description": "description",
            "creationDate": 9,
            "isActive": true,
            "lastSeen": 3,
            "eventKey": "eventKey",
            "_versionId": "_versionId",
            "isNumeric": true,
            "name": "name",
            "lastModified": 6,
            "_id": "_id",
            "category": "category",
            "key": "key"
          }
        ]
      },
      "segments": {
        "totalCount": 6,
        "items": [
          {
            "generation": 6,
            "lastModifiedDate": 9,
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "description": "description",
            "creationDate": 5,
            "version": 9,
            "environmentKey": "environmentKey",
            "tags": [
              "tags",
              "tags"
            ],
            "environmentId": "environmentId",
            "deleted": true,
            "name": "name",
            "unbounded": true,
            "key": "key"
          },
          {
            "generation": 6,
            "lastModifiedDate": 9,
            "_links": {
              "parent": {
                "href": "href",
                "type": "type"
              },
              "self": {
                "href": "href",
                "type": "type"
              }
            },
            "description": "description",
            "creationDate": 5,
            "version": 9,
            "environmentKey": "environmentKey",
            "tags": [
              "tags",
              "tags"
            ],
            "environmentId": "environmentId",
            "deleted": true,
            "name": "name",
            "unbounded": true,
            "key": "key"
          }
        ]
      }
    }
  },
  "resourceSummary": {
    "flagCount": 7,
    "metricCount": 1,
    "totalCount": 6,
    "segmentCount": 1,
    "aiConfigCount": 1
  },
  "version": 0,
  "tags": [
    "tags",
    "tags"
  ],
  "accountId": "accountId",
  "archivedAt": 5,
  "deletedAt": 5,
  "deleted": false,
  "name": "name",
  "segmentsSummary": {
    "linkedSegments": {
      "totalCount": 3,
      "items": [
        {
          "environmentId": "environmentId",
          "name": "name",
          "links": {
            "self": {
              "href": "href",
              "type": "type"
            }
          },
          "key": "key"
        },
        {
          "environmentId": "environmentId",
          "name": "name",
          "links": {
            "self": {
              "href": "href",
              "type": "type"
            }
          },
          "key": "key"
        }
      ]
    },
    "count": 9
  },
  "aiConfigsExpanded": {
    "totalCount": 6,
    "items": [
      {
        "createdAt": 2,
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "name": "name",
        "description": "description",
        "version": 1,
        "key": "key",
        "flagKey": "flagKey",
        "tags": [
          "tags",
          "tags"
        ],
        "updatedAt": 6
      },
      {
        "createdAt": 2,
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "name": "name",
        "description": "description",
        "version": 1,
        "key": "key",
        "flagKey": "flagKey",
        "tags": [
          "tags",
          "tags"
        ],
        "updatedAt": 6
      }
    ]
  },
  "segmentsExpanded": {
    "totalCount": 8,
    "items": [
      {
        "generation": 6,
        "lastModifiedDate": 9,
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "description": "description",
        "creationDate": 5,
        "version": 9,
        "environmentKey": "environmentKey",
        "tags": [
          "tags",
          "tags"
        ],
        "environmentId": "environmentId",
        "deleted": true,
        "name": "name",
        "unbounded": true,
        "key": "key"
      },
      {
        "generation": 6,
        "lastModifiedDate": 9,
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "description": "description",
        "creationDate": 5,
        "version": 9,
        "environmentKey": "environmentKey",
        "tags": [
          "tags",
          "tags"
        ],
        "environmentId": "environmentId",
        "deleted": true,
        "name": "name",
        "unbounded": true,
        "key": "key"
      }
    ]
  },
  "projectId": "projectId",
  "flagsExpanded": {
    "totalCount": 4,
    "items": [
      {
        "archived": true,
        "temporary": true,
        "includeInSnippet": true,
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "name": "name",
        "description": "description",
        "creationDate": 7,
        "_version": 1,
        "key": "key",
        "maintainer": {
          "kind": "member",
          "_member": {
            "firstName": "Ariel",
            "lastName": "Flores",
            "role": "admin",
            "_links": {
              "self": {
                "href": "/api/v2/members/569f183514f4432160000007",
                "type": "application/json"
              }
            },
            "_id": "569f183514f4432160000007",
            "email": "ariel@acme.com"
          },
          "_team": {
            "_links": {
              "key": {
                "href": "href",
                "type": "type"
              }
            },
            "name": "QA Team",
            "customRoleKeys": [
              "access-to-test-projects"
            ],
            "key": "team-key-123abc"
          },
          "key": "key"
        },
        "tags": [
          "tags",
          "tags"
        ]
      },
      {
        "archived": true,
        "temporary": true,
        "includeInSnippet": true,
        "_links": {
          "parent": {
            "href": "href",
            "type": "type"
          },
          "self": {
            "href": "href",
            "type": "type"
          }
        },
        "name": "name",
        "description": "description",
        "creationDate": 7,
        "_version": 1,
        "key": "key",
        "maintainer": {
          "kind": "member",
          "_member": {
            "firstName": "Ariel",
            "lastName": "Flores",
            "role": "admin",
            "_links": {
              "self": {
                "href": "/api/v2/members/569f183514f4432160000007",
                "type": "application/json"
              }
            },
            "_id": "569f183514f4432160000007",
            "email": "ariel@acme.com"
          },
          "_team": {
            "_links": {
              "key": {
                "href": "href",
                "type": "type"
              }
            },
            "name": "QA Team",
            "customRoleKeys": [
              "access-to-test-projects"
            ],
            "key": "team-key-123abc"
          },
          "key": "key"
        },
        "tags": [
          "tags",
          "tags"
        ]
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Headers

LD-API-Version
enum<string>
required

Version of the endpoint.

Available options:
beta

Path Parameters

projectKey
string
required

Body

application/json

View object to create

key
string
required

Unique key for the view within the account/project

name
string
required

Human-readable name for the view

description
string
default:""

Optional detailed description of the view

generateSdkKeys
boolean
default:false

Whether to generate SDK keys for this view

maintainerId
string

Member ID of the maintainer for this view. Only one of maintainerId or maintainerTeamKey can be specified.

maintainerTeamKey
string

Key of the maintainer team for this view. Only one of maintainerId or maintainerTeamKey can be specified.

tags
string[]

Tags associated with this view

Response

Successful response

id
string<string>
required

Unique ID of this view

accountId
string
required

ID of the account that owns this view

projectId
string
required

ID of the project this view belongs to

projectKey
string
required

Key of the project this view belongs to

key
string
required

Unique key for the view within the account/project

name
string
required

Human-readable name for the view

description
string
required

Optional detailed description of the view

generateSdkKeys
boolean
required

Whether to generate SDK keys for this view. Defaults to false.

version
integer
required

Version number for tracking changes

tags
string[]
required

Tags associated with this view

createdAt
integer<int64>
required
updatedAt
integer<int64>
required
archived
boolean
default:false
required

Whether this view is archived

deleted
boolean
default:false
required

Whether this view is deleted

_access
object
Example:
{
"allowed": [
{
"reason": {
"role_name": "role_name",
"notActions": [null, null],
"notResources": ["notResources", "notResources"],
"effect": "allow",
"resources": ["proj/*:env/*;qa_*:/flag/*"],
"actions": ["*"]
},
"action": "action"
},
{
"reason": {
"role_name": "role_name",
"notActions": [null, null],
"notResources": ["notResources", "notResources"],
"effect": "allow",
"resources": ["proj/*:env/*;qa_*:/flag/*"],
"actions": ["*"]
},
"action": "action"
}
],
"denied": [
{
"reason": {
"role_name": "role_name",
"notActions": [null, null],
"notResources": ["notResources", "notResources"],
"effect": "allow",
"resources": ["proj/*:env/*;qa_*:/flag/*"],
"actions": ["*"]
},
"action": "action"
},
{
"reason": {
"role_name": "role_name",
"notActions": [null, null],
"notResources": ["notResources", "notResources"],
"effect": "allow",
"resources": ["proj/*:env/*;qa_*:/flag/*"],
"actions": ["*"]
},
"action": "action"
}
]
}

The location and content type of related resources

Example:
{
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
}
archivedAt
integer<int64>
deletedAt
integer<int64>
maintainer
object
Example:
{
"kind": "kind",
"maintainerMember": {
"firstName": "firstName",
"lastName": "lastName",
"role": "role",
"id": "id",
"email": "email"
},
"id": "id",
"maintainerTeam": { "name": "name", "id": "id", "key": "key" }
}
flagsSummary
object
Example:
{
"count": 2,
"linkedFlags": {
"totalCount": 7,
"items": [
{
"name": "name",
"links": {
"self": { "href": "href", "type": "type" }
},
"key": "key"
},
{
"name": "name",
"links": {
"self": { "href": "href", "type": "type" }
},
"key": "key"
}
]
}
}
segmentsSummary
object
Example:
{
"linkedSegments": {
"totalCount": 3,
"items": [
{
"environmentId": "environmentId",
"name": "name",
"links": {
"self": { "href": "href", "type": "type" }
},
"key": "key"
},
{
"environmentId": "environmentId",
"name": "name",
"links": {
"self": { "href": "href", "type": "type" }
},
"key": "key"
}
]
},
"count": 9
}
metricsSummary
object
Example:
{ "count": 2 }
aiConfigsSummary
object
Example:
{ "count": 4 }
resourceSummary
object
Example:
{
"flagCount": 7,
"metricCount": 1,
"totalCount": 6,
"segmentCount": 1,
"aiConfigCount": 1
}
flagsExpanded
object

Details on linked flags for a view - requires passing the 'allFlags' expand field

Example:
{
"totalCount": 4,
"items": [
{
"archived": true,
"temporary": true,
"includeInSnippet": true,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"creationDate": 7,
"_version": 1,
"key": "key",
"maintainer": {
"kind": "member",
"_member": {
"firstName": "Ariel",
"lastName": "Flores",
"role": "admin",
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"email": "ariel@acme.com"
},
"_team": {
"_links": { "key": { "href": "href", "type": "type" } },
"name": "QA Team",
"customRoleKeys": ["access-to-test-projects"],
"key": "team-key-123abc"
},
"key": "key"
},
"tags": ["tags", "tags"]
},
{
"archived": true,
"temporary": true,
"includeInSnippet": true,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"creationDate": 7,
"_version": 1,
"key": "key",
"maintainer": {
"kind": "member",
"_member": {
"firstName": "Ariel",
"lastName": "Flores",
"role": "admin",
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"email": "ariel@acme.com"
},
"_team": {
"_links": { "key": { "href": "href", "type": "type" } },
"name": "QA Team",
"customRoleKeys": ["access-to-test-projects"],
"key": "team-key-123abc"
},
"key": "key"
},
"tags": ["tags", "tags"]
}
]
}
segmentsExpanded
object

Details on linked segments for a view - requires passing the 'allSegments' expand field

Example:
{
"totalCount": 8,
"items": [
{
"generation": 6,
"lastModifiedDate": 9,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"description": "description",
"creationDate": 5,
"version": 9,
"environmentKey": "environmentKey",
"tags": ["tags", "tags"],
"environmentId": "environmentId",
"deleted": true,
"name": "name",
"unbounded": true,
"key": "key"
},
{
"generation": 6,
"lastModifiedDate": 9,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"description": "description",
"creationDate": 5,
"version": 9,
"environmentKey": "environmentKey",
"tags": ["tags", "tags"],
"environmentId": "environmentId",
"deleted": true,
"name": "name",
"unbounded": true,
"key": "key"
}
]
}
metricsExpanded
object
Example:
{
"totalCount": 6,
"items": [
{
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"kind": "kind",
"description": "description",
"creationDate": 9,
"isActive": true,
"lastSeen": 3,
"eventKey": "eventKey",
"_versionId": "_versionId",
"isNumeric": true,
"name": "name",
"lastModified": 6,
"_id": "_id",
"category": "category",
"key": "key"
},
{
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"kind": "kind",
"description": "description",
"creationDate": 9,
"isActive": true,
"lastSeen": 3,
"eventKey": "eventKey",
"_versionId": "_versionId",
"isNumeric": true,
"name": "name",
"lastModified": 6,
"_id": "_id",
"category": "category",
"key": "key"
}
]
}
aiConfigsExpanded
object
Example:
{
"totalCount": 6,
"items": [
{
"createdAt": 2,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"version": 1,
"key": "key",
"flagKey": "flagKey",
"tags": ["tags", "tags"],
"updatedAt": 6
},
{
"createdAt": 2,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"version": 1,
"key": "key",
"flagKey": "flagKey",
"tags": ["tags", "tags"],
"updatedAt": 6
}
]
}
resourcesExpanded
object

Details on linked resources for a view - requires passing the 'allResources' expand field

Example:
{
"totalCount": 7,
"items": {
"flags": {
"totalCount": 5,
"items": [
{
"archived": true,
"temporary": true,
"includeInSnippet": true,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"creationDate": 7,
"_version": 1,
"key": "key",
"maintainer": {
"kind": "member",
"_member": {
"firstName": "Ariel",
"lastName": "Flores",
"role": "admin",
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"email": "ariel@acme.com"
},
"_team": {
"_links": { "key": { "href": "href", "type": "type" } },
"name": "QA Team",
"customRoleKeys": ["access-to-test-projects"],
"key": "team-key-123abc"
},
"key": "key"
},
"tags": ["tags", "tags"]
},
{
"archived": true,
"temporary": true,
"includeInSnippet": true,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"creationDate": 7,
"_version": 1,
"key": "key",
"maintainer": {
"kind": "member",
"_member": {
"firstName": "Ariel",
"lastName": "Flores",
"role": "admin",
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"email": "ariel@acme.com"
},
"_team": {
"_links": { "key": { "href": "href", "type": "type" } },
"name": "QA Team",
"customRoleKeys": ["access-to-test-projects"],
"key": "team-key-123abc"
},
"key": "key"
},
"tags": ["tags", "tags"]
}
]
},
"aiConfigs": {
"totalCount": 3,
"items": [
{
"createdAt": 2,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"version": 1,
"key": "key",
"flagKey": "flagKey",
"tags": ["tags", "tags"],
"updatedAt": 6
},
{
"createdAt": 2,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"name": "name",
"description": "description",
"version": 1,
"key": "key",
"flagKey": "flagKey",
"tags": ["tags", "tags"],
"updatedAt": 6
}
]
},
"metrics": {
"totalCount": 3,
"items": [
{
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"kind": "kind",
"description": "description",
"creationDate": 9,
"isActive": true,
"lastSeen": 3,
"eventKey": "eventKey",
"_versionId": "_versionId",
"isNumeric": true,
"name": "name",
"lastModified": 6,
"_id": "_id",
"category": "category",
"key": "key"
},
{
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"kind": "kind",
"description": "description",
"creationDate": 9,
"isActive": true,
"lastSeen": 3,
"eventKey": "eventKey",
"_versionId": "_versionId",
"isNumeric": true,
"name": "name",
"lastModified": 6,
"_id": "_id",
"category": "category",
"key": "key"
}
]
},
"segments": {
"totalCount": 6,
"items": [
{
"generation": 6,
"lastModifiedDate": 9,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"description": "description",
"creationDate": 5,
"version": 9,
"environmentKey": "environmentKey",
"tags": ["tags", "tags"],
"environmentId": "environmentId",
"deleted": true,
"name": "name",
"unbounded": true,
"key": "key"
},
{
"generation": 6,
"lastModifiedDate": 9,
"_links": {
"parent": { "href": "href", "type": "type" },
"self": { "href": "href", "type": "type" }
},
"description": "description",
"creationDate": 5,
"version": 9,
"environmentKey": "environmentKey",
"tags": ["tags", "tags"],
"environmentId": "environmentId",
"deleted": true,
"name": "name",
"unbounded": true,
"key": "key"
}
]
}
}
}