Skip to main content
POST
/
api
/
movespecs
/
{movespec_id}
/
draft
/
validate
Validate Movespec Draft
curl --request POST \
  --url https://api.kynasmith.dev/api/movespecs/{movespec_id}/draft/validate \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "target_id": "<string>",
  "validated_at": "<string>",
  "errors": [
    {
      "code": "<string>",
      "message": "<string>",
      "column": 123,
      "line": 123,
      "path": "<string>"
    }
  ],
  "warnings": [
    {
      "code": "<string>",
      "message": "<string>",
      "column": 123,
      "line": 123,
      "path": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.kynasmith.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Backend-issued machine access token for project-scoped API access.

Path Parameters

movespec_id
string<uuid>
required

Response

Successful Response

Structured validation envelope for public MoveSpec draft and version checks.

ok
boolean
required

Whether the YAML is valid for runtime use.

target_id
string
required

Identifier for the validated target.

target_type
enum<string>
required

What public MoveSpec target was validated.

Available options:
draft,
movespec_version,
scratch
validated_at
string
required

ISO-8601 UTC timestamp for the validation run.

errors
MoveSpecValidationIssue · object[]

Validation errors that block runtime loading.

warnings
MoveSpecValidationIssue · object[]

Non-blocking validation warnings.