Configs History
POSThttps://cloud.agenta.ai/api/variants/configs/history
Configs History
Request
- application/json
Body
required
variant_ref
object
required
application_ref
object
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
params objectrequired
url
object
application_ref
object
service_ref
object
variant_ref
object
environment_ref
object
application_lifecycle
object
service_lifecycle
object
variant_lifecycle
object
environment_lifecycle
object
[
{
"params": {},
"url": "string",
"application_ref": {},
"service_ref": {},
"variant_ref": {},
"environment_ref": {},
"application_lifecycle": {},
"service_lifecycle": {},
"variant_lifecycle": {},
"environment_lifecycle": {}
}
]
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/variants/configs/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"variant_ref": {
"slug": "string",
"version": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"application_ref": {
"slug": "string",
"version": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}'
ResponseClear