ValidateScrapeCSV
Validate a CSV import payload and return per-row validation errors without persisting data
POST
/api/v1/monitoring/scrape-configs/validateOperation ID
ValidateScrapeCSVSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody 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"}
