Apidog Docs
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
HomeLearning Center
Support CenterAPI ReferencesDownloadChangelog
HomeLearning Center
Support CenterAPI ReferencesDownloadChangelog
  1. API Debugging
  • Apidog Learning Center
  • Getting Started
    • Introduction to Apidog
    • Basic Concepts in Apidog
    • Navigating Apidog
    • Quick Start
      • Overview
      • Creating an Endpoint
      • Making a Request
      • Adding an Assertion
      • Creating Test Scenarios
      • Sharing API Documentation
      • Explore More
    • Migration to Apidog
      • Overview
      • Manual Import
      • Scheduled Import (Bind Data Sources)
      • Import Options
      • Export Data
      • Import From
        • Import from Postman
        • Import OpenAPI Spec
        • Import cURL
        • Import Markdowns
        • Import from Insomnia
        • Import from apiDoc
        • Import .har File
        • Import WSDL
  • Design APIs
    • Overview
    • Create a New API Project
    • Endpoint Basics
    • APl Design Guidelines
    • Module
    • Configure Multiple Request Body Examples
    • Components
    • Common Fields
    • Global Parameters
    • Endpoint Change History
    • Comments
    • Batch Endpoint Management
    • Custom Protocol API
    • Spec-first Mode (Beta)
    • Schemas
      • Overview
      • Create a New Schema
      • Build a Schema
      • Generate Schemas from JSON Etc
      • oneOf, allOf, anyOf
      • Using Discriminator
    • Security Schemes
      • Overview
      • Create a Security Scheme
      • Use the Security Scheme
      • Security Scheme in Online Documentation
    • Advanced Features
      • Custom Endpoint Fields
      • Associated Test Scenarios
      • Endpoint Status
      • Appearance of Parameter Lists
      • Endpoint Unique Identification
  • Develop and Debug APIs
    • Overview
    • Generating Requests
    • Sending Requests
    • Debugging Cases
    • Test Cases
    • Dynamic Values
    • Validating Responses
    • Design-First vs Request-First
    • Generating Code
    • API Debugging
      • AI Agent Debugger
      • A2A Debugger
    • Environments & Variables
      • Using Variables
      • Environment Management
      • Overview
    • Vault Secrets
      • Overview
      • HashiCorp Vault
      • Azure Key Vault
      • AWS Secrets Manager
    • Pre and Post Processors
      • Assertion
      • Extract Variable
      • Wait
      • Overview
      • Using Scripts
        • Overview
        • Pre Processor Scripts
        • Post Processor Scripts
        • Public Scripts
        • Postman Scripts Reference
        • Calling Other Programming Languages
        • Using JS Libraries
        • Visualizing Responses
        • Script Examples
          • Assertion Scripts
          • Using Variables
          • Modifying Requests
          • Other Examples
      • Database Operations
        • Overview
        • MySQL
        • MongoDB
        • Redis
        • Oracle Client
    • Dynamic Values Modules
  • Mock API Data
    • Overview
    • Smart Mock
    • Custom Mock
    • Mock Priority Sequence
    • Mock Scripts
    • Cloud Mock
    • Self-Hosted Runner Mock
    • Mock Language (Locales)
  • API Testing
    • Overview
    • Test Scenarios
      • Create a Test Scenario
      • Pass Data Between Requests
      • Flow Control Conditions
      • Sync Data from Endpoints and Endpoint Cases
      • Import Endpoints and Endpoint Cases from Other Projects
      • Export Test Scenarios
    • Run Test Scenarios
      • Run a Test Scenario
      • Run Test Scenarios in Batch
      • Data-Driven Testing
      • Shared Test Data
      • Scheduled Tasks
      • Manage Runtime Environment of APIs from Other Projects
    • Test Suite
      • Overview
      • Create A Test Suite
      • Orchestrate Test Suite
      • Run Test Suites Locally
      • Run Test Suites Via CLI
      • Scheduled tasks
    • Test Reports
      • Test Reports
    • Test APIs
      • Integration Testing
      • Performance Testing
      • End-to-End Testing
      • Regression Testing
      • Contract Testing
    • Apidog CLI
      • Overview
      • Installing and Running Apidog CLI
      • Apidog CLI Options
    • CI CD
      • Overview
      • Integrate with Github Actions
      • Integrate with Gitlab
      • Integrate with Jenkins
      • Trigger Test by Git Commit
  • Publish API Docs
    • Overview
    • API Technologies Supported
    • Quick Share
    • Viewing API Documentation
    • Markdown Documentation
    • Publishing Documentation Sites
    • Custom Login Page
    • Custom Layouts
    • Custom CSS, JavaScript, HTML
    • Custom Domain
    • AI Features
    • SEO Settings
    • Advanced Settings
      • Documentation Search
      • CORS Proxy
      • Integrating Google Analytics
      • Folder Tree Settings
      • Visibility Settings
      • Embedding Values in Document URLs
    • API Versions
      • Overview
      • Creating API Versions
      • Publishing API Versions
      • Sharing Endpoints with API Versions
  • Send Requests
    • Overview
    • SSE Debugging
    • MCP Client
    • Socket.IO
    • WebSocket
    • Webhook
    • SOAP or WebService
    • GraphQL
    • gRPC
    • Use Request Proxy Agents for Debugging
    • Create Requests
      • Request History
      • Request Basics
      • Parameters and Body
      • Request Headers
      • Request Settings
      • Debug Requests
      • Saving Requests as Endpoints
      • HTTP/2
    • Response and Cookies
      • Viewing API Responses
      • Managing Cookies
      • Overview
    • Authentication and Authorization
      • Overview
      • CA and Client Certificates
      • Authorization Types
      • Digest Auth
      • OAuth 1.0
      • OAuth 2.0
      • Hawk Authentication
      • Kerberos
      • NTLM
      • Akamai EdgeGrid
  • Branches
    • Overview
    • Creating a Sprint Branch
    • Testing APIs in a Branch
    • Designing APIs in a Branch
    • Merging Sprint Branches
    • Managing Sprint Branches
  • AI Features
    • Overview
    • Enabling AI Features
    • Generating Test Cases
    • Modifying Schemas with AI
    • Endpoint Compliance Check
    • API Documentation Completeness Check
    • AI-Powered Field Naming
    • FAQs
  • Apidog MCP Server
    • Overview
    • Connect Apidog Project to AI
    • Connect Published Documentation to AI
    • Connect OpenAPI Files to AI
  • Best Practices
    • Handling API Signatures
    • Accessing OAuth 2.0 Protected APIs
    • Collaboration Workflow
    • Managing Authentication State
  • Offline Space
    • Overview
  • Administration
    • Onboarding Checklist
      • Basic Concepts
      • Onboarding Guide
    • Managing Projects
      • Managing Projects
      • Managing Project Members
      • Notification Settings
      • Project Resources
        • Database Connection
        • Git Connection
    • Managing Teams
      • Managing Teams
      • Managing Team Members
      • Team Activities
      • Team Roles & Permissions
      • Team Resources
        • General Runner
        • Team Variables
        • Request Proxy Agent
      • Real-time Collaborations
        • Team Collaboration
    • Managing Organization
      • Managing Organization
      • Organization Role & Permissions
      • Single Sign-On (SSO)
        • SSO Overview
        • Configuring Microsoft Entra ID
        • Configuring Okta
        • Configuring SSO for an Organization
        • Managing User Accounts
        • Mapping Groups to Teams
      • SCIM Provisioning
        • Introduction to SCIM Provisioning
        • Microsoft Entra ID
        • Okta
      • Plans Management
        • Billing Managers in Organizations
      • Organization Resources
        • Self-Hosted Runner
  • Billing
    • Overview
    • Credits
    • Upgrading Your Plan
    • Alternative Payment Methods
    • Managing Subscriptions
    • Moving Paid Teams to Organizations
  • Data & Security
    • Data Storage and Security
    • User Data Privacy and Security
    • Request Routing and Data Security
  • Add-ons
    • API Hub
    • Apidog Intellij IDEA Plugin
    • Browser Extension
      • Chrome
      • Microsoft Edge
    • Request Proxy
      • Request Proxy in Web
      • Request Proxy in Shared Docs
      • Request Proxy in Client
  • Account & Preferences
    • Account Settings
    • Generating OpenAPI Access Token
    • Notification
    • Language Settings
    • Hot Keys
    • Network Proxy Configuration
    • Backing Up Data
    • Updating Apidog
    • Deleting Account
    • Experimental Features
  • References
    • API Design-First Approach
    • Apidog OpenAPI Specificaiton Extensions
    • JSONPath
    • XPath
    • Regular Expressions
    • JSON Schema
    • CSV File Format
    • Installing Java Environment
    • Runner Deployment Environment
    • Apidog Markdown Syntax
    • Apidog Swagger Extensions
      • Overview
      • x-apidog-folder
      • x-apidog-status
      • x-apidog-name
      • x-apidog-maintainer
    • Apidog JSON Schema Extensions
      • Overview
      • x-apidog-mock
      • x-apidog-orders
      • x-apidog-enum
  • Apidog Europe
    • Apidog Europe
  • Support Center
  1. API Debugging

