Try it free

Start collecting a OneAgent support archive

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Start collecting a OneAgent support archive in Dynatrace with the Fleet Management API, with a description and the number of lookback days to include.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/v1/oneagent/support-archives/{smartscape-node-id}

Overview

You use the smartscape-node-id path parameter to choose the OneAgent and start collecting a support archive for it. The request body sets a description and lookbackDays, the number of past days the archive covers. A 202 response confirms that collection started; check its progress with the get operation and download the archive once it's finished.

Authentication

To execute this request, you need a platform token or OAuth access token with fleet-management:oneagent.support-archives:write scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
smartscape-node-idstring

The Smartscape node ID of the entity. Valid node types: ONEAGENT, PROCESS.

pathRequired
bodyStartSupportArchiveRequest

A description for the support archive.

bodyRequired

Request body objects

The StartSupportArchiveRequest object

Request to start collecting a support archive.

ElementTypeDescriptionRequired
descriptionstring

A description for the support archive.

Required
lookbackDaysinteger

The number of days to look back for log data.

Required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"description": "string",
"lookbackDays": 1
}

Response

Response codes

CodeTypeDescription
202StartSupportArchiveResponse

Accepted. Collection started.

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
codeinteger

The HTTP status code

constraintViolationsConstraintViolation[]

A list of constraint violations

messagestring

The error message

The ConstraintViolation object

A list of constraint violations

ElementTypeDescription
locationstring-
messagestring-
parameterLocationstring-
The element can hold these values
  • HEADER
  • PATH
  • PAYLOAD_BODY
  • QUERY
pathstring-

Response body JSON models

{
"error": {
"code": 1,
"constraintViolations": [
{
"location": "string",
"message": "string",
"parameterLocation": "HEADER",
"path": "string"
}
],
"message": "string"
}
}
Related tags
Platform APIDynatrace Platform