Answer: Messages can have roles including system, user, assistant, developer, and tool. For backward compatibility, function messages may still be accepted and converted to tool messages. Status: Confirmed Entry: tool/chatgpt/features/chat-message-roles Revision: 3 Digest: sha256:8bc29c17d5e990c3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:14:53Z Last changed: 2026-11-19T11:52:51Z (tool messages purpose: — → tool/function results) Last verified: 2026-11-20T11:55:08Z Next check: 2026-11-21T11:55:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of common roles | system, user, assistant, developer, and tool | [1] | 2026-11-20 tool messages purpose | tool/function results | [1] | 2026-11-20 function messages | function messages may still be accepted and converted to tool messages | [1] | 2026-11-20 developer messages | Developer messages may be remapped depending on model support | [1] | 2026-11-20 Sources: [1] OpenAI. "Moving from Completions to Chat Completions in the OpenAI API". https://help.openai.com/en/articles/7042661-moving-from-completions-to-chat-completions-in-the-openai-api Role: primary. Accessed: 2026-11-20T11:55:08Z Retrieved via: DeepSeek Fetch API (Markdown conversion; the original server response was not captured) Quote: "Common roles include system, user, assistant, developer, and tool." (Supports: common roles) Quote: "Tool messages are used for tool/function results and must correspond to assistant tool calls." (Supports: tool messages purpose) Quote: "For backward compatibility, function messages may still be accepted and converted to tool messages in server handling." (Supports: function messages) Quote: "Developer messages may be remapped depending on model support." (Supports: developer messages) Snapshot SHA-256: c3a4b8656280d1f2f83028d8e965422bfe2c8167a5c6fc9c595c7a80cad5fd87 (captured 2026-11-19T11:52:52Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. [1] was retrieved through the DeepSeek Fetch API because a direct request did not return usable content. On this check the text of [1] was unchanged since 2026-11-19T11:52:51Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:55:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:55:08Z Last attempt: 2026-11-20T11:55:08Z Notes and limitations: Extracted automatically from a single official source (section "Prompts to messages"). Related: https://latestn.com/tool/chatgpt/features/chatgpt-accuracy Can I trust that ChatGPT is telling me the truth? https://latestn.com/tool/chatgpt/features/chatgpt-active-features-conversation How do I find out which features are active in my current ChatGPT conversation? https://latestn.com/tool/chatgpt/features/chatgpt-agent-capabilities What can ChatGPT agent do, such as filling out forms or editing spreadsheets? https://latestn.com/tool/chatgpt/features/campaign-objectives-2 What campaign objectives can I choose for ChatGPT Ads campaigns? https://latestn.com/tool/chatgpt/features/change-budget-type Can I change the budget type of a ChatGPT Ads campaign after creation? https://latestn.com/tool/chatgpt/features/change-campaign-objective Can I change a ChatGPT Ads campaign objective after creating it? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T11:52:51Z | changed | tool messages purpose: — → tool/function results | [1] 2026-11-19T11:52:51Z | changed | developer messages: Developer → Developer messages may be remapped depending on model support | [1] 2026-11-19T11:52:51Z | changed | function messages: function → function messages may still be accepted and converted to tool messages | [1] 2026-11-19T11:52:51Z | changed | tool messages: tool → — | [1] 2026-11-18T11:52:44Z | recovered | Check succeeded again | — 2026-11-18T11:52:44Z | changed | common roles: — → system, user, assistant, developer, and tool | [1] 2026-11-18T11:52:44Z | changed | developer messages: Developer messages may be remapped depending on model support. → Developer | [1] 2026-11-18T11:52:44Z | changed | function messages: function messages may still be accepted and converted to tool messages in server handling → function | [1] 2026-11-18T11:52:44Z | changed | tool messages: Tool messages are used for tool/function results and must correspond to assistant tool calls. → tool | [1] 2026-11-18T11:52:44Z | changed | roles: system, user, assistant, developer, and tool → — | [1] 2026-11-17T11:55:54Z | check-failed | Could not fetch the primary source: http 403; fallback: deepseek-fetch http 404: failed to fetch URL (request_id: a0a087dd-ebb0-47ee-870a-a6c35702d273) | — 2026-11-13T03:14:53Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/chatgpt/features/chat-message-roles/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/chatgpt/features/chat-message-roles POST: https://latestn.com/dispute/tool/chatgpt/features/chat-message-roles with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/chatgpt/features/chat-message-roles?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What roles can messages have in the OpenAI Chat Completions API? Revision 3, last verified 2026-11-20T11:55:08Z. https://latestn.com/tool/chatgpt/features/chat-message-roles (accessed 2026-11-21T09:56:57Z). @misc{LatestN_tool_chatgpt_features_chat_message_roles_r3, title = {What roles can messages have in the OpenAI Chat Completions API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/chatgpt/features/chat-message-roles}}, note = {Revision 3; digest sha256:8bc29c17d5e990c3; last verified 2026-11-20T11:55:08Z; accessed 2026-11-21T09:56:57Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/chatgpt/features/chat-message-roles