---
title: "PATCH /api/projects/{pid}/spiders/{sid}"
method: PATCH
path: "/api/projects/{pid}/spiders/{sid}"
tags: ["api"]
---

# PATCH /api/projects/{pid}/spiders/{sid}

`PATCH /api/projects/{pid}/spiders/{sid}`

## Request body

- Spider — Spiders in this deploy.
  - `sid` integer — A unique integer value identifying this spider.
  - `name` string, required — Spider's name.
  - `project` string, uuid, required — Project UUID.
  - `data_status` 'PERSISTENT' | 'PENDING' — Data status.
  - `data_expiry_days` integer — Days before data is deleted.

## Response `200`

OK

- Spider — Spiders in this deploy.
  - `sid` integer — A unique integer value identifying this spider.
  - `name` string, required — Spider's name.
  - `project` string, uuid, required — Project UUID.
  - `data_status` 'PERSISTENT' | 'PENDING' — Data status.
  - `data_expiry_days` integer — Days before data is deleted.

## Changes

- **2023-04-11** `d2237a78d267` — 1 info
  - endpoint added
- **2022-06-23** `abc63a565218` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/bitmakerla/apis/estela-api-v1-0-documentation/changes/api/projects/:pid/spiders/:sid/patch.md)

---

[API](https://skmtc.dev/bitmakerla/apis/estela-api-v1-0-documentation.md) · [All operations](https://skmtc.dev/bitmakerla/apis/estela-api-v1-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitmakerla/estela-api-v1-0-documentation/revisions/35a797b423b4/schema)
