ValidationProblem

A 422 response: the request's input was refused. It lists what is wrong with each value.

Includes all properties from Problem, plus the properties below.

Properties

PropertyTypeDescription
errors InputErrors Required What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

Used by

MethodPathSummary
POST /ai/chats Start a chat with a model, with its first message when one is sent.
GET /ai/chats/{chatId} One chat and its conversation.
PATCH /ai/chats/{chatId} Rename a chat, or change the model that replies next.
DELETE /ai/chats/{chatId} Remove a chat and its conversation.
GET /ai/chats/{chatId}/messages A chat's conversation, for a page following a reply.
POST /ai/chats/{chatId}/messages Say something to a chat; the reply is written after the answer, and grows in the conversation.
PUT /ai/chats/{chatId}/settings Replace the settings a chat overrides its model's defaults with.
DELETE /ai/chats/{chatId}/settings Drop every setting a chat overrides, back to its model's defaults.
POST /ai/chats/{chatId}/stop Stop the reply being written, keeping what it wrote.
POST /ai/stories Start a story from its prompts.
GET /ai/stories/{storyId} One story and its runs.
PATCH /ai/stories/{storyId} Change a story's name, model or prompts, for its next run.
DELETE /ai/stories/{storyId} Remove a story with its runs.
GET /ai/stories/{storyId}/generations A story's runs.
POST /ai/stories/{storyId}/generations Start a run of a story; it is planned and written after the answer, and grows as it is. Answers the story's runs.
GET /ai/stories/{storyId}/generations/{generationId} One run of a story, for a page following it.
DELETE /ai/stories/{storyId}/generations/{generationId} Remove a run that has ended.
POST /ai/stories/{storyId}/generations/{generationId}/stop Stop a run under way, keeping what it wrote.
GET /ai/stories/{storyId}/generations/{generationId}/story_download Save the story one run wrote, as a Markdown file.
PUT /ai/stories/{storyId}/settings Replace the settings a story's runs override the model's defaults with.
DELETE /ai/stories/{storyId}/settings Drop every setting a story overrides, back to its model's defaults.
POST /contact Send us a message.
GET /tamper_evident_logs/checkpoint Get the log's latest checkpoint as plain text, for witnesses and monitors.
GET /tamper_evident_logs/checkpoints/{treeSize} Get one checkpoint of the log, by how many records it covers.
GET /tamper_evident_logs/checkpoints/{treeSize}/opentimestamps Download a checkpoint's OpenTimestamps file, which you can check with `ots verify`.
GET /tamper_evident_logs/consistency Get the proof that the log at one size is the beginning of the log at a later size, so nothing in it was changed or removed.
GET /tamper_evident_logs/records/{package} Check whether a record is intact, and get the proof that it is in the log.

All documentation

0 database statements · 11 reads from the cache · 0.0 ms waiting for the database · 28.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache