# Add one item to a part of the content kept in Rivier

`POST /hosting/coder/projects/{id}/content/{key}/rows` · Rivier · hosting

Add one item to a part of the content kept in Rivier; its fields are checked against the part. The site shows it within a minute; no checkpoint is made and no model is asked.

- Scope: hosting:write
- Sdk: hosting.coderContentRow.create
- Cli: hosting coder content row create

## Parameters

- `id` (path, required), string
- `key` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "fields": {
      "type": "object",
      "additionalProperties": {},
      "description": "The item's fields, as the part declares them"
    }
  },
  "required": [
    "fields"
  ],
  "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/hosting/coder/projects/{id}/content/{key}/rows' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "fields": {}
}'
```
