apicheats.dev Cheat sheet Raw .md
POST

Try POST /chatkit/sessions — OpenAI API

OpenAI playground

Create a ChatKit session

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.openai.com; the proxy stores and logs nothing about them.

Body application/json

5 body fields
  • workflow · required · object — Workflow reference and overrides applied to the chat session.
  • user · required · string — A free-form string that identifies your end user; ensures this Session can access other objects that have the same `user` scope.
  • expires_after · optional · object — Controls when the session expires relative to an anchor timestamp.
  • rate_limits · optional · object — Controls request rate limits for the session.
  • chatkit_configuration · optional · object — Optional per-session configuration settings for ChatKit behavior.