Skip to content
Cette page a été générée et traduite avec l'aide de l'IA. Si vous remarquez des inexactitudes, n'hésitez pas à contribuer. Modifier sur GitHub

HTTP API

The PRX gateway expose a RESTful HTTP API for managing session d'agents, sending messages, and querying system status.

Base URL

By default, l'API est disponible at http://127.0.0.1:3120/api/v1.

Endpoints

Sessions

MethodPathDescription
POST/sessionsCreate un nouveau session d'agent
GET/sessionsList active sessions
GET/sessions/:idGet session details
DELETE/sessions/:idTerminate a session

Messages

MethodPathDescription
POST/sessions/:id/messagesSend a message to l'agent
GET/sessions/:id/messagesGet message history

System

MethodPathDescription
GET/healthHealth check
GET/infoSystem information
GET/metricsPrometheus metrics

Authentication

API requests require a bearer token:

bash
curl -H "Authorization: Bearer <token>" http://localhost:3120/api/v1/sessions

Voir aussi Pages

Released under the Apache-2.0 License.