Pages Metadata
Get document metadata.
Changed onReturns metadata for a document, including its title, source URL, word count, and any custom metadata fields. Use this to display document information or manage your knowledge base.
get/api/v1/projects/{projectId}/pages/{pageId}/metadata
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Example:1
The unique agent id.
pageIdinteger required
Example:1
The unique page id.
Response
Get the document metadata data for a citation
Example response
{
"status": "success",
"data": {
"id": 1,
"url": "https://www.example.com",
"title": "Example Domain",
"description": "This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.",
"summary": "A reserved example domain used for illustration in documentation, which anyone may cite without asking for permission.",
"image": "https://www.example.com/image.png"
}
}Changes
- breaking
for the
pathrequest parameterpageId, the type changed fromstringtointeger - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status
- breaking
- info
endpoint added
- info