Skip to main content

synthetics_ci_batches

Creates, updates, deletes, gets or lists a synthetics_ci_batches resource.

Overview

Namesynthetics_ci_batches
TypeResource
Iddatadog.monitoring.synthetics_ci_batches

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
metadataobjectMetadata for the Synthetic tests run.
resultsarrayList of results for the batch.
statusstringDetermines whether the batch has passed, failed, or is in progress. (passed, skipped, failed)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_synthetics_cibatchselectbatch_idGet a batch's updated details.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
batch_idstringThe ID of the batch.
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples

Get a batch's updated details.

SELECT
metadata,
results,
status
FROM datadog.monitoring.synthetics_ci_batches
WHERE batch_id = '{{ batch_id }}' -- required
;