# Show the project at a preview address without touching what is live

`POST /hosting/coder/projects/{id}/preview` · Rivier · hosting

Show the project at a preview address without touching what is live: the project as it stands goes to the one preview that moves with the conversation, an earlier checkpoint to an address of its own. Built by Praecise Cloud away from any live machine; answers the preview and the build job to follow, or the preview alone when that source is already built there. Needs a signed-in person.

- Scope: hosting:write
- Graphql: Mutation.hostingCoderPreviewCreate
- Sdk: hosting.coderPreview.create
- Cli: hosting coder preview create

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "checkpoint": {
      "type": "string",
      "format": "uuid",
      "description": "An earlier checkpoint to show at an address of its own; the project as it stands when left out"
    }
  },
  "additionalProperties": false
}
```

## Responses

- `202`: 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}/preview' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "checkpoint": "string"
}'
```
