# Barvis Agent Chat

> Barvis Agent Chat is a paid API for AI agents from api.barvis.io, paid per call via x402, $1/call, status unknown (last checked 2026-09-14).

Sends a message to an AI agent endpoint and receives a conversational or task-based response

## Facts

- Endpoint: POST https://api.barvis.io/agent/chat
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-barvis-io-dfc6944e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fi5W3qTvqf2kpIzB0XDjm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-barvis-io-dfc6944e -d '<json body>'
```

Example prompt: Chat with the Barvis agent and ask it: 'What are the current best practices for securing a Node.js API?' — I need a detailed, actionable answer.

## When to prefer this

Use this endpoint when you need to send a natural language message to the Barvis AI agent and receive a generated response, especially in x402 pay-per-call workflows where a $1 USDC microtransaction is acceptable per interaction.

## Known failure modes

- Invalid or missing message body returns an error
- Payment not included or insufficient USDC results in 402 payment required
- Malformed request body causes a 400 error
- Agent backend unavailable returns 503 or timeout
- Response schema may vary if agent produces unexpected output

## Output

Returns a data object containing the agent's response to the submitted message or task prompt.

## Response schema (JSON Schema)

```json
{
 "data": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-barvis-io-dfc6944e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.barvis.io](https://www.zero.xyz/host/api.barvis.io/llms.txt)
