openapi: 3.1.0
info:
title: ACA-Py Admin Basicmessages Ws API
description: Aries Cloud Agent Python (ACA-Py), a project of the OpenWallet Foundation, exposes an OpenAPI-documented REST Admin API used by controller applications to manage agent behavior, connections, and verifiable credential exchanges over DIDComm. This OpenAPI definition captures the primary topic endpoints documented in the ACA-Py Admin API guide. The exact set of endpoints exposed by a running agent depends on the protocols loaded at startup. Authentication is via an admin API key supplied in the X-API-Key header when ACA-Py is started with --admin-api-key.
version: 1.0.0
contact:
name: ACA-Py Documentation
url: https://aca-py.org/
servers:
- url: http://{host}:{port}
description: ACA-Py admin endpoint (host and port set via --admin)
variables:
host:
default: localhost
port:
default: '3001'
security:
- AdminApiKey: []
tags:
- name: Ws
paths:
/ws:
get:
summary: WebSocket webhook stream
description: Upgrade endpoint for receiving webhook events over WebSocket. Each message contains a topic, payload, and optional wallet_id. WebSocket clients should send the Authorization header (Bearer JWT) and the X-API-Key header.
operationId: webhookWebSocket
responses:
'101':
description: Switching Protocols to WebSocket
tags:
- Ws
components:
securitySchemes:
AdminApiKey:
type: apiKey
in: header
name: X-API-Key
description: Admin API key configured at agent startup via --admin-api-key.