← API reference
Mutation / aiml

createChatSession

Create a new chat session. Requires chatsession:write permission.

Arguments

Chat session data

Returns ChatSessionPayload!

Explore in a view

AI and ML
View exact SDL
"""Create a new chat session. Requires chatsession:write permission."""
createChatSession(
  """Chat session data"""
  input: CreateChatSessionInput!
): ChatSessionPayload! @topic(names: ["aiml"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.