v1

latestOpenAPI 3.1.0GNU Affero General Public License v3.0raw.githubusercontent.com2026-05-074555150.3 KB
peers

Get Or Create Peer

Get a Peer by ID or create a new Peer with the given ID.

If peer_id is provided as a query parameter, it uses that (must match JWT workspace_id). Otherwise, it uses the peer_id from the JWT.

post/v3/workspaces/{workspace_id}/peers

Path parameters

workspace_idstring required

Request body

idstring required
metadataobject nullable
configurationobject nullable

Response

Successful Response

idstring required
workspace_idstring required
created_atstring date-time required
metadataobject
configurationobject