APIs.io
Search
Providers
APIs
Capabilities
Tags
More
Schemas
AsyncAPI
JSON-LD
Rules
Vocabularies
About
Support
Blog
Blog
Add API
Search
Home
ChatGPT
ChatCompletionAssistantMessage
ChatGPT
· Schema
ChatCompletionAssistantMessage
Agents
AI
ChatGPT
Embeddings
Fine-Tuning
GPT-4
GPT-5
Language Model
OpenAI
Realtime
Properties
Name
Type
Description
role
string
The role of the message author.
content
string
The contents of the assistant message.
tool_calls
array
The tool calls generated by the model.
refusal
string
The refusal message generated by the model.
View JSON Schema on GitHub