> For a complete page index, fetch https://docs.synthflow.ai/llms.txt. For full documentation content, fetch https://docs.synthflow.ai/llms-full.txt.

# GPT-5 is now supported

> Set GPT-5 as an agent's model when you create or update it through the API.

Added GPT-5 support for agents.

| Endpoint                                                                             | Title           |
| ------------------------------------------------------------------------------------ | --------------- |
| [**POST /assistants**](/api-reference/platform-api/agents/create-assistant)          | Create an agent |
| [**PUT /assistants/:model_id**](/api-reference/platform-api/agents/update-assistant) | Update an agent |

```curl
"agent": {
   "llm": "gpt-5-chat"
 }
```