A2A Debugger

A2A (Agent2Agent) is an open protocol for communication between Agents. Through A2A, different Agents can discover each other's capabilities, send messages, and return execution results.
A2A Debugger is a visual tool for debugging A2A Agents. You can connect to an A2A Agent, send test messages, view the Agent's returned content, execution status, and debug logs, helping developers quickly troubleshoot issues with Agent integration, message delivery, and returned results.
A2A Debugger is suitable for the following scenarios:
Check whether an A2A Agent can connect normally
View the Agent's name, description, capabilities, and Skills
Send text or attachments to the Agent to verify its response
Troubleshoot connection or request issues such as authentication, Header, file types, etc.
View request and response details to identify the cause of abnormal returned content
If you are developing or integrating an A2A Agent, you can use A2A Debugger to first verify whether the Agent can connect and respond normally before integrating it into formal business workflows.
We recommend using the latest Apidog client to experience the full features of AI Agent Debugger.

Connecting to an A2A Agent#

Enter the Agent Card URL at the top of the page, then click Connect.
After a successful connection, the status at the top will display as Connected. At this point, you can view Agent information and start sending messages.
If you need to switch to another Agent, you can click Disconnect and then re-enter the Agent Card URL.

Writing Test Messages#

Write test input to be sent to the Agent in the Messages tab.
The message editing area is divided into left and right sections:
Left side: Enter message text, upload attachments, configure Metadata
Right side: View the corresponding raw request content
Usually, you only need to enter text on the left side and click Send. The raw request content on the right side is mainly used for advanced debugging scenarios, such as when you need to confirm the actual data structure being sent or manually adjust the request content.

