skill-drafts

Check a draft without publishing it

Compile the draft through the same platform gates a real save runs, and additionally check the manifest against the files this draft actually carries — so a reference or script you declared but never added is caught here rather than at publish. Writes no version. Always 200 (the result is in the body).

post/v1/skill-drafts/{draft_id}/validate

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/skill-drafts/{draft_id}/validate
  • Auth: HTTP bearer

Path parameters

draft_idstring uuid required

Headers

X-Tenant-Idstring nullable

Response

Successful Response

validboolean required
errorsstring[]
warningsstring[]

Worth telling the author, but not blocking: a warning never makes valid false.

slugstring nullable
titlestring nullable
missing_filesstring[]

Paths the manifest declares that this draft does not carry — an editor points at the file list.

dropped_filesstring[]

Paths this draft carries that the manifest does not declare. Publishing stores only what the manifest names, so these would be lost without being mentioned anywhere.

Changes

No recorded changes to this operation across all 1 revision of this API.