AI
Create or update AI deployment snapshot
PATCH
/
v1
/
ai
/
agents
/
{agentID}
/
deploy
Create or update AI deployment snapshot
curl --request PATCH \
--url https://api.wazapin.com/v1/ai/agents/{agentID}/deploy \
--header 'Content-Type: application/json' \
--data '
{
"environment": "<string>",
"notes": "<string>",
"playbook_version_id": "<string>",
"status": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
environment: '<string>',
notes: '<string>',
playbook_version_id: '<string>',
status: '<string>'
})
};
fetch('https://api.wazapin.com/v1/ai/agents/{agentID}/deploy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ai/agents/{agentID}/deploy"
payload = {
"environment": "<string>",
"notes": "<string>",
"playbook_version_id": "<string>",
"status": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"agent_id": "<string>",
"applied": true,
"config": {},
"deployed_at": "<string>",
"environment": "<string>",
"id": "<string>",
"model": "<string>",
"provider": "<string>",
"review_required": true,
"status": "<string>",
"updated_at": "<string>",
"deployed_by": "<string>",
"notes": "<string>",
"playbook_version_id": "<string>",
"review": {
"agent_id": "<string>",
"created_at": "<string>",
"details": {},
"id": "<string>",
"issue_type": "<string>",
"rawSeverity": "<string>",
"severity": "<string>",
"status": "<string>",
"summary": "<string>",
"title": "<string>",
"updatedAt": "<string>",
"updated_at": "<string>",
"assigned_to": "<string>",
"resolved_at": "<string>",
"source_ref": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Path Parameters
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Create or update AI deployment snapshot
curl --request PATCH \
--url https://api.wazapin.com/v1/ai/agents/{agentID}/deploy \
--header 'Content-Type: application/json' \
--data '
{
"environment": "<string>",
"notes": "<string>",
"playbook_version_id": "<string>",
"status": "<string>"
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
environment: '<string>',
notes: '<string>',
playbook_version_id: '<string>',
status: '<string>'
})
};
fetch('https://api.wazapin.com/v1/ai/agents/{agentID}/deploy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ai/agents/{agentID}/deploy"
payload = {
"environment": "<string>",
"notes": "<string>",
"playbook_version_id": "<string>",
"status": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"agent_id": "<string>",
"applied": true,
"config": {},
"deployed_at": "<string>",
"environment": "<string>",
"id": "<string>",
"model": "<string>",
"provider": "<string>",
"review_required": true,
"status": "<string>",
"updated_at": "<string>",
"deployed_by": "<string>",
"notes": "<string>",
"playbook_version_id": "<string>",
"review": {
"agent_id": "<string>",
"created_at": "<string>",
"details": {},
"id": "<string>",
"issue_type": "<string>",
"rawSeverity": "<string>",
"severity": "<string>",
"status": "<string>",
"summary": "<string>",
"title": "<string>",
"updatedAt": "<string>",
"updated_at": "<string>",
"assigned_to": "<string>",
"resolved_at": "<string>",
"source_ref": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}