apicheats.dev Cheat sheet Raw .md
POST

Try POST /agents — OpenAI API

OpenAI playground

Create an agent

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

9 body fields
  • metadata · optional · object — Up to 16 string key-value pairs, with keys up to 64 and values up to 512 characters. Omission or null defaults to an empty map.
  • name · optional · string — A human-readable name for the agent. Omission or null leaves the agent unnamed.
  • model · required · string — The model to use for the agent. The requested model name is preserved.
  • reasoning · optional · object — Configuration for model reasoning. Omission uses the model's default effort.
  • text · optional · object — Configuration for generated text. Defaults to the `text` format and medium verbosity.
  • service_tier · optional · string — The service tier used for model requests. Defaults to `auto`.
  • instructions · optional · string — Additional instructions appended to the agent's default base instructions. Omit or set to null to add no custom instructions.
  • tools · optional · object[] — Tools available to the agent. Defaults to an empty list. The tool list must fit within 3 MiB (3,145,728 bytes) of compact UTF-8 JSON.
  • multi_agent · optional · object — Configuration for creating and coordinating subagents. Subagent tools are disabled by default.