Chat Completions
post_chat_completionsCreates a model response for the given chat conversation Billing per call: Credits: metered (~0 avg).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body. Example: {"model":"GPT-5","stream":false,"messages":[{"role":"user","content":"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?"}]} |