---
title: "Response field"
subtitle: "<ResponseField> documents one field of a response."
---

Documents a response field; a dotted prefix in the name is shown in a lighter color:

```mdx
<ResponseField name="deployment.status" type="string" required pre={["enum"]}>
  `queued`, `building`, `ready`, `failed`, or `canceled`.
</ResponseField>
<ResponseField name="deployment.url" type="string" post={["read-only"]}>
  Deployment URL, available only after success.
</ResponseField>
```

<ResponseField name="deployment.status" type="string" required pre={["enum"]}>
  `queued`, `building`, `ready`, `failed`, or `canceled`.
</ResponseField>
<ResponseField name="deployment.url" type="string" post={["read-only"]}>
  Deployment URL, available only after success.
</ResponseField>

<ParamField path="name" type="string" required>Field name.</ParamField>
<ParamField path="type" type="string">Type label.</ParamField>
<ParamField path="pre / post" type="string[]">Extra labels before / after the type.</ParamField>
<ParamField path="required / default / deprecated / id" type="">Same as `ParamField`; the anchor defaults to `resp-<name>`.</ParamField>

Collapse nested fields with [`<Expandable>`](./expandable.mdx).
