You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The time-to-live for the snapshot. This value corresponds to storage lifecycle policies that automatically delete the snapshot after the specified period.
24737
+
enum:
24738
+
- 30d
24739
+
- 60d
24740
+
- 90d
24741
+
- 1y
24742
+
- 2y
24743
+
- inf
24744
+
example: 60d
24745
+
type: string
24746
+
x-enum-varnames:
24747
+
- THIRTY_DAYS
24748
+
- SIXTY_DAYS
24749
+
- NINETY_DAYS
24750
+
- ONE_YEAR
24751
+
- TWO_YEARS
24752
+
- INFINITE
24753
+
CreateSnapshotTemplateVariable:
24754
+
description: A template variable definition for snapshot rendering.
24755
+
properties:
24756
+
name:
24757
+
description: The template variable name.
24758
+
example: host
24759
+
type: string
24760
+
prefix:
24761
+
description: The tag prefix associated with the template variable. For example, a prefix of `host` with a value of `web-server-1` scopes the snapshot to `host:web-server-1`.
24762
+
example: host
24763
+
type: string
24764
+
values:
24765
+
description: The list of scoped values for this template variable.
24766
+
example:
24767
+
- web-server-1
24768
+
- web-server-2
24769
+
items:
24770
+
description: A single scoped value for the template variable.
24771
+
type: string
24772
+
type: array
24773
+
required:
24774
+
- name
24775
+
- prefix
24776
+
- values
24777
+
type: object
24778
+
CreateSnapshotTemplateVariables:
24779
+
description: List of template variable definitions for snapshot rendering.
description: The legend display type for timeseries widgets. A value of `none` hides the legend entirely; omitting the field lets the frontend choose automatically.
24785
+
enum:
24786
+
- compact
24787
+
- expanded
24788
+
- none
24789
+
example: expanded
24790
+
type: string
24791
+
x-enum-varnames:
24792
+
- COMPACT
24793
+
- EXPANDED
24794
+
- NONE
24795
+
CreateSnapshotType:
24796
+
description: The type identifier for snapshot creation resources.
24797
+
enum:
24798
+
- create_snapshot
24799
+
example: create_snapshot
24800
+
type: string
24801
+
x-enum-varnames:
24802
+
- CREATE_SNAPSHOT
24625
24803
CreateStatusPageRequest:
24626
24804
description: Request object for creating a status page.
24627
24805
example:
@@ -182746,6 +182924,63 @@ paths:
182746
182924
x-unstable: |-
182747
182925
**Note**: This endpoint is in public beta and it's subject to change.
182748
182926
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
182927
+
/api/v2/snapshot:
182928
+
post:
182929
+
description: Create a snapshot of a graph widget. The snapshot is rendered asynchronously; the returned URL can be polled until the image is ready.
0 commit comments