---
title: "Validate Message"
method: POST
path: "/api/v1/aip/v2/ecosystem/validate-message"
tags: ["aip-v2-ecosystem"]
---

# Validate Message

`POST /api/v1/aip/v2/ecosystem/validate-message`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/aip/v2/ecosystem/validate-message`
- Auth: none declared

Validate a message payload against the AIP v2 schema.

## Request body

- ValidateMessageRequest
  - `message_type` string, required
  - `payload` object
  - `recipient_entity_id` string, nullable

## Response `200`

Successful Response

- ValidateMessageResponse
  - `valid` boolean, required
  - `errors` ValidationError[]
    - `loc` union[], required
      - union
        - string
        - integer
    - `msg` string, required
    - `type` string, required
    - `input` unknown
    - `ctx` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
