---
title: "Get scripts available for import"
method: GET
path: "/organizations/{organization_id}/scriptscache"
tags: ["Scripts"]
---

# Get scripts available for import

`GET /organizations/{organization_id}/scriptscache`

## Request

- Base URL: `https://api.cloudranger.com/202004`
- URL: `https://api.cloudranger.com/202004/organizations/{organization_id}/scriptscache`
- Auth: API key in header `Authorization` and API key in header `x-api-key`

Get scripts residing in your aws accounts that are available for import within an organization

## Path parameters

- `organization_id` string, required

## Response `200`

200 response

- GetOrganizationsScriptscacheResponse
  - `hits` object
    - `_id` string
    - `_index` string
    - `_routing` string
    - `_score` string
    - `_source` object
      - `__AccountId` string
      - `__OrganizationId` string
      - `Description` string
      - `DocumentFormat` string
      - `DocumentType` string
      - `DocumentVersion` string
      - `Hash` string
      - `HashType` string
      - `Id` string
      - `LatestVersion` string
      - `Name` string
      - `ObjectType` string
      - `Owner` string
      - `PlatformTypes` string[]
      - `postDate` string, date-time
      - `Region` string
      - `SchemaVersion` string
      - `Source` string
      - `Status` string
      - `Tags` string[]
      - `TagStrings` string[]
      - `Type` string
    - `_type` string
    - `sort` string[]
  - `total` integer

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/cloudranger.md) - [All operations](https://skmtc.dev/druva/apis/cloudranger/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cloudranger/revisions/0b87602807da?raw)