Sending Messages#

After completing the message configuration, click Send.
If no Agent is currently connected, A2A Debugger will first attempt to connect; it will send the message after the connection is successful.
After sending, you can see the user message and the Agent's returned content in the message area.

Viewing Reply Messages#

The message area displays user messages and Agent replies in the current session.
The content returned by the Agent may be plain text, or it may include task status, execution results, or generated artifacts. You can quickly determine whether the Agent correctly understood and processed the request through the message display area.
Click any debug message to view details on the right. The detail panel supports three views:
Preview: Display main content in a more readable way
Content: View text or core data in the message
Raw Data: View the complete raw JSON
The screen capture below shows a response for the question:
What is the distance between the Earth and the Moon?
You can click Clear to delete the current debug logs.

Viewing the Agent Card#

The Agent Card tab in the debugging panel is used to view the capability description of the currently connected Agent.
This panel displays:
Agent name and description
Agent address, protocol version, version number
Agent-supported capabilities, such as whether it supports streaming responses, push notifications, status history, etc.
Default input types and output types
Skills declared by the Agent
Agent Card validation errors
Raw Agent Card content
If the Agent Card has missing fields or formatting issues, you can view validation errors in this panel and troubleshoot against the raw content.

Adding Attachments#

If the current Agent supports file input, you can click the attachment button below the message input area to upload files.
A2A Debugger determines whether uploading attachments is allowed based on the input types declared by the Agent:
If the Agent only supports text input, the attachment button is unavailable
If the Agent only supports specific file types, you can only upload files of matching types
If the Agent supports any file type, you can upload any file
After a successful upload, the attachment will be sent to the Agent along with the message.

Configuring Authentication#

If the A2A Agent requires authentication, you can configure the authentication method in the Authentication tab.
The following authentication types are supported:
Authentication MethodDescription
NoneNo authentication information added
Bearer TokenAuthenticate using a token
Basic AuthAuthenticate using username and password
API KeyPass API Key via a specified Header
If an unauthorized error is returned when sending a message, please check whether the authentication method, token, username/password, or API Key is correct.

Configuring Headers#

In the Header tab, you can add custom request Headers.
Custom Headers are commonly used in the following scenarios:
Passing business parameters such as tenant ID, environment identifier, etc.
Authentication through gateways, proxies, or internal services
Debugging Agent services that require special request headers
The number on the Header tab indicates the number of currently configured valid Headers.

Adding Metadata#

Expand Metadata below the message editing area to add custom key-value pairs to this message.
Metadata is suitable for passing context identifiers, business parameters, or debug markers. For example, you can add information such as environment name, user ID, or request source.

FAQ#

What should I do if the connection fails?#

Please check the following:
1.
Whether the Agent Card URL is correct and accessible from the current environment.
2.
Whether the Agent service is running.
3.
If authentication is required, whether the correct authentication information has been configured in the Authentication tab.
4.
Whether additional Headers are needed, such as tenant ID, environment identifier, or gateway authentication information.
5.
Whether the content returned by the Agent Card is valid JSON.

Unable to upload attachments after a successful connection?#

This is usually because the current Agent has not declared support for file input, or only allows uploading specific file types.
Please view the input types supported by the Agent in the Agent Card tab, and confirm whether the uploaded file type matches.

How do I view the complete request and response?#

Click the corresponding request or response log in the Messages tab of the debugging panel, then switch to the Raw Data view to view the complete JSON.

What should I do if the content returned by the Agent displays abnormally?#

You can troubleshoot in the following order:
1.
Check the preview content in the debug message to confirm whether the Agent has returned a result.
2.
Switch to the Raw Data view to view the complete response.
3.
Check whether the input types, output types, and Skills declared in the Agent Card meet expectations.
4.
Check for validation error prompts in the message or debug details.
Modified atΒ 2026-05-14 11:08:41
Previous
AI Agent Debugger
Next
Using Variables
Built with