- Agents
- Essentials
- Getting Started
- Agent
- API
- APM Tracing
- Containers
- Dashboards
- Database Monitoring
- Datadog
- Datadog Site
- DevSecOps
- Incident Management
- Integrations
- Internal Developer Portal
- Logs
- Monitors
- Notebooks
- OpenTelemetry
- Profiler
- Search
- Session Replay
- Security
- Serverless for AWS Lambda
- Software Delivery
- Synthetic Monitoring and Testing
- Tags
- Teams
- Workflow Automation
- Access for Enterprises
- Learning Center
- Support
- Glossary
- Standard Attributes
- Guides
- Agent
- Integrations
- Client SDKs
- Extend Datadog
- Authorization
- DogStatsD
- Custom Checks
- Integrations
- Build an Integration with Datadog
- Create an Agent-based Integration
- Create an API-based Integration
- Create a Log Pipeline
- Integration Assets Reference
- Build a Marketplace Offering
- Create an Integration Dashboard
- Create a Monitor Template
- Create a Cloud SIEM Detection Rule
- Install Agent Integration Developer Tool
- Service Checks
- Community
- Guides
- OpenTelemetry
- Administrator's Guide
- API
- Command Line
- MCP Server
- Partners
- Datadog Mobile App
- DDSQL Reference
- CoScreen
- CoTerm
- Remote Configuration
- Cloudcraft (Standalone)
- In The App
- Dashboards
- Notebooks
- DDSQL Editor
- Reference Tables
- Sheets
- Monitors and Alerting
- Service Level Objectives
- Metrics
- Watchdog
- Bits AI
- Internal Developer Portal
- Error Tracking
- Change Tracking
- Event Management
- Incident Response
- Actions & Remediations
- Infrastructure
- Cloudcraft
- Resource Catalog
- Universal Service Monitoring
- End User Device Monitoring
- Hosts
- Containers
- Processes
- Serverless
- Network Monitoring
- Storage Management
- Cloud Cost
- Application Performance
- APM
- Continuous Profiler
- Database Monitoring
- Agent Integration Overhead
- Setup Architectures
- Setting Up Postgres
- Setting Up MySQL
- Setting Up SQL Server
- Setting Up Oracle
- Setting Up Amazon DocumentDB
- Setting Up MongoDB
- Setting Up ClickHouse
- Connecting DBM and Traces
- Data Collected
- Provision the Agent with Terraform
- Collecting Custom Metrics
- Exploring Database Hosts
- Exploring Query Metrics
- Exploring Query Samples
- Exploring Database Schemas
- Exploring Recommendations
- Database Investigator
- Bits Database Optimization
- Troubleshooting
- Guides
- Data Streams Monitoring
- Data Observability
- Digital Experience
- Journey Monitoring
- Real User Monitoring
- Synthetic Testing and Monitoring
- Continuous Testing
- Experiments
- Product Analytics
- Session Replay
- Software Delivery
- CI Visibility
- CD Visibility
- Deployment Gates
- Test Optimization
- Code Coverage
- PR Gates
- Delivery Performance
- Feature Flags
- Developer Integrations
- Security
- Security Overview
- Cloud SIEM
- Code Security
- Cloud Security
- App and API Protection
- AI Guard
- Workload Protection
- Sensitive Data Scanner
- AI Observability
- Log Management
- Observability Pipelines
- Configuration
- Sources
- Processors
- Destinations
- Amazon OpenSearch
- Amazon S3
- Amazon Security Lake
- Azure Storage
- CrowdStrike NG-SIEM
- Databricks (Zerobus)
- Datadog Archives
- Datadog BYOC Logs
- Datadog Logs
- Datadog Metrics
- Elasticsearch
- Google Cloud Storage
- Google Pub/Sub
- Google SecOps
- HTTP Client
- Kafka
- Microsoft Sentinel
- New Relic
- OpenSearch
- SentinelOne
- Socket
- Splunk HEC
- Sumo Logic Hosted Collector
- Syslog
- Packs
- Akamai CDN
- Amazon CloudFront
- Amazon VPC Flow Logs
- AWS Application Load Balancer Logs
- AWS CloudTrail
- AWS Elastic Load Balancer Logs
- AWS Network Load Balancer Logs
- Cisco ASA
- Cloudflare
- F5
- Fastly
- Fortinet Firewall
- HAProxy Ingress
- Istio Proxy
- Juniper SRX Firewall Traffic Logs
- Netskope
- NGINX
- Okta
- Palo Alto Firewall
- Windows XML
- ZScaler ZIA DNS
- Zscaler ZIA Firewall
- Zscaler ZIA Tunnel
- Zscaler ZIA Web Logs
- Search Syntax
- Scaling and Performance
- Monitoring and Troubleshooting
- Guides and Resources
- Log Management
- BYOC Logs
- Administration
- Account Management
- Organization Topology
- Switching Between Orgs
- Organization Settings
- Access Control
- SSO with SAML
- SCIM
- API and Application Keys
- Personal Access Tokens
- Service Access Tokens
- Teams
- Governance Console
- Multi-Factor Authentication
- Audit Trail
- Safety Center
- Plan & Usage
- Billing
- Pricing
- Credit Card
- Product Allotments
- Usage Metrics
- Usage Attribution
- Custom Metrics
- Containers
- Log Management
- APM
- Serverless
- Real User Monitoring
- CI Visibility
- Incident Response
- AWS Integration
- Azure Integration
- Google Cloud Integration
- OCI Integration
- Alibaba Integration
- vSphere Integration
- Workflow Automation
- AI Credits
- Multi-org Accounts
- Guides
- Workload Identity Federation
- Data Security
- Help
- Widget Public URLs
POST https://api.ap1.datadoghq.com/api/v2/cases/{case_id}/commenthttps://api.ap2.datadoghq.com/api/v2/cases/{case_id}/commenthttps://api.datadoghq.eu/api/v2/cases/{case_id}/commenthttps://api.ddog-gov.com/api/v2/cases/{case_id}/commenthttps://api.us2.ddog-gov.com/api/v2/cases/{case_id}/commenthttps://api.datadoghq.com/api/v2/cases/{case_id}/commenthttps://api.us3.datadoghq.com/api/v2/cases/{case_id}/commenthttps://api.us5.datadoghq.com/api/v2/cases/{case_id}/comment
Overview
Comment case
Arguments
Path Parameters
Name
Type
Description
case_id [required]
string
Case’s UUID or key
Request
Body Data (required)
Case comment payload
Expand All
Field
Type
Description
data [required]
object
Case comment
attributes [required]
object
Case comment attributes
comment [required]
string
The
CaseCommentAttributesmessage.type [required]
enum
JSON:API resource type for cases. Allowed enum values:
casedefault:
caseResponse
OK
Response containing the chronological list of timeline cells for a case.
Expand All
Field
Type
Description
data
[object]
The
TimelineResponsedata.attributes [required]
object
Attributes of a timeline cell, representing a single event in a case's chronological activity log (for example, a comment, status change, or assignment update).
author
<oneOf>
The author of the timeline cell. Currently only user authors are supported.
Option 1
object
A user who authored a timeline cell.
content
object
Profile information for the user who authored the timeline cell.
email
string
The email address of the user.
handle
string
The Datadog handle of the user.
id
string
The UUID of the user.
name
string
The display name of the user.
type
enum
The type of timeline cell author. Currently only
USERis supported. Allowed enum values:USERcell_content
<oneOf>
The content payload of a timeline cell, varying by cell type.
Option 1
object
The content of a comment timeline cell.
message
string
The text content of the comment. Supports Markdown formatting.
created_at
date-time
Timestamp of when the cell was created
deleted_at
date-time
Timestamp of when the cell was deleted
modified_at
date-time
Timestamp of when the cell was last modified
type
enum
The type of content in the timeline cell. Currently only
COMMENTis supported in this endpoint. Allowed enum values:COMMENTid [required]
string
Timeline cell's identifier
type [required]
enum
JSON:API resource type for timeline cells. Allowed enum values:
timeline_celldefault:
timeline_cellBad Request
API error response.
Expand All
Field
Type
Description
errors [required]
[string]
A list of errors.
Unauthorized
API error response.
Expand All
Field
Type
Description
errors [required]
[string]
A list of errors.
Forbidden
API error response.
Expand All
Field
Type
Description
errors [required]
[string]
A list of errors.
Not Found
API error response.
Expand All
Field
Type
Description
errors [required]
[string]
A list of errors.
Too many requests
API error response.
Expand All
Field
Type
Description
errors [required]
[string]
A list of errors.
Code Example
## default #
# Path parameters
export case_id="f98a5a5b-e0ff-45d4-b2f5-afe6e74de504"
# Curl command
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.us2.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/cases/${case_id}/comment" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \ -d @- << EOF { "data": { "attributes": { "comment": "This is my comment !" }, "type": "case" } } EOF
Instructions
First install the library and its dependencies and then save the example to
main.goand run following commands:Instructions
First install the library and its dependencies and then save the example to
Example.javaand run following commands:Instructions
First install the library and its dependencies and then save the example to
example.pyand run following commands:Instructions
First install the library and its dependencies and then save the example to
example.rband run following commands:Instructions
First install the library and its dependencies and then save the example to
src/main.rsand run following commands:Instructions
First install the library and its dependencies and then save the example to
example.tsand run following commands: