---
title: "Export Spider Files"
method: POST
path: "/spiders/{id}/files/export"
tags: ["Spiders"]
---

# Export Spider Files

`POST /spiders/{id}/files/export`

Export spider files to a zip file

## Path parameters

- `id` string, objectid, required — Spider ID

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c7a4715c1f13` — 2 breaking, 6 info
  - for the `path` request parameter `id`, the type/format was changed from `string`/`` to `string`/`objectid`
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `export_spider_files` was added
  - api tag `Export` removed
  - …4 more
- **2025-03-03** `14e4eafea538` — 1 warning
  - removed the optional property `data` from the response with the `200` status
- **2025-03-02** `526e5bdf6dee` — 1 breaking, 7 info
  - added the pattern `^[0-9a-fA-F]{24}$` to the `path` request parameter `id`
  - api operation id `export_spider_files` removed and replaced with ``
  - api tag `Export` added
  - for the `path` request parameter `id`, the type/format was generalized from `string`/`objectid` to `string`/``
  - …4 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/spiders/:id/files/export/post.md)

---

[API](https://skmtc.dev/crawlab-team/apis/crawlab-api.md) · [All operations](https://skmtc.dev/crawlab-team/apis/crawlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crawlab-team/crawlab-api/revisions/c7a4715c1f13/schema)
