Workflows

Detect a script's parameters from its code

Static analysis, not execution. The code is PARSED and never run.

Returns the detected parameter names with their types and defaults, which is how a builder offers the right inputs for a script it did not write.

post/skills/parse-script-parameters

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/skills/parse-script-parameters
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

codestring required

The script source.

languagestring

"python", "javascript" or "typescript".

Response

Successful Response

dataVoicePayload required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

Changes

No recorded changes to this operation across all 2 revisions of this API.