v1
latestOpenAPI 3.1.0GNU Affero General Public License v3.0raw.githubusercontent.com2026-05-074555150.3 KBpeers
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
Response
Successful Response