.generator/schemas/v2/openapi.yaml in datadog_api_client-2.20.0 vs .generator/schemas/v2/openapi.yaml in datadog_api_client-2.21.0
- old
+ new
@@ -149,10 +149,25 @@
in: path
name: authn_mapping_id
required: true
schema:
type: string
+ CaseIDPathParameter:
+ description: Case's UUID or key
+ example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504
+ in: path
+ name: case_id
+ required: true
+ schema:
+ type: string
+ CaseSortableFieldParameter:
+ description: Specify which field to sort
+ in: query
+ name: sort[field]
+ required: false
+ schema:
+ $ref: '#/components/schemas/CaseSortableField'
CloudAccountID:
description: Cloud Account id.
in: path
name: cloud_account_id
required: true
@@ -178,10 +193,17 @@
in: path
name: resource_id
required: true
schema:
type: string
+ CustomDestinationId:
+ description: The ID of the custom destination.
+ in: path
+ name: custom_destination_id
+ required: true
+ schema:
+ type: string
FastlyAccountID:
description: Fastly Account id.
in: path
name: account_id
required: true
@@ -379,10 +401,18 @@
schema:
default: 10
example: 10
format: int64
type: integer
+ ProjectIDPathParameter:
+ description: Project UUID
+ example: e555e290-ed65-49bd-ae18-8acbfcf18db7
+ in: path
+ name: project_id
+ required: true
+ schema:
+ type: string
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `security-rule`, `slo`.'
example: dashboard:abc-def-ghi
in: path
@@ -2014,11 +2044,12 @@
example: 19
format: double
type: number
type: object
CIAppAggregateSort:
- description: A sort rule.
+ description: A sort rule. The `aggregation` field is required when `type` is
+ `measure`.
example:
aggregation: count
order: asc
properties:
aggregation:
@@ -3330,10 +3361,349 @@
description: A short human-readable summary of the warning.
example: One or several indexes are missing or invalid, results hold data
from the other indexes
type: string
type: object
+ Case:
+ description: A case
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CaseAttributes'
+ id:
+ description: Case's identifier
+ example: aeadc05e-98a8-11ec-ac2c-da7ad0900001
+ type: string
+ relationships:
+ $ref: '#/components/schemas/CaseRelationships'
+ type:
+ $ref: '#/components/schemas/CaseResourceType'
+ required:
+ - id
+ - type
+ - attributes
+ type: object
+ Case3rdPartyTicketStatus:
+ default: IN_PROGRESS
+ description: Case status
+ enum:
+ - IN_PROGRESS
+ - COMPLETED
+ - FAILED
+ example: COMPLETED
+ readOnly: true
+ type: string
+ x-enum-varnames:
+ - IN_PROGRESS
+ - COMPLETED
+ - FAILED
+ CaseAssign:
+ description: Case assign
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CaseAssignAttributes'
+ type:
+ $ref: '#/components/schemas/CaseResourceType'
+ required:
+ - attributes
+ - type
+ type: object
+ CaseAssignAttributes:
+ description: Case assign attributes
+ properties:
+ assignee_id:
+ description: Assignee's UUID
+ example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504
+ type: string
+ required:
+ - assignee_id
+ type: object
+ CaseAssignRequest:
+ description: Case assign request
+ properties:
+ data:
+ $ref: '#/components/schemas/CaseAssign'
+ required:
+ - data
+ type: object
+ CaseAttributes:
+ description: Case attributes
+ properties:
+ archived_at:
+ description: Timestamp of when the case was archived
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ closed_at:
+ description: Timestamp of when the case was closed
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ created_at:
+ description: Timestamp of when the case was created
+ format: date-time
+ readOnly: true
+ type: string
+ description:
+ description: Description
+ type: string
+ jira_issue:
+ $ref: '#/components/schemas/JiraIssue'
+ key:
+ description: Key
+ example: CASEM-4523
+ type: string
+ modified_at:
+ description: Timestamp of when the case was last modified
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ priority:
+ $ref: '#/components/schemas/CasePriority'
+ service_now_ticket:
+ $ref: '#/components/schemas/ServiceNowTicket'
+ status:
+ $ref: '#/components/schemas/CaseStatus'
+ title:
+ description: Title
+ example: Memory leak investigation on API
+ type: string
+ type:
+ $ref: '#/components/schemas/CaseType'
+ type: object
+ CaseCreate:
+ description: Case creation data
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CaseCreateAttributes'
+ relationships:
+ $ref: '#/components/schemas/CaseCreateRelationships'
+ type:
+ $ref: '#/components/schemas/CaseResourceType'
+ required:
+ - attributes
+ - type
+ type: object
+ CaseCreateAttributes:
+ description: Case creation attributes
+ properties:
+ description:
+ description: Description
+ type: string
+ priority:
+ $ref: '#/components/schemas/CasePriority'
+ title:
+ description: Title
+ example: Security breach investigation
+ type: string
+ type:
+ $ref: '#/components/schemas/CaseType'
+ required:
+ - title
+ - type
+ type: object
+ CaseCreateRelationships:
+ description: Relationships formed with the case on creation
+ properties:
+ assignee:
+ $ref: '#/components/schemas/NullableUserRelationship'
+ project:
+ $ref: '#/components/schemas/ProjectRelationship'
+ required:
+ - project
+ type: object
+ CaseCreateRequest:
+ description: Case create request
+ properties:
+ data:
+ $ref: '#/components/schemas/CaseCreate'
+ required:
+ - data
+ type: object
+ CaseEmpty:
+ description: Case empty request data
+ properties:
+ type:
+ $ref: '#/components/schemas/CaseResourceType'
+ required:
+ - type
+ type: object
+ CaseEmptyRequest:
+ description: Case empty request
+ properties:
+ data:
+ $ref: '#/components/schemas/CaseEmpty'
+ required:
+ - data
+ type: object
+ CasePriority:
+ default: NOT_DEFINED
+ description: Case priority
+ enum:
+ - NOT_DEFINED
+ - P1
+ - P2
+ - P3
+ - P4
+ - P5
+ example: NOT_DEFINED
+ type: string
+ x-enum-varnames:
+ - NOT_DEFINED
+ - P1
+ - P2
+ - P3
+ - P4
+ - P5
+ CaseRelationships:
+ description: Resources related to a case
+ properties:
+ assignee:
+ $ref: '#/components/schemas/NullableUserRelationship'
+ created_by:
+ $ref: '#/components/schemas/NullableUserRelationship'
+ modified_by:
+ $ref: '#/components/schemas/NullableUserRelationship'
+ project:
+ $ref: '#/components/schemas/ProjectRelationship'
+ type: object
+ CaseResourceType:
+ default: case
+ description: Case resource type
+ enum:
+ - case
+ example: case
+ type: string
+ x-enum-varnames:
+ - CASE
+ CaseResponse:
+ description: Case response
+ properties:
+ data:
+ $ref: '#/components/schemas/Case'
+ type: object
+ CaseSortableField:
+ description: Case field that can be sorted on
+ enum:
+ - created_at
+ - priority
+ - status
+ example: created_at
+ type: string
+ x-enum-varnames:
+ - CREATED_AT
+ - PRIORITY
+ - STATUS
+ CaseStatus:
+ description: Case status
+ enum:
+ - OPEN
+ - IN_PROGRESS
+ - CLOSED
+ example: OPEN
+ type: string
+ x-enum-varnames:
+ - OPEN
+ - IN_PROGRESS
+ - CLOSED
+ CaseType:
+ description: Case type
+ enum:
+ - STANDARD
+ example: STANDARD
+ type: string
+ x-enum-varnames:
+ - STANDARD
+ CaseUpdatePriority:
+ description: Case priority status
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CaseUpdatePriorityAttributes'
+ type:
+ $ref: '#/components/schemas/CaseResourceType'
+ required:
+ - attributes
+ - type
+ type: object
+ CaseUpdatePriorityAttributes:
+ description: Case update priority attributes
+ properties:
+ priority:
+ $ref: '#/components/schemas/CasePriority'
+ required:
+ - priority
+ type: object
+ CaseUpdatePriorityRequest:
+ description: Case update priority request
+ properties:
+ data:
+ $ref: '#/components/schemas/CaseUpdatePriority'
+ required:
+ - data
+ type: object
+ CaseUpdateStatus:
+ description: Case update status
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CaseUpdateStatusAttributes'
+ type:
+ $ref: '#/components/schemas/CaseResourceType'
+ required:
+ - attributes
+ - type
+ type: object
+ CaseUpdateStatusAttributes:
+ description: Case update status attributes
+ properties:
+ status:
+ $ref: '#/components/schemas/CaseStatus'
+ required:
+ - status
+ type: object
+ CaseUpdateStatusRequest:
+ description: Case update status request
+ properties:
+ data:
+ $ref: '#/components/schemas/CaseUpdateStatus'
+ required:
+ - data
+ type: object
+ CasesResponse:
+ description: Response with cases
+ properties:
+ data:
+ description: Cases response data
+ items:
+ $ref: '#/components/schemas/Case'
+ type: array
+ meta:
+ $ref: '#/components/schemas/CasesResponseMeta'
+ type: object
+ CasesResponseMeta:
+ description: Cases response metadata
+ properties:
+ page:
+ $ref: '#/components/schemas/CasesResponseMetaPagination'
+ type: object
+ CasesResponseMetaPagination:
+ description: Pagination metadata
+ properties:
+ current:
+ description: Current page number
+ format: int64
+ type: integer
+ size:
+ description: Number of cases in current page
+ format: int64
+ type: integer
+ total:
+ description: Total number of pages
+ format: int64
+ type: integer
+ type: object
ChargebackBreakdown:
description: Charges breakdown.
properties:
charge_type:
description: The type of charge for a particular product.
@@ -3554,13 +3924,31 @@
- cloud_cost_activity
example: cloud_cost_activity
type: string
x-enum-varnames:
- CLOUD_COST_ACTIVITY
+ CloudWorkloadSecurityAgentRuleAction:
+ description: The action the rule can perform if triggered.
+ properties:
+ filter:
+ description: SECL expression used to target the container to apply the action
+ on
+ type: string
+ kill:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleKill'
+ type: object
+ CloudWorkloadSecurityAgentRuleActions:
+ description: The array of actions the rule can perform if triggered.
+ items:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleAction'
+ nullable: true
+ type: array
CloudWorkloadSecurityAgentRuleAttributes:
description: A Cloud Workload Security Agent rule returned by the API.
properties:
+ actions:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
agentConstraint:
description: The version of the agent.
type: string
category:
description: The category of the Agent rule.
@@ -3689,10 +4077,21 @@
example: 3dd-0uc-h1s
type: string
type:
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleType'
type: object
+ CloudWorkloadSecurityAgentRuleID:
+ description: The ID of the agent rule.
+ example: 3dd-0uc-h1s
+ type: string
+ CloudWorkloadSecurityAgentRuleKill:
+ description: Kill system call applied on the container matching the rule
+ properties:
+ signal:
+ description: Supported signals for the kill system call.
+ type: string
+ type: object
CloudWorkloadSecurityAgentRuleResponse:
description: Response object that includes an Agent rule.
properties:
data:
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleData'
@@ -3725,10 +4124,12 @@
CloudWorkloadSecurityAgentRuleUpdateData:
description: Object for a single Agent rule.
properties:
attributes:
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateAttributes'
+ id:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleID'
type:
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleType'
required:
- attributes
- type
@@ -4945,10 +5346,625 @@
name:
description: Name of the creator.
nullable: true
type: string
type: object
+ CustomDestinationAttributeTagsRestrictionListType:
+ default: ALLOW_LIST
+ description: 'How `forward_tags_restriction_list` parameter should be interpreted.
+
+ If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the
+ ones on the restriction list
+
+ are forwarded.
+
+
+ `BLOCK_LIST` works the opposite way. It does not forward the tags matching
+ the ones on the list.'
+ enum:
+ - ALLOW_LIST
+ - BLOCK_LIST
+ example: ALLOW_LIST
+ type: string
+ x-enum-varnames:
+ - ALLOW_LIST
+ - BLOCK_LIST
+ CustomDestinationCreateRequest:
+ description: The custom destination.
+ properties:
+ data:
+ $ref: '#/components/schemas/CustomDestinationCreateRequestDefinition'
+ type: object
+ CustomDestinationCreateRequestAttributes:
+ description: The attributes associated with the custom destination.
+ properties:
+ enabled:
+ default: true
+ description: Whether logs matching this custom destination should be forwarded
+ or not.
+ example: true
+ type: boolean
+ forward_tags:
+ default: true
+ description: Whether tags from the forwarded logs should be forwarded or
+ not.
+ example: true
+ type: boolean
+ forward_tags_restriction_list:
+ default: []
+ description: 'List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags)
+ to be filtered.
+
+
+ An empty list represents no restriction is in place and either all or
+ no tags will be
+
+ forwarded depending on `forward_tags_restriction_list_type` parameter.'
+ example:
+ - datacenter
+ - host
+ items:
+ description: The [key part of a tag](https://docs.datadoghq.com/getting_started/tagging/#define-tags).
+ type: string
+ maxItems: 10
+ minItems: 0
+ type: array
+ forward_tags_restriction_list_type:
+ $ref: '#/components/schemas/CustomDestinationAttributeTagsRestrictionListType'
+ forwarder_destination:
+ $ref: '#/components/schemas/CustomDestinationForwardDestination'
+ name:
+ description: The custom destination name.
+ example: Nginx logs
+ type: string
+ query:
+ default: ''
+ description: The custom destination query and filter. Logs matching this
+ query are forwarded to the destination.
+ example: source:nginx
+ type: string
+ required:
+ - name
+ - forwarder_destination
+ type: object
+ CustomDestinationCreateRequestDefinition:
+ description: The definition of a custom destination.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CustomDestinationCreateRequestAttributes'
+ type:
+ $ref: '#/components/schemas/CustomDestinationType'
+ required:
+ - type
+ - attributes
+ type: object
+ CustomDestinationElasticsearchDestinationAuth:
+ description: Basic access authentication.
+ properties:
+ password:
+ description: The password of the authentication. This field is not returned
+ by the API.
+ example: datadog-custom-destination-password
+ type: string
+ writeOnly: true
+ username:
+ description: The username of the authentication. This field is not returned
+ by the API.
+ example: datadog-custom-destination-username
+ type: string
+ writeOnly: true
+ required:
+ - username
+ - password
+ type: object
+ CustomDestinationForwardDestination:
+ description: A custom destination's location to forward logs.
+ oneOf:
+ - $ref: '#/components/schemas/CustomDestinationForwardDestinationHttp'
+ - $ref: '#/components/schemas/CustomDestinationForwardDestinationSplunk'
+ - $ref: '#/components/schemas/CustomDestinationForwardDestinationElasticsearch'
+ type: object
+ CustomDestinationForwardDestinationElasticsearch:
+ description: The Elasticsearch destination.
+ properties:
+ auth:
+ $ref: '#/components/schemas/CustomDestinationElasticsearchDestinationAuth'
+ endpoint:
+ description: 'The destination for which logs will be forwarded to.
+
+ Must have HTTPS scheme and forwarding back to Datadog is not allowed.'
+ example: https://example.com
+ type: string
+ index_name:
+ description: Name of the Elasticsearch index (must follow [Elasticsearch's
+ criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)).
+ example: nginx-logs
+ type: string
+ index_rotation:
+ description: 'Date pattern with US locale and UTC timezone to be appended
+ to the index name after adding `-`
+
+ (that is, `${index_name}-${indexPattern}`).
+
+ You can customize the index rotation naming pattern by choosing one of
+ these options:
+
+ - Hourly: `yyyy-MM-dd-HH` (as an example, it would render: `2022-10-19-09`)
+
+ - Daily: `yyyy-MM-dd` (as an example, it would render: `2022-10-19`)
+
+ - Weekly: `yyyy-''W''ww` (as an example, it would render: `2022-W42`)
+
+ - Monthly: `yyyy-MM` (as an example, it would render: `2022-10`)
+
+
+ If this field is missing or is blank, it means that the index name will
+ always be the same
+
+ (that is, no rotation).'
+ example: yyyy-MM-dd
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationForwardDestinationElasticsearchType'
+ required:
+ - type
+ - endpoint
+ - auth
+ - index_name
+ type: object
+ CustomDestinationForwardDestinationElasticsearchType:
+ default: elasticsearch
+ description: Type of the Elasticsearch destination.
+ enum:
+ - elasticsearch
+ example: elasticsearch
+ type: string
+ x-enum-varnames:
+ - ELASTICSEARCH
+ CustomDestinationForwardDestinationHttp:
+ description: The HTTP destination.
+ properties:
+ auth:
+ $ref: '#/components/schemas/CustomDestinationHttpDestinationAuth'
+ endpoint:
+ description: 'The destination for which logs will be forwarded to.
+
+ Must have HTTPS scheme and forwarding back to Datadog is not allowed.'
+ example: https://example.com
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationForwardDestinationHttpType'
+ required:
+ - type
+ - endpoint
+ - auth
+ type: object
+ CustomDestinationForwardDestinationHttpType:
+ default: http
+ description: Type of the HTTP destination.
+ enum:
+ - http
+ example: http
+ type: string
+ x-enum-varnames:
+ - HTTP
+ CustomDestinationForwardDestinationSplunk:
+ description: The Splunk HTTP Event Collector (HEC) destination.
+ properties:
+ access_token:
+ description: Access token of the Splunk HTTP Event Collector. This field
+ is not returned by the API.
+ example: splunk_access_token
+ type: string
+ writeOnly: true
+ endpoint:
+ description: 'The destination for which logs will be forwarded to.
+
+ Must have HTTPS scheme and forwarding back to Datadog is not allowed.'
+ example: https://example.com
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationForwardDestinationSplunkType'
+ required:
+ - type
+ - endpoint
+ - access_token
+ type: object
+ CustomDestinationForwardDestinationSplunkType:
+ default: splunk_hec
+ description: Type of the Splunk HTTP Event Collector (HEC) destination.
+ enum:
+ - splunk_hec
+ example: splunk_hec
+ type: string
+ x-enum-varnames:
+ - SPLUNK_HEC
+ CustomDestinationHttpDestinationAuth:
+ description: Authentication method of the HTTP requests.
+ oneOf:
+ - $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthBasic'
+ - $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthCustomHeader'
+ type: object
+ CustomDestinationHttpDestinationAuthBasic:
+ description: Basic access authentication.
+ properties:
+ password:
+ description: The password of the authentication. This field is not returned
+ by the API.
+ example: datadog-custom-destination-password
+ type: string
+ writeOnly: true
+ type:
+ $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthBasicType'
+ username:
+ description: The username of the authentication. This field is not returned
+ by the API.
+ example: datadog-custom-destination-username
+ type: string
+ writeOnly: true
+ required:
+ - type
+ - username
+ - password
+ type: object
+ CustomDestinationHttpDestinationAuthBasicType:
+ default: basic
+ description: Type of the basic access authentication.
+ enum:
+ - basic
+ example: basic
+ type: string
+ x-enum-varnames:
+ - BASIC
+ CustomDestinationHttpDestinationAuthCustomHeader:
+ description: Custom header access authentication.
+ properties:
+ header_name:
+ description: The header name of the authentication.
+ example: CUSTOM-HEADER-NAME
+ type: string
+ header_value:
+ description: The header value of the authentication. This field is not returned
+ by the API.
+ example: CUSTOM-HEADER-AUTHENTICATION-VALUE
+ type: string
+ writeOnly: true
+ type:
+ $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthCustomHeaderType'
+ required:
+ - type
+ - header_name
+ - header_value
+ type: object
+ CustomDestinationHttpDestinationAuthCustomHeaderType:
+ default: custom_header
+ description: Type of the custom header access authentication.
+ enum:
+ - custom_header
+ example: custom_header
+ type: string
+ x-enum-varnames:
+ - CUSTOM_HEADER
+ CustomDestinationResponse:
+ description: The custom destination.
+ properties:
+ data:
+ $ref: '#/components/schemas/CustomDestinationResponseDefinition'
+ type: object
+ CustomDestinationResponseAttributes:
+ description: The attributes associated with the custom destination.
+ properties:
+ enabled:
+ default: true
+ description: Whether logs matching this custom destination should be forwarded
+ or not.
+ example: true
+ type: boolean
+ forward_tags:
+ default: true
+ description: Whether tags from the forwarded logs should be forwarded or
+ not.
+ example: true
+ type: boolean
+ forward_tags_restriction_list:
+ default: []
+ description: 'List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags)
+ to be filtered.
+
+
+ An empty list represents no restriction is in place and either all or
+ no tags will be
+
+ forwarded depending on `forward_tags_restriction_list_type` parameter.'
+ example:
+ - datacenter
+ - host
+ items:
+ description: The [key part of a tag](https://docs.datadoghq.com/getting_started/tagging/#define-tags).
+ type: string
+ maxItems: 10
+ minItems: 0
+ type: array
+ forward_tags_restriction_list_type:
+ $ref: '#/components/schemas/CustomDestinationAttributeTagsRestrictionListType'
+ forwarder_destination:
+ $ref: '#/components/schemas/CustomDestinationResponseForwardDestination'
+ name:
+ description: The custom destination name.
+ example: Nginx logs
+ type: string
+ query:
+ default: ''
+ description: The custom destination query filter. Logs matching this query
+ are forwarded to the destination.
+ example: source:nginx
+ type: string
+ type: object
+ CustomDestinationResponseDefinition:
+ description: The definition of a custom destination.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CustomDestinationResponseAttributes'
+ id:
+ description: The custom destination ID.
+ example: be5d7a69-d0c8-4d4d-8ee8-bba292d98139
+ readOnly: true
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationType'
+ type: object
+ CustomDestinationResponseElasticsearchDestinationAuth:
+ additionalProperties:
+ description: Basic access authentication.
+ description: Basic access authentication.
+ type: object
+ CustomDestinationResponseForwardDestination:
+ description: A custom destination's location to forward logs.
+ oneOf:
+ - $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationHttp'
+ - $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationSplunk'
+ - $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationElasticsearch'
+ type: object
+ CustomDestinationResponseForwardDestinationElasticsearch:
+ description: The Elasticsearch destination.
+ properties:
+ auth:
+ $ref: '#/components/schemas/CustomDestinationResponseElasticsearchDestinationAuth'
+ endpoint:
+ description: 'The destination for which logs will be forwarded to.
+
+ Must have HTTPS scheme and forwarding back to Datadog is not allowed.'
+ example: https://example.com
+ type: string
+ index_name:
+ description: Name of the Elasticsearch index (must follow [Elasticsearch's
+ criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)).
+ example: nginx-logs
+ type: string
+ index_rotation:
+ description: 'Date pattern with US locale and UTC timezone to be appended
+ to the index name after adding `-`
+
+ (that is, `${index_name}-${indexPattern}`).
+
+ You can customize the index rotation naming pattern by choosing one of
+ these options:
+
+ - Hourly: `yyyy-MM-dd-HH` (as an example, it would render: `2022-10-19-09`)
+
+ - Daily: `yyyy-MM-dd` (as an example, it would render: `2022-10-19`)
+
+ - Weekly: `yyyy-''W''ww` (as an example, it would render: `2022-W42`)
+
+ - Monthly: `yyyy-MM` (as an example, it would render: `2022-10`)
+
+
+ If this field is missing or is blank, it means that the index name will
+ always be the same
+
+ (that is, no rotation).'
+ example: yyyy-MM-dd
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationElasticsearchType'
+ required:
+ - type
+ - endpoint
+ - auth
+ - index_name
+ type: object
+ CustomDestinationResponseForwardDestinationElasticsearchType:
+ default: elasticsearch
+ description: Type of the Elasticsearch destination.
+ enum:
+ - elasticsearch
+ example: elasticsearch
+ type: string
+ x-enum-varnames:
+ - ELASTICSEARCH
+ CustomDestinationResponseForwardDestinationHttp:
+ description: The HTTP destination.
+ properties:
+ auth:
+ $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuth'
+ endpoint:
+ description: 'The destination for which logs will be forwarded to.
+
+ Must have HTTPS scheme and forwarding back to Datadog is not allowed.'
+ example: https://example.com
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationHttpType'
+ required:
+ - type
+ - endpoint
+ - auth
+ type: object
+ CustomDestinationResponseForwardDestinationHttpType:
+ default: http
+ description: Type of the HTTP destination.
+ enum:
+ - http
+ example: http
+ type: string
+ x-enum-varnames:
+ - HTTP
+ CustomDestinationResponseForwardDestinationSplunk:
+ description: The Splunk HTTP Event Collector (HEC) destination.
+ properties:
+ endpoint:
+ description: 'The destination for which logs will be forwarded to.
+
+ Must have HTTPS scheme and forwarding back to Datadog is not allowed.'
+ example: https://example.com
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationSplunkType'
+ required:
+ - type
+ - endpoint
+ type: object
+ CustomDestinationResponseForwardDestinationSplunkType:
+ default: splunk_hec
+ description: Type of the Splunk HTTP Event Collector (HEC) destination.
+ enum:
+ - splunk_hec
+ example: splunk_hec
+ type: string
+ x-enum-varnames:
+ - SPLUNK_HEC
+ CustomDestinationResponseHttpDestinationAuth:
+ description: Authentication method of the HTTP requests.
+ oneOf:
+ - $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthBasic'
+ - $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthCustomHeader'
+ type: object
+ CustomDestinationResponseHttpDestinationAuthBasic:
+ description: Basic access authentication.
+ properties:
+ type:
+ $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthBasicType'
+ required:
+ - type
+ type: object
+ CustomDestinationResponseHttpDestinationAuthBasicType:
+ default: basic
+ description: Type of the basic access authentication.
+ enum:
+ - basic
+ example: basic
+ type: string
+ x-enum-varnames:
+ - BASIC
+ CustomDestinationResponseHttpDestinationAuthCustomHeader:
+ description: Custom header access authentication.
+ properties:
+ header_name:
+ description: The header name of the authentication.
+ example: CUSTOM-HEADER-NAME
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthCustomHeaderType'
+ required:
+ - type
+ - header_name
+ type: object
+ CustomDestinationResponseHttpDestinationAuthCustomHeaderType:
+ default: custom_header
+ description: Type of the custom header access authentication.
+ enum:
+ - custom_header
+ example: custom_header
+ type: string
+ x-enum-varnames:
+ - CUSTOM_HEADER
+ CustomDestinationType:
+ default: custom_destination
+ description: The type of the resource. The value should always be `custom_destination`.
+ enum:
+ - custom_destination
+ example: custom_destination
+ type: string
+ x-enum-varnames:
+ - custom_destination
+ CustomDestinationUpdateRequest:
+ description: The custom destination.
+ properties:
+ data:
+ $ref: '#/components/schemas/CustomDestinationUpdateRequestDefinition'
+ type: object
+ CustomDestinationUpdateRequestAttributes:
+ description: The attributes associated with the custom destination.
+ properties:
+ enabled:
+ default: true
+ description: Whether logs matching this custom destination should be forwarded
+ or not.
+ example: true
+ type: boolean
+ forward_tags:
+ default: true
+ description: Whether tags from the forwarded logs should be forwarded or
+ not.
+ example: true
+ type: boolean
+ forward_tags_restriction_list:
+ default: []
+ description: 'List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags)
+ to be restricted from being forwarded.
+
+ An empty list represents no restriction is in place and either all or
+ no tags will be forwarded depending on `forward_tags_restriction_list_type`
+ parameter.'
+ example:
+ - datacenter
+ - host
+ items:
+ description: The [key part of a tag](https://docs.datadoghq.com/getting_started/tagging/#define-tags).
+ type: string
+ maxItems: 10
+ minItems: 0
+ type: array
+ forward_tags_restriction_list_type:
+ $ref: '#/components/schemas/CustomDestinationAttributeTagsRestrictionListType'
+ forwarder_destination:
+ $ref: '#/components/schemas/CustomDestinationForwardDestination'
+ name:
+ description: The custom destination name.
+ example: Nginx logs
+ type: string
+ query:
+ default: ''
+ description: The custom destination query and filter. Logs matching this
+ query are forwarded to the destination.
+ example: source:nginx
+ type: string
+ type: object
+ CustomDestinationUpdateRequestDefinition:
+ description: The definition of a custom destination.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CustomDestinationUpdateRequestAttributes'
+ id:
+ description: The custom destination ID.
+ example: be5d7a69-d0c8-4d4d-8ee8-bba292d98139
+ type: string
+ type:
+ $ref: '#/components/schemas/CustomDestinationType'
+ required:
+ - type
+ - id
+ type: object
+ CustomDestinationsResponse:
+ description: The available custom destinations.
+ properties:
+ data:
+ description: A list of custom destinations.
+ items:
+ $ref: '#/components/schemas/CustomDestinationResponseDefinition'
+ type: array
+ type: object
DORADeploymentRequest:
description: Request to create a DORA deployment event.
properties:
data:
$ref: '#/components/schemas/DORADeploymentRequestData'
@@ -5061,35 +6077,45 @@
format: int64
type: integer
git:
$ref: '#/components/schemas/DORAGitInfo'
id:
- description: Incident ID
+ description: Incident ID. Required to update a previously sent incident.
type: string
name:
description: Incident name.
- example: Webserver is down failing all requests
+ example: Webserver is down failing all requests.
type: string
- service:
- description: Service name from a service available in the Service Catalog.
- example: shopist
- type: string
+ services:
+ description: Service names impacted by the incident. If possible, use names
+ registered in the Service Catalog. Required when the team field is not
+ provided.
+ example:
+ - shopist
+ items:
+ type: string
+ type: array
severity:
description: Incident severity.
example: High
type: string
started_at:
description: Unix timestamp in nanoseconds when the incident started.
example: 1693491974000000000
format: int64
type: integer
+ team:
+ description: Name of the team owning the services impacted. If possible,
+ use team handles registered in Datadog. Required when the services field
+ is not provided.
+ example: backend
+ type: string
version:
description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
example: v1.12.07
type: string
required:
- - service
- started_at
type: object
DORAIncidentRequestData:
description: The JSON:API data.
properties:
@@ -5739,11 +6765,11 @@
example: 2020-01-02 03:04:00+00:00
format: date-time
type: string
type: object
DowntimeScheduleOneTimeCreateUpdateRequest:
- additionalProperties: {}
+ additionalProperties: false
description: A one-time downtime definition.
properties:
end:
description: 'ISO-8601 Datetime to end the downtime. Must include a UTC
offset of zero. If not provided, the
@@ -5874,10 +6900,11 @@
type: string
required:
- recurrences
type: object
DowntimeScheduleRecurrencesUpdateRequest:
+ additionalProperties: false
description: A recurring downtime schedule definition.
properties:
recurrences:
description: A list of downtime recurrences.
items:
@@ -7014,10 +8041,22 @@
type: boolean
client_email:
description: Your service account email address.
example: datadog-service-account@test-project.iam.gserviceaccount.com
type: string
+ cloud_run_revision_filters:
+ description: 'List of filters to limit the Cloud Run revisions that are
+ pulled into Datadog by using tags.
+
+ Only Cloud Run revision resources that apply to specified filters are
+ imported into Datadog.'
+ example:
+ - $KEY:$VALUE
+ items:
+ description: Cloud Run Filters
+ type: string
+ type: array
host_filters:
description: Your Host Filters.
items:
description: Host Filters
type: string
@@ -9342,10 +10381,36 @@
type: string
required:
- project_key
- account
type: object
+ JiraIssue:
+ description: Jira issue attached to case
+ nullable: true
+ properties:
+ result:
+ $ref: '#/components/schemas/JiraIssueResult'
+ status:
+ $ref: '#/components/schemas/Case3rdPartyTicketStatus'
+ readOnly: true
+ type: object
+ JiraIssueResult:
+ description: Jira issue information
+ properties:
+ issue_id:
+ description: Jira issue ID
+ type: string
+ issue_key:
+ description: Jira issue key
+ type: string
+ issue_url:
+ description: Jira issue URL
+ type: string
+ project_key:
+ description: Jira project key
+ type: string
+ type: object
ListApplicationKeysResponse:
description: Response for a list of application keys.
properties:
data:
description: Array of application keys.
@@ -9997,11 +11062,10 @@
project_id:
description: A project ID.
example: project-id
type: string
required:
- - project_id
- client_email
type: object
LogsArchiveIntegrationS3:
description: The S3 Archive's integration destination.
properties:
@@ -10670,10 +11734,140 @@
properties:
data:
$ref: '#/components/schemas/MetricAllTags'
readOnly: true
type: object
+ MetricAssetAttributes:
+ description: Assets where only included attribute is its title
+ properties:
+ title:
+ description: Title of the asset.
+ type: string
+ type: object
+ MetricAssetDashboardRelationship:
+ description: An object of type `dashboard` that can be referenced in the `included`
+ data.
+ properties:
+ id:
+ $ref: '#/components/schemas/MetricDashboardID'
+ type:
+ $ref: '#/components/schemas/MetricDashboardType'
+ type: object
+ MetricAssetDashboardRelationships:
+ description: An object containing the list of dashboards that can be referenced
+ in the `included` data.
+ properties:
+ data:
+ description: A list of dashboards that can be referenced in the `included`
+ data.
+ items:
+ $ref: '#/components/schemas/MetricAssetDashboardRelationship'
+ type: array
+ type: object
+ MetricAssetMonitorRelationship:
+ description: An object of type `monitor` that can be referenced in the `included`
+ data.
+ properties:
+ id:
+ $ref: '#/components/schemas/MetricMonitorID'
+ type:
+ $ref: '#/components/schemas/MetricMonitorType'
+ type: object
+ MetricAssetMonitorRelationships:
+ description: A object containing the list of monitors that can be referenced
+ in the `included` data.
+ properties:
+ data:
+ description: A list of monitors that can be referenced in the `included`
+ data.
+ items:
+ $ref: '#/components/schemas/MetricAssetMonitorRelationship'
+ type: array
+ type: object
+ MetricAssetNotebookRelationship:
+ description: An object of type `notebook` that can be referenced in the `included`
+ data.
+ properties:
+ id:
+ $ref: '#/components/schemas/MetricNotebookID'
+ type:
+ $ref: '#/components/schemas/MetricNotebookType'
+ type: object
+ MetricAssetNotebookRelationships:
+ description: An object containing the list of notebooks that can be referenced
+ in the `included` data.
+ properties:
+ data:
+ description: A list of notebooks that can be referenced in the `included`
+ data.
+ items:
+ $ref: '#/components/schemas/MetricAssetNotebookRelationship'
+ type: array
+ type: object
+ MetricAssetResponseData:
+ description: Metric assets response data.
+ properties:
+ id:
+ $ref: '#/components/schemas/MetricName'
+ relationships:
+ $ref: '#/components/schemas/MetricAssetResponseRelationships'
+ type:
+ $ref: '#/components/schemas/MetricType'
+ required:
+ - id
+ - type
+ type: object
+ MetricAssetResponseIncluded:
+ description: List of included assets with full set of attributes.
+ oneOf:
+ - $ref: '#/components/schemas/MetricDashboardAsset'
+ - $ref: '#/components/schemas/MetricMonitorAsset'
+ - $ref: '#/components/schemas/MetricNotebookAsset'
+ - $ref: '#/components/schemas/MetricSLOAsset'
+ MetricAssetResponseRelationships:
+ description: Relationships to assets related to the metric.
+ properties:
+ dashboards:
+ $ref: '#/components/schemas/MetricAssetDashboardRelationships'
+ monitors:
+ $ref: '#/components/schemas/MetricAssetMonitorRelationships'
+ notebooks:
+ $ref: '#/components/schemas/MetricAssetNotebookRelationships'
+ slos:
+ $ref: '#/components/schemas/MetricAssetSLORelationships'
+ type: object
+ MetricAssetSLORelationship:
+ description: An object of type `slos` that can be referenced in the `included`
+ data.
+ properties:
+ id:
+ $ref: '#/components/schemas/MetricSLOID'
+ type:
+ $ref: '#/components/schemas/MetricSLOType'
+ type: object
+ MetricAssetSLORelationships:
+ description: An object containing a list of SLOs that can be referenced in the
+ `included` data.
+ properties:
+ data:
+ description: A list of SLOs that can be referenced in the `included` data.
+ items:
+ $ref: '#/components/schemas/MetricAssetSLORelationship'
+ type: array
+ type: object
+ MetricAssetsResponse:
+ description: Response object that includes related dashboards, monitors, notebooks,
+ and SLOs.
+ properties:
+ data:
+ $ref: '#/components/schemas/MetricAssetResponseData'
+ included:
+ description: Array of objects related to the metric assets.
+ items:
+ $ref: '#/components/schemas/MetricAssetResponseIncluded'
+ type: array
+ type: object
MetricBulkConfigureTagsType:
default: metric_bulk_configure_tags
description: The metric bulk configure tags resource.
enum:
- metric_bulk_configure_tags
@@ -10911,10 +12105,48 @@
- AVG
- COUNT
- MAX
- MIN
- SUM
+ MetricDashboardAsset:
+ description: A dashboard object with title and popularity.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MetricDashboardAttributes'
+ id:
+ $ref: '#/components/schemas/MetricDashboardID'
+ type:
+ $ref: '#/components/schemas/MetricDashboardType'
+ required:
+ - id
+ - type
+ type: object
+ MetricDashboardAttributes:
+ description: Attributes related to the dashboard, including title and popularity.
+ properties:
+ popularity:
+ description: Value from 0 to 5 that ranks popularity of the dashboard.
+ format: double
+ maximum: 5
+ minimum: 0
+ type: number
+ title:
+ description: Title of the asset.
+ type: string
+ type: object
+ MetricDashboardID:
+ description: The related dashboard's ID.
+ example: xxx-yyy-zzz
+ type: string
+ MetricDashboardType:
+ description: Dashboard resource type.
+ enum:
+ - dashboards
+ example: dashboards
+ type: string
+ x-enum-varnames:
+ - DASHBOARDS
MetricDistinctVolume:
description: Object for a single metric's distinct volume.
properties:
attributes:
$ref: '#/components/schemas/MetricDistinctVolumeAttributes'
@@ -11051,14 +12283,64 @@
description: Metadata for the metric.
properties:
origin:
$ref: '#/components/schemas/MetricOrigin'
type: object
+ MetricMonitorAsset:
+ description: A monitor object with title.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MetricAssetAttributes'
+ id:
+ $ref: '#/components/schemas/MetricMonitorID'
+ type:
+ $ref: '#/components/schemas/MetricMonitorType'
+ required:
+ - id
+ - type
+ type: object
+ MetricMonitorID:
+ description: The related monitor's ID.
+ example: '1775073'
+ type: string
+ MetricMonitorType:
+ description: Monitor resource type.
+ enum:
+ - monitors
+ example: monitors
+ type: string
+ x-enum-varnames:
+ - MONITORS
MetricName:
description: The metric name for this resource.
example: test.metric.latency
type: string
+ MetricNotebookAsset:
+ description: A notebook object with title.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MetricAssetAttributes'
+ id:
+ $ref: '#/components/schemas/MetricNotebookID'
+ type:
+ $ref: '#/components/schemas/MetricNotebookType'
+ required:
+ - id
+ - type
+ type: object
+ MetricNotebookID:
+ description: The related notebook's ID.
+ example: '12345'
+ type: string
+ MetricNotebookType:
+ description: Notebook resource type.
+ enum:
+ - notebooks
+ example: notebooks
+ type: string
+ x-enum-varnames:
+ - NOTEBOOKS
MetricOrigin:
description: Metric origin information.
properties:
metric_type:
default: 0
@@ -11128,10 +12410,35 @@
type: string
type:
description: The type of the resource.
type: string
type: object
+ MetricSLOAsset:
+ description: A SLO object with title.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MetricAssetAttributes'
+ id:
+ $ref: '#/components/schemas/MetricSLOID'
+ type:
+ $ref: '#/components/schemas/MetricSLOType'
+ required:
+ - id
+ - type
+ type: object
+ MetricSLOID:
+ description: The SLO ID.
+ example: 9ffef113b389520db54391d67d652dfb
+ type: string
+ MetricSLOType:
+ description: SLO resource type.
+ enum:
+ - slos
+ example: slos
+ type: string
+ x-enum-varnames:
+ - SLOS
MetricSeries:
description: 'A metric to submit to Datadog.
See [Datadog metrics](https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties).'
properties:
@@ -11941,10 +13248,33 @@
$ref: '#/components/schemas/UsersType'
required:
- id
- type
type: object
+ NullableUserRelationship:
+ description: Relationship to user.
+ nullable: true
+ properties:
+ data:
+ $ref: '#/components/schemas/NullableUserRelationshipData'
+ required:
+ - data
+ type: object
+ NullableUserRelationshipData:
+ description: Relationship to user object.
+ nullable: true
+ properties:
+ id:
+ description: A unique identifier that represents the user.
+ example: 00000000-0000-0000-0000-000000000000
+ type: string
+ type:
+ $ref: '#/components/schemas/UserResourceType'
+ required:
+ - id
+ - type
+ type: object
OktaAccount:
description: Schema for an Okta account.
properties:
attributes:
$ref: '#/components/schemas/OktaAccountAttributes'
@@ -13073,10 +14403,117 @@
- process
example: process
type: string
x-enum-varnames:
- PROCESS
+ Project:
+ description: A Project
+ properties:
+ attributes:
+ $ref: '#/components/schemas/ProjectAttributes'
+ id:
+ description: The Project's identifier
+ example: aeadc05e-98a8-11ec-ac2c-da7ad0900001
+ type: string
+ relationships:
+ $ref: '#/components/schemas/ProjectRelationships'
+ type:
+ $ref: '#/components/schemas/ProjectResourceType'
+ required:
+ - id
+ - type
+ - attributes
+ type: object
+ ProjectAttributes:
+ description: Project attributes
+ properties:
+ key:
+ description: The project's key
+ example: CASEM
+ type: string
+ name:
+ description: Project's name
+ type: string
+ type: object
+ ProjectCreate:
+ description: Project create
+ properties:
+ attributes:
+ $ref: '#/components/schemas/ProjectCreateAttributes'
+ type:
+ $ref: '#/components/schemas/ProjectResourceType'
+ required:
+ - attributes
+ - type
+ type: object
+ ProjectCreateAttributes:
+ description: Project creation attributes
+ properties:
+ key:
+ description: Project's key. Cannot be "CASE"
+ example: SEC
+ type: string
+ name:
+ description: name
+ example: Security Investigation
+ type: string
+ required:
+ - name
+ - key
+ type: object
+ ProjectCreateRequest:
+ description: Project create request
+ properties:
+ data:
+ $ref: '#/components/schemas/ProjectCreate'
+ required:
+ - data
+ type: object
+ ProjectRelationship:
+ description: Relationship to project
+ properties:
+ data:
+ $ref: '#/components/schemas/ProjectRelationshipData'
+ required:
+ - data
+ type: object
+ ProjectRelationshipData:
+ description: Relationship to project object
+ properties:
+ id:
+ description: A unique identifier that represents the project
+ example: e555e290-ed65-49bd-ae18-8acbfcf18db7
+ type: string
+ type:
+ $ref: '#/components/schemas/ProjectResourceType'
+ required:
+ - id
+ - type
+ type: object
+ ProjectRelationships:
+ description: Project relationships
+ properties:
+ member_team:
+ $ref: '#/components/schemas/RelationshipToTeamLinks'
+ member_user:
+ $ref: '#/components/schemas/UsersRelationship'
+ type: object
+ ProjectResourceType:
+ default: project
+ description: Project resource type
+ enum:
+ - project
+ example: project
+ type: string
+ x-enum-varnames:
+ - PROJECT
+ ProjectResponse:
+ description: Project response
+ properties:
+ data:
+ $ref: '#/components/schemas/Project'
+ type: object
ProjectedCost:
description: Projected Cost data.
properties:
attributes:
$ref: '#/components/schemas/ProjectedCostAttributes'
@@ -13129,10 +14566,19 @@
- projected_cost
example: projected_cost
type: string
x-enum-varnames:
- PROJECt_COST
+ ProjectsResponse:
+ description: Response with projects
+ properties:
+ data:
+ description: Projects response data
+ items:
+ $ref: '#/components/schemas/Project'
+ type: array
+ type: object
QueryFormula:
description: A formula for calculation based on one or more queries.
properties:
formula:
description: Formula string, referencing one or more queries with their
@@ -17522,11 +18968,14 @@
type: array
name:
description: Name of the standard pattern.
type: string
pattern:
- description: Regex to match.
+ deprecated: true
+ description: (Deprecated) Regex to match, optionally documented for older
+ standard rules. Refer to the `description` field to understand what the
+ rule does.
type: string
priority:
description: Integer from 1 (high) to 5 (low) indicating standard pattern
issue severity.
format: int64
@@ -18612,10 +20061,27 @@
description: Data representing service definitions.
items:
$ref: '#/components/schemas/ServiceDefinitionData'
type: array
type: object
+ ServiceNowTicket:
+ description: ServiceNow ticket attached to case
+ nullable: true
+ properties:
+ result:
+ $ref: '#/components/schemas/ServiceNowTicketResult'
+ status:
+ $ref: '#/components/schemas/Case3rdPartyTicketStatus'
+ readOnly: true
+ type: object
+ ServiceNowTicketResult:
+ description: ServiceNow ticket information
+ properties:
+ sys_target_link:
+ description: Link to the Incident created on ServiceNow
+ type: string
+ type: object
SlackIntegrationMetadata:
description: Incident integration metadata for the Slack integration.
properties:
channels:
description: Array of Slack channels in this integration metadata.
@@ -20613,16 +22079,38 @@
- user_invitations
example: user_invitations
type: string
x-enum-varnames:
- USER_INVITATIONS
+ UserRelationshipData:
+ description: Relationship to user object.
+ properties:
+ id:
+ description: A unique identifier that represents the user.
+ example: 00000000-0000-0000-0000-000000000000
+ type: string
+ type:
+ $ref: '#/components/schemas/UserResourceType'
+ required:
+ - id
+ - type
+ type: object
UserRelationships:
description: Relationships of the user object.
properties:
roles:
$ref: '#/components/schemas/RelationshipToRoles'
type: object
+ UserResourceType:
+ default: user
+ description: User resource type.
+ enum:
+ - user
+ example: user
+ type: string
+ x-enum-varnames:
+ - USER
UserResponse:
description: Response containing information about a single user.
properties:
data:
$ref: '#/components/schemas/User'
@@ -20697,10 +22185,14 @@
type:
$ref: '#/components/schemas/UserTeamType'
required:
- type
type: object
+ UserTeamIncluded:
+ description: Included resources related to the team membership
+ oneOf:
+ - $ref: '#/components/schemas/User'
UserTeamPermission:
description: A user's permissions for a given team
properties:
attributes:
$ref: '#/components/schemas/UserTeamPermissionAttributes'
@@ -20751,10 +22243,15 @@
UserTeamResponse:
description: Team membership response
properties:
data:
$ref: '#/components/schemas/UserTeam'
+ included:
+ description: Resources related to the team memberships
+ items:
+ $ref: '#/components/schemas/UserTeamIncluded'
+ type: array
type: object
UserTeamRole:
description: The user's role within the team
enum:
- admin
@@ -20855,10 +22352,22 @@
data:
$ref: '#/components/schemas/UserUpdateData'
required:
- data
type: object
+ UsersRelationship:
+ description: Relationship to users.
+ properties:
+ data:
+ description: Relationships to user objects.
+ example: []
+ items:
+ $ref: '#/components/schemas/UserRelationshipData'
+ type: array
+ required:
+ - data
+ type: object
UsersResponse:
description: Response containing information about multiple users.
properties:
data:
description: Array of returned users.
@@ -20927,10 +22436,12 @@
authorizationUrl: /oauth2/v1/authorize
scopes:
apm_service_catalog_read: View service catalog and service definitions.
apm_service_catalog_write: Add, modify, and delete service catalog definitions
when those definitions are maintained by Datadog.
+ cases_read: Read all cases data.
+ cases_write: Create, update and delete cases data.
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
the API.
ci_visibility_read: View CI Visibility.
create_webhooks: Create webhooks integrations.
dashboards_public_share: Generate public and authenticated links to share
@@ -22115,10 +23626,476 @@
summary: Edit an AuthN Mapping
tags:
- AuthN Mappings
x-codegen-request-body-name: body
x-permission: OR(USER_ACCESS_MANAGE)
+ /api/v2/cases:
+ get:
+ description: Search cases.
+ operationId: SearchCases
+ parameters:
+ - $ref: '#/components/parameters/PageSize'
+ - $ref: '#/components/parameters/PageOffset'
+ - $ref: '#/components/parameters/CaseSortableFieldParameter'
+ - description: Search query
+ in: query
+ name: filter
+ required: false
+ schema:
+ example: status:open (team:case-management OR team:event-management)
+ type: string
+ - description: Specify if order is ascending or not
+ in: query
+ name: sort[asc]
+ required: false
+ schema:
+ default: false
+ type: boolean
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CasesResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_read
+ summary: Search cases
+ tags:
+ - Case Management
+ x-pagination:
+ limitParam: page[size]
+ pageOffsetParam: page[offset]
+ resultsPath: data
+ post:
+ description: Create a Case
+ operationId: CreateCase
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseCreateRequest'
+ description: Case payload
+ required: true
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: CREATED
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Create a case
+ tags:
+ - Case Management
+ /api/v2/cases/projects:
+ get:
+ description: Get all projects.
+ operationId: GetProjects
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProjectsResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_read
+ summary: Get all projects
+ tags:
+ - Case Management
+ post:
+ description: Create a project.
+ operationId: CreateProject
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProjectCreateRequest'
+ description: Project payload
+ required: true
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProjectResponse'
+ description: CREATED
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Create a project
+ tags:
+ - Case Management
+ /api/v2/cases/projects/{project_id}:
+ delete:
+ description: Remove a project using the project's `id`.
+ operationId: DeleteProject
+ parameters:
+ - $ref: '#/components/parameters/ProjectIDPathParameter'
+ responses:
+ '204':
+ description: No Content
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: API error response
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Remove a project
+ tags:
+ - Case Management
+ get:
+ description: Get the details of a project by `project_id`.
+ operationId: GetProject
+ parameters:
+ - $ref: '#/components/parameters/ProjectIDPathParameter'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ProjectResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_read
+ summary: Get the details of a project
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}:
+ get:
+ description: Get the details of case by `case_id`
+ operationId: GetCase
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_read
+ summary: Get the details of a case
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}/archive:
+ post:
+ description: Archive case
+ operationId: ArchiveCase
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseEmptyRequest'
+ description: Archive case payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Archive case
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}/assign:
+ post:
+ description: Assign case to a user
+ operationId: AssignCase
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseAssignRequest'
+ description: Assign case payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Assign case
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}/priority:
+ post:
+ description: Update case priority
+ operationId: UpdatePriority
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseUpdatePriorityRequest'
+ description: Case priority update payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Update case priority
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}/status:
+ post:
+ description: Update case status
+ operationId: UpdateStatus
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseUpdateStatusRequest'
+ description: Case status update payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Update case status
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}/unarchive:
+ post:
+ description: Unarchive case
+ operationId: UnarchiveCase
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseEmptyRequest'
+ description: Unarchive case payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Unarchive case
+ tags:
+ - Case Management
+ /api/v2/cases/{case_id}/unassign:
+ post:
+ description: Unassign case
+ operationId: UnassignCase
+ parameters:
+ - $ref: '#/components/parameters/CaseIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseEmptyRequest'
+ description: Unassign case payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CaseResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - cases_write
+ summary: Unassign case
+ tags:
+ - Case Management
/api/v2/ci/pipeline:
post:
description: 'Send your pipeline event to your Datadog platform over HTTP. For
details about how pipeline executions are modeled and what execution types
we support, see [Pipeline Data Model And Execution Types](https://docs.datadoghq.com/continuous_integration/guides/pipeline_data_model/).
@@ -22387,12 +24364,12 @@
tags:
- CI Visibility Tests
x-codegen-request-body-name: body
/api/v2/ci/tests/events:
get:
- description: 'List endpoint returns CI Visibility test events that match a [log
- search query](https://docs.datadoghq.com/logs/explorer/search_syntax/).
+ description: 'List endpoint returns CI Visibility test events that match a [search
+ query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/).
[Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).
Use this endpoint to see your latest test events.'
@@ -22471,12 +24448,12 @@
cursorPath: meta.page.after
limitParam: page[limit]
resultsPath: data
/api/v2/ci/tests/events/search:
post:
- description: 'List endpoint returns CI Visibility test events that match a [log
- search query](https://docs.datadoghq.com/logs/explorer/search_syntax/).
+ description: 'List endpoint returns CI Visibility test events that match a [search
+ query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/).
[Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).
Use this endpoint to build complex events filtering and search.'
@@ -22994,11 +24971,11 @@
permissions:
- CLOUD_COST_MANAGEMENT_READ
/api/v2/cost_by_tag/active_billing_dimensions:
get:
description: Get active billing dimensions for cost attribution. Cost data for
- a given month becomes available no later than the 17th of the following month.
+ a given month becomes available no later than the 19th of the following month.
operationId: GetActiveBillingDimensions
responses:
'200':
content:
application/json;datetime-format=rfc3339:
@@ -23036,11 +25013,11 @@
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/cost_by_tag/monthly_cost_attribution:
get:
description: "Get monthly cost attribution by tag across multi-org and single
root-org accounts.\nCost Attribution data for a given month becomes available
- no later than the 17th of the following month.\nThis API endpoint is paginated.
+ no later than the 19th of the following month.\nThis API endpoint is paginated.
To make sure you receive all records, check if the value of `next_record_id`
is\nset in the response. If it is, make another request and pass `next_record_id`
as a parameter.\nPseudo code example:\n```\nresponse := GetMonthlyCostAttribution(start_month,
end_month)\ncursor := response.metadata.pagination.next_record_id\nWHILE cursor
!= null BEGIN\n sleep(5 seconds) # Avoid running into rate limit\n response
@@ -26395,10 +28372,139 @@
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Grant role to an archive
tags:
- Logs Archives
x-codegen-request-body-name: body
+ /api/v2/logs/config/custom-destinations:
+ get:
+ description: Get the list of configured custom destinations in your organization
+ with their definitions.
+ operationId: ListLogsCustomDestinations
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CustomDestinationsResponse'
+ description: OK
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Forbidden
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Get all custom destinations
+ tags:
+ - Logs Custom Destinations
+ post:
+ description: Create a custom destination in your organization.
+ operationId: CreateLogsCustomDestination
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CustomDestinationCreateRequest'
+ description: The definition of the new custom destination.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CustomDestinationResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '409':
+ $ref: '#/components/responses/ConflictResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Create a custom destination
+ tags:
+ - Logs Custom Destinations
+ x-codegen-request-body-name: body
+ /api/v2/logs/config/custom-destinations/{custom_destination_id}:
+ delete:
+ description: Delete a specific custom destination in your organization.
+ operationId: DeleteLogsCustomDestination
+ parameters:
+ - $ref: '#/components/parameters/CustomDestinationId'
+ responses:
+ '204':
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Delete a custom destination
+ tags:
+ - Logs Custom Destinations
+ get:
+ description: Get a specific custom destination in your organization.
+ operationId: GetLogsCustomDestination
+ parameters:
+ - $ref: '#/components/parameters/CustomDestinationId'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CustomDestinationResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Get a custom destination
+ tags:
+ - Logs Custom Destinations
+ patch:
+ description: Update the given fields of a specific custom destination in your
+ organization.
+ operationId: UpdateLogsCustomDestination
+ parameters:
+ - $ref: '#/components/parameters/CustomDestinationId'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CustomDestinationUpdateRequest'
+ description: New definition of the custom destination's fields.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CustomDestinationResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '409':
+ $ref: '#/components/responses/ConflictResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Update a custom destination
+ tags:
+ - Logs Custom Destinations
+ x-codegen-request-body-name: body
/api/v2/logs/config/metrics:
get:
description: Get the list of configured log-based metrics with their definitions.
operationId: ListLogsMetrics
responses:
@@ -27008,10 +29114,55 @@
- AuthZ:
- metrics_read
summary: List tags by metric name
tags:
- Metrics
+ /api/v2/metrics/{metric_name}/assets:
+ get:
+ description: Returns dashboards, monitors, notebooks, and SLOs that a metric
+ is stored in, if any. Updated every 24 hours.
+ operationId: ListMetricAssets
+ parameters:
+ - $ref: '#/components/parameters/MetricName'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MetricAssetsResponse'
+ description: Success
+ '400':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: API error response.
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: API error response.
+ '404':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: API error response.
+ '429':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Too Many Requests
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ: []
+ summary: Related Assets to a Metric
+ tags:
+ - Metrics
/api/v2/metrics/{metric_name}/estimate:
get:
description: Returns the estimated cardinality for a metric with a given tag,
percentile and number of aggregations configuration using Metrics without
Limits™.
@@ -27024,18 +29175,20 @@
name: filter[groups]
required: false
schema:
type: string
- description: The number of hours of look back (from now) to estimate cardinality
- with.
+ with. Estimates are based on historical data, and unspecified fields default
+ to the minimum 49 hours.
example: 49
in: query
name: filter[hours_ago]
required: false
schema:
format: int32
maximum: 2147483647
+ minimum: 49
type: integer
- description: The number of aggregations that a `count`, `rate`, or `gauge`
metric is configured to use. Max number of aggregation combos is 9.
example: 1
in: query
@@ -27099,23 +29252,10 @@
appKeyAuth: []
- AuthZ: []
summary: Tag Configuration Cardinality Estimator
tags:
- Metrics
- x-dd-ownership:
- notification_configuration:
- manual_escalation_policy: '[Points Aggregation] Primary'
- prod_high_urgency: '@pagerduty-Points-Aggregation @slack-points-aggr-ops'
- prod_low_urgency: '@slack-points-aggr-ops'
- slack_support_channel: '#points-aggregation'
- staging_high_urgency: '@slack-points-aggr-stg-ops'
- staging_low_urgency: '@slack-points-aggr-stg-ops'
- team: points-aggregation
- team_escalation: '[Points Aggregation] Primary'
- x-permission:
- operator: OPEN
- permissions: []
/api/v2/metrics/{metric_name}/tags:
delete:
description: 'Deletes a metric''s tag configuration. Can only be used with application
keys from users with the `Manage Tags for Metrics` permission.'
@@ -28222,10 +30362,158 @@
(RUM), Cloud Cost Management, and Log Management data sources.
We are gradually onboarding support for more sources. If you have any
feedback, contact [Datadog Support](https://docs.datadoghq.com/help/).'
+ /api/v2/remote_config/products/cws/agent_rules:
+ get:
+ description: Get the list of Cloud Security Management Threats Agent rules.
+ operationId: ListCSMThreatsAgentRules
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse'
+ description: OK
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Get all CSM Threats Agent rules
+ tags:
+ - Cloud Workload Security
+ post:
+ description: Create a new Cloud Security Management Threats Agent rule with
+ the given parameters.
+ operationId: CreateCSMThreatsAgentRule
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleCreateRequest'
+ description: The definition of the new Agent rule.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '409':
+ $ref: '#/components/responses/ConflictResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Create a CSM Threats Agent rule
+ tags:
+ - Cloud Workload Security
+ x-codegen-request-body-name: body
+ /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}:
+ delete:
+ description: Delete a specific Cloud Security Management Threats Agent rule.
+ operationId: DeleteCSMThreatsAgentRule
+ parameters:
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
+ responses:
+ '204':
+ description: OK
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Delete a CSM Threats Agent rule
+ tags:
+ - Cloud Workload Security
+ get:
+ description: Get the details of a specific Cloud Security Management Threats
+ Agent rule.
+ operationId: GetCSMThreatsAgentRule
+ parameters:
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
+ description: OK
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Get a CSM Threats Agent rule
+ tags:
+ - Cloud Workload Security
+ patch:
+ description: 'Update a specific Cloud Security Management Threats Agent rule.
+
+ Returns the Agent rule object when the request is successful.'
+ operationId: UpdateCSMThreatsAgentRule
+ parameters:
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateRequest'
+ description: New definition of the Agent rule.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '409':
+ $ref: '#/components/responses/ConcurrentModificationResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Update a CSM Threats Agent rule
+ tags:
+ - Cloud Workload Security
+ x-codegen-request-body-name: body
+ /api/v2/remote_config/products/cws/policy/download:
+ get:
+ description: 'The download endpoint generates a CSM Threats policy file from
+ your currently active
+
+ CSM Threats rules, and downloads them as a `.policy` file. This file can then
+ be deployed to
+
+ your Agents to update the policy running in your environment.'
+ operationId: DownloadCSMThreatsPolicy
+ responses:
+ '200':
+ content:
+ application/zip:
+ schema:
+ format: binary
+ type: string
+ description: OK
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Get the latest CSM Threats policy
+ tags:
+ - Cloud Workload Security
/api/v2/restriction_policy/{resource_id}:
delete:
description: Deletes the restriction policy associated with a specified resource.
operationId: DeleteRestrictionPolicy
parameters:
@@ -30989,10 +33277,11 @@
tags:
- Service Accounts
x-codegen-request-body-name: body
/api/v2/services:
get:
+ deprecated: true
description: Get all incident services uploaded for the requesting user's organization.
If the `include[users]` query parameter is provided, the included attribute
will contain the users related to these incident services.
operationId: ListIncidentServices
parameters:
@@ -31023,14 +33312,13 @@
- AuthZ:
- incident_read
summary: Get a list of all incident services
tags:
- Incident Services
- x-unstable: '**Note**: This endpoint is in public beta.
-
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ x-unstable: '**Note**: This endpoint is deprecated.'
post:
+ deprecated: true
description: Creates a new incident service.
operationId: CreateIncidentService
requestBody:
content:
application/json:
@@ -31062,13 +33350,11 @@
- incident_settings_write
summary: Create a new incident service
tags:
- Incident Services
x-codegen-request-body-name: body
- x-unstable: '**Note**: This endpoint is in public beta.
-
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ x-unstable: '**Note**: This endpoint is deprecated.'
/api/v2/services/definitions:
get:
description: Get a list of all service definitions from the Datadog Service
Catalog.
operationId: ListServiceDefinitions
@@ -31095,11 +33381,11 @@
summary: Get all service definitions
tags:
- Service Definition
x-pagination:
limitParam: page[size]
- pageOffsetParam: page[number]
+ pageParam: page[number]
resultsPath: data
post:
description: Create or update service definition in the Datadog Service Catalog.
operationId: CreateOrUpdateServiceDefinitions
requestBody:
@@ -31189,10 +33475,11 @@
summary: Get a single service definition
tags:
- Service Definition
/api/v2/services/{service_id}:
delete:
+ deprecated: true
description: Deletes an existing incident service.
operationId: DeleteIncidentService
parameters:
- $ref: '#/components/parameters/IncidentServiceIDPathParameter'
responses:
@@ -31214,14 +33501,13 @@
- AuthZ:
- incident_settings_write
summary: Delete an existing incident service
tags:
- Incident Services
- x-unstable: '**Note**: This endpoint is in public beta.
-
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ x-unstable: '**Note**: This endpoint is deprecated.'
get:
+ deprecated: true
description: 'Get details of an incident service. If the `include[users]` query
parameter is provided,
the included attribute will contain the users related to these incident services.'
operationId: GetIncidentService
@@ -31251,14 +33537,13 @@
- AuthZ:
- incident_read
summary: Get details of an incident service
tags:
- Incident Services
- x-unstable: '**Note**: This endpoint is in public beta.
-
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ x-unstable: '**Note**: This endpoint is deprecated.'
patch:
+ deprecated: true
description: Updates an existing incident service. Only provide the attributes
which should be updated as this request is a partial update.
operationId: UpdateIncidentService
parameters:
- $ref: '#/components/parameters/IncidentServiceIDPathParameter'
@@ -31293,13 +33578,11 @@
- incident_settings_write
summary: Update an existing incident service
tags:
- Incident Services
x-codegen-request-body-name: body
- x-unstable: '**Note**: This endpoint is in public beta.
-
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ x-unstable: '**Note**: This endpoint is deprecated.'
/api/v2/spans/analytics/aggregate:
post:
description: 'The API endpoint to aggregate spans into buckets and compute metrics
and timeseries.
@@ -32697,14 +34980,14 @@
families are `all`, `analyzed_logs`,
`application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`,
`csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`,
- `cws`, `dbm`, `fargate`,
+ `cws`, `dbm`, `error_tracking`,
- `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
- `iot`,
+ `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`,
+ `ingested_spans`, `iot`,
`lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`,
`observability_pipelines`,
`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
@@ -33461,10 +35744,19 @@
name: CI Visibility Pipelines
- description: Search or aggregate your CI Visibility test events over HTTP. See the
[Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more
information.
name: CI Visibility Tests
+- description: Cloud Security Management Threats (CSM Threats) monitors file, network,
+ and process activity across your environment to detect real-time threats to your
+ infrastructure. See [Cloud Security Management Threats](https://docs.datadoghq.com/security/threats/)
+ for more information on setting up CSM Threats.
+ name: CSM Threats
+- description: View and manage cases and projects within Case Management. See the
+ [Case Management page](https://docs.datadoghq.com/service_management/case_management/)
+ for more information.
+ name: Case Management
- description: The Cloud Cost Management API allows you to set up, edit, and delete
Cloud Cost Management accounts for AWS and Azure. See the [Cloud Cost Management
page](https://docs.datadoghq.com/cloud_cost_management/) for more information.
name: Cloud Cost Management
- description: Workload activity security rules for generating events using the Datadog
@@ -33532,11 +35824,12 @@
access to intake APIs or public dashboards.
This is an enterprise-only feature. Request access by
- contacting Datadog support.'
+ contacting Datadog support, or see the [IP Allowlist page](https://docs.datadoghq.com/account_management/org_settings/ip_allowlist/)
+ for more information.'
name: IP Allowlist
- description: Create, update, delete, and retrieve services which can be associated
with incidents. See the [Incident Management page](https://docs.datadoghq.com/service_management/incident_management/)
for more information.
name: Incident Services
@@ -33558,21 +35851,32 @@
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/account_management/api-app-keys/
name: Key Management
- description: Search your logs and send them to your Datadog platform over HTTP.
+ See the [Log Management page](https://docs.datadoghq.com/logs/) for more information.
name: Logs
- description: 'Archives forward all the logs ingested to a cloud storage system.
See the [Archives Page](https://app.datadoghq.com/logs/pipelines/archives)
- for a list of the archives currently configured in web UI.'
+ for a list of the archives currently configured in Datadog.'
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/logs/archives/
name: Logs Archives
+- description: 'Custom Destinations forward all the logs ingested to an external destination.
+
+
+ See the [Custom Destinations Page](https://app.datadoghq.com/logs/pipelines/log-forwarding/custom-destinations)
+
+ for a list of the custom destinations currently configured in web UI.'
+ externalDocs:
+ description: Find out more at
+ url: https://docs.datadoghq.com/logs/log_configuration/forwarding_custom_destinations/
+ name: Logs Custom Destinations
- description: Manage configuration of [log-based metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics)
for your organization.
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/logs/logs_to_metrics/
@@ -33582,11 +35886,12 @@
(timeseries and scalar)\n- Modify tag configurations for metrics\n- View tags
and volumes for metrics\n\n**Note**: A graph can only contain a set number of
points\nand as the timeframe over which a metric is viewed increases,\naggregation
between points occurs to stay below that set number.\n\nThe Post, Patch, and Delete
`manage_tags` API methods can only be performed by\na user who has the `Manage
- Tags for Metrics` permission."
+ Tags for Metrics` permission.\n\nSee the [Metrics page](https://docs.datadoghq.com/metrics/)
+ for more information."
name: Metrics
- description: '[Monitors](https://docs.datadoghq.com/monitors) allow you to watch
a metric or check that you care about and
notifies your team when a defined threshold has exceeded.
@@ -33598,12 +35903,12 @@
[Tag Policies](https://docs.datadoghq.com/monitors/settings/).'
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/monitors/create/types/
name: Monitors
-- description: Configure your Datadog Okta integration directly through the Datadog
- API.
+- description: Configure your [Datadog Okta integration](https://docs.datadoghq.com/integrations/okta/)
+ directly through the Datadog API.
name: Okta Integration
- description: 'Configure your [Datadog Opsgenie integration](https://docs.datadoghq.com/integrations/opsgenie/)
directly through the Datadog API.'
externalDocs:
@@ -33613,29 +35918,37 @@
accounts](https://docs.datadoghq.com/account_management/multi_organization).
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/account_management/multi_organization
name: Organizations
-- description: 'The powerpack endpoints allow you to:
+- description: 'The Powerpack endpoints allow you to:
- - Get a powerpack
+ - Get a Powerpack
- - Create a powerpack
+ - Create a Powerpack
- - Delete a powerpack
+ - Delete a Powerpack
- - Get a list of all powerpacks
+ - Get a list of all Powerpacks
- The Patch and Delete API methods can only be performed on a powerpack by
+ The Patch and Delete API methods can only be performed on a Powerpack by
- a user who has the powerpack create permission for that specific powerpack.'
+ a user who has the powerpack create permission for that specific Powerpack.
+
+
+ Read [Scale Graphing Expertise with Powerpacks](https://docs.datadoghq.com/dashboards/guide/powerpacks-best-practices/)
+ for more information.'
name: Powerpack
- description: The processes API allows you to query processes data for your organization.
+ See the [Live Processes page](https://docs.datadoghq.com/infrastructure/process/)
+ for more information.
name: Processes
-- description: Search or aggregate your RUM events over HTTP.
+- description: Manage your Real User Monitoring (RUM) applications, and search or
+ aggregate your RUM events over HTTP. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/)
+ for more information
name: RUM
- description: 'A restriction policy defines the access control rules for a resource,
mapping a set of relations
(such as editor and viewer) to a set of allowed principals (such as roles, teams,
@@ -33657,33 +35970,38 @@
read access on a specific log index to a role can be done in Datadog from the
[Pipelines page](https://app.datadoghq.com/logs/pipelines).'
name: Roles
-- description: 'Detection rules for generating signals and listing of generated
-
- signals.'
+- description: Create and manage your security rules, signals, filters, and more.
+ See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
+ information.
name: Security Monitoring
- description: Create, update, delete, and retrieve sensitive data scanner groups
- and rules.
+ and rules. See the [Sensitive Data Scanner page](https://docs.datadoghq.com/sensitive_data_scanner/)
+ for more information.
name: Sensitive Data Scanner
-- description: Create, edit, and disable service accounts.
+- description: Create, edit, and disable service accounts. See the [Service Accounts
+ page](https://docs.datadoghq.com/account_management/org_settings/service_accounts/)
+ for more information.
name: Service Accounts
- description: API to create, update, retrieve and delete service definitions.
externalDocs:
url: https://docs.datadoghq.com/tracing/service_catalog/
name: Service Definition
-- description: 'API to create, update scorecard rules and outcomes.
+- description: 'API to create, update scorecard rules and outcomes. See [Service Scorecards](https://docs.datadoghq.com/service_catalog/scorecards)
+ for more information.
This feature is currently in BETA. If you have any feedback, contact [Datadog
support](https://docs.datadoghq.com/help/).'
name: Service Scorecards
- description: Search and aggregate your spans from your Datadog platform over HTTP.
name: Spans
- description: Manage configuration of [span-based metrics](https://app.datadoghq.com/apm/traces/generate-metrics)
- for your organization.
+ for your organization. See [Generate Metrics from Spans](https://docs.datadoghq.com/tracing/trace_pipeline/generate_metrics/)
+ for more information.
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/tracing/metrics/metrics_namespace/
name: Spans Metrics
- description: "Datadog Synthetics uses simulated user requests and browser rendering
@@ -33691,10 +36009,11 @@
performance. Datadog Synthetics tests come in\ntwo different flavors, [API tests](https://docs.datadoghq.com/synthetics/api_tests/)\nand
[browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You can
use Datadog\u2019s API to\nmanage both test types programmatically.\n\nFor more
information about Synthetics, see the [Synthetics overview](https://docs.datadoghq.com/synthetics/)."
name: Synthetics
-- description: View and manage teams within Datadog.
+- description: View and manage teams within Datadog. See the [Teams page](https://docs.datadoghq.com/account_management/teams/)
+ for more information.
name: Teams
- description: 'The usage metering API allows you to get hourly, daily, and
monthly usage across multiple facets of Datadog.