Skip to main content
API reference sections

Schema

ArtifactFailure

The one failure shape, the same fields as the AI and Store failures so a gateway client reads every domain's error the same way.

Type object

Shape

FieldTypeDescription
coderequiredstring

A stable code from koru_artifact_core::ArtifactError::code, an authority refusal (koru_artifact_core::AuthorityRefusal::code), or one of the gateway's own: forbidden, artifacts_unavailable, payload_too_large, invalid_request.

messagerequiredstring

Safe developer-facing detail. Never a title, a filename or a principal.

retryablerequiredboolean
detailsobject
Example
{
  "code": "string",
  "message": "string",
  "retryable": false,
  "details": {}
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.