Unique identifier for the resource.
Response Fields
ResponseField documents the shape of an API response body: the field name, its
data type, and whether it always comes back. Pair it with
API blocks for the endpoint itself and
parameter fields for the request side.
Quick Start
Two fields that every successful response includes.
idstringrequiredtitlestringrequiredDocument title as provided during creation.
<ResponseField name="id" type="string" required>
Unique identifier for the resource.
</ResponseField>
<ResponseField name="title" type="string" required>
Document title as provided during creation.
</ResponseField>Adding Options
Drop required for fields the API only sometimes returns, and put anything you
like in the type label.
createdAtstring (ISO 8601)Timestamp of when the document was created.
statusstringCurrent document status. Only included for authenticated editors.
<ResponseField name="createdAt" type="string (ISO 8601)">
Timestamp of when the document was created.
</ResponseField>
<ResponseField name="status" type="string">
Current document status. Only included for authenticated editors.
</ResponseField>Advanced
Dot notation in name is the convention for nested objects — the component
prints whatever string you give it, so the dots do the explaining. deprecated
strikes through a field on its way out and stacks with required. The last
field carries nothing but a name: no type chip, no labels, no description line.
paginationobjectrequiredPagination metadata for navigating result pages.
pagination.pageintegerrequiredCurrent page number.
pagination.totalintegerrequiredTotal number of items across all pages.
pagination.hasMorebooleanrequiredWhether additional pages are available.
pagination.nextCursorstringdeprecatedCursor for the next page. Read pagination.hasMore instead.
pagination.offsetintegerrequireddeprecatedOffset of the first item. Always sent, and removed in v3.
_links<ResponseField name="pagination" type="object" required>
Pagination metadata for navigating result pages.
</ResponseField>
<ResponseField name="pagination.page" type="integer" required>
Current page number.
</ResponseField>
<ResponseField name="pagination.total" type="integer" required>
Total number of items across all pages.
</ResponseField>
<ResponseField name="pagination.hasMore" type="boolean" required>
Whether additional pages are available.
</ResponseField>
<ResponseField name="pagination.nextCursor" type="string" deprecated>
Cursor for the next page. Read `pagination.hasMore` instead.
</ResponseField>
<ResponseField name="pagination.offset" type="integer" required deprecated>
Offset of the first item. Always sent, and removed in v3.
</ResponseField>
<ResponseField name="_links" />Options
name is the only required prop. ResponseField takes four props plus its
children — it shares its rendering with ParamField but leaves out location
and defaultValue, which describe a request rather than a response.
namestringrequiredField name, rendered in bold monospace. Dot notation for nesting is a convention; the string renders as written.
typestringData type label shown in a small outlined chip next to the name. Any string
works, so string (ISO 8601) and array of object are both fine. Omit it and
no chip renders.
requiredbooleanShows a red "required" label. Leave it off for fields the API only sometimes returns; there is no "optional" label.
deprecatedbooleanShows an amber "deprecated" label, strikes through the name, and drops the
field to 60% opacity. It stacks with required.
childrenReactNodeDescription text under the field; supports inline Markdown. With no children, the description line is skipped and only the name row renders.