# Export release source

```http
GET /projects/{project_reference}/releases/{release_id}/source-manifest
```

Export release source, which requires project.files.read and server-function source access.

## Parameters

| Name                | In    | Required | Description |
| ------------------- | ----- | -------- | ----------- |
| `project_reference` | path  | Yes      |             |
| `release_id`        | path  | Yes      |             |
| `representation`    | query |          |             |

## Responses

| Status | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | Complete bounded release source manifest, returned only to callers allowed to read server-function source. Default representation is unchanged UTF-8 v1; representation=native preserves mixed text and binary files as v2 with canonical base64 raw bytes. Version two requires at least one binary file; empty and all-text native responses retain exact v1 identity. Requires an exact release UUID, never a mutable alias. Limits: 10000 files, 64 MiB raw total, 8 MiB per file, 1024 UTF-8 bytes and 64 components per path, 10000 distinct directories and 96 MiB encoded JSON. Paths are NFC relative paths without traversal, reserved characters, trailing dots/spaces, device names or case-insensitive file/directory collisions. Source identity excludes mutable metadata; it is not execution authority or a compiled artifact. |
| 400    | Bad request                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| 401    | Unauthorized                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| 403    | Forbidden                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 404    | Not found                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 413    | Payload too large                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 500    | Server error                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
