INSERT OR REPLACE INTO endpoints 
    (space_id, endpoint_type, endpoint_url) 
VALUES (?, ?, ?)