ChatGPT API guide
chatgpt.com
Use ChatGPT to ask questions about attached files, revisit conversations, generate images, and read completed Deep Research reports.
Actions and inputs
chatgpt ask-fileAttach local files and wait for the reply to your prompt.
Inputs Prompt, local file paths
chatgpt detailOpen and read an existing conversation.
Inputs Conversation ID or URL
chatgpt imageGenerate an image or edit local images from a prompt.
Inputs Prompt, optional image paths and output directory
chatgpt deep-research-resultRead a completed Deep Research report from a conversation.
Inputs Conversation ID or URL, optional wait
Personal ChatGPT conversation
- Create
Start a conversation by sending your first prompt.
Inputs Opening prompt
- Read
Open your conversation and read its messages.
Inputs Conversation ID
- Update
Continue your conversation with a follow-up message.
Inputs Active conversation, follow-up prompt
- Delete
Delete your conversation through the ChatGPT website.
Inputs Conversation selected in history