{
  "opencollection": "1.0.0",
  "info": {
    "name": "Amigo Account Evaluations API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Evaluations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Production Eval Definitions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.amigo.ai/v1/:workspace_id/production-eval-definitions",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "active",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "continuation_token",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Production Eval Definitions"
        },
        {
          "info": {
            "name": "Create Production Eval Definition",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.amigo.ai/v1/:workspace_id/production-eval-definitions",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Production Eval Definition"
        },
        {
          "info": {
            "name": "Get Production Eval Definition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.amigo.ai/v1/:workspace_id/production-eval-definitions/:definition_id",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "definition_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Production Eval Definition"
        },
        {
          "info": {
            "name": "Update Production Eval Definition",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.amigo.ai/v1/:workspace_id/production-eval-definitions/:definition_id",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "definition_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Production Eval Definition"
        },
        {
          "info": {
            "name": "Delete Production Eval Definition",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.amigo.ai/v1/:workspace_id/production-eval-definitions/:definition_id",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "definition_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Production Eval Definition"
        },
        {
          "info": {
            "name": "Evaluate Call",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.amigo.ai/v1/:workspace_id/calls/:conversation_id/evaluate",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "conversation_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Run the workspace's active eval definitions against one completed call and\npersist the verdicts. Synchronous (the caller waits on the judge); the eager\npost-call trigger is a separate change."
        },
        {
          "info": {
            "name": "Get Call Eval Results",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.amigo.ai/v1/:workspace_id/calls/:conversation_id/eval-results",
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "conversation_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Call Eval Results"
        }
      ]
    }
  ],
  "bundled": true
}