GetLogsArchive
Retrieve a specific log archive by providing its unique archive ID, enabling access to stored data within the Datadog MCP Server for observability analysis.
Instructions
Get a specific archive from your organization.
Path Parameters:
archive_id (Required): The ID of the archive.
Responses:
200 (Success): OK
Content-Type:
application/jsonResponse Properties:
Example:
{
"data": "unknown_type"
}400: Bad Request
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}403: Forbidden
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}404: Not found
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}429: Too many requests
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"archive_id": "<archive_id>"
},
"name": "GetLogsArchive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive_id | Yes | The ID of the archive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |