Agentic Logic

Validate a Source definition

POST /v25-10-beta/agentic-logic/sources/validate

Runs the checks a PUT of the definition would run, without storing anything.

  • definition (object, required) — A Source definition, the same shape as the PUT body's definition.
  • The response is { "valid": true, "warnings": [...] } or { "valid": false, "errors": [...], "warnings": [...] }. errors are why a PUT would answer 400; warnings never block a write.
  • Script Sources are checked for the build export, ESM compatibility, the sandbox source guard, and a compilable outputSchema; GraphQL Sources for an input-independent document. Other kinds have no write-time checks.
  • A failed check is a 200 with valid: false; a malformed body is a 400.

Use the intelligems-access-token header. The token selects the organization; do not send orgId. The organization must have Agentic Logic enabled.

Rate Limit: 50 requests per 30s window, refilling 25 tokens every 30s.

post/v25-10-beta/agentic-logic/sources/validate

Request

Request body

Response

OK

OR

Changes

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