Sample API usage for completion proposals