AI
Get active Playbook Release
GET
/
v1
/
ai
/
agents
/
{agentID}
/
playbook-releases
/
active
Get active Playbook Release
curl --request GET \
--url https://api.wazapin.com/v1/ai/agents/{agentID}/playbook-releases/activeconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/agents/{agentID}/playbook-releases/active', 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}/playbook-releases/active"
response = requests.get(url)
print(response.text){
"agent_id": "<string>",
"created_at": "<string>",
"environment": "<string>",
"id": "<string>",
"organization_id": "<string>",
"status": "<string>",
"activated_at": "<string>",
"created_by": "<string>",
"items": [
{
"enabled": true,
"fallback_kind": "<string>",
"id": "<string>",
"playbook_id": "<string>",
"playbook_version_id": "<string>",
"priority": 123,
"release_id": "<string>",
"rollout_percent": 123
}
],
"notes": "<string>",
"previous_release_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>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Path Parameters
Query Parameters
⌘I
Get active Playbook Release
curl --request GET \
--url https://api.wazapin.com/v1/ai/agents/{agentID}/playbook-releases/activeconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/agents/{agentID}/playbook-releases/active', 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}/playbook-releases/active"
response = requests.get(url)
print(response.text){
"agent_id": "<string>",
"created_at": "<string>",
"environment": "<string>",
"id": "<string>",
"organization_id": "<string>",
"status": "<string>",
"activated_at": "<string>",
"created_by": "<string>",
"items": [
{
"enabled": true,
"fallback_kind": "<string>",
"id": "<string>",
"playbook_id": "<string>",
"playbook_version_id": "<string>",
"priority": 123,
"release_id": "<string>",
"rollout_percent": 123
}
],
"notes": "<string>",
"previous_release_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>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}