Skip to main content
POST
Run a skill script in the sandbox (SSE)

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).

Path Parameters

skill_id
string
required

Body

application/json

POST /skills/{id}/test-runs — run one script of the skill in the tenant sandbox.

agent_id
integer
required

The agent whose integration permissions the run borrows. Every proxied call (PSA, Microsoft 365, RMM, ...) is authorised as this agent, in read-only mode. Must be an agent of your own tenant that you may edit; Neo-managed and end-user agents are refused.

entry_path
string
required

The script to run, as a path inside the skill, e.g. scripts/run.py.

args
string[]

Command-line arguments passed to the script.

files
SkillFileInput · object[]

Unsaved drafts to run instead of the saved files at the same paths. The saved skill is not changed. Omit to run the saved skill as it is.

Response

Success.

data
any
required

Operation-specific payload.

meta
object
required