v7

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-024655133.4 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