---
title: "Returns an inventory script by its id."
method: GET
path: "/scripts/inventory/parsed/{scriptId}"
tags: ["Scripts"]
---

# Returns an inventory script by its id.

`GET /scripts/inventory/parsed/{scriptId}`

Gets the script specified by the passed script id.

## Path parameters

- `scriptId` string, required

## Query parameters

- `language` string

## Response `200`

OK

- ScriptInstanceDetails
  - `config` unknown
  - `webhookUrl` string, nullable
  - `eventSourceId` string, nullable
  - `instanceId` string, nullable
  - `scriptId` string, nullable
  - `scriptName` string, nullable
  - `customScriptName` string, nullable
  - `customScriptDescription` string, nullable
  - `subscriptionId` string, nullable
  - `teamId` string, nullable
  - `eventPattern` unknown
  - `lastModified` string, date-time, nullable
  - `enabled` boolean
  - `runtimeInformation` ScriptInstanceInfoRuntimeInformationModel
    - `runtimeStatus` 0 | 1 | 2 | 3 | 4 | -1
    - `runtimeStatusMessage` string, nullable

## Other responses

- `400` — Required information could not be found in the request/claims.
- `404` — Required entities could not be found in the database or in memory.

---

[API](https://skmtc.net/signl4/apis/signl4-api-v1.md) · [All operations](https://skmtc.net/signl4/apis/signl4-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signl4/signl4-api-v1/versions/ddbe216a9287/schema)
