curl --request PATCH \
--url https://app.zappway.ai/api/agents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"modelName": "gpt_4o_mini_2024_07_18",
"temperature": 123,
"systemPrompt": "<string>",
"userPrompt": "<string>",
"promptType": "raw",
"promptTemplate": "<string>",
"visibility": "public"
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"modelName": "gpt_4o_mini_2024_07_18",
"temperature": 123,
"visibility": "public",
"systemPrompt": "<string>",
"userPrompt": "<string>",
"promptType": "raw",
"promptTemplate": "<string>"
}
curl --request PATCH \
--url https://app.zappway.ai/api/agents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"modelName": "gpt_4o_mini_2024_07_18",
"temperature": 123,
"systemPrompt": "<string>",
"userPrompt": "<string>",
"promptType": "raw",
"promptTemplate": "<string>",
"visibility": "public"
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"modelName": "gpt_4o_mini_2024_07_18",
"temperature": 123,
"visibility": "public",
"systemPrompt": "<string>",
"userPrompt": "<string>",
"promptType": "raw",
"promptTemplate": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.