---
raw: true
search:
  tags:
    - Versions
    - GET
seo:
  description: >-
    Returns the compiled… Reference for the GET
    /v1/spaces/{spaceId}/versions/{versionId}/convention-artifacts/content
    endpoint in the Spacefast Partner API.
sidebar:
  label: Read a convention artifact's content
  badge: GET
title: Read a convention artifact's content
type: openapi-operation
---
Returns the compiled content of one convention artifact (_redirects or _headers) for this version.

`GET /v1/spaces/{spaceId}/versions/{versionId}/convention-artifacts/content`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "kind": "redirects",
    "path": "_redirects",
    "source": "uploaded",
    "present": true,
    "size": 0,
    "sha256": "string",
    "contentType": "string",
    "compiledRuleCount": 0,
    "warningCount": 0,
    "errorCount": 0,
    "encoding": "utf8",
    "content": "string",
    "truncated": true
  }
}
```
