Monitoring & Collection/Scrape Collection
POSTMonitoringSince 1.0SynchronousAuth Required
ValidateScrapeCSV
Validate a CSV import payload and return per-row validation errors without persisting data
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
rowsListRequiredThe rows value
Example: (nested array)
rowIntegerRow number in the CSV payload (1-based)
Example: 1
hostStringHostname or IP of the scrape target
Example: 192.168.1.30
portIntegerPort of the metrics endpoint
Example: 9100
jobNameStringPrometheus job name
Example: node
labelsStringJSON-encoded label key-value pairs
Example: {"env":"prod"}
Responses
Endpoint
POST/api/v1/monitoring/scrape-configs/validate
/api/v1/monitoring/scrape-configs/validate
Request Example
curl -X POST '{host}/api/v1/monitoring/scrape-configs/validate' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"rows":"(nested array)"}'
Response Example
200{
"total": 50,
"valid": 48,
"invalid": 2,
"duplicatesFound": 1,
"errors": [
{}
]
}Change History
This API has no change history records yet.
