Kore.ai Agent Platform ABL Runtime API — Sessions

Read usage metrics for a Kore.ai Agent Platform project, with optional date range and grouping.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/koreai-agent-platform-abl-runtime-api-sessions"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

koreai-abl-runtime-sessions-openapi.json Raw ↑
{
  "components": {
    "parameters": {},
    "schemas": {
      "ErrorResponse": {
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "required": ["error"],
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "x-api-key",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "Runtime API for workflow/chat/deployment/session execution.",
    "title": "ABL Runtime API - public/sessions",
    "version": "1.0.0",
    "x-generated": "do not edit; source: route contracts"
  },
  "jsonSchemaDialect": "https://spec.openapis.org/oas/3.1/dialect/base",
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/chat/usage": {
      "get": {
        "description": "Usage metrics for a project with optional date range and grouping.",
        "operationId": "runtime.legacyChat.getUsage",
        "parameters": [
          {
            "description": "Project id",
            "in": "query",
            "name": "projectId",
            "required": true,
            "schema": {
              "description": "Project id",
              "type": "string"
            }
          },
          {
            "description": "ISO 8601 start date",
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "description": "ISO 8601 start date",
              "type": "string"
            }
          },
          {
            "description": "ISO 8601 end date",
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "description": "ISO 8601 end date",
              "type": "string"
            }
          },
          {
            "description": "Group usage by model",
            "in": "query",
            "name": "groupBy",
            "required": false,
            "schema": {
              "description": "Group usage by model",
              "enum": ["model"],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byModel": {
                      "items": {
                        "properties": {
                          "modelId": {
                            "type": "string"
                          },
                          "provider": {
                            "type": "string"
                          },
                          "requestCount": {
                            "type": "number"
                          },
                          "totalCost": {
                            "type": "number"
                          },
                          "totalTokens": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "modelId",
                          "provider",
                          "totalTokens",
                          "totalCost",
                          "requestCount"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "summary": {
                      "properties": {
                        "avgLatency": {
                          "type": "number"
                        },
                        "requestCount": {
                          "type": "number"
                        },
                        "totalCost": {
                          "type": "number"
                        },
                        "totalTokens": {
                          "type": "number"
                        }
                      },
                      "required": ["totalTokens", "totalCost", "requestCount", "avgLatency"],
                      "type": "object"
                    }
                  },
                  "required": ["byModel"],
                  "type": "object"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Unauthorized"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Internal server error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "summary": "Get usage metrics (legacy)",
        "tags": ["Chat"]
      }
    }
  }
}