Open source / Rust / MIT Field guide / indexed
Field guide / Validation APIReviewable source / main

Validation API

Runs a named validation slice (via the slice query parameter) and returns the validation result; the static dry-run performs no live validation.

1 route

Response metadata: x-api-version, x-request-id, and traceresponse apply to normal routed responses and are omitted from the per-operation header tables below.

GET/api/validation/run

audit access

Run validation.

Permissions

Access classCredentialScoping
auditAn authenticated session or API bearer token is required.The access class is enforced first; site and environment scopes narrow resources on scoped operations.

HTTP request

GET https://<your-host>/api/validation/run

Path parameters

This operation has no path parameters.

Query parameters

NameTypeRequirementDescription
slicestringRequiredName of the validation slice to execute.

Request headers

NameTypeRequirementDescription
AuthorizationstringOptionalHuman credential alternative: supply one Bearer rys_... session token, ryk_... API token, or validated identity-provider JWT here. Do not combine it with X-Ryuki-Session-Id or the session cookie; conflicting carriers fail closed.
X-Ryuki-Session-IdstringOptionalOpaque rys_... session-token carrier used by the portal for mutations. Administrative session UUIDs cannot authenticate. Supply exactly one credential carrier per request.
traceparentstringOptionalOptional correlation input. When the second dash-separated segment has 32 characters, Ryuki reuses it as the request correlation identifier; this is not full W3C validation.

Request body

This operation does not accept a request body.

Response

StatusDescriptionBody
200OKValidationResult

200 response body

Structure: ValidationResult.

NameTypeRequirementDescription
errorsarray<string>RequiredValue of errors returned in the response body.
warningsarray<string>RequiredValue of warnings returned in the response body.

Error responses use the platform ApiError body (error, message, optional detail).

Errors

JSON failures use one of the platform error envelopes and include the request correlation metadata when routing reaches the API middleware. See Errors for the exact shapes, authentication failures, retry guidance, and transport-level exceptions.

Examples

Request

curl --silent --show-error --globoff \
  --request GET \
  --header 'Authorization: Bearer <token>' \
  'https://<your-host>/api/validation/run?slice=<slice>'

Schematic response body

Illustrative shape generated from the extracted field types, not a recorded live response. Values are placeholders; null marks a field whose type could not be resolved.

Success status: 200

{
  "errors": [],
  "warnings": []
}
Last updated 2026-07-16 · Generated from the API route registrations.