---
title: "Get namespace documents"
method: GET
path: "/v1/namespaces/{id}/documents"
tags: ["Namespace", "Document"]
---

# Get namespace documents

`GET /v1/namespaces/{id}/documents`

Return a cursor-paginated page of documents that belong to the namespace.

## Query parameters

- `page_size` integer
- `page_token` string

## Response `200`

OK

- PartialDocumentPage
  - `items` PartialDocument[], required
    - `id` string, required — Unique identifier of the document.
    - `name` string, required — Name of the document.
    - `excerpt` string, nullable — Excerpt of the document.
    - `created_by` PartialUser, required — A simplified user used on issue list and detail responses.
      - `id` string, required — Unique identifier of the user.
      - `first_name` string, required — First name of the user.
      - `last_name` string, required — Last name of the user.
      - `picture` string, uri, nullable — Profile picture of the user.
    - `created_at` string, date-time, nullable — Date when the document was created.
  - `page_info` PageInfo, required — Cursor pagination metadata for a page of results.
    - `next_page_token` string, nullable — Opaque token for the next page. Omitted when has_more is false.
    - `has_more` boolean, required — Whether more results are available.
    - `total_count` integer, nullable — Optional total count when requested by the server.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `403` — Forbidden
- `404` — The requested resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/opcotech/apis/elemo-api.md) · [All operations](https://skmtc.net/opcotech/apis/elemo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opcotech/elemo-api/revisions/6965ecf3ab92/schema)
