---
title: "Get an API Package Document"
method: GET
path: "/v3/api-packages/{packageId}/documents/{documentId}"
tags: ["API Package Documentation"]
---

# Get an API Package Document

`GET /v3/api-packages/{packageId}/documents/{documentId}`

Returns a document for the API Package.

## Response `200`

API Package document

- object
  - `id` string, uuid, required — The API document identifier.
  - `content` string, required — Raw markdown content to display in your Portal
  - `title` string, required — The title of the document. Used to populate the `<title>` tag for the page
  - `slug` string, required — The `slug` is used in generated URLs to provide human readable paths. Defaults to `slugify(title)`
  - `status` 'published' | 'unpublished', required — If `status=published` the document will be visible in your live portal
  - `parent_document_id` string, uuid, nullable, required — API Documents may be rendered as a tree of files. Specify the `id` of another API Document as the `parent_document_id` to add some heirarchy do your documents.
  - `created_at` string, date-time, required — An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required — An ISO-8601 timestamp representation of entity update date.

## Other responses

- `401` — ApiUnauthorized
- `403` — ApiForbidden
- `404` — Not Found

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/versions/f920f418f552/schema)
