Jump to Content
Home
Guides
API Reference
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
Home
Guides
API Reference
Preview file from citation.
All
Pages
Start typing to search…
JUMP TO
Getting Started
Introduction
CustomGPT.ai API
API Keys and Authentication
Requests and Responses
Python Library
CustomGPT's Official Python Library
OpenAI SDK Compatability
CustomGPT.ai OpenAI SDK Compatibility (Beta)
Model Context Protocol (MCP)
CustomGPT.ai Hosted MCP Server
Claude Desktop
Cursor
Windsurf
Trae
Other Clients
CustomGPT.ai
Pages
List all pages that belong to an agent.
get
Delete a certain page that belongs to a certain agent.
delete
Reindex a certain page that belongs to a certain agent.
post
Preview file from citation.
get
Users
Show the user's profile.
get
Update the user's profile.
post
Agent Settings
Get agent settings.
get
Update agent settings.
post
Conversations
List all conversations for an agent (formerly known as project).
get
Create a new conversation.
post
Update a conversation.
put
Delete a conversation.
delete
Retrieve messages that have been sent in a conversation.
get
Send a message to a conversation.
post
Send a message to a conversation in openai format.
post
Citations
Get the Open Graph data for a citation.
get
Agents
List all agents.
get
Create a new agent.
post
Show a certain agent.
get
Update a certain agent.
post
Delete a certain agent.
delete
Replicate agent by given ID.
post
Get the stats for a certain agent.
get
Pages Metadata
Get the Metadata for a certain page.
get
Update metadata for a certain page.
put
Message
Get a message by message ID
get
Update the reaction for a specific message
put
Sources
List a certain agent's sources.
get
Create a new agent source.
post
Update agent source settings.
put
Delete an agent source.
delete
Instant sync the specified sitemap
put
Reports & Analytics
Provide summary of various metrics of users interactions with the application.
get
Provide summary of overall query metrics accross all conversations.
get
Provide summary of overall conversation metrics.
get
Provide graph-ready analysis data of various metrics.
get
Agent Licenses
Get all licenses for an agent
get
Create a new license for an agent
post
Get a license for an agent
get
Update a license for an agent
put
Delete a license for an agent
delete
Limits
Get user's agents, words and queries limit.
get
SUPPORT
Error Handling
Terminology
Powered byÂ
Preview file from citation.
get
https://app.customgpt.ai/api/v1/preview/
{id}
Language
Shell
Node
Ruby
PHP
Python
Credentials
Bearer
JWT
Bearer
RESPONSE
Click
Try It!
to start a request and see the response here!