---
title: "Update metadata for a certain page."
method: PUT
path: "/api/v1/projects/{projectId}/pages/{pageId}/metadata"
tags: ["Pages Metadata"]
---

# Update metadata for a certain page.

`PUT /api/v1/projects/{projectId}/pages/{pageId}/metadata`

Update the metadata for a specific page identified by its unique pageId. This endpoint allows you to update the associated metadata of the page.

## Path parameters

- `projectId` integer, required
- `pageId` integer, required

## Request body

- object
  - `title` string, nullable — The title of the document used in citations
  - `url` string, nullable — The url of the document used in citations
  - `description` string, nullable — The description of the document used in citations
  - `image` string, nullable — The url of the image used in citations

## Response `200`

Get the document metadata data for a citation

- object
  - `status` 'error' | 'success' — The status of the response
  - `data` PageMetadata
    - `id` integer — The unique identifier of the document
    - `url` string, nullable — The URL of the document
    - `title` string, nullable — The title of the document
    - `description` string, nullable — The description of the document
    - `image` string, nullable — The image of the document

## Other responses

- `400` — Bad Argument
- `401` — API Token is either missing or invalid
- `404` — Page not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/poll-the-people/apis/customgpt-ai.md) · [All operations](https://skmtc.net/poll-the-people/apis/customgpt-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poll-the-people/customgpt-ai/revisions/b80e6dfcf78d/schema)
