Routines

Validate the routine draft

GET
/routines/{skill_id}/validate

Validate a routine without saving: checks the draft (or the published version when no draft exists) exactly like routines.save and returns every issue with its definition path, code, message, hint and whether it blocks the publish.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

skill_id*string

Resource identifier: skill_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/routines/123e4567-e89b-42d3-a456-426614174000/validate"
{  "skill_id": "123e4567-e89b-42d3-a456-426614174000",  "source": "draft",  "valid": false,  "issues": [    {      "code": "example",      "path": "/",      "message": "Please review the extracted totals."    }  ]}