---
title: "Fetch Scheduler Script"
method: GET
path: "/scheduler/{contract_id}"
tags: ["SCHEDULER"]
deprecated: true
---

# Fetch Scheduler Script

`GET /scheduler/{contract_id}`

> **Deprecated.**

Fetches a contract by id.
:param auth: The authorization token for the request.
:param contract: The fetched contract object

## Path parameters

- `contract_id` integer, required

## Query parameters

- `tool` string, required

## Response `200`

Successful Response

- SchedulerFetchResponse
  - `script` string, required
  - `message` string, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

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