Actions Datastores

Bulk write datastore items

Creates or replaces multiple items in a datastore by their keys in a single operation.

post/api/v2/actions-datastores/{datastore_id}/items/bulk

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/actions-datastores/{datastore_id}/items/bulk
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Path parameters

datastore_idstring required

The unique identifier of the datastore to retrieve.

Request body

Example request

{
  "data": {
    "attributes": {
      "conflict_mode": "overwrite_on_conflict",
      "values": [
        {
          "data": "example data",
          "key": "value"
        },
        {
          "data": "example data2",
          "key": "value2"
        }
      ]
    },
    "type": "items"
  }
}

Response

OK

Example response

{
  "data": [
    {
      "type": "items"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.