Synthetic tools

Validate a synthetic tool draft without saving it

Same body shape as POST /synthetic-tool, checked as a new tool. Always 200 with every problem found, errors first -- { issues: (severity, step, field, message)[] }, at most 50 -- including connection and restriction problems that POST answers with 404/403. Any error-severity issue means POST would reject it. Not checked: the name/description language check, a name already in use, and PATCH's exemption for unchanged steps. Bodies over 4 MiB are 413.

post/synthetic-tool/validate

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/synthetic-tool/validate
  • Auth: HTTP bearer

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Request body

namestring required
descriptionstring required
input_schemaobject
stepsobject[] required
output_templatestring nullable

Response

OK

object required

Changes

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