# Keep up to 100 rows of one type, all or none; a refusal names the row

`POST /data/{type}/bulk` · Rivier · content

Keep up to 100 rows of one type, all or none; a refusal names the row.

- Scope: content:write
- Graphql: Mutation.contentDataRowBulk
- Sdk: content.dataRow.bulk
- Cli: content data row bulk

## Parameters

- `type` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "object",
            "additionalProperties": {}
          },
          "business": {
            "type": "string",
            "format": "uuid"
          },
          "customer": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "fields"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 100
    }
  },
  "required": [
    "rows"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/data/{type}/bulk' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "rows": [
    {
      "fields": {}
    }
  ]
}'
```
