Intent Based Diagnostics API Documentation
The Intent-Based Diagnostics API enables programmatic access to AGILITY’s diagnostics capabilities, allowing users to perform detailed network diagnostics through a wide range of pre-configured and custom scenarios.
The API supports the evaluation of scenarios defined by 3GPP and ETSI, while also allowing users to bring their own scenarios and validation logic. This makes it possible to automate standards-based testing as well as tailor diagnostics to specific network behaviors or operational requirements.
Using the API, you can:
Trigger and manage diagnostic evaluations
Execute predefined or user-defined scenarios
Retrieve execution status and evaluation results
Access detailed step-level outcomes and diagnostic data
By exposing the same core capabilities available in the UI, the API allows Intent-Based Diagnostics to be seamlessly integrated into external systems, CI/CD pipelines, and automated troubleshooting workflows.
This feature is available only to licensed customers. Contact your AGILITY representative if access is required.
This page walks you through:
What You Can Do
Accessing the Intent-Based Diagnostics API
In the AGILITY UI, open the user menu in the top-right corner.
From the dropdown menu, select Public API Specification.
The full OpenAPI (Swagger) specification opens, allowing you to browse available endpoints and models.
Concepts Overview
Before using the API, it’s important to understand the key entities and concepts used by Intent-Based Diagnostics.
Concept | Description |
|---|---|
Evaluation Scenario | A reusable test definition that describes a diagnostic intent. It includes metadata (such as name, category, and description), a set of ordered steps (actions and assertions), and parameters required for execution. Scenarios can be listed, cloned, and customized to support different testing needs. |
Evaluation | A single execution instance of an evaluation scenario against a specific dataset or context. An evaluation captures execution status, step results, and outputs, and can be reviewed later or used in automated workflows. |
Custom Test Case ID | An optional identifier (or set of identifiers) associated with an evaluation scenario. This is typically used to link scenarios to external test management systems or to support custom automation and reporting workflows. |
Step | An individual action, validation, or assertion within an evaluation scenario. Steps are executed sequentially during an evaluation. Each step may accept parameters and produce its own execution result. |
Catalog | The complete collection of diagnostic steps supported by the platform. The catalog enables users and developers to explore the available steps for creating or customizing evaluation scenarios. |
Analysis Profil | A configuration profile that defines how trace files are processed and analyzed. Analysis profiles allow users to customize parsing rules, filtering options, and processing parameters. When starting an evaluation with a new file, an analysis profile can be optionally specified to control how the input data is interpreted. |
Parameter Values Override | A mechanism to temporarily override the default parameter values defined in an evaluation scenario at runtime. This allows users to run the same scenario with different inputs (e.g., different caller/callee numbers) without modifying the original scenario definition. |
User Journeys
This section provides practical, step-by-step guidance for common workflows using the Intent-Based Diagnostics API. Each workflow walks through the sequence of API calls, expected request payloads, and typical server responses, illustrating how the API is used in real-world scenarios.
Journey #1: Search, Evaluate, and Retrieve Results
In this workflow, the user searches for an existing scenario, runs an evaluation, and retrieves the resulting data.
Step #1: Search for a Scenario
Endpoint:
GET /v1/intent-based-diagnostic/evaluation-scenariosExample Request:
curl -X 'GET' \
'https://agility-dev.b-yond.com/cv/api/v1/intent-based-diagnostic/evaluation-scenarios?name=VoLTE' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_ID_TOKEN' \
-H 'userId: user123'
Expected Response:
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "VoLTE Call Setup",
...
}
],
"total": 1
}