Save Config
POSThttps://cloud.agenta.ai/api/configs
Save Config
Request
- application/json
Body
required
base_id Base Id (string)required
config_name Config Name (string)required
parameters objectrequired
overwrite Overwrite (boolean)required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://cloud.agenta.ai/api/configs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"base_id": "string",
"config_name": "string",
"parameters": {},
"overwrite": true
}'
ResponseClear