Create a new view in the given project.
Request
View object to create
keystringRequired
Unique key for the view within the account/project. The key is converted to lowercase when the view is created, so use the lowercase form to reference the view afterward.
namestringRequired
Human-readable name for the view
descriptionstringOptionalDefaults to
Optional detailed description of the view
maintainerIdstringOptional
Member ID of the maintainer for this view. Only one of maintainerId or maintainerTeamKey can be specified.
maintainerTeamKeystringOptional
Key of the maintainer team for this view. Only one of maintainerId or maintainerTeamKey can be specified.
tagslist of stringsOptional
Tags associated with this view
Response
Successful response
idstringformat: "string"
Unique ID of this view
accountIdstring
ID of the account that owns this view
projectIdstring
ID of the project this view belongs to
projectKeystring
Key of the project this view belongs to
keystring
Unique key for the view within the account/project
namestring
Human-readable name for the view
descriptionstring
Optional detailed description of the view
_affectsSdkPayloadboolean
Whether this view is used to filter SDK payloads
versioninteger
Version number for tracking changes
tagslist of strings
Tags associated with this view
deletedbooleanDefaults to false
Whether this view is deleted
_linksobjectOptional
The location and content type of related resources
flagsSummaryobjectOptional
segmentsSummaryobjectOptional
metricsSummaryobjectOptional
aiConfigsSummaryobjectOptional
resourceSummaryobjectOptional
flagsExpandedobjectOptional
Details on linked flags for a view - requires passing the ‘allFlags’ expand field
segmentsExpandedobjectOptional
Details on linked segments for a view - requires passing the ‘allSegments’ expand field
metricsExpandedobjectOptional
aiConfigsExpandedobjectOptional
resourcesExpandedobjectOptional
Details on linked resources for a view - requires passing the ‘allResources’ expand field
generateSdkKeysbooleanOptionalRead-onlyDeprecated
Deprecated compatibility field. Mirrors _affectsSdkPayload during rollout.