---
title: "Get Jenkins pipeline raw script"
method: GET
path: "/pipelines/{id}/raw-script"
tags: ["pipelines"]
---

# Get Jenkins pipeline raw script

`GET /pipelines/{id}/raw-script`

## Path parameters

- `id` string, required

## Response `200`

OK

- InternalInterfacesHttpPipelineRawScriptDataResponse
  - `data` object
    - `definition_class` string
    - `description` string
    - `from_scm` boolean
    - `pipeline` InternalInterfacesHttpPipelineResponse
      - `created_at` string
      - `credential_ref` string
      - `default_branch` string
      - `description` string
      - `id` string
      - `job_full_name` string
      - `job_name` string
      - `job_url` string
      - `last_synced_at` string
      - `last_verified_at` string
      - `provider` string
      - `status` string
      - `updated_at` string
    - `sandbox` boolean
    - `script` string
    - `script_path` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

